You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jim Norton <jr...@oregonhanggliding.com> on 2005/01/01 01:45:01 UTC

Re: [users@httpd] Apache 2.0.52 segfaults

On Fri, Dec 31, 2004 at 01:09:11PM -0800, Jim Norton wrote:
> Hello all:
> 
> I'm running a Gentoo Linux box and recently tried to upgrade PHP to the newest version that fixes the recently found security vulnerability in PHP.
> 
> Well, I also upgraded Apache from 2.0.48 to 2.0.52 and now when I try to start the server, I get a segmentation fault.
> 
> Anbyody have any idea at all how I can go about diagnosing what is causing this behavior?
> 
> -- 
> Jim Norton - http://www.jimnorton.org
> 
> "The art of listening is indispensable for the right use of the mind.
> It is also the most gracious, the most open and the most generous of
> human habits."
> (Attributed to R. Barr, St. John's College, Annapolis, MD)

I built apache 2.0.52 with debug symbols and used GDB. The following is what GDB had to say about the seg fault:

jrn@hosting:/usr/portage/net-www/apache> gdb
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) exec-file /usr/sbin/apache2
(gdb) run
Starting program: /usr/sbin/apache2
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xb7b4ab6c in memcpy () from /lib/libc.so.6
(gdb) bt
#0  0xb7b4ab6c in memcpy () from /lib/libc.so.6
#1  0xb7cd9cbb in call_resolver () from /usr/lib/libapr-0.so.0
#2  0xb7cd9e33 in find_addresses () from /usr/lib/libapr-0.so.0
#3  0xb7cd9ead in apr_sockaddr_info_get () from /usr/lib/libapr-0.so.0
#4  0x0806dd78 in ?? ()
#5  0x080c836c in ?? ()
(gdb)


Anybody have any idea why this is  happening and how to fix it?

Thanks,


-- 
Jim Norton - http://www.jimnorton.org

"The art of listening is indispensable for the right use of the mind.
It is also the most gracious, the most open and the most generous of
human habits."
(Attributed to R. Barr, St. John's College, Annapolis, MD)

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.0.52 segfaults

Posted by Jim Norton <jr...@oregonhanggliding.com>.
On Tue, Jan 04, 2005 at 03:58:32PM +0000, Joe Orton wrote:
> On Fri, Dec 31, 2004 at 04:45:01PM -0800, Jim Norton wrote:
> > On Fri, Dec 31, 2004 at 01:09:11PM -0800, Jim Norton wrote:
> > > I'm running a Gentoo Linux box and recently tried to upgrade PHP to
> > > the newest version that fixes the recently found security
> > > vulnerability in PHP.
> > > 
> > > Well, I also upgraded Apache from 2.0.48 to 2.0.52 and now when I
> > > try to start the server, I get a segmentation fault.
> > > 
> > > Anbyody have any idea at all how I can go about diagnosing what is
> > > causing this behavior?
> ...
> > Program received signal SIGSEGV, Segmentation fault.
> > 0xb7b4ab6c in memcpy () from /lib/libc.so.6
> > (gdb) bt
> > #0  0xb7b4ab6c in memcpy () from /lib/libc.so.6
> > #1  0xb7cd9cbb in call_resolver () from /usr/lib/libapr-0.so.0
> > #2  0xb7cd9e33 in find_addresses () from /usr/lib/libapr-0.so.0
> > #3  0xb7cd9ead in apr_sockaddr_info_get () from /usr/lib/libapr-0.so.0
> 
> This seems to be a system library issue which Gentoo users suffer from
> occasionally, see this bug report:
> 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=29128#c11:
> 
> joe
> 

Thanks Joe. I just build apache 2.0.52 without LDAP and all is well...



-- 
Jim Norton - http://www.jimnorton.org

"The art of listening is indispensable for the right use of the mind.
It is also the most gracious, the most open and the most generous of
human habits."
(Attributed to R. Barr, St. John's College, Annapolis, MD)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.0.52 segfaults

Posted by Joe Orton <jo...@redhat.com>.
On Fri, Dec 31, 2004 at 04:45:01PM -0800, Jim Norton wrote:
> On Fri, Dec 31, 2004 at 01:09:11PM -0800, Jim Norton wrote:
> > I'm running a Gentoo Linux box and recently tried to upgrade PHP to
> > the newest version that fixes the recently found security
> > vulnerability in PHP.
> > 
> > Well, I also upgraded Apache from 2.0.48 to 2.0.52 and now when I
> > try to start the server, I get a segmentation fault.
> > 
> > Anbyody have any idea at all how I can go about diagnosing what is
> > causing this behavior?
...
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7b4ab6c in memcpy () from /lib/libc.so.6
> (gdb) bt
> #0  0xb7b4ab6c in memcpy () from /lib/libc.so.6
> #1  0xb7cd9cbb in call_resolver () from /usr/lib/libapr-0.so.0
> #2  0xb7cd9e33 in find_addresses () from /usr/lib/libapr-0.so.0
> #3  0xb7cd9ead in apr_sockaddr_info_get () from /usr/lib/libapr-0.so.0

This seems to be a system library issue which Gentoo users suffer from
occasionally, see this bug report:

http://issues.apache.org/bugzilla/show_bug.cgi?id=29128#c11:

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org