$ gdb /home/jgagne/opt/mysql/mysql_5.7.42/bin/mysqld GNU gdb (GDB) Red Hat Enterprise Linux 8.2-19.el8 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/jgagne/opt/mysql/mysql_5.7.42/bin/mysqld...done. (gdb) break page_zip_compress Breakpoint 1 at 0x1d036b9: file /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/page/page0zip.cc, line 1294. (gdb) run --defaults-file=/home/jgagne/sandboxes/msb_mysql_5_7_42/my.sandbox.cnf --basedir=/home/jgagne/opt/mysql/mysql_5.7.42 --datadir=/home/jgagne/sandboxes/msb_mysql_5_7_42/data --plugin-dir=/home/jgagne/opt/mysql/mysql_5.7.42/lib/plugin --log-error=/home/jgagne/sandboxes/msb_mysql_5_7_42/data/msandbox.err --pid-file=/home/jgagne/sandboxes/msb_mysql_5_7_42/data/mysql_sandbox5742.pid --socket=/tmp/mysql_sandbox5742.sock --port=5742 Starting program: /mnt/jgagne_opt/mysql/mysql_5.7.42/bin/mysqld --defaults-file=/home/jgagne/sandboxes/msb_mysql_5_7_42/my.sandbox.cnf --basedir=/home/jgagne/opt/mysql/mysql_5.7.42 --datadir=/home/jgagne/sandboxes/msb_mysql_5_7_42/data --plugin-dir=/home/jgagne/opt/mysql/mysql_5.7.42/lib/plugin --log-error=/home/jgagne/sandboxes/msb_mysql_5_7_42/data/msandbox.err --pid-file=/home/jgagne/sandboxes/msb_mysql_5_7_42/data/mysql_sandbox5742.pid --socket=/tmp/mysql_sandbox5742.sock --port=5742 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffecd75700 (LWP 287315)] [New Thread 0x7fffdc8fe700 (LWP 287316)] [New Thread 0x7fffdc0fd700 (LWP 287317)] [New Thread 0x7fffdb8fc700 (LWP 287318)] [New Thread 0x7fffdb0fb700 (LWP 287319)] [New Thread 0x7fffda8fa700 (LWP 287320)] [New Thread 0x7fffda0f9700 (LWP 287321)] [New Thread 0x7fffd98f8700 (LWP 287322)] [New Thread 0x7fffd90f7700 (LWP 287323)] [New Thread 0x7fffd88f6700 (LWP 287324)] [New Thread 0x7fffd80f5700 (LWP 287325)] [New Thread 0x7fffd78f4700 (LWP 287326)] [New Thread 0x7fffd6eee700 (LWP 287327)] [Thread 0x7fffd6eee700 (LWP 287327) exited] [New Thread 0x7fffd6eee700 (LWP 287328)] [New Thread 0x7fffd66ed700 (LWP 287329)] [New Thread 0x7fffd5eec700 (LWP 287330)] [New Thread 0x7fffd56eb700 (LWP 287331)] [New Thread 0x7fffd4eea700 (LWP 287332)] [New Thread 0x7fffcffff700 (LWP 287333)] [New Thread 0x7fffcf7fe700 (LWP 287334)] [New Thread 0x7fffceffd700 (LWP 287335)] [New Thread 0x7fffce7fc700 (LWP 287336)] [New Thread 0x7fffcdffb700 (LWP 287337)] [New Thread 0x7fffcd7fa700 (LWP 287338)] [New Thread 0x7fffccff9700 (LWP 287339)] [New Thread 0x7fffd4428700 (LWP 287341)] [New Thread 0x7fffc7fff700 (LWP 287342)] [New Thread 0x7fffd43e6700 (LWP 287527)] [Switching to Thread 0x7fffd43e6700 (LWP 287527)] -- Here, I run this: -- ./use test_jfg <<< "begin; delete from fake where id = :id; rollback;" Thread 29 "mysqld" hit Breakpoint 1, page_zip_compress (page_zip=0x7fffdef577f0, page=0x7fffdf988000 "D\372\244", , index=0x7fffc802f380, level=6, page_comp_info=0x0, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/page/page0zip.cc:1294 1294 /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/page/page0zip.cc: No such file or directory. Missing separate debuginfos, use: yum debuginfo-install glibc-2.28-209.el8.x86_64 libaio-0.3.112-1.el8.x86_64 libgcc-8.5.0-18.el8.x86_64 libstdc++-8.5.0-18.el8.x86_64 libxcrypt-4.1.1-6.el8.x86_64 numactl-libs-2.0.12-13.el8.x86_64 sssd-client-2.8.2-1.el8.x86_64 (gdb) backtrace #0 page_zip_compress (page_zip=0x7fffdef577f0, page=0x7fffdf988000 "D\372\244", , index=0x7fffc802f380, level=6, page_comp_info=0x0, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/page/page0zip.cc:1294 #1 0x0000000001e679d8 in btr_page_reorganize_low (recovery=false, z_level=6, cursor=0x7fffc8027a38, index=0x7fffc802f380, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc:1353 #2 0x0000000001e6801c in btr_page_reorganize (cursor=0x7fffc8027a38, index=0x7fffc802f380, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc:1508 #3 0x0000000001e8382d in btr_cur_update_alloc_zip_func (page_zip=0x7fffdef577f0, cursor=0x7fffc8027a38, index=0x7fffc802f380, offsets=0x7fffc80284f0, length=8051, create=false, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3725 #4 0x0000000001e83ded in btr_cur_update_in_place (flags=7, cursor=0x7fffc8027a30, offsets=0x7fffc80284f0, update=0x7fffc8027f80, cmpl_info=0, thr=0x7fffc80277e8, trx_id=1796, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3821 #5 0x0000000001e84634 in btr_cur_optimistic_update (flags=7, cursor=0x7fffc8027a30, offsets=0x7fffd43e2bb8, heap=0x7fffd43e2bc0, update=0x7fffc8027f80, cmpl_info=0, thr=0x7fffc80277e8, trx_id=1796, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3994 #6 0x0000000001fc08dd in row_undo_mod_clust_low (node=0x7fffc80279c0, offsets=0x7fffd43e2bb8, offsets_heap=0x7fffd43e2bc0, heap=0x7fffc802de78, rebuilt_old_pk=0x7fffd43e2bb0, sys=0x7fffd43e2ba0 "\320+>\324\377\177", thr=0x7fffc80277e8, mtr=0x7fffd43e2690, mode=2) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:147 #7 0x0000000001fc0f5d in row_undo_mod_clust (node=0x7fffc80279c0, thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:309 #8 0x0000000001fc3614 in row_undo_mod (node=0x7fffc80279c0, thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:1258 #9 0x0000000001dc4dc3 in row_undo (node=0x7fffc80279c0, thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0undo.cc:340 #10 0x0000000001dc5020 in row_undo_step (thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0undo.cc:420 #11 0x0000000001d17d4b in que_thr_step (thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/que/que0que.cc:1055 #12 0x0000000001d17f67 in que_run_threads_low (thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/que/que0que.cc:1119 #13 0x0000000001d18129 in que_run_threads (thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/que/que0que.cc:1159 #14 0x0000000001e2d989 in trx_rollback_to_savepoint_low (trx=0x7fffe75748c0, savept=0x0) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/trx/trx0roll.cc:126 #15 0x0000000001e2dc6b in trx_rollback_for_mysql_low (trx=0x7fffe75748c0) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/trx/trx0roll.cc:188 #16 0x0000000001e2df4a in trx_rollback_low (trx=0x7fffe75748c0) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/trx/trx0roll.cc:220 #17 0x0000000001e2e2a3 in trx_rollback_for_mysql (trx=0x7fffe75748c0) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/trx/trx0roll.cc:297 #18 0x0000000001c0d0c8 in innobase_rollback (hton=0x313a690, thd=0x7fffc800b1c0, rollback_trx=true) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/handler/ha_innodb.cc:4568 #19 0x0000000000f88c29 in ha_rollback_low (thd=0x7fffc800b1c0, all=true) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/handler.cc:1984 #20 0x00000000016d0457 in TC_LOG_DUMMY::rollback (this=0x3086fa8 , thd=0x7fffc800b1c0, all=true) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/tc_log.cc:41 #21 0x0000000000f88ebf in ha_rollback_trans (thd=0x7fffc800b1c0, all=true) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/handler.cc:2071 #22 0x00000000016d2e89 in trans_rollback (thd=0x7fffc800b1c0) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/transaction.cc:363 #23 0x00000000015d18bf in mysql_execute_command (thd=0x7fffc800b1c0, first_level=true) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/sql_parse.cc:4274 #24 0x00000000015d5397 in mysql_parse (thd=0x7fffc800b1c0, parser_state=0x7fffd43e5610) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/sql_parse.cc:5584 #25 0x00000000015c9c0c in dispatch_command (thd=0x7fffc800b1c0, com_data=0x7fffd43e5de0, command=COM_QUERY) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/sql_parse.cc:1492 #26 0x00000000015c88ae in do_command (thd=0x7fffc800b1c0) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/sql_parse.cc:1031 #27 0x0000000001702695 in handle_connection (arg=0x3f82650) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/sql/conn_handler/connection_handler_per_thread.cc:313 #28 0x0000000001afc724 in pfs_spawn_thread (arg=0x3d6cc00) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/perfschema/pfs.cc:2197 #29 0x00007ffff7bb71ca in start_thread () from /lib64/libpthread.so.0 #30 0x00007ffff64afe73 in clone () from /lib64/libc.so.6 (gdb) finish Run till exit from #0 page_zip_compress (page_zip=0x7fffdef577f0, page=0x7fffdf988000 "D\372\244", , index=0x7fffc802f380, level=6, page_comp_info=0x0, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/page/page0zip.cc:1294 0x0000000001e679d8 in btr_page_reorganize_low (recovery=false, z_level=6, cursor=0x7fffc8027a38, index=0x7fffc802f380, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc:1353 1353 /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc: No such file or directory. Value returned is $1 = 1 (gdb) finish Run till exit from #0 0x0000000001e679d8 in btr_page_reorganize_low (recovery=false, z_level=6, cursor=0x7fffc8027a38, index=0x7fffc802f380, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc:1353 btr_page_reorganize (cursor=0x7fffc8027a38, index=0x7fffc802f380, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc:1509 1509 in /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc Value returned is $2 = true (gdb) finish Run till exit from #0 btr_page_reorganize (cursor=0x7fffc8027a38, index=0x7fffc802f380, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0btr.cc:1509 0x0000000001e8382d in btr_cur_update_alloc_zip_func (page_zip=0x7fffdef577f0, cursor=0x7fffc8027a38, index=0x7fffc802f380, offsets=0x7fffc80284f0, length=8051, create=false, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3725 3725 /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc: No such file or directory. Value returned is $3 = true (gdb) finish Run till exit from #0 0x0000000001e8382d in btr_cur_update_alloc_zip_func (page_zip=0x7fffdef577f0, cursor=0x7fffc8027a38, index=0x7fffc802f380, offsets=0x7fffc80284f0, length=8051, create=false, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3725 0x0000000001e83ded in btr_cur_update_in_place (flags=7, cursor=0x7fffc8027a30, offsets=0x7fffc80284f0, update=0x7fffc8027f80, cmpl_info=0, thr=0x7fffc80277e8, trx_id=1796, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3821 3821 in /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc Value returned is $4 = false (gdb) finish Run till exit from #0 0x0000000001e83ded in btr_cur_update_in_place (flags=7, cursor=0x7fffc8027a30, offsets=0x7fffc80284f0, update=0x7fffc8027f80, cmpl_info=0, thr=0x7fffc80277e8, trx_id=1796, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3821 0x0000000001e84634 in btr_cur_optimistic_update (flags=7, cursor=0x7fffc8027a30, offsets=0x7fffd43e2bb8, heap=0x7fffd43e2bc0, update=0x7fffc8027f80, cmpl_info=0, thr=0x7fffc80277e8, trx_id=1796, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3994 3994 in /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc Value returned is $5 = DB_ZIP_OVERFLOW (gdb) finish Run till exit from #0 0x0000000001e84634 in btr_cur_optimistic_update (flags=7, cursor=0x7fffc8027a30, offsets=0x7fffd43e2bb8, heap=0x7fffd43e2bc0, update=0x7fffc8027f80, cmpl_info=0, thr=0x7fffc80277e8, trx_id=1796, mtr=0x7fffd43e2690) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/btr/btr0cur.cc:3994 0x0000000001fc08dd in row_undo_mod_clust_low (node=0x7fffc80279c0, offsets=0x7fffd43e2bb8, offsets_heap=0x7fffd43e2bc0, heap=0x7fffc802de78, rebuilt_old_pk=0x7fffd43e2bb0, sys=0x7fffd43e2ba0 "\320+>\324\377\177", thr=0x7fffc80277e8, mtr=0x7fffd43e2690, mode=2) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:147 147 /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc: No such file or directory. Value returned is $6 = DB_ZIP_OVERFLOW (gdb) finish Run till exit from #0 0x0000000001fc08dd in row_undo_mod_clust_low (node=0x7fffc80279c0, offsets=0x7fffd43e2bb8, offsets_heap=0x7fffd43e2bc0, heap=0x7fffc802de78, rebuilt_old_pk=0x7fffd43e2bb0, sys=0x7fffd43e2ba0 "\320+>\324\377\177", thr=0x7fffc80277e8, mtr=0x7fffd43e2690, mode=2) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:147 0x0000000001fc0f5d in row_undo_mod_clust (node=0x7fffc80279c0, thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:309 309 in /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc Value returned is $7 = DB_ZIP_OVERFLOW (gdb) finish Run till exit from #0 0x0000000001fc0f5d in row_undo_mod_clust (node=0x7fffc80279c0, thr=0x7fffc80277e8) at /var/lib/pb2/sb_1-10801784-1678982615.86/mysql-5.7.42/storage/innobase/row/row0umod.cc:309 Thread 29 "mysqld" received signal SIGABRT, Aborted. 0x00007ffff64c4aff in raise () from /lib64/libc.so.6