Bug #76614 | Assertion `!(mysql_bin_log.is_open()&&!thd.is_current_stmt_bi nlog_format_row()) | ||
---|---|---|---|
Submitted: | 8 Apr 2015 4:01 | Modified: | 25 Nov 2019 22:54 |
Reporter: | Ramesh Sivaraman | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.6.23, 5.6.24, 5.6.25 | OS: | Linux (CentOS 7) |
Assigned to: | CPU Architecture: | Any | |
Tags: | debug |
[8 Apr 2015 4:01]
Ramesh Sivaraman
[8 Apr 2015 4:01]
Ramesh Sivaraman
Testcase bundle
Attachment: 1428460412_bug_bundle.tar.gz (application/gzip, text), 998.15 KiB.
[8 Apr 2015 5:01]
MySQL Verification Team
Hello Ramesh Sivaraman, Thank you for the report and test case. Observed that 5.6.24/5.6.25 debug builds are affected. Thanks, Umesy
[8 Apr 2015 5:02]
MySQL Verification Team
// 5.6.24 - only debug build affected scripts/mysql_install_db --basedir=/export/umesh/server/binaries/mysql-5.6.24 --datadir=/export/umesh/server/binaries/mysql-5.6.24/76614 bin/mysqld-debug --log-bin=master-bin --basedir=/export/umesh/server/binaries/mysql-5.6.24 --datadir=/export/umesh/server/binaries/mysql-5.6.24/76614 --core-file --socket=/tmp/mysql_ushastry.sock --port=15000 --log-error=/export/umesh/server/binaries/mysql-5.6.24/76614/log.err 2>&1 & commit: 97543660999308893335d81b92307c389e6821a5 date: 2015-03-25 17:22:45 +0100 build-date: 2015-03-25 17:26:48 +0100 short: 9754366 branch: mysql-5.6.24-release MySQL source 5.6.24 (gdb) bt #0 0x00007fb46f674771 in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000ae0f7f in my_write_core (sig=6) at /export/home/pb2/build/sb_0-14808650-1427301633.73/mysqlcom-pro-5.6.24/mysys/stacktrace.c:422 #2 0x0000000000745f8a in handle_fatal_signal (sig=6) at /export/home/pb2/build/sb_0-14808650-1427301633.73/mysqlcom-pro-5.6.24/sql/signal_handler.cc:230 #3 <signal handler called> #4 0x00007fb46e27a5c9 in raise () from /lib64/libc.so.6 #5 0x00007fb46e27bcd8 in abort () from /lib64/libc.so.6 #6 0x00007fb46e273536 in __assert_fail_base () from /lib64/libc.so.6 #7 0x00007fb46e2735e2 in __assert_fail () from /lib64/libc.so.6 #8 0x00000000007da70e in Delayed_insert::handle_inserts (this=0x7fb410019700) at /export/home/pb2/build/sb_0-14808650-1427301633.73/mysqlcom-pro-5.6.24/sql/sql_insert.cc:3195 #9 0x00000000007dbb71 in handle_delayed_insert (arg=0x7fb410019700) at /export/home/pb2/build/sb_0-14808650-1427301633.73/mysqlcom-pro-5.6.24/sql/sql_insert.cc:3028 #10 0x0000000000dd43e0 in pfs_spawn_thread (arg=0x7fb41000f8e0) at /export/home/pb2/build/sb_0-14808650-1427301633.73/mysqlcom-pro-5.6.24/storage/perfschema/pfs.cc:1860 #11 0x00007fb46f66fdf3 in start_thread () from /lib64/libpthread.so.0 #12 0x00007fb46e33b47d in clone () from /lib64/libc.so.6 (gdb)
[8 Apr 2015 5:02]
MySQL Verification Team
// 5.6.25 - only debug build affected scripts/mysql_install_db --basedir=/export/umesh/server/binaries/mysql-5.6.25 --datadir=/export/umesh/server/binaries/mysql-5.6.25/76614 bin/mysqld-debug --log-bin=master-bin --basedir=/export/umesh/server/binaries/mysql-5.6.25 --datadir=/export/umesh/server/binaries/mysql-5.6.25/76614 --core-file --socket=/tmp/mysql_ushastry.sock --port=15000 --log-error=/export/umesh/server/binaries/mysql-5.6.25/76614/log.err 2>&1 & commit: a322a3cf5881a77b2fe55a531a18f0bd4c19dabc date: 2015-04-06 14:32:57 +0530 build-date: 2015-04-06 11:26:23 +0200 short: a322a3c branch: mysql-5.6 MySQL source 5.6.25 (gdb) bt #0 0x00007fb394998771 in pthread_kill () from /lib64/libpthread.so.0 #1 0x0000000000ae1513 in my_write_core (sig=6) at /export/home/pb2/build/sb_0-14909455-1428315097.54/mysqlcom-pro-5.6.25/mysys/stacktrace.c:422 #2 0x000000000074600a in handle_fatal_signal (sig=6) at /export/home/pb2/build/sb_0-14909455-1428315097.54/mysqlcom-pro-5.6.25/sql/signal_handler.cc:230 #3 <signal handler called> #4 0x00007fb39359e5c9 in raise () from /lib64/libc.so.6 #5 0x00007fb39359fcd8 in abort () from /lib64/libc.so.6 #6 0x00007fb393597536 in __assert_fail_base () from /lib64/libc.so.6 #7 0x00007fb3935975e2 in __assert_fail () from /lib64/libc.so.6 #8 0x00000000007da92a in Delayed_insert::handle_inserts (this=0x7fb334019700) at /export/home/pb2/build/sb_0-14909455-1428315097.54/mysqlcom-pro-5.6.25/sql/sql_insert.cc:3195 #9 0x00000000007dbd8d in handle_delayed_insert (arg=0x7fb334019700) at /export/home/pb2/build/sb_0-14909455-1428315097.54/mysqlcom-pro-5.6.25/sql/sql_insert.cc:3028 #10 0x0000000000dd49cc in pfs_spawn_thread (arg=0x7fb33400f930) at /export/home/pb2/build/sb_0-14909455-1428315097.54/mysqlcom-pro-5.6.25/storage/perfschema/pfs.cc:1860 #11 0x00007fb394993df3 in start_thread () from /lib64/libpthread.so.0 #12 0x00007fb39365f47d in clone () from /lib64/libc.so.6 (gdb)
[10 Apr 2015 8:09]
Ståle Deraas
Posted by developer: Note that INSERT DELAYED is deprecated in 5.6 and removed in 5.7, so the issue is not present in 5.7.