[perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread via RT
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #34101] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34101 This is a bug report for perl from [EMAIL PROTECTED], generated with the

Re: [perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread Alexey Toptygin
On Thu, 10 Feb 2005, [EMAIL PROTECTED] (via RT) wrote: It seems like I just stumbled over a funny bug. perl -e 'not() || 1' perl -e 'die unless not()' ... Confirmed on x86/win32 version 5.8.4. What's also interesting is that, in my case: perl -e 'not() || any value' crashes, while perl -e '1;

Re: [perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread Rafael Garcia-Suarez
[EMAIL PROTECTED] (via RT) wrote: perl -e 'not() || 1' perl -e 'die unless not()' ... Like in the two examples above, the evaluation of not() produces a segmentation fault or a freeze of the interpreter. It occurs in bleadperl as well; but that's not the evaluation of not() that segfault,

Re: [perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread Ronald J Kimball
On Thu, Feb 10, 2005 at 05:00:02PM +, Alexey Toptygin wrote: perl -many module -e 'not() || any value' hangs, yet perl -e -many module 'not() || any value' doesn't crash or hang. A very interesting bug :) That last one's not that interesting. % perl -MO=Deparse -e -mCGI 'not() ||

Re: [perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread Steve Peters
On Thu, Feb 10, 2005 at 12:29:51PM -0500, Ronald J Kimball wrote: On Thu, Feb 10, 2005 at 05:00:02PM +, Alexey Toptygin wrote: perl -many module -e 'not() || any value' hangs, yet perl -e -many module 'not() || any value' doesn't crash or hang. A very interesting bug :)

Re: [perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread Dave Mitchell
On Thu, Feb 10, 2005 at 06:15:17PM +0100, Rafael Garcia-Suarez wrote: [EMAIL PROTECTED] (via RT) wrote: perl -e 'not() || 1' perl -e 'die unless not()' ... Like in the two examples above, the evaluation of not() produces a segmentation fault or a freeze of the interpreter. It

Re: [perl #34101] not() || 1 produces segmentation fault

2005-02-10 Thread Marcus Holland-Moritz
On 2005-02-11, at 00:29:58 +, Dave Mitchell wrote: On Thu, Feb 10, 2005 at 06:15:17PM +0100, Rafael Garcia-Suarez wrote: [EMAIL PROTECTED] (via RT) wrote: perl -e 'not() || 1' perl -e 'die unless not()' ... Like in the two examples above, the evaluation of not() produces