Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: perl segfaults when parsing script

by amphiplex (Monk)
on Jun 27, 2002 at 12:31 UTC ( #177690=note: print w/replies, xml ) Need Help??


in reply to Re: perl segfaults when parsing script
in thread perl segfaults when parsing script

That's interesting.
Some cases where I get segfaults:

======= v5.6.1 built for i586-linux, on Linux central 2.4.18 #9 SMP
kurt@central:~> perl -e 'chop foo' Segmentation fault

======= v5.6.1 built for sun4-solaris, on SunOS xxxx 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Fire
[xxxxx: ~] perl -e 'chop foo' Modification of a read-only value attempted. Segmentation Fault (core dumped)
======= v5.6.1 built for alpha-dec_osf, on OSF1 xxxx V4.0 1229 alpha
[xxxxx: ~] perl -e 'chop foo' Segmentation fault (core dumped)
======= v5.6.1 built for PA-RISC1.1, on HP-UX xxxx B.11.11 U 9000/800
yyyy@xxxx:> perl -e 'chop foo' Modification of a read-only value attempted. Bus error(coredump)


----- kurt

Replies are listed 'Best First'.
Re: Re: Re: perl segfaults when parsing script
by ariels (Curate) on Jun 27, 2002 at 12:39 UTC
    Strange...

    "perl -e 'chop foo'" dumps core on "perl, v5.6.1 built for i686-linux", "perl, v5.6.1 built for IP27-irix", and "perl, v5.6.1 built for alpha-dec_osf" (except there it also manages to print an error message "Modification of a read-only value attempted." before it dies horribly). Not on "perl, v5.6.1 built for sun4-solaris", though.

    I've compared configs, and I can't find anything distinctively different that would cause sun4-solaris to survive.

    perlbug.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-10-04 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (15 votes). Check out past polls.

    Notices?