-
Notifications
You must be signed in to change notification settings - Fork 559
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
SEGV with 5.005_{54,56,62+} #868
Comments
From @andk[Actually this is 5.005_62 with Sarathy's patches up to 4590] The same program cores with _54, _56, and an unpatched _62 too. It is a rather big program that has mod_perl, DBI, Storable, I see no chance at this point to make a test case out of this Program received signal SIGSEGV, Segmentation fault. FWIW, here the stack trace of the same perl without debugging: Program received signal SIGSEGV, Segmentation fault. Perl Info
|
From @TimToadyAndreas J. Koenig writes: Perhaps you could "use sigtrap" and collect Perl's view of the call stack Larry |
From @andkAn update and a test case.
This is still true. 5.00503 seems to be immune against this SEGV.
I've got rid of all external modules except for mod_perl and CGI.pm.
Thanks for the reminder, but no, that sometimes showed nothing and Out of memory during "large" request for 1073745920 bytes at???` line 48. It looks to me as if somebody is writing over perl's own memory before Thanks also to Doug's bag of tricks he sent me. They helped me to keep I've reduced everything to *two* files, a handler and an httpd.conf. A During the deconstruction I saw many different SEGVs, but during the 1254 if (HeHASH(entry) != hash) /* strings can't be equal */ I'd appreciate if somebody else could look into it, I'm currently at -- #!/bin/sh |
From [Unknown Contact. See original ticket]Andreas J. Koenig writes:
PERLDB_OPTS="N f=7 A" ? Ilya |
From @andk
I had done so several times but not yet on the current destilled code. PERLDB_OPTS="NonStop=1 LineInfo=./perldb.out AutoTrace=1 frame=31" PERL5OPT=-d gdb /usr/local/apache/bin/httpd-1.3.9+p5.00562..4590g+mp1.21-1118ak #line 13 /usr/local/apache/librondebug/map_box/httpd.conf =head1 SEE ME A lone =cut _starts_ pod =cut #!perl use Apache::httpd_conf; use strict; $ServerType = "standalone"; my $SWITCH8000 = Apache->define("SWITCH8000"); my $ext = $SWITCH8000 ? ".8000" : ""; $ErrorLog = "logs/error_log$ext"; $AccessConfig = "/dev/null"; $LanguagePriority = "en fr de"; for my $loc (qw( /status )){ my $me; unless ($me){ my $ord_port = $SWITCH8000 ? 8000 : 81; unshift @INC, "/usr/local/apache/librondebug"; # why two locations having the same handler? Just to demo the SEGV. __END__ =pod seen from perls standpoint ;' called at /sources-perl/inst/perl5.005_62..4590g/lib/site_perl/File/Spec/Unix.pm line 0 Program received signal SIGSEGV, Segmentation fault. |
From @andk
Sorry, I had the LineInfo still redirected for the run. Here is the 40: my($s, $k) = (shift, shift); -- |
From @TimToadyAndreas J. Koenig writes: Looks like you're trying to call malloc/free reentrantly. : #0 0x400a8901 in memmove (dest=0x0, src=0x859d508, len=61) ... : #13 0x812df19 in Perl_warn (pat=0x81b8c71 "%s free() ignored") at util.c:1707 Larry |
From [Unknown Contact. See original ticket]On Mon, Nov 22, 1999 at 12:26:25PM -0800, Larry Wall wrote:
This is a Perl's malloc. At this moment it did not touch any state. Ilya |
From @TimToadyIlya Zakharevich writes: True 'nuff. On the other hand, the fact that it was wanting to Larry |
From @andk
Now I have seen the core even with 5.00503. The testcase I sent -- |
From @andk
FYI, my test case is now down to 90 lines, no modules needed anymore, but The application that caused my investigation is now running on both I'll keep you posted. Just in case somebody wants to look into it, -- |
Migrated from rt.perl.org#1798 (status was 'resolved')
Searchable as RT1798$
The text was updated successfully, but these errors were encountered: