Skip Menu |

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 36497
Status: new
Priority: 0/
Queue: JavaScript

People
Owner: Nobody in particular
Requestors: CRAKRJACK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.07
Fixed in: (no value)



Subject: Using JavaScript.pm can cause the perl debugger to crash
When using JavaScript.pm, the perl debugger can crash. This appears to happen when the JavaScript context is destroyed. The "Devel::Profile" manpage says, under "Bugs": "Some buggy XS based perl modules can behave erroneously when run under the perl debugger. Since Devel::Profile uses the perl debugger interfaces, these modules will also behave erroneously when being pofiled." I've scoured the net for more information on what bugs/glitches could cause this, but no luck yet... but it looks like running under the debugger may be making perl attempt to double-free an SV? Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47273699863072 (LWP 13373)] 0x00000033061a1d80 in Perl_sv_clear () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so (gdb) bt #0 0x00000033061a1d80 in Perl_sv_clear () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so #1 0x00000033061a242d in Perl_sv_free () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so #2 0x00000033061c74ec in Perl_free_tmps () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so #3 0x00000033061cf6e9 in Perl_pp_dbstate () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so #4 0x000000330618286a in Perl_runops_debug () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so #5 0x000000330613b5e4 in perl_run () from /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE/libperl.so #6 0x00000000004019ec in main ()