Thread 58 (Thread 0x7fc19f523700 (LWP 14361)): #0 __pthread_mutex_lock (mutex=0x7fc198000940) at pthread_mutex_lock.c:64 #1 0x00007fc1ad3fe0bd in CIIMutex::Lock (this=0x7fc19806dd88) #2 0x00007fc1ad3f6149 in CIIAutoMutex (this=0x7fc19f521f90, #3 0x000000000047bd15 in CChangZhan::SetSChannelComm (this=0x7fc19805c6c0, #4 0x000000000045bcd8 in CChangZhan::SetDataItem (this=0x7fc19805c6c0, #5 0x00000000006fd5ce in CRDBPublic::SetValue (this=0xb228c0, i_yDataID=..., #6 0x0000000000686cb3 in CCMYCProc (pBlockData=0x7fc190021f72, nDataNum=1827) #7 0x0000000000680a2f in ReceiveCCMService (wOpType=32, pPara=0x7fc190001d70, #8 0x00007fc1acd3c6d5 in rtbadapter::CPipeService::callback ( #9 0x00007fc1ac7090ce in RTB::CRTBLocalService::parseFrame ( #10 0x00007fc1ac708c94 in RTB::CRTBLocalService::onRecvFrame ( #11 0x00007fc1ac6e7080 in RTB::CRTBClient::run (this=0x7fc16e797700) #12 0x00007fc1a9bebbfd in Poco::PooledThread::run (this=0x3ba3fc0) #13 0x00007fc1a9be8569 in run (this=0x3b44240) at src/Thread.cpp:57 #14 0x00007fc1a9be8207 in Poco::ThreadImpl::runnableEntry (pThread=0x3ba3fe8) #15 0x00007fc1aaa328ca in start_thread (arg=<value optimized out>) #16 0x00007fc1a9fedb6d in clone () #17 0x0000000000000000 in ?? ()这个堆栈死锁了吗
时间: 2024-04-05 20:29:21 浏览: 83
这个堆栈跟踪并没有显示出死锁的情况。它显示了一个线程正在执行的代码路径,该线程正在运行CChangZhan::SetSChannelComm()函数,并尝试获取一个名为CIIMutex的互斥锁。该线程的代码运行到了CIIAutoMutex的析构函数,该函数调用CIIMutex::Unlock()函数以释放之前获取的互斥锁。然后,该线程调用CRDBPublic::SetValue()函数,该函数用于设置数据项的值。最后,该线程由CCMYCProc()函数启动,并通过RTB::CRTBClient::run()函数和Poco::PooledThread::run()函数来启动。因此,从这个堆栈跟踪来看,并没有出现死锁的情况。
相关问题
Thread 21 (Thread 0x7fd076435700 (LWP 13765)): #0 __lll_unlock_wake () #1 0x00007fd0be1695d4 in _L_unlock_548 () from /lib/libpthread.so.0 #2 0x00007fd0be169504 in __pthread_mutex_unlock_usercnt ( #3 0x00007fd0c0b310db in CIIMutex::Unlock (this=0x7fd0ac06d228) #4 0x00007fd0c0b291a5 in ~CIIAutoMutex (this=0x7fd076434c50, #5 0x0000000000475658 in CChangZhan::GetChannelS_YC (this=0x7fd0ac05bb60, #6 0x00000000007085a9 in CZFRTData::SendRTData_ChgYC (this=0xaf20e0) #7 0x00000000007077e8 in CZFRTData::DowithSendReq (this=0xaf20e0) #8 0x000000000069562e in CTimerThread::Run (this=0xb22720) #9 0x00007fd0c0b30d46 in CIIThreadPrivate::InternalRun (that=0xb22720) #10 0x00007fd0c0b30950 in start_thread (t=0xb22720) at ies_thread_unix.cpp:84 #11 0x00007fd0be1658ca in start_thread (arg=<value optimized out>) #12 0x00007fd0bd720b6d in clone () #13 0x0000000000000000 in ?? ()这个堆栈死锁了吗
这个堆栈跟踪并没有显示出死锁的情况。它显示了一个线程正在执行的代码路径,该线程正在运行CChangZhan::GetChannelS_YC()函数,并尝试获取一个名为CIIMutex的互斥锁。该线程的代码运行到了CIIAutoMutex的析构函数,该函数调用CIIMutex::Unlock()函数以释放之前获取的互斥锁。然后,该线程调用CZFRTData::SendRTData_ChgYC()函数,该函数用于发送实时数据。最后,该线程由CTimerThread::Run()函数启动,并通过CIIThreadPrivate::InternalRun()函数和start_thread()函数来启动。因此,从这个堆栈跟踪来看,并没有出现死锁的情况。
阅读全文