Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebird crashes on MacOSX [CORE2968] #3350

Closed
firebird-automations opened this issue Apr 16, 2010 · 10 comments
Closed

Firebird crashes on MacOSX [CORE2968] #3350

firebird-automations opened this issue Apr 16, 2010 · 10 comments

Comments

@firebird-automations
Copy link
Collaborator

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
Copy link
Collaborator Author

Commented by: @paulbeach

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

@firebird-automations
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

Commented by: @paulbeach

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

@firebird-automations
Copy link
Collaborator Author

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
Copy link
Collaborator Author

Commented by: Pavel Jaoshvili (jao)

I cann't reproduce it on a signle thread.

@firebird-automations
Copy link
Collaborator Author

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
Copy link
Collaborator Author

Commented by: Pavel Jaoshvili (jao)

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant