server crashes when creating database on OSX 10.9 Mavericks -----------------------------------------------------------
Key: CORE-4536 URL: http://tracker.firebirdsql.org/browse/CORE-4536 Project: Firebird Core Issue Type: Bug Affects Versions: 2.1.6 Environment: Mac OSX 10.9.4 Mavericks Reporter: Hamish Moffatt 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 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::StringBase<Firebird::StringComparator> const&, Firebird::StringBase<Firebird::StringComparator> const&, Firebird::StringBase<Firebird::StringComparator> const&, Firebird::StringBase<Firebird::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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel