apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John L. Poole" <jlpool...@gmail.com>
Subject Re: testprocmutex hangs
Date Wed, 22 Dec 2010 05:43:08 GMT
Hello Sander,

This email contains the print out from your first request.  I'll work on 
your second request and post results in a later email.

Here's the backtrace:

     (gdb) run
     Starting program: /usr/sbin/apache2
     [Thread debugging using libthread_db enabled]

     Program received signal SIGSEGV, Segmentation fault.
     0x402910e4 in apr_palloc () from /usr/lib/libapr-1.so.0
     (gdb) bt
     #0  0x402910e4 in apr_palloc () from /usr/lib/libapr-1.so.0
     #1  0x4028b988 in apr_array_make () from /usr/lib/libapr-1.so.0
     #2  0x4010eb54 in apr_hook_sort_register () from 
/usr/lib/libaprutil-1.so.0
     #3  0x0003d36c in ap_hook_create_connection ()
     #4  0x00030a88 in ?? ()
     Cannot access memory at address 0x0
     #5  0x00030a88 in ?? ()
     Cannot access memory at address 0x0
     Backtrace stopped: previous frame identical to this frame (corrupt 
stack?)
     (gdb)


Here's the backtrace with "-X":

     (gdb) run -X
     Starting program: /usr/sbin/apache2 -X
     [Thread debugging using libthread_db enabled]

     Program received signal SIGSEGV, Segmentation fault.
     0x402910e4 in apr_palloc () from /usr/lib/libapr-1.so.0
     (gdb)  bt
     #0  0x402910e4 in apr_palloc () from /usr/lib/libapr-1.so.0
     #1  0x4028b988 in apr_array_make () from /usr/lib/libapr-1.so.0
     #2  0x4010eb54 in apr_hook_sort_register () from 
/usr/lib/libaprutil-1.so.0
     #3  0x0003d36c in ap_hook_create_connection ()
     #4  0x00030a88 in ?? ()
     Cannot access memory at address 0x0
     #5  0x00030a88 in ?? ()
     Cannot access memory at address 0x0
     Backtrace stopped: previous frame identical to this frame (corrupt 
stack?)
     (gdb)


On 12/20/2010 7:55 AM, Sander Temme wrote:
> John,
>
> On Dec 13, 2010, at 6:25 AM, John Poole wrote:
>
>> Reading symbols from /usr/sbin/apache2...(no debugging symbols found)...done.
>> (gdb) run
>> Starting program: /usr/sbin/apache2
>> [Thread debugging using libthread_db enabled]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x402910e4 in apr_palloc () from /usr/lib/libapr-1.so.0
> Two requests:
>
> 1) could you send a backtrace (bt) taken after the segfault and
> 2) try this on a copy of Apache compiled with debug symbols:
>
> CFLAGS="-DDEBUG -O0"; export CFLAGS
> ./configure --prefix=/somewhere (...) --enable-maintainer-mode (...)
> make
> make install
>
> You don't seem to get far enough for Apache to fork() its child processes, but if you
want to prevent forking you can tell gdb to
>
> run -X
>
> Thanks,
>
> S.
>



Mime
View raw message