-
-
Notifications
You must be signed in to change notification settings - Fork 233
server crashes when creating database on OSX 10.9 Mavericks [CORE4536] #4854
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
Comments
Commented by: Hamish Moffatt (hmoffatt) Full crash log |
Modified by: Hamish Moffatt (hmoffatt)Attachment: fb_inet_server_2014-09-01-142921_hamish-vm-mavericks.crash [ 12584 ] |
Modified by: @paulbeachassignee: Paul Beach [ pbeach ] |
Commented by: @paulbeach 2.1.6 needs the gcc/g++ compile flag -fno-weak |
Modified by: @paulbeachstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1.6 [ 10460 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: No test => Cannot be tested |
Submitted by: Hamish Moffatt (hmoffatt)
Attachments:
fb_inet_server_2014-09-01-142921_hamish-vm-mavericks.crash
When I attempt to create a database with "CREATE DATABASE" in the isql utility, the Firebird 2.1.6 server crashes. This does not happen on 2.1.5.
I used the 2.1.6 classic lipo build FirebirdCS-2.1.6-18547-lipo-x86_64.pkg.zip from the http://firebirdsql.org site.
I have a fresh install of Mavericks. I created a directory /Users/hamish/tmp and changed the ownership to firebird:firebird. When I create the database I see
2:29pm] hamish@hamish-vm-mavericks:~ $ isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database "localhost:/Users/hamish/tmp/foo.fdb";
Statement failed, SQLCODE = -902
Error reading data from the connection.
and the /var/log/system.log says
Sep 1 14:29:21 hamish-vm-mavericks fb_inet_server[624]: fb_inet_server(624,0x7fff732d3310) malloc: *** error for object 0x1006d0420: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Sep 1 14:29:21 hamish-vm-mavericks.local ReportCrash[625]: Metadata.framework [Error]: couldn't get the client port
Sep 1 14:29:21 hamish-vm-mavericks.local ReportCrash[625]: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled.
Sep 1 14:29:21 hamish-vm-mavericks.local ReportCrash[625]: Saved crash report for fb_inet_server[624] version ??? to /Library/Logs/DiagnosticReports/fb_inet_server_2014-09-01-142921_hamish-vm-mavericks.crash
Nonetheless a file has been created. But if I try to connect to it, I get
[ 2:38pm] hamish@hamish-vm-mavericks:~ $ isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> connect "localhost:/Users/hamish/tmp/foo.fdb";
Statement failed, SQLCODE = -204
Implementation of text subtype 3 not located.
I can connect to other firebird 2.1.x fdb files copied over from another machine though (2.1.5).
The crash log says
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8f01b866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8659a35c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8b06ab1a abort + 125
3 libsystem_malloc.dylib 0x00007fff8c35107f free + 411
4 fbintl 0x0000000101389daa LD_setup_attributes + 186
5 com.firebirdsql.Firebird 0x00000001000cf8a3 Jrd::IntlManager::setupCollationAttributes(Firebird::StringBaseFirebird::StringComparator\ const&, Firebird::StringBaseFirebird::StringComparator\ const&, Firebird::StringBaseFirebird::StringComparator\ const&, Firebird::StringBaseFirebird::StringComparator\&) + 703
6 com.firebirdsql.Firebird 0x00000001000a40c1 create_collation(Jrd::thread_db*, short, Jrd::DeferredWork*, Jrd::jrd_tra*) + 1025
7 com.firebirdsql.Firebird 0x00000001000a9958 DFW_perform_work(Jrd::jrd_tra*) + 328
8 com.firebirdsql.Firebird 0x00000001000aacff DFW_perform_system_work(Jrd::thread_db*) + 63
9 com.firebirdsql.Firebird 0x0000000100051abf INI_format(char const*, char const*) + 1535
10 com.firebirdsql.Firebird 0x00000001000de23c jrd8_create_database + 1852
11 com.firebirdsql.Firebird 0x000000010001ee48 isc_create_database + 680
12 com.firebirdsql.Firebird 0x000000010019cac9 attach_database2(rem_port*, P_OP, char const*, int, unsigned char const*, int, packet*) + 409
13 com.firebirdsql.Firebird 0x000000010019cc35 attach_database(rem_port*, P_OP, p_atch*, packet*) + 181
14 com.firebirdsql.Firebird 0x00000001001a0306 process_packet2(rem_port*, packet*, packet*, rem_port**) + 230
15 com.firebirdsql.Firebird 0x00000001001a09a9 process_packet + 25
16 com.firebirdsql.Firebird 0x000000010019a96c SRVR_main + 124
17 com.firebirdsql.Firebird 0x000000010019a861 server_main + 1009
18 fb_inet_server 0x0000000100000f04 start + 52
Commits: 2d98474 FirebirdSQL/fbt-repository@57b5da5
The text was updated successfully, but these errors were encountered: