0

我正在 AIX 上运行一些测试,并且遇到了一堆类似于以下内容的崩溃:

build   25-May-2019 18:40:46    Segmentation fault in ThreadSafeSharedObject_cpp::ChangeRefCount(unsigned int&,int) at line 21 in file "" ($t8)
build   25-May-2019 18:40:46    Thread $t1
build   25-May-2019 18:40:46    glinkl.pthread_mutex_unlock() at 0xd5d4baac
build   25-May-2019 18:40:46    BlockingResponseQueue.Simba::Support::CriticalSection::Leave() const(0x2055a320), line 54 in "CriticalSection.h"
build   25-May-2019 18:40:46    BlockingResponseQueue.Simba::Support::CriticalSectionLock::~CriticalSectionLock()(0x2ff1c920, 0x2), line 38 in "CriticalSectionLock.h"
build   25-May-2019 18:40:46    CInterface.Simba::ODBC::DiagManager::Clear()(0x2055a2e8), line 132 in "DiagManager.h"
build   25-May-2019 18:40:46    Simba::ODBC::DiagManager::~DiagManager()(this = 0x2055a2e8, __dtorFlags = 2, __vtt = (nil)), line 110 in "DiagManager.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::Descriptor::~Descriptor()(this = 0x2055a2c0, __dtorFlags = 0, __vtt = (nil)), line 121 in "Descriptor.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::AppDescriptor::~AppDescriptor()(this = 0x2055a2c0, __dtorFlags = 0, __vtt = (nil)), line 24 in "AppDescriptor.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::ImplicitAppDescriptor::~ImplicitAppDescriptor()(this = 0x2055a2c0, __dtorFlags = 3, __vtt = (nil)), line 28 in "ImplicitAppDescriptor.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::Statement::~Statement()(this = 0x20525ed0, __dtorFlags = 3, __vtt = (nil)), line 448 in "Statement.cpp"
build   25-May-2019 18:40:46    Connection.void Connection_Connection_cpp::DeleteAndRemove<std::vector<Simba::ODBC::Statement*,std::allocator<Simba::ODBC::Statement*> > >(std::vector<Simba::ODBC::Statement*,std::allocator<Simba::ODBC::Statement*> >&,std::_Ptrit<Simba::ODBC::Statement*,long,Simba::ODBC::Statement**,Simba::ODBC::Statement*&,Simba::ODBC::Statement**,Simba::ODBC::Statement*&>)(in_vector = &(...), in_toDeleteAndRemove = &(...)), line 429 in "Connection.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::ODBC::Connection::DeleteStatement(Simba::ODBC::Statement*)(this = 0x20557700, in_statement = 0x20525ed0), line 846 in "Connection.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::Connection::DeleteStatement(Simba::ODBC::Statement*)(this = 0x20557700, in_statement = 0x20525ed0), line 846 in "Connection.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::ODBC::ConnectionState::SQLFreeHandle(Simba::ODBC::Connection*,short,void*)(this = 0x20517318, in_connection = 0x20557700, HandleType = 3, Handle = 0x00000008), line 176 in "ConnectionState.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::ConnectionState::SQLFreeHandle(Simba::ODBC::Connection*,short,void*)(this = 0x20517318, in_connection = 0x20557700, HandleType = 3, Handle = 0x00000008), line 176 in "ConnectionState.cpp"
build   25-May-2019 18:40:46    Simba::ODBC::Connection::SQLFreeHandle(short,void*)(this = 0x20557700, HandleType = 3, Handle = 0x00000008), line 1587 in "Connection.cpp"
build   25-May-2019 18:40:46    unnamed block in CInterface.SQLFreeHandle(HandleType = 3, Handle = 0x00000008), line 1931 in "CInterface.cpp"
build   25-May-2019 18:40:46    unnamed block in CInterface.SQLFreeHandle(HandleType = 3, Handle = 0x00000008), line 1931 in "CInterface.cpp"
build   25-May-2019 18:40:46    CInterface.SQLFreeHandle(HandleType = 3, Handle = 0x00000008), line 1931 in "CInterface.cpp"
build   25-May-2019 18:40:46    __SQLFreeHandle(0x30003, 0x206b3ed8) at 0xd05fcd98
build   25-May-2019 18:40:46    SQLFreeHandle.SQLFreeHandle(0x30003, 0x206b3ed8) at 0xd05fd28c
build   25-May-2019 18:40:46    Simba::ODBCTest::Cli::SqlFreeHandle(short,void*)(this = 0x1006f818, handleType = 0, handle = (nil)), line 1704 in "Cli.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::ODBCTest::Handle::~Handle()(this = 0x20489720, __dtorFlags = 0, __vtt = (nil)), line 236 in "Handle.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::ODBCTest::Handle::~Handle()(this = 0x20489720, __dtorFlags = 0, __vtt = (nil)), line 236 in "Handle.cpp"
build   25-May-2019 18:40:46    Simba::ODBCTest::Handle::~Handle()(this = 0x20489720, __dtorFlags = 0, __vtt = (nil)), line 236 in "Handle.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::ODBCTest::Statement::~Statement()(this = 0x102571f8, __dtorFlags = 0, __vtt = 0x0000005b), line 42 in "Statement.cpp"
build   25-May-2019 18:40:46    Simba::ODBCTest::Statement::~Statement()(this = 0x102571f8, __dtorFlags = 0, __vtt = 0x0000005b), line 42 in "Statement.cpp"
build   25-May-2019 18:40:46    TestCases_DriverSpecificTests_SimbaClient_AutoReconnectTests_cpp::AutoReconnectTestBase::executeCleanup()(this = 0xf09e19c8), line 238 in "SBTAutoPtr.h"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Case::runTest(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)(this = 0x20487320, runId = &(...)), line 205 in "SBTCase.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Case::runTest(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)(this = 0x20487320, runId = &(...)), line 205 in "SBTCase.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Case::runTest(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)(this = 0x20487320, runId = &(...)), line 205 in "SBTCase.cpp"
build   25-May-2019 18:40:46    Simba::Test::Case::runTest(const std::basic_string<char,std::char_traits<char>,std::allocator<char> >&)(this = 0x20487320, runId = &(...)), line 205 in "SBTCase.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    Simba::Test::Engine::RunTests(Simba::Test::TestEnvironment*,int)(this = 0x2ff1dc40, testEnv = 0x204897f0, loopCount = 1), line 220 in "SBTEngine.cpp"
build   25-May-2019 18:40:46    unnamed block in Main_cpp::DoMain(int,char**)(argc = 0, argv = (nil)), line 646 in "Main.cpp"
build   25-May-2019 18:40:46    unnamed block in Main_cpp::DoMain(int,char**)(argc = 0, argv = (nil)), line 646 in "Main.cpp"
build   25-May-2019 18:40:46    unnamed block in Main_cpp::DoMain(int,char**)(argc = 0, argv = (nil)), line 646 in "Main.cpp"
build   25-May-2019 18:40:46    Main_cpp::DoMain(int,char**)(argc = 0, argv = (nil)), line 646 in "Main.cpp"
build   25-May-2019 18:40:46    Thread $t5
build   25-May-2019 18:40:46    __fd_select(??, ??, ??, ??, ??) at 0xd027284c
build   25-May-2019 18:40:46    unnamed block in sock.sock_select(??, ??, ??, ??, ??), line 817 in "time.h"
build   25-May-2019 18:40:46    sock.sock_select(??, ??, ??, ??, ??), line 817 in "time.h"
build   25-May-2019 18:40:46    unnamed block in swatch.swatch_get(??, ??, ??, ??), line 212 in "swatch.cpp"
build   25-May-2019 18:40:46    swatch.swatch_get(??, ??, ??, ??), line 212 in "swatch.cpp"
build   25-May-2019 18:40:46    unnamed block in TestFrameworkLibrary_Utils_SBTNetworkProxy_cpp::WorkerThread::DoExecute()(this = 0x2048939c), line 262 in "SBTNetworkProxy.cpp"
build   25-May-2019 18:40:46    TestFrameworkLibrary_Utils_SBTNetworkProxy_cpp::WorkerThread::DoExecute()(this = 0x2048939c), line 262 in "SBTNetworkProxy.cpp"
build   25-May-2019 18:40:46    Simba::Test::SBTThread::Execute()(this = 0x2048939c), line 144 in "SBTThread_Unix.cpp"
build   25-May-2019 18:40:46    Simba::Test::SBTThread::StartThreadFunction(void*)(in_thread = (nil)), line 165 in "SBTThread_Unix.cpp"
build   25-May-2019 18:40:46    Thread $t6
build   25-May-2019 18:40:46    .() at 0xdeadbeef
build   25-May-2019 18:40:46    Thread $t8
build   25-May-2019 18:40:46    ThreadSafeSharedObject_cpp::ChangeRefCount(unsigned int&,int)(io_refCount = 4294967295, delta = -1), line 21 in "ThreadSafeSharedObject.cpp"
build   25-May-2019 18:40:46    Simba::Support::ThreadSafeSharedObject::Release() const(this = 0x0300182c), line 41 in "ThreadSafeSharedObject.cpp"
build   25-May-2019 18:40:46    RazorChannel.Simba::Support::SharedPtr<Simba::Client::RequesterContext>::DecreaseRef()(0x4d0065), line 354 in "SharedPtr.h"
build   25-May-2019 18:40:46    RazorChannel.Simba::Support::SharedPtr<Simba::Client::RequesterContext>::~SharedPtr()(0x4d0065, 0x2), line 127 in "SharedPtr.h"
build   25-May-2019 18:40:46    RazorConnectionBuilder.void std::_Destroy<Simba::Support::SharedPtr<Simba::Client::RequesterContext> >(Simba::Support::SharedPtr<Simba::Client::RequesterContext>*)(0x4d0065), line 339 in "xmemory"
build   25-May-2019 18:40:46    RazorConnectionBuilder.std::allocator<Simba::Support::SharedPtr<Simba::Client::RequesterContext> >::destroy(Simba::Support::SharedPtr<Simba::Client::RequesterContext>*)(0x2055e1d8, 0x4d0065), line 420 in "xmemory"
build   25-May-2019 18:40:46    RazorConnectionBuilder.std::vector<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,std::allocator<Simba::Support::SharedPtr<Simba::Client::RequesterContext> > >::_Destroy(Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*)(0x2055e1d8, 0x4d0065, 0x730073), line 317 in "vector"
build   25-May-2019 18:40:46    unnamed block in std::vector<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,std::allocator<Simba::Support::SharedPtr<Simba::Client::RequesterContext> > >::erase(std::_Ptrit<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,long,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&>,std::_Ptrit<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,long,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&>)(this = 0x2055e1d8, __classReturn = &(...), _F = &(...), _L = &(...)), line 278 in "vector"
build   25-May-2019 18:40:46    std::vector<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,std::allocator<Simba::Support::SharedPtr<Simba::Client::RequesterContext> > >::erase(std::_Ptrit<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,long,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&>,std::_Ptrit<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,long,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&,Simba::Support::SharedPtr<Simba::Client::RequesterContext>*,Simba::Support::SharedPtr<Simba::Client::RequesterContext>&>)(this = 0x2055e1d8, __classReturn = &(...), _F = &(...), _L = &(...)), line 278 in "vector"
build   25-May-2019 18:40:46    std::vector<Simba::Support::SharedPtr<Simba::Client::RequesterContext>,std::allocator<Simba::Support::SharedPtr<Simba::Client::RequesterContext> > >::clear()(this = 0x2055e1d8), line 282 in "vector"
build   25-May-2019 18:40:46    RazorConnectionBuilder_cpp::AutoReconnectTask::Reconnect()(this = 0x2055e1d0), line 1979 in "RazorConnectionBuilder.cpp"
build   25-May-2019 18:40:46    unnamed block in RazorConnectionBuilder_cpp::AutoReconnectTask::Run(void*)(in_param = 0x2055e1d0), line 1952 in "RazorConnectionBuilder.cpp"
build   25-May-2019 18:40:46    RazorConnectionBuilder_cpp::AutoReconnectTask::Run(void*)(in_param = 0x2055e1d0), line 1952 in "RazorConnectionBuilder.cpp"

他们都有一个线程,其整个堆栈只是

.() 在 0xdeadbeef

由于 dbx 总是声称崩溃来自另一个线程,因此这些线程“变坏”对我来说没有意义(通常,我会假设在该线程上执行的下一条指令会导致分段错误)。鉴于 0xDEADBEEF 是一个众所周知的常量,我认为这是调试器或运行时中的一些“特殊情况”。

还有一个我希望在这里的线程丢失(实际上,它已经终止可能是崩溃的原因,因为它“拥有”了似乎无效的对象)。“.() at 0xdeadbeef”是否可能表示线程已终止但尚未加入?

编辑:我不认为这个问题是“死牛肉是什么意思?”的重复,因为我想知道它在这种情况下的含义,而不是一般情况下(已经提到的问题我知道这是一个众所周知的常数)

编辑 2:它在 64 位中也失败了,而且它是.() at 0xbadc0ffee0ddf00d......

4

0 回答 0