-
-
Notifications
You must be signed in to change notification settings - Fork 220
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 2.5.1 OSX Lion hangs on attaching to second database [CORE3682] #4031
Comments
Commented by: berny (bernysx11_gmail.com) We have exactly the same problem. Our application open sequentially two databases and 80% of attempts on reboot of the hardware is crashing on open the second Database. So, when I restart the firebird after this affect, firebird is working fine until the next reboot.... |
Modified by: @AlexPeshkoffassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: @AlexPeshkoff What server are you using - classic, superclassic or super? |
Commented by: John Roberts (johnr) I have tried all 32/64 versions of Firebird for OSX including the lipo version. If my memory is correct this excepts classic. I have used a standard install using the standard packages. I now am using a debug SS version. |
Commented by: berny (bernysx11_gmail.com) I can confirm John Roberts comment. I also tried wiht every version of firebird (2.5.1 for OS X) under Lion...most of the time the same issue |
Commented by: John Roberts (johnr) The debug Firebird SS supplied to me hasn't hung since installed. I have been re-booting several times a day to test. |
Modified by: @paulbeachassignee: Alexander Peshkov [ alexpeshkoff ] => Paul Beach [ pbeach ] |
Commented by: @paulbeach A problem that seems to be caused by an issue in the installer preupgrade-script. In the interim, if anybody else has this issue #!/bin/sh 3. Re-install Firebird 2.5.x |
Modified by: @paulbeachstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5.2 [ 10450 ] |
Commented by: @AlexPeshkoff The visible reason of the bug is not released semaphore in first attachment to database. I could not find anything wrong in firebird, and same code works just fine on MacOS 10.6 and all versions of freebsd (that port is compiled with same defines in x-process sync as Mac port). Therefore looks like there is a problem with System V semaphores in MacOS 10.7. |
Commented by: @paulbeach If anybody needs a 2.5.1 build with this fix, please contact me directly. |
Commented by: Samo Dadela (samo_dadela) Same problem. Can reproduce it 99% of the time: After killing the hung isql the problem does not happen again until next reboot. (run db creation in a loop for 20 minutes - not one hang). |
Commented by: @paulbeach Samo, |
Commented by: Samo Dadela (samo_dadela) Paul, |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Cannot be tested |
Submitted by: John Roberts (johnr)
I attach to 2 separate databases on the same machine in quick succession via localhost. Firebird always opens the first database with no problems but often hangs opening the second database. The only way out is to kill and restart fbserver as subsequent attempts to reattach to the first database fail. Once it works correctly It then continues through the session to attach without error to both databases repeatedly whenever my program is re-started. On shutting down and later reboot firebird often hangs again. Debugging shows my program stops on calling isc_attach_databaseType. System and firebird logs show nothing that I can see as relevant.
I have tried all 32/64 versions of Firebird for OSX except the lipo version and they all exhibit the same problem in Lion.
I have also had similar hang on detaching from a single database on two occasions.
I have tried a trace/audit but get the message that there are no plugins loaded.
Commits: a38f89c
The text was updated successfully, but these errors were encountered: