[muscle] QMutex::lock() segfaults

  • From: Marius Kjeldahl <marius@xxxxxxxxxxxx>
  • To: <muscle@xxxxxxxxxxxxx>
  • Date: Mon, 10 Nov 2003 23:02:37 +0100

I'm getting segfault in QMutex::lock(). Is anybody else having trouble with 
these? I'm running qt-copy (from KDE cvs) and MUSCLE 2.44 on a fairly updated 
Gentoo Intel system. 

Any help or hints on where to search further would be appreciated.

Marius K.

GDB bt gives:

[New Thread 16384 (LWP 14655)]
starting internal thread...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14655)]
0x4053705c in QMutex::lock() () from /usr/qt/3/lib/libqt-mt.so.3
(gdb) bt
#0  0x4053705c in QMutex::lock() () from /usr/qt/3/lib/libqt-mt.so.3
#1  0x0805d1b3 in muscle::Mutex::Lock() const (this=0x80c6b68) at Mutex.h:92
#2  0x08093b98 in 
muscle::ObjectPool<muscle::StorageReflectSession::DataNode>::ObtainObject() (
    this=0x80c6b60) at ObjectPool.h:108
#3  0x08090ec5 in muscle::StorageReflectSession::GetNewDataNode(char const*, 
muscle::Ref<muscle::Message>) (
    this=0x8173b2c, name=0x80ba1a0 "", initialValue=
      {_item = 0x80c6ae0, _recycler = 0x0, _doRefCount = false})
    at ../reflector/StorageReflectSession.cpp:1832
#4  0x08089c6d in muscle::StorageReflectSession::InitSharedData() 
    at ../reflector/StorageReflectSession.cpp:88
#5  0x08089d6f in muscle::StorageReflectSession::AttachedToServer() 
    at ../reflector/StorageReflectSession.cpp:110
#6  0x0809cb21 in 
    this=0x8173954, ref={_item = 0x8173b2c, _recycler = 0x0, _doRefCount = 
    at ../reflector/ReflectServer.cpp:96
#7  0x0809c95a in 
int) (
    this=0x8173954, ref={_item = 0x8173b2c, _recycler = 0x0, _doRefCount = 
true}, s=12)
    at ../reflector/ReflectServer.cpp:58
#8  0x0805266c in muscle::MessageTransceiverThread::EnsureServerAllocated() 
    at ../../../../src/muscle/system/MessageTransceiverThread.cpp:42
#9  0x080527f1 in muscle::MessageTransceiverThread::StartInternalThread() 
    at ../../../../src/muscle/system/MessageTransceiverThread.cpp:65
#10 0x080509c1 in poker::MainWindow::ConnectToServer() (this=0xbffff310) at 
#11 0x0804ed02 in main (argc=1, argv=0xbffff574) at main.cpp:29
#12 0x40938766 in __libc_start_main () from /lib/libc.so.6

Other related posts: