Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
0.10.0
-
None
-
None
-
None
-
Debian GNU/Linux 3.1, Kernel 2.4.27, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Description
This is from the result of my daily build at http://littletux.homelinux.org/log4cxx/
...
DEBUG - log4cxx.LoggerTest.meth_605
DEBUG - log4cxx.LoggerTest.meth_606
DEBUG - log4cxx.LoggerTest.meth_607
DEBUG - log4cxx.LoggerTest.meth_608
DEBUG - log4cxx.LoggerTest.meth_609
DEBUG - log4cxx.LoggerTest.meth_610
DEBUG - log4cxx.LoggerTest.meth_611
DEBUG - log4cxx.LoggerTest.meth_612
DEBUG - log4cxx.LoggerTest.meth_613
DEBUG - log4cxx.LoggerTest.meth_614
DEBUG - log4cxx.LoggerTest.meth_615
DEBUG - log4cxx.LoggerTest.meth_616
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 49156 (LWP 14370)]
log4cxx::helpers::ObjectPtrBase::exchange (destination=0xc, newValue=0x2bd) at ../../log4cxx-0.9.8/src/objectptr.cpp:32
32 return apr_atomic_casptr(destination, newValue, (const void*) *destination);
(gdb) where
#0 log4cxx::helpers::ObjectPtrBase::exchange (destination=0xc, newValue=0x2bd)
at ../../log4cxx-0.9.8/src/objectptr.cpp:32
#1 0x0807dd65 in log4cxx::helpers::ObjectPtrT<log4cxx::Logger>::operator= (this=0xc, p=@0x2bd) at objectptr.h:92
#2 0x40340d67 in log4cxx::Hierarchy::updateParents (this=0x81b5560, logger=@0x81b1374) at objectptr.h:127
#3 0x40340222 in log4cxx::Hierarchy::getLogger (this=0x81b5560, name=@0xbf3ff9e0, factory=@0x2bd)
at ../../log4cxx-0.9.8/src/hierarchy.cpp:190
#4 0x4033ff19 in log4cxx::Hierarchy::getLogger (this=0xc, name=@0x2bd) at ../../log4cxx-0.9.8/src/hierarchy.cpp:157
#5 0x4035ab54 in log4cxx::LogManager::getLogger (name=@0x2bd) at objectptr.h:127
#6 0x40355e48 in log4cxx::Logger::getLogger (name=0x817c230 "log4cxx.LoggerTest.meth_693")
at ../../log4cxx-0.9.8/src/logger.cpp:542
#7 0x0814701c in ThreadTest::runStatic (thread=0x81cd780, data=0x0) at stl_alloc.h:656
#8 0x4003c0f6 in apr_threadattr_guardsize_set () from /usr/lib/libapr-1.so.0
#9 0x403fff4c in pthread_start_thread () from /lib/libpthread.so.0
#10 0x403fffda in pthread_start_thread_event () from /lib/libpthread.so.0
#11 0x405f280a in clone () from /lib/libc.so.6
Attachments
Issue Links
- duplicates
-
LOGCXX-132 various segmentation faults in multithreaded application
- Resolved