|
Boost Users : |
Subject: [Boost-users] Assertion in boost::mutex
From: amit khandelwal (khandelwal.amit_at_[hidden])
Date: 2008-10-03 15:50:44
I am getting an assertion in boost::mutex while using static mutex
variables. Below is the stack trace for that.
void boost::mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
#0 0xb7f9f410 in __kernel_vsyscall ()
#1 0xb75f1085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb75f2a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb75ea10e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0x080581eb in ~mutex (this=0x80f3ab8) at
boost/thread/pthread/mutex.hpp:45
#5 0x0805f202 in __tcf_7 () at TimerQueue.cpp:22
#6 0xb75f4084 in exit () from /lib/tls/i686/cmov/libc.so.6
#7 0xb75dc458 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#8 0x080546c1 in _start ()
Any pointers/suggestions?
-- ------------------------------------------------------------------- Ph : (732) 647 5679 Email: khandelwal.amit_at_[hidden] Web: http://khandelwal.amit.googlepages.com/home -------------------------------------------------------------------
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net