New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not() || 1 produces segmentation fault #7793
Comments
From robin.stocker@nibor.orgCreated by robin.stocker@nibor.orgHi, It seems like I just stumbled over a funny bug. perl -e 'not() || 1' Like in the two examples above, the evaluation of not() Regards, Perl Info
|
From alexeyt@freeshell.orgOn Thu, 10 Feb 2005, robin.stocker@nibor.org (via RT) wrote:
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; not() || <any value>' hangs and perl -m<any module> -e 'not() || <any value>' hangs, yet perl -e -m<any module> 'not() || <any value>' doesn't crash or hang. A very interesting bug :) Alexey |
The RT System itself - Status changed from 'new' to 'open' |
From @tamiasOn Thu, Feb 10, 2005 at 05:00:02PM +0000, Alexey Toptygin wrote:
That last one's not that interesting. % perl -MO=Deparse -e -mCGI 'not() || 1' :) Ronald |
From @rgsrobin.stocker@nibor.org (via RT) wrote:
It occurs in bleadperl as well; but that's not the evaluation |
From @smpetersOn Thu, Feb 10, 2005 at 12:29:51PM -0500, Ronald J Kimball wrote:
Here's the backtrace from blead... (gdb) bt Steve Peters |
From @mhxThe segfault can be reproduced with all versions of Perl since 5.6.0. It has been fixed by the following change: Change 23960 by mhx@mhx-r2d2 on 2005/02/10 20:50:31 [perl #34101] not() || 1 produces segmentation fault |
@mhx - Status changed from 'open' to 'resolved' |
From @iabynOn Thu, Feb 10, 2005 at 06:15:17PM +0100, Rafael Garcia-Suarez wrote:
Its the fact that the OP struct containing the NOT operator doesn't have -- |
From @mhxOn 2005-02-11, at 00:29:58 +0000, Dave Mitchell wrote:
It has already been fixed by change #23960, but somehow Marcus -- |
Migrated from rt.perl.org#34101 (status was 'resolved')
Searchable as RT34101$
The text was updated successfully, but these errors were encountered: