Skip Menu |
 

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 81312
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors: mhall [...] mhcomputing.net
Cc:
AdminCc:

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



Subject: SIGSEGV upon invocation of a method
Date: Tue, 20 Nov 2012 15:37:48 -0800
To: bug-Proc-ProcessTable [...] rt.cpan.org
From: Matthew Hall <mhall [...] mhcomputing.net>
Download (untitled) / with headers
text/plain 1.2k
Invoking code such as the following causes a core dump: print Dumper(Proc::ProcessTable->fields); It seems that the code is always assuming the HV is correct in the XS implementation and not checking before attempting to dereference, perhaps. 0x00007ffff7af5158 in S_mg_findext_flags () from /usr/lib/libperl.so.5.14 (gdb) bt #0 0x00007ffff7af5158 in S_mg_findext_flags () from /usr/lib/libperl.so.5.14 #1 0x00007ffff7b05ef8 in Perl_hv_common () from /usr/lib/libperl.so.5.14 #2 0x00007ffff7b0758e in Perl_hv_common_key_len () from /usr/lib/libperl.so.5.14 #3 0x00007ffff5dd4aa6 in XS_Proc__ProcessTable_table () from /usr/lib/perl5/auto/Proc/ProcessTable/ProcessTable.so #4 0x00007ffff7b137ff in Perl_pp_entersub () from /usr/lib/libperl.so.5.14 #5 0x00007ffff7b0ac96 in Perl_runops_standard () from /usr/lib/libperl.so.5.14 #6 0x00007ffff7aa6262 in Perl_call_sv () from /usr/lib/libperl.so.5.14 #7 0x00007ffff5dd3e0f in XS_Proc__ProcessTable_fields () from /usr/lib/perl5/auto/Proc/ProcessTable/ProcessTable.so #8 0x00007ffff7b137ff in Perl_pp_entersub () from /usr/lib/libperl.so.5.14 #9 0x00007ffff7b0ac96 in Perl_runops_standard () from /usr/lib/libperl.so.5.14 #10 0x00007ffff7aac33a in perl_run () from /usr/lib/libperl.so.5.14 #11 0x0000000000400db9 in main () (gdb) Regards, Matthew.
added patch to github repo


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.