Hi all,
I am stuck in the following segfault problem for several days now and quite desperate...
Since some point (don't know if due to a CPAN upgrade or any other change to my Ubuntu 9.10), my Perl program keeps crashing with a core dump.
... method foo { $_[0]->method } ...
With gdb, I tracked down the problem to Sub::Name:
Core was generated by `/usr/bin/perl t/method-installer-runtime.t'. Program terminated with signal 11, Segmentation fault. #0 0x0057a561 in XS_Sub__Name_subname () from /usr/lib/perl5/auto/Sub +/Name/Name.so
Doing some research, in the Perl porters mailing list I found that Sub::Name is "known problematic"...
Besides that, there are two open bugs including patches for Sub::Name, but they are not about segmentation faults. In reply to one patch Sergey Aleynikov says: "this seems to solve problem with local()ized subref assigments to globs". Might that be relevant for me?
My Perl (compiled from Debian source) version is:
This is perl 5, version 12, subversion 0 (v5.12.0) built for i486-linu +x-gnu-thread-multi-64int-ld (with 27 registered patches, see perl -V for more detail)
Does anybody have some hints for me where the problem lies?
-maxhq
In reply to Segfault in Sub::Name by maxhq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |