Challenging things to do: SIGSEGV catcher and backtrace extractor

2002-04-11 Thread Stas Bekman
a SIGSEGV to do the work. You will probably need to do it in XS (could write a prototype with Inline). I think I've tried in Perl and it didn't work (since SIGSEGV is caught on the C level by httpd). If this works, you will be able to generate as many backtraces as the number of segfaults 2. during

Re: Challenging things to do: SIGSEGV catcher and backtrace extractor

2002-04-11 Thread Doug MacEachern
On Fri, 12 Apr 2002, Stas Bekman wrote: If you read the rest of the post I mention it (without telling the name :). The problem with this module is that it's useful only after you have the core file. which is not good, because (as I've already explained): it's important to mention

Re: Challenging things to do: SIGSEGV catcher and backtrace extractor

2002-04-11 Thread Stas Bekman
then there'd be no way to automate generating a stacktrace anyhow. You can get a backtrace if you run the process under debugger without dumping a core file. No special setup required. I was thinking to attach the debugger on SIGSEGV event. Is it too late? I see certain gnome apps failing

Re: Challenging things to do: SIGSEGV catcher and backtrace extractor

2002-04-11 Thread Doug MacEachern
On Fri, 12 Apr 2002, Stas Bekman wrote: You can get a backtrace if you run the process under debugger without dumping a core file. No special setup required. I was thinking to attach the debugger on SIGSEGV event. Is it too late? I see certain gnome apps failing and they ask you if you

Challenging things to do: SIGSEGV catcher and backtrace extractor

2002-04-11 Thread Kevin A. McGrail
Date: Fri, 12 Apr 2002 00:24:11 +0800 To: [EMAIL PROTECTED] From: Stas Bekman [EMAIL PROTECTED] Subject: Challenging things to do: SIGSEGV catcher and backtrace extractor Message-ID: [EMAIL PROTECTED] A few moons ago we have discussed on the dev list a tool for automatic segfault

Re: Challenging things to do: SIGSEGV catcher and backtrace extractor

2002-04-11 Thread Daniel Jacobowitz
the debugger on SIGSEGV event. Is it too late? I see certain gnome apps failing and they ask you if you want to get the stack, without me doing anything at all. That's what I want for modperl. You say it's not possible? Sure, that's possible from the SEGV handler. -- Daniel Jacobowitz

[QUESTION][BUG] apache dies with SIGSEGV

2002-02-26 Thread gaston
Hi list I wrote a small perl module using perl/Expat for parsing XML-files. With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine. In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30) apache dies with an SIGSEGV on loading. The error occured during the function call

Re: [QUESTION][BUG] apache dies with SIGSEGV

2002-02-26 Thread Mark P. Fister
with an SIGSEGV on loading. The error occured during the function call ParseStream() in Expat.pm. When i checked the core file with gdb i get this: Scope this: http://groups.yahoo.com/group/modperl/message/39557 So try switching to Apache 1.3.23 (the latest)? Hope this helps! :) -- \_/} Mark P. Fister

[BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Fister, Mark
Dear mod_perl experts: Collectively, we've been at this for more than two weeks and have searched various mod_perl archives, all to no avail. Symptom: === SIGSEGV after fork(). Very reproducible. Memory corruption gets moved around if the codebase changes. [ SNIP ] The above

Re: [BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Perrin Harkins
The only other way I can think of to solve this is to send my module list to this audience. Please find it, attached, with home-grown modules deleted. Have you tried debugging the old-fashioned way, i.e. remove things until it works? That's your best bet. I suspect you will find that you

Re: [BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Robert Landrum
At 11:44 AM -0600 2/15/02, Fister, Mark wrote: Dear mod_perl experts: Collectively, we've been at this for more than two weeks and have searched various mod_perl archives, all to no avail. Symptom: === SIGSEGV after fork(). Very reproducible. Memory corruption gets moved around

Re: [BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Paul Lindner
On Fri, Feb 15, 2002 at 11:44:03AM -0600, Fister, Mark wrote: Dear mod_perl experts: Collectively, we've been at this for more than two weeks and have searched various mod_perl archives, all to no avail. Symptom: === SIGSEGV after fork(). Very reproducible. Memory

RE: [BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Fister, Mark
that you have some module doing something with XS or sockets or filehandles that can't deal with being forked. That's just the thing with memory corruption: Adding or removing random code causes the SIGSEGV signature to change (or causes the server to suddenly start working). I am nearly certain

RE: [BUG] Memory Courruption (was: RE: [Q] SIGSEGV After fork())

2002-02-15 Thread Fister, Mark
: === SIGSEGV after fork(). Very reproducible. Memory corruption gets moved around if the codebase changes. [ SNIP ] The above is the key: moved around. Therefore, I need Purify or similar tool. I'm going to have to go this route, since nobody has any ideas. Go go

RE: [Q] SIGSEGV After fork()

2002-02-07 Thread Fister, Mark
On Thu, Feb 07, 2002 at 01:03:29AM +, Ged Haywood wrote: Hi there, Hi! Thank you SOOO much for the reply! [SNIP] You might try usemymalloc. Tried that. Note: you also tried to help a fellow back in November of 2001 on this VERY same stack trace.

RE: [Q] SIGSEGV After fork()

2002-02-07 Thread Ged Haywood
Hi there, On Thu, 7 Feb 2002, Fister, Mark wrote: Tried that. Note: you also tried to help a fellow back in November of 2001 on this VERY same stack trace. http://groups.yahoo.com/group/modperl/message/39560 Heh, didn't get very far with Lynx on that URL... does anybody know what

RE: [Q] SIGSEGV After fork()

2002-02-07 Thread Fister, Mark
On Thu, Feb 07, 2002 at 09:35:18PM +, Ged Haywood wrote: Hi there, On Thu, 7 Feb 2002, Fister, Mark wrote: Tried that. Note: you also tried to help a fellow back in November of 2001 on this VERY same stack trace. http://groups.yahoo.com/group/modperl/message/39560 Heh,

[Q] SIGSEGV After fork()

2002-02-06 Thread Mark P. Fister
Dear mod_perl experts: Collectively, we've been at this for more than two weeks and have searched various mod_perl archives, all to no avail. Symptom: === SIGSEGV after fork(). Very reproducible. Memory corruption gets moved around if the codebase changes. Tried: = * disable rule

Re: [Q] SIGSEGV After fork()

2002-02-06 Thread Ged Haywood
Hi there, On Wed, 6 Feb 2002, Mark P. Fister wrote: Collectively, we've been at this for more than two weeks and have searched various mod_perl archives, all to no avail. :( SIGSEGV after fork(). Very reproducible. Memory corruption gets moved around if the codebase changes. [snip

Re: Resurrection of startup SIGSEGV with latest CVS snapshot?

2000-10-13 Thread Doug MacEachern
On Tue, 3 Oct 2000, Bruce W. Hoylman wrote: Hello, Doug -- Thanks for the reply. I have already applied this patch. The backtrace I provided was producted by an httpd executable with the perl_util.c patch already applied. The perl 5.6 patch from p5p was also in effect. bruce, maybe

Re: Resurrection of startup SIGSEGV with latest CVS snapshot?

2000-10-03 Thread Doug MacEachern
modperl revisions have the perl_util.c patch applied and perl 5.6 has been patched based on information from p5p regarding cop.h and threads. These patches solved an earlier SIGSEGV problem (similiar to this one?). this looks exactly like the problem that should be solved by the patch i sent you

Re: Resurrection of startup SIGSEGV with latest CVS snapshot?

2000-10-03 Thread Bruce W. Hoylman
Hello, Doug -- Thanks for the reply. I have already applied this patch. The backtrace I provided was producted by an httpd executable with the perl_util.c patch already applied. The perl 5.6 patch from p5p was also in effect. The combined patches worked for the earlier CVS snapshot of

Resurrection of startup SIGSEGV with latest CVS snapshot?

2000-10-03 Thread Bruce W. Hoylman
and perl 5.6 has been patched based on information from p5p regarding cop.h and threads. These patches solved an earlier SIGSEGV problem (similiar to this one?). The particulars are included below. Thanks for any insight. modperl_20001003161843 apache-1.3_2911161201 (gdb) run -X -f /www/etc

Re: SIGSEGV

2000-09-27 Thread Doug MacEachern
On Mon, 11 Sep 2000, [iso-8859-1] François Chenais wrote: Hello I have a Segmentation fault error with mod perl ! Any idea ? (gdb) run /opt/apache/lib/perl/WCM.pl Starting program: /usr/bin/perl /opt/apache/lib/perl/WCM.pl ... Program received signal SIGSEGV, Segmentation fault

SIGSEGV

2000-09-11 Thread François Chenais
symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x400e6865 in realloc () from /lib/libc.so.6 (gdb) where #0 0x400e6865