httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] apache segmentation fault
Date Wed, 27 Aug 2003 07:24:46 GMT
>-----Original Message-----
>From: admin []
>Sent: Dienstag, 26. August 2003 16:37
>Subject: [users@httpd] apache segmentation fault
>OS:  FreeBSD 4.8 Stable
>Server: Apache/1.3.28 (Unix) mod_perl/1.27 PHP/4.3.3RC2 PHP/3.0.18
>mod_ssl/2.8.15 OpenSSL/0.9.7a mod_fastcgi/2.4.0 
>well didnt get a response to the first post.  I think I am 
>asking the proper
>questions.  please let me know if I am not and let me know 
>what I need to
>include to get this situation expressed properly.

Sometimes it's just that nobody knows the answer :-)

>I keep coming upon a segmentation fault with apache.  I dont 
>know what is causing it.  

A segmentation violation occurs when a program tries to accesss a memory
location outside of the memory that has been allocated to it. The OS
detects this and shuts the program down. In the case of large
applications which load lots of dynamic shared objects (like apache),
this problem can arise through inconsistent compilation. For example,
you compile and install apache 1.3.27 with mod_something (3rd party).
Later, you compile and install apache 1.3.28 but don't recompile
mod_something. Apache will run, but when mod_something is used it may
fail because it is expecting 1.3.27 (the whole pointer structure is
different etc.)

So make sure you recompiled all those interesting modules and stuff you
are using..

Regarding the "Opera" problem: I think it is highly unlikely that opera
is causing apache to crash. If you think about it, this means that it is
possible to craft an HTTP request which will disable an apache server.
Gosh - if the hackers get a hold of this, it'd be like a silver bullet
that could shooot down 60% of the internet!

Rather, I would suspect that the resource that you request with opera
causes your apache installation to wander into a piece of inconsistent
code where it hits a seg fault. So the problem can be solved by careful

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>I think I have a core file lying around on the 
>machine when this
>happens.  what is a good course of action to figure out what 
>is going on here?
>  how can I analyze the core file to figure out what is going on.
>from the apache logs 
>[Mon Aug 25 10:02:04 2003] [notice] child pid 2266 exit signal 
>Segmentation faul
>t (11)
>a core file search - nothing found 
>shell# find / -name "httpd\.core"
>so how can I generate a core file when apache has a 
>segmentatino fault?   
>- Noah
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message