Recently upgraded to 0.10 (revision 582946).  Since the upgrade my apps throw
a MutexException at termination.  Just to double check I ran one of the
example apps (stream) with the same result.  gdb output & stack trace below. 
Any ideas?  I'm going to do some digging on my end as well.

TIA,
Marc

$ gdb .libs/stream
GNU gdb Red Hat Linux (6.5-8.fc6rh)
Copyright (C) 2006 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 "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/libthread_db.so.1".

(gdb) r
Starting program: /home/xxxxx/logging-log4cxx/src/examples/cpp/.libs/stream
[Thread debugging using libthread_db enabled]
[New Thread 46912508983760 (LWP 2363)]
0 [0x2aaaab6ef9d0] DEBUG root trivial context - debug message 1
0 [0x2aaaab6ef9d0] INFO root trivial context - info message
0 [0x2aaaab6ef9d0] WARN root trivial context - warn message
0 [0x2aaaab6ef9d0] ERROR root trivial context - error message
0 [0x2aaaab6ef9d0] FATAL root trivial context - fatal message
terminate called after throwing an instance of
'log4cxx::helpers::MutexException'
  what():  Mutex exception: stat = 22

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912508983760 (LWP 2363)]
0x0000003fef0301b5 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x0000003fef0301b5 in raise () from /lib64/libc.so.6
#1  0x0000003fef031b20 in abort () from /lib64/libc.so.6
#2  0x0000003000ec01c4 in __gnu_cxx::__verbose_terminate_handler () from
/usr/lib64/libstdc++.so.6
#3  0x0000003000ebe386 in std::set_unexpected () from
/usr/lib64/libstdc++.so.6
#4  0x0000003000ebe3b3 in std::terminate () from /usr/lib64/libstdc++.so.6
#5  0x0000003000ebe49a in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6  0x00002aaaaabf6ded in log4cxx::helpers::synchronized::synchronized ()
    at ../../../src/main/include/log4cxx/helpers/objectptr.h:112
#7  0x00002aaaaabc09c6 in log4cxx::helpers::ObjectPtrBase::exchange
(destination=0x2aaaaae69f20, newValue=0x0)
    at objectptr.cpp:41
#8  0x00002aaaaaba7362 in __tcf_6 () at
../../../src/main/include/log4cxx/helpers/objectptr.h:110
#9  0x0000003fef032ed5 in exit () from /lib64/libc.so.6
#10 0x0000003fef01da4b in __libc_start_main () from /lib64/libc.so.6
#11 0x00000000004016a9 in _start ()

-- 
View this message in context: 
http://www.nabble.com/apps-throwing-MutexException-at-termination-tf4590301.html#a13103575
Sent from the Log4cxx - Users mailing list archive at Nabble.com.

Reply via email to