New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault in perl 5.8.2 #7039
Comments
From apocalypse@0ne.usAfter some narrowing down, I've produced a minimal case that will always Here's the code: # Standard stuff to catch errors # Load some stuff # Fire off the SimpleDBI stuff # Be sure to put something totally non-real in here 'USERNAME' => 'TEST', POE::Kernel->run(); # Now, it should hang for a little bit, just wait for DBI to fail... Luckily, I got the perl-debug package, so here's a nice backtrace of the gdb --args /usr/bin/debugperl /test.pl Program received signal SIGSEGV, Segmentation fault. Running on Debian Testing ( 2.4.18-bf24 kernel ) perl -V shows: Characteristics of this binary (from libperl): |
From @iabynOn Thu, Jan 15, 2004 at 11:35:46AM -0000, apocalypse@0ne.us (via RT) wrote:
Which can be reduced further to: sub mydie { die } my $f; deleting $f's reference to the anon sub while it's active causes nasty Fixed in bleedperl by patch #22167 Dave. -- |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'resolved' |
From @iabynOn Sat, Jan 17, 2004 at 04:37:25PM +0000, Dave Mitchell wrote:
Note to self: the real problem is the winding down through the contexts -- |
From perl5-porters@ton.iguana.beIn article <20040117170701.GD14442@_disolutions.com>,
How about incrementing the refcount on the codereference in case of an |
From @iabynOn Sat, Jan 17, 2004 at 05:14:42PM +0000, Ton Hospel wrote:
Thats already happens - the refcnt of a CV is incremented when it is -- |
From @iabynOn Sat, Jan 17, 2004 at 10:32:16PM +0100, Rafael Garcia-Suarez wrote:
It gets stuck in the system malloc library. Dave. -- |
From @rgsDave Mitchell wrote:
Doubtful. On linux, at patchlevel 22172, with -Dusemorebits : Failed Test Stat Wstat Total Fail Failed List of Failed op/write.t 86 1 1.16% 44 With default config options, all tests passes. |
From @iabynOn Sun, Jan 18, 2004 at 12:20:10AM +0000, Dave Mitchell wrote:
Now fixed by change #22182. Entering a sub now incs the refcnt on the CV Dave. -- |
Migrated from rt.perl.org#24914 (status was 'resolved')
Searchable as RT24914$
The text was updated successfully, but these errors were encountered: