You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Henning Sprang <he...@gmx.de> on 2002/01/30 13:40:24 UTC

how to find reasons for a segfault

Hy all,
I realize that one of the Servers we run writes lots of messages about 
segfaults in the logs, like

[Mon Jan 28 20:57:05 2002] [notice] child pid 15373 exit signal 
Segmentation fault (11)


Now trying to find out more about this i looked in the faq and searched 
the web, but did not find anything that got me further.

My main problem is I do not know where to start looking - how can i find 
out if it is one of the loaded modules that causes the Segfaults and if 
which one of these?

When i can find out that i can look if somebody else has the same 
problem and solved it.

TIA,

henning


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


how to find reasons for a segfault (forgot version info)

Posted by Henning Sprang <he...@gmx.de>.
Henning Sprang wrote:

> Hy all,
> I realize that one of the Servers we run writes lots of messages about 
> segfaults in the logs, like
> 
> [Mon Jan 28 20:57:05 2002] [notice] child pid 15373 exit signal 
> Segmentation fault (11)
> 
> 
> Now trying to find out more about this i looked in the faq and searched 
> the web, but did not find anything that got me further.
> 
> My main problem is I do not know where to start looking - how can i find 
> out if it is one of the loaded modules that causes the Segfaults and if 
> which one of these?
> 
> When i can find out that i can look if somebody else has the same 
> problem and solved it.
> 



And, sorry, I run Apache 1.3.22, forgot to mention that...

henning






---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: how to find reasons for a segfault

Posted by chad kellerman <ck...@alabanza.com>.
Henning,

    Not that this works all the time, there are probably othermethods
but what you can do is:

pstree -pa | grep httpd

grab the parent pid # and run

strace -p $pid

then connect.  The strace may show you.

or if you are getting a core dump:

file core      ( just to make sure its the httpd core dump)

and I believe you can ue gdb on the core file.  do a man on it to see
what options.

Chad



On Wed, 2002-01-30 at 07:40, Henning Sprang wrote:
> Hy all,
> I realize that one of the Servers we run writes lots of messages about 
> segfaults in the logs, like
> 
> [Mon Jan 28 20:57:05 2002] [notice] child pid 15373 exit signal 
> Segmentation fault (11)
> 
> 
> Now trying to find out more about this i looked in the faq and searched 
> the web, but did not find anything that got me further.
> 
> My main problem is I do not know where to start looking - how can i find 
> out if it is one of the loaded modules that causes the Segfaults and if 
> which one of these?
> 
> When i can find out that i can look if somebody else has the same 
> problem and solved it.
> 
> TIA,
> 
> henning
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org