FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.25k stars 215 forks source link

Firebird crashes on MacOSX [CORE2968] #3350

Closed firebird-automations closed 14 years ago

firebird-automations commented 14 years ago

Submitted by: Pavel Jaoshvili (jao)

Firebird crashes at ThreadData::restoreSpecific (). I think it similar to CORE2961 Could you rebuild package to fix this issue?

firebird-automations commented 14 years ago

Commented by: @paulbeach

Classic or SuperServer? Intel or PowerPC? 32bit or 64bit? Any more information about the crash?

firebird-automations commented 14 years ago

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

firebird-automations commented 14 years ago

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

firebird-automations commented 14 years ago

Commented by: @paulbeach

Do you have an example so we can reproduce the problem?

firebird-automations commented 14 years ago

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.

firebird-automations commented 14 years ago

Commented by: Pavel Jaoshvili (jao)

I cann't reproduce it on a signle thread.

firebird-automations commented 14 years ago

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.

firebird-automations commented 14 years ago

Commented by: Pavel Jaoshvili (jao)

Yeah, Firebird v2.5 works well. This issue may be closed. Thanks a lot.

firebird-automations commented 14 years ago
Modified by: @dyemanov status: Open \[ 1 \] =\> Resolved \[ 5 \] resolution: Won't Fix \[ 2 \]
firebird-automations commented 14 years ago
Modified by: @pcisar status: Resolved \[ 5 \] =\> Closed \[ 6 \]