Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Check core dump with new Perl

by RMGir (Prior)
on Mar 28, 2007 at 11:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://606985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found