Project

General

Profile

Actions

Bug #300

closed

Trivial test script crashes perl

Added by wa1ter almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This is a followup to my post about pkgsrc packages failing
because of perl crashes. I've spent a few days trying to
narrow down the cause, and the attached perlscript is my
best effort. {I think of it as perl haiku ;o)

Just run 'perl mytest.pl' and watch for the error.

The script itself actually does nothing, so if there is no
output, that means your perl works better than my perl.

I copied the regexp search string from intltool-merge, so
I'm hoping that one of you perl wizards out there can
simplify the regexp to the minimum that will trigger the
crash. (I'm just a perl newbie, so I'm not even sure what
the regexp is searching for.)

The important factor is the number of chars in $str: on my
machine, perl crashes when the string length gets over 1590
characters or so.


Files

mytest.pl (1.76 KB) mytest.pl wa1ter, 08/27/2006 10:41 PM
Actions

Also available in: Atom PDF