Binaries: from distribution mysql-5.0.51a-osx10.5-x86_64.tar.gz RUN 1: two crashes ================== ./mysql-test-run.pl --force --do-test=rpl [...] rpl_failed_optimize [ pass ] 1914 rpl_flush_log_loop [ pass ] 11126 Warning; Aborted waiting on pid file: '/Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/mysql-test/var/run/master.pid' after 70 seconds rpl_flush_tables [ pass ] 1245 rpl_free_items [ pass ] 676 [...] rpl_server_id2 [ pass ] 175 rpl_session_var [ pass ] 84 Warning; Aborted waiting on pid file: '/Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/mysql-test/var/run/slave.pid' after 70 seconds rpl_set_charset [ pass ] 77 rpl_skip_error [ pass ] 51 [...] From master.err: ---------------- [...] CURRENT_TEST: rpl_flush_log_loop 080316 14:36:26 [Warning] Setting lower_case_table_names=2 because file system for /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/mysql-test/var/master-data/ is case insensitive 080316 14:36:26 InnoDB: Started; log sequence number 0 153195 080316 14:36:26 [Note] /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld: ready for connections. Version: '5.0.51a-log' socket: '/var/folders/Du/DuknA0MxH6quo5yKnAuS3E+++TI/-Tmp-/xQqBme5Mgh/master.sock' port: 9306 MySQL Community Server (GPL) 080316 14:36:27 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '/Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/mysql-test/var/master-data/relay-log.000001' position: 4 080316 14:36:27 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:9308', replication started in log 'FIRST' at position 4 080316 14:36:37 [Note] /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld: Normal shutdown 080316 14:36:37 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 080316 14:36:37 [Note] Slave I/O thread killed while reading event 080316 14:36:37 [Note] Slave I/O thread exiting, read up to log 'slave-bin.000001', position 208 080316 14:36:37 - mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=4 max_connections=100 threads_connected=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 39423 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Writing a core file [...] From slave.err: --------------- [...] CURRENT_TEST: rpl_session_var 080316 14:40:29 [Warning] The syntax for replication startup options is deprecated and will be removed in MySQL 5.2. Please use 'CHANGE MASTER' instead. 080316 14:40:29 [Warning] Setting lower_case_table_names=2 because file system for /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/mysql-test/var/slave-data/ is case insensitive 080316 14:40:29 [Note] /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld: ready for connections. Version: '5.0.51a-log' socket: '/var/folders/Du/DuknA0MxH6quo5yKnAuS3E+++TI/-Tmp-/xQqBme5Mgh/slave.sock' port: 9308 MySQL Community Server (GPL) 080316 14:40:30 [Note] Slave SQL thread initialized, starting replication in log 'FIRST' at position 0, relay log '/Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/mysql-test/var/log/slave-relay-bin.000001' position: 4 080316 14:40:30 [Note] Slave I/O thread: connected to master 'root@127.0.0.1:9306', replication started in log 'FIRST' at position 4 080316 14:40:30 [Note] /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld: Normal shutdown 080316 14:40:30 [ERROR] Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013) 080316 14:40:30 [Note] Slave I/O thread killed while reading event 080316 14:40:30 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 1923 080316 14:40:30 - mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=2 max_connections=100 threads_connected=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 39423 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Writing a core file [...] Crash log: ---------- Process: mysqld [86083] Path: /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld Identifier: mysqld Version: ??? (???) Code Type: X86-64 (Native) Parent Process: perl [85895] Date/Time: 2008-03-16 12:36:42.053 +0100 OS Version: Mac OS X 10.5.2 (9C31) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000003fffffff8 Crashed Thread: 9 Thread 0: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x00000001000734e1 main + 2977 2 mysqld 0x0000000100000cec start + 52 Thread 1: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x0000000100252744 os_event_wait + 76 2 mysqld 0x0000000100255a7e os_aio_simulated_handle + 1926 3 mysqld 0x0000000100224cf2 fil_aio_wait + 124 4 mysqld 0x00000001001776f9 io_handler_thread + 38 5 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 6 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 2: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x0000000100252744 os_event_wait + 76 2 mysqld 0x0000000100255a7e os_aio_simulated_handle + 1926 3 mysqld 0x0000000100224cf2 fil_aio_wait + 124 4 mysqld 0x00000001001776f9 io_handler_thread + 38 5 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 6 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 3: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x0000000100252744 os_event_wait + 76 2 mysqld 0x0000000100255a7e os_aio_simulated_handle + 1926 3 mysqld 0x0000000100224cf2 fil_aio_wait + 124 4 mysqld 0x00000001001776f9 io_handler_thread + 38 5 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 6 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 4: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x0000000100252744 os_event_wait + 76 2 mysqld 0x0000000100255a7e os_aio_simulated_handle + 1926 3 mysqld 0x0000000100224cf2 fil_aio_wait + 124 4 mysqld 0x00000001001776f9 io_handler_thread + 38 5 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 6 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 5: 0 libSystem.B.dylib 0x00007fff81f52b5e select$DARWIN_EXTSN + 10 1 mysqld 0x00000001001739a6 srv_lock_timeout_and_monitor_thread + 95 2 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 3 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 6: 0 libSystem.B.dylib 0x00007fff81f52b5e select$DARWIN_EXTSN + 10 1 mysqld 0x0000000100174174 srv_error_monitor_thread + 825 2 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 3 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 7: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x0000000100252744 os_event_wait + 76 2 mysqld 0x000000010017504a srv_master_thread + 3286 3 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 4 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 8: 0 libSystem.B.dylib 0x00007fff81f7473a __sigwait + 10 1 mysqld 0x000000010006edc0 signal_hand + 344 2 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 3 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 9 Crashed: 0 libSystem.B.dylib 0x00007fff81fda17e __pthread_kill + 10 1 mysqld 0x0000000100070505 handle_segfault + 557 2 libSystem.B.dylib 0x00007fff81f6c8da _sigtramp + 26 3 ??? 0x00007fff00000025 0 + 140733193388069 4 mysqld 0x000000010014dc98 mysql_close_free_options + 130 5 mysqld 0x000000010014f662 mysql_close + 116 6 mysqld 0x0000000100146a52 handle_slave_io + 3968 7 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 8 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 10: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x00000001000d98c5 MYSQL_LOG::wait_for_update(THD*, bool) + 85 2 mysqld 0x00000001001438ad next_event(st_relay_log_info*) + 619 3 mysqld 0x00000001001472e2 handle_slave_sql + 742 4 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 5 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 11: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x00000001001415bf terminate_slave_thread(THD*, _opaque_pthread_mutex_t*, _opaque_pthread_mutex_t*, _opaque_pthread_cond_t*, unsigned int volatile*) + 163 2 mysqld 0x000000010014166a terminate_slave_threads(st_master_info*, int, bool) + 134 3 mysqld 0x0000000100147b01 end_slave() + 49 4 mysqld 0x0000000100070a28 kill_server(void*) + 728 5 mysqld 0x0000000100070b90 kill_server_thread + 16 6 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 7 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 9 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x000000000000000b rcx: 0x0000000102bad638 rdx: 0x0000000000000000 rdi: 0x0000000000002e03 rsi: 0x000000000000000b rbp: 0x0000000102bad660 rsp: 0x0000000102bad638 r8: 0x00007fff702c3b54 r9: 0x0000000000000000 r10: 0x00007fff81f425f6 r11: 0x0000000000000246 r12: 0x000000000000000b r13: 0x00007fff702c7698 r14: 0x0000000101afcdb2 r15: 0x0000000000000007 rip: 0x00007fff81fda17e rfl: 0x0000000000000246 cr2: 0x00000003fffffff8 Binary Images: 0x100000000 - 0x1004c9fff +mysqld ??? (???) /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld 0x7fff5fc00000 - 0x7fff5fc2e593 dyld 96.2 (???) /usr/lib/dyld 0x7fff81f06000 - 0x7fff82089ffb libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib 0x7fff831fa000 - 0x7fff83206ff1 libgcc_s.1.dylib ??? (???) <6fc905606335f261db4da9529c7e2711> /usr/lib/libgcc_s.1.dylib 0x7fff8338a000 - 0x7fff8338efff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib Process: mysqld [86317] Path: /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld Identifier: mysqld Version: ??? (???) Code Type: X86-64 (Native) Parent Process: perl [85895] Date/Time: 2008-03-16 12:40:34.374 +0100 OS Version: Mac OS X 10.5.2 (9C31) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000003fffffff8 Crashed Thread: 2 Thread 0: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x00000001000734e1 main + 2977 2 mysqld 0x0000000100000cec start + 52 Thread 1: 0 libSystem.B.dylib 0x00007fff81f7473a __sigwait + 10 1 mysqld 0x000000010006edc0 signal_hand + 344 2 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 3 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 2 Crashed: 0 libSystem.B.dylib 0x00007fff81fda17e __pthread_kill + 10 1 mysqld 0x0000000100070505 handle_segfault + 557 2 libSystem.B.dylib 0x00007fff81f6c8da _sigtramp + 26 3 ??? 0x000040000000001e 0 + 70368744177694 4 mysqld 0x000000010014dc98 mysql_close_free_options + 130 5 mysqld 0x000000010014f662 mysql_close + 116 6 mysqld 0x0000000100146a52 handle_slave_io + 3968 7 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 8 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 3: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x00000001000d98c5 MYSQL_LOG::wait_for_update(THD*, bool) + 85 2 mysqld 0x00000001001438ad next_event(st_relay_log_info*) + 619 3 mysqld 0x00000001001472e2 handle_slave_sql + 742 4 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 5 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 4: 0 libSystem.B.dylib 0x00007fff81f0db5e __semwait_signal + 10 1 mysqld 0x00000001001415bf terminate_slave_thread(THD*, _opaque_pthread_mutex_t*, _opaque_pthread_mutex_t*, _opaque_pthread_cond_t*, unsigned int volatile*) + 163 2 mysqld 0x000000010014166a terminate_slave_threads(st_master_info*, int, bool) + 134 3 mysqld 0x0000000100147b01 end_slave() + 49 4 mysqld 0x0000000100070a28 kill_server(void*) + 728 5 mysqld 0x0000000100070b90 kill_server_thread + 16 6 libSystem.B.dylib 0x00007fff81f34ec3 _pthread_start + 316 7 libSystem.B.dylib 0x00007fff81f34d85 thread_start + 13 Thread 2 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x000000000000000b rcx: 0x0000000100b0a638 rdx: 0x0000000000000000 rdi: 0x0000000000002203 rsi: 0x000000000000000b rbp: 0x0000000100b0a660 rsp: 0x0000000100b0a638 r8: 0x00007fff702c3b54 r9: 0x0000000000000000 r10: 0x00007fff81f425f6 r11: 0x0000000000000246 r12: 0x000000000000000b r13: 0x00007fff702c7698 r14: 0x00000001008fc0f9 r15: 0x0000000000000007 rip: 0x00007fff81fda17e rfl: 0x0000000000000246 cr2: 0x00000003fffffff8 Binary Images: 0x100000000 - 0x1004c9fff +mysqld ??? (???) /Volumes/Data/Users/luttgens/Downloads/mysql-5.0.51a-osx10.5-x86_64/bin/mysqld 0x7fff5fc00000 - 0x7fff5fc2e593 dyld 96.2 (???) /usr/lib/dyld 0x7fff81f06000 - 0x7fff82089ffb libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib 0x7fff831fa000 - 0x7fff83206ff1 libgcc_s.1.dylib ??? (???) <6fc905606335f261db4da9529c7e2711> /usr/lib/libgcc_s.1.dylib 0x7fff8338a000 - 0x7fff8338efff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib