----- Forwarded message from "Clinton A. Pierce via RT" 
<[EMAIL PROTECTED]> -----

From: "Clinton A. Pierce" via RT <[EMAIL PROTECTED]>
Subject: [netlabs #423] Fwd: Parrot segfaults on substr
To: 'AdminCc of netlabs Ticket #423': ;
X-RT-Loop-Prevention: netlabs
RT-Originator: [EMAIL PROTECTED]
Managed-BY: Request Tracker 2.0.10-test2 (http://www.fsck.com/projects/rt/)
RT-Ticket: netlabs #423
Reply-To: [EMAIL PROTECTED]




Mon Mar 11 20:01:32 2002: Request 423 was acted upon.
Transaction: Ticket created by [EMAIL PROTECTED]
       Queue: parrot
     Subject: Fwd: Parrot segfaults on substr
       Owner: Nobody
  Requestors: [EMAIL PROTECTED]
      Status: new
 Ticket <URL: http://bugs6.perl.org/rt2/Ticket/Display.html?id=423 >
-------------------------------------------------------------------------

>>Win32 compiled with VC++ using default arguments, and this test harness
>>tinkering with substr I got:
>>
>>   #!/usr/bin/perl -w
>>   #
>>   open(T, ">test.pasm") || die;
>>   print T<<'EOF';
>>
>>   set S1, "Howdy"
>>   substr S1, S2, 0, 2
>>   print "\n"
>>
>>   EOF
>>
>>   close(T);
>>   system("assemble.pl test.pasm > out.pbc");
>>   system("test_parrot -t out.pbc");
>>
>>This throws an application error.  Removing the substr removes the problem.
>
>On further reflection and other tests it seems that the second argument 
>being set to (null)  for substring causes the problem.  This may be 
>irresponsible speculation, however.

----- End forwarded message -----
-- 
What happens if a big asteroid hits the Earth?  Judging from realistic
simulations involving a sledge hammer and a common laboratory frog, we
can assume it will be pretty bad. - Dave Barry

Reply via email to