Core was generated by `./testthreads'. Program terminated with signal 11, Segmentation fault. Reading symbols from /home/ewyles/log4cxx/log4cxx-0.9.8/build/debug/shared/liblo Loaded symbols for /home/ewyles/log4cxx/lib/liblog4cxx.so Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /usr/lib/libexpat.so.0...done. Loaded symbols for /usr/lib/libexpat.so.0 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0x0018b801 in std::basic_string, std::allocator (gdb) bt #0 0x0018b801 in std::basic_string, std::allocator >::basic_string () from /usr/lib/libstdc++.so.5 #1 0x00bf242c in log4cxx::Logger::getName (this=0x0) at logger.h:261 #2 0x00c72528 in log4cxx::Hierarchy::updateParents (this=0x8ab7fe0, logger=@0x80c5178) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:289 #3 0x00c71c73 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x9fde89b0, factory=@0x8ab7fe4) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:190 #4 0x00c71a15 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x9fde89b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:157 #5 0x00be08ca in log4cxx::LogManager::getLogger (name=@0x9fde89b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logmanager.cpp:99 #6 0x00c6ef71 in log4cxx::Logger::getLogger (name=0x809b1f4 "log4cxx.LoggerTest.meth_11") at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:542 #7 0x080518f4 in LoggerThread::meth_11 () at loggerthread.cpp:118 #8 0x0804f750 in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8042 #9 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #10 0x0036ba2a in clone () from /lib/tls/libc.so.6 (gdb) #0 0x0018b801 in std::basic_string, std::allocator >::basic_string () from /usr/lib/libstdc++.so.5 #1 0x00bf242c in log4cxx::Logger::getName (this=0x0) at logger.h:261 #2 0x00c72528 in log4cxx::Hierarchy::updateParents (this=0x8ab7fe0, logger=@0x80c5178) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:289 #3 0x00c71c73 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x9fde89b0, factory=@0x8ab7fe4) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:190 #4 0x00c71a15 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x9fde89b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:157 #5 0x00be08ca in log4cxx::LogManager::getLogger (name=@0x9fde89b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logmanager.cpp:99 #6 0x00c6ef71 in log4cxx::Logger::getLogger (name=0x809b1f4 "log4cxx.LoggerTest.meth_11") at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:542 #7 0x080518f4 in LoggerThread::meth_11 () at loggerthread.cpp:118 #8 0x0804f750 in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8042 #9 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #10 0x0036ba2a in clone () from /lib/tls/libc.so.6 (gdb) thread apply all backtrace Thread 6 (process 7227): #0 0x00e4dc78 in pthread_join () from /lib/tls/libpthread.so.0 #1 0x080493dc in heavyThreading () at threadtestcase.cpp:86 #2 0x08049406 in main () at threadtestcase.cpp:96 Thread 5 (process 7228): #0 0x0035dfb1 in __write_nocancel () from /lib/tls/libc.so.6 #1 0x002fab3f in _IO_new_file_write () from /lib/tls/libc.so.6 #2 0x002f9ade in new_do_write () from /lib/tls/libc.so.6 #3 0x002f9a76 in _IO_new_do_write () from /lib/tls/libc.so.6 #4 0x002fa1d6 in _IO_new_file_overflow () from /lib/tls/libc.so.6 #5 0x002fac60 in _IO_new_file_xsputn () from /lib/tls/libc.so.6 #6 0x002ef4d2 in fputs () from /lib/tls/libc.so.6 #7 0x00c02d1c in log4cxx::helpers::SystemOutWriter::write (this=0x8ab80d0, str=@0xaffea7e0, p=Internal: global symbol `Pool' found in /home/ewyles/log4cxx/log4cxx-0.9.8/src/defaultconfigurator.cpp psymtab but not in symtab. Pool may be an inlined function, or may be a template function (if a template, try specifying an instantiation: Pool). ) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/systemoutwriter.cpp:53 #8 0x00c04df8 in log4cxx::WriterAppender::subAppend (this=0x8ab8070, event=Internal: global symbol `ObjectPtrT' found in /home/ewyles/log4cxx/log4cxx-0.9.8/src/socketappender.cpp psymtab but not in symtab. ObjectPtrT may be an inlined function, or may be a template function (if a template, try specifying an instantiation: ObjectPtrT). ) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/writerappender.cpp:199 #9 0x00c043e1 in log4cxx::WriterAppender::append (this=0x8ab8070, event=Internal: global symbol `ObjectPtrT' found in /home/ewyles/log4cxx/log4cxx-0.9.8/src/methodlocationpatternconverter.cpp psymtab but not in symtab. ObjectPtrT may be an inlined function, or may be a template function (if a template, try specifying an instantiation: ObjectPtrT). ) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/writerappender.cpp:81 #10 0x00c65ea2 in log4cxx::AppenderSkeleton::doAppend (this=0x8ab8070, event=@0xaffea970, pool=@0xaffea990) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/appenderskeleton.cpp:125 #11 0x00c7f084 in log4cxx::helpers::AppenderAttachableImpl::appendLoopOnAppenders (this=0x8aba0e8, event=Internal: global symbol `ObjectPtrT' found in /home/ewyles/log4cxx/log4cxx-0.9.8/src/asyncappender.cpp psymtab but not in symtab. ObjectPtrT may be an inlined function, or may be a template function (if a template, try specifying an instantiation: ObjectPtrT). ) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/appenderattachableimpl.cpp:61 #12 0x00c6c9cf in log4cxx::Logger::callAppenders (this=0x8abf5a8, event=@0xaffea970, p=@0xaffea990) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:78 #13 0x00c6d04f in log4cxx::Logger::forcedLog (this=0x8abf5a8, level=@0xd21128, message=@0xaffeaa00) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:129 #14 0x00c6f1f7 in log4cxx::Logger::debug (this=0x8abf5a8, msg=@0xaffeaa00) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:591 #15 0x08051845 in LoggerThread::meth_10 () at loggerthread.cpp:114 #16 0x0804f74b in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8041 #17 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #18 0x0036ba2a in clone () from /lib/tls/libc.so.6 Thread 4 (process 7229): #0 0x00e51809 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0x00e4e800 in _L_mutex_lock_78 () from /lib/tls/libpthread.so.0 #2 0x00d1c8d8 in __JCR_LIST__ () from /home/ewyles/log4cxx/lib/liblog4cxx.so #3 0xa7fe9930 in ?? () #4 0xa7fe97c8 in ?? () #5 0x00ca60e3 in apr_thread_mutex_lock (mutex=0x8ab5724) at /home/ewyles/log4cxx/log4cxx-0.9.8/lib/apr-1.2.2/locks/unix/thread_mutex.c:92 #6 0x00ca60e3 in apr_thread_mutex_lock (mutex=0x8ab5720) at /home/ewyles/log4cxx/log4cxx-0.9.8/lib/apr-1.2.2/locks/unix/thread_mutex.c:92 #7 0x00c5cc45 in synchronized (this=0xa7fe9930, mutex=@0x8ab8020) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/synchronized.cpp:30 #8 0x00c71a5a in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0xa7fe99b0, factory=@0x8ab7fe4) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:168 #9 0x00c71a15 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0xa7fe99b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:157 #10 0x00be08ca in log4cxx::LogManager::getLogger (name=@0xa7fe99b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logmanager.cpp:99 #11 0x00c6ef71 in log4cxx::Logger::getLogger (name=0x809b1f4 "log4cxx.LoggerTest.meth_11") at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:542 #12 0x080518f4 in LoggerThread::meth_11 () at loggerthread.cpp:118 #13 0x0804f750 in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8042 #14 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #15 0x0036ba2a in clone () from /lib/tls/libc.so.6 Thread 3 (process 7231): #0 0x00e51809 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0x00e4e800 in _L_mutex_lock_78 () from /lib/tls/libpthread.so.0 #2 0x00d1c8d8 in __JCR_LIST__ () from /home/ewyles/log4cxx/lib/liblog4cxx.so #3 0x97de7930 in ?? () #4 0x97de77c8 in ?? () #5 0x00ca60e3 in apr_thread_mutex_lock (mutex=0x8ab5724) at /home/ewyles/log4cxx/log4cxx-0.9.8/lib/apr-1.2.2/locks/unix/thread_mutex.c:92 #6 0x00ca60e3 in apr_thread_mutex_lock (mutex=0x8ab5720) at /home/ewyles/log4cxx/log4cxx-0.9.8/lib/apr-1.2.2/locks/unix/thread_mutex.c:92 ---Type to continue, or q to quit--- #7 0x00c5cc45 in synchronized (this=0x97de7930, mutex=@0x8ab8020) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/synchronized.cpp:30 #8 0x00c71a5a in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x97de79b0, factory=@0x8ab7fe4) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:168 #9 0x00c71a15 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x97de79b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:157 #10 0x00be08ca in log4cxx::LogManager::getLogger (name=@0x97de79b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logmanager.cpp:99 #11 0x00c6ef71 in log4cxx::Logger::getLogger (name=0x809b1f4 "log4cxx.LoggerTest.meth_11") at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:542 #12 0x080518f4 in LoggerThread::meth_11 () at loggerthread.cpp:118 #13 0x0804f750 in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8042 #14 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #15 0x0036ba2a in clone () from /lib/tls/libc.so.6 Thread 2 (process 7232): #0 0x00e51809 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0x00e4e800 in _L_mutex_lock_78 () from /lib/tls/libpthread.so.0 #2 0x00d1c8d8 in __JCR_LIST__ () from /home/ewyles/log4cxx/lib/liblog4cxx.so #3 0x8fde6900 in ?? () #4 0x8fde6808 in ?? () #5 0x00ca60e3 in apr_thread_mutex_lock (mutex=0x8ab56f4) at /home/ewyles/log4cxx/log4cxx-0.9.8/lib/apr-1.2.2/locks/unix/thread_mutex.c:92 #6 0x00ca60e3 in apr_thread_mutex_lock (mutex=0x8ab56f0) at /home/ewyles/log4cxx/log4cxx-0.9.8/lib/apr-1.2.2/locks/unix/thread_mutex.c:92 #7 0x00c5cc45 in synchronized (this=0x8fde6900, mutex=@0x8ab7fd0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/synchronized.cpp:30 #8 0x00c6c984 in log4cxx::Logger::callAppenders (this=0x8aba598, event=@0x8fde6970, p=@0x8fde6990) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:74 #9 0x00c6d04f in log4cxx::Logger::forcedLog (this=0x8aba598, level=@0xd21128, message=@0x8fde6a00) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:129 #10 0x00c6f1f7 in log4cxx::Logger::debug (this=0x8aba598, msg=@0x8fde6a00) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:591 #11 0x08050ec5 in LoggerThread::meth_2 () at loggerthread.cpp:50 #12 0x0804f723 in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8033 #13 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #14 0x0036ba2a in clone () from /lib/tls/libc.so.6 Thread 1 (process 7230): #0 0x0018b801 in std::basic_string, std::allocator >::basic_string () from /usr/lib/libstdc++.so.5 #1 0x00bf242c in log4cxx::Logger::getName (this=0x0) at logger.h:261 #2 0x00c72528 in log4cxx::Hierarchy::updateParents (this=0x8ab7fe0, logger=@0x80c5178) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:289 #3 0x00c71c73 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x9fde89b0, factory=@0x8ab7fe4) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:190 #4 0x00c71a15 in log4cxx::Hierarchy::getLogger (this=0x8ab7fe0, name=@0x9fde89b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/hierarchy.cpp:157 #5 0x00be08ca in log4cxx::LogManager::getLogger (name=@0x9fde89b0) at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logmanager.cpp:99 #6 0x00c6ef71 in log4cxx::Logger::getLogger (name=0x809b1f4 "log4cxx.LoggerTest.meth_11") at /home/ewyles/log4cxx/log4cxx-0.9.8/src/logger.cpp:542 #7 0x080518f4 in LoggerThread::meth_11 () at loggerthread.cpp:118 #8 0x0804f750 in LoggerThread::runStatic (thread=0x0) at loggerthread.cpp:8042 #9 0x00e4cdec in start_thread () from /lib/tls/libpthread.so.0 #10 0x0036ba2a in clone () from /lib/tls/libc.so.6