I've got a core dump from one of my server-side Perl CGI scripts, and the main line at the end points to /gateway/cgi-bin/test/nph-proxy.cgi (which is a Perl script obviously). When I use gdb on the Perl binary and cross-reference it to the core dump, all I get for a backtrace is:
#0 0x805efe1 in S_my_exit_jump ()
#1 0x805eea9 in Perl_my_exit ()
#2 0x8088d55 in Perl_safemalloc ()
#3 0x8099d0a in S_more_sv ()
#4 0x809e1d5 in Perl_newSV ()
#5 0x805a720 in perl_construct ()
#6 0x8059d38 in main ()
#7 0x400699cb in __libc_start_main (main=0x8059d10 <main>, argc=2, ar
+gv=0xbffffb04, init=0x8058fa8 <_init>,
fini=0x80d681c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end
+=0xbffffafc) at ../sysdeps/generic/libc-start.c:92
Does anyone know how I'd go about finding why this crashed the Perl binary? Thanks!
Edit by tye to change PRE tags to CODE tags around long lines
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.