apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Moore-Oliva <j...@chatgris.com>
Subject Segfault to do with mutex's..
Date Fri, 11 Jul 2003 06:16:14 GMT
I got the following segmentation fault and core dump with apr.. 

I am using glibc version 2.3.1

Output below.


 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) core core.15812 
 Core was generated by `./listmngr ./workingdir/'. 
 Program terminated with signal 11, Segmentation fault. 
 Reading symbols from /usr/lib/libapr-0.so.0...done. 
 Loaded symbols for /usr/lib/libapr-0.so.0 
 Reading symbols from /lib/libdl.so.2...done. 
 Loaded symbols for /lib/libdl.so.2 
 Reading symbols from /lib/libpthread.so.0...done. 
 Loaded symbols for /lib/libpthread.so.0 
 Reading symbols from /lib/libm.so.6...done. 
 Loaded symbols for /lib/libm.so.6 
 Reading symbols from /lib/libc.so.6...done. 
 Loaded symbols for /lib/libc.so.6 
 Reading symbols from /lib/ld-linux.so.2...done. 
 Loaded symbols for /lib/ld-linux.so.2 
 #0  0x40044447 in pthread_handle_sigrestart () from /lib/libpthread.so.0 
 (gdb) backtrace 
 #0  0x40044447 in pthread_handle_sigrestart () from /lib/libpthread.so.0 
 #1  <signal handler called> 
 #2  0x400d8bf9 in sigsuspend () from /lib/libc.so.6 
 #3  0x40044838 in __pthread_wait_for_restart_signal () from 
/lib/libpthread.so.0 
 #4  0x40046070 in __pthread_alt_lock () from /lib/libpthread.so.0 
 #5  0x40043037 in pthread_mutex_lock () from /lib/libpthread.so.0 
 #6  0x40031082 in apr_thread_mutex_lock (mutex=0x8069cf0) at 
thread_mutex.c:152 
 #7  0x40033234 in apr_pool_destroy (pool=0x8069cf4) at apr_pools.c:766 
 #8  0x0805cf73 in scan_list_queue (list_pool=0x40c00530) at 
scan_list_queue.c:249 
 #9  0x080561c7 in load_list (thread_data=0x40c00568) at load_list.c:78 
 #10 0x40042160 in pthread_start_thread () from /lib/libpthread.so.0 
 


Mime
View raw message