Closed firebird-automations closed 14 years ago
Commented by: @paulbeach
Classic or SuperServer? Intel or PowerPC? 32bit or 64bit? Any more information about the crash?
Commented by: Pavel Jaoshvili (jao)
Crash log
Thread 14 Crashed: 0 com.firebirdsql.Firebird 0x30025502 (anonymous namespace)::YEntry::\~YEntry() + 50 1 com.firebirdsql.Firebird 0x300305b5 isc_detach_database + 229 2 ru.motiw.XConductor 0x000620b3 ibpp_internals::DatabaseImpl::Disconnect() + 77 3 ru.motiw.XConductor 0x00059f3c CFirebirdDatabase::\~CFirebirdDatabase() + 160 4 ru.motiw.XConductor 0x0002943c CDataHandler::run() + 1816 5 libPocoFoundation.8.dylib 0x00c4945e Poco::ThreadImpl::runnableEntry(void*) + 122 6 libSystem.B.dylib 0x90ac8a19 _pthread_start + 345 7 libSystem.B.dylib 0x90ac889e thread_start + 34
This can be reproduced on both Classic and SuperServer, 32 and 64 bit on Intel
Commented by: Pavel Jaoshvili (jao)
And another crash log
Thread 7 Crashed: 0 com.firebirdsql.Firebird 0x30025502 (anonymous namespace)::YEntry::\~YEntry() + 50 1 com.firebirdsql.Firebird 0x3002936a isc_dsql_fetch_m + 282 2 com.firebirdsql.Firebird 0x30029638 isc_dsql_fetch + 360 3 ru.motiw.XConductor 0x0007b48b ibpp_internals::StatementImpl::Fetch() + 217 4 ru.motiw.XConductor 0x000512e8 CFirebirdStatement::Fetch() + 20 5 ru.motiw.XConductor 0x0001b01c CCounter::Synchronize(IDatabase*) + 378 6 ru.motiw.XConductor 0x00026721 CDataHandler::switchFlag(int) + 313 7 ru.motiw.XConductor 0x00028daa CDataHandler::run() + 134 8 ru.motiw.XConductor 0x0008067c CMessageQueueDispatcher::run() + 78 9 libPocoFoundation.8.dylib 0x00c4945e Poco::ThreadImpl::runnableEntry(void*) + 122 10 libSystem.B.dylib 0x90ac8a19 _pthread_start + 345 11 libSystem.B.dylib 0x90ac889e thread_start + 34
Commented by: @paulbeach
Do you have an example so we can reproduce the problem?
Commented by: Pavel Jaoshvili (jao)
I can not give you example because this is commercial application :( But I think this error occurs because application utilizes multithreaded database access approach.
Commented by: Pavel Jaoshvili (jao)
I cann't reproduce it on a signle thread.
Commented by: @dyemanov
Firebird client/embedded library is not thread safe prior to FB v2.5, so you should explicitly synchronize Firebird API calls at the application level.
It's worth testing your application with fbclient/fbembed from FB v2.5. If the problem doesn't occur, then we probably know the reason. But it's not going to be fixed in older versions, use FB 2.5 instead.
Commented by: Pavel Jaoshvili (jao)
Yeah, Firebird v2.5 works well. This issue may be closed. Thanks a lot.
Submitted by: Pavel Jaoshvili (jao)
Firebird crashes at ThreadData::restoreSpecific (). I think it similar to CORE2961 Could you rebuild package to fix this issue?