Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Check core dump with new Perl

by RMGir (Prior)
on Mar 28, 2007 at 11:37 UTC ( #606985=note: print w/replies, xml ) Need Help??


in reply to Check core dump with new Perl

On a solaris 9 box, also running 5.8.8, same result:
$ perl -we 'open O, "> /dev/null"; print O (scalar readline)' Filehandle O opened only for output at -e line 1. Bus Error

On Cygwin w/5.8.7, the same thing happens, but interestingly enough the warn readline(); example posted below doesn't trigger:

$ perl -we 'open O, "> /dev/null"; print O (scalar readline)' Filehandle O opened only for output at -e line 1. 11 [main] perl 4756 _cygtls::handle_exceptions: Error while dumpi +ng state ( probably corrupted stack) Segmentation fault (core dumped) $ perl -e 'warn readline()' Warning: something's wrong at -e line 1.

Mike

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://606985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-10-20 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (210 votes). Check out past polls.

    Notices?