Bug 839788
Summary: | NULL pointer dereference in Perl | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | john.r.moser | ||||||||
Component: | perl | Assignee: | Petr Pisar <ppisar> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 6.3 | CC: | herrold, john.r.moser, mkyral, ppisar, psabata, will.saxon | ||||||||
Target Milestone: | rc | Keywords: | Patch | ||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
URL: | https://rt.perl.org/rt3//Public/Bug/Display.html?id=71952 | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | perl-5.10.1-132.el6 | Doc Type: | Bug Fix | ||||||||
Doc Text: |
Cause:
Exiting scope of an object whose desctructor method has
been declared but has not been defined.
Consequence:
The Perl interpreter crashes.
Fix:
Variable dealocator has been fixed not to dereference
NULL pointer that designated undefined destructor method.
Result:
Interpreter copes with undefined destructors properly.
|
Story Points: | --- | ||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2013-11-21 04:40:44 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 947775, 960054 | ||||||||||
Attachments: |
|
Description
john.r.moser
2012-07-12 20:33:00 UTC
According to tests, this also segfaults in Perl 5.11.0. A fellow on Freenode ran the above test through his development environment and reports: All stable releases between and including 5.6.2 and 5.10.0 x86_64 Perl run the code without crashing. All stable releases from and including 5.12 and above run the code without crashing. Perl releases 5.10.1 and 5.11.0 segfault on the above test case. http://www.nntp.perl.org/group/perl.perl5.porters/2010/01/msg155286.html Appears to be this exact bug! Created attachment 598738 [details] Patch for perl bug 71952 Patch as per perl #71952: http://code.activestate.com/lists/perl5-porters/147074/ Thank you for the report and the patch. I'm experiencing this same bug while using Thread::Pool::Simple on CentOS 6.3. Would be great to see it fixed! I rebuilt perl based on the SRPM using this patch, and it seems to work. I had to modify the spec file and the patch so that it would apply cleanly. I'll attach both to this bug. Created attachment 610850 [details]
RPM spec file, modified from perl-5.10.1-127.el6
Created attachment 610851 [details]
modified patch
this is modified from the original patch to apply cleanly against the perl-5.10.1-127.el6 SRPM as new patch 23.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1534.html |