[MDEV-10845] Server crashes in sync_array_cell_print with innodb-status-file Created: 2016-09-20  Updated: 2016-09-22  Resolved: 2016-09-22

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.2
Fix Version/s: 10.2.2

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

perl ./mtr innodb.innodb-change-buffer-recovery --mysqld=--innodb-status-file=1

Stack trace from 3da077a6ec

#3  <signal handler called>
#4  0x00007fe29a8eb31f in sync_array_cell_print (file=0x7fe297055d00, cell=0x7fe2927b2080, reserver=0x0) at /data/src/10.2/storage/innobase/sync/sync0arr.cc:604
#5  0x00007fe29a8ec799 in sync_array_print_info_low (file=0x7fe297055d00, arr=0x7fe29706d3a0) at /data/src/10.2/storage/innobase/sync/sync0arr.cc:1317
#6  0x00007fe29a8ec805 in sync_array_print_info (file=0x7fe297055d00, arr=0x7fe29706d3a0) at /data/src/10.2/storage/innobase/sync/sync0arr.cc:1333
#7  0x00007fe29a8eca45 in sync_array_print (file=0x7fe297055d00) at /data/src/10.2/storage/innobase/sync/sync0arr.cc:1384
#8  0x00007fe29a902b98 in sync_print (file=0x7fe297055d00) at /data/src/10.2/storage/innobase/sync/sync0sync.cc:173
#9  0x00007fe29a8d9f51 in srv_printf_innodb_monitor (file=0x7fe297055d00, nowait=1, trx_start_pos=0x0, trx_end=0x0) at /data/src/10.2/storage/innobase/srv/srv0srv.cc:1296
#10 0x00007fe29a8db2af in srv_monitor_thread (arg=0x0) at /data/src/10.2/storage/innobase/srv/srv0srv.cc:1807
#11 0x00007fe2998f60a4 in start_thread (arg=0x7fe27a7fd700) at pthread_create.c:309
#12 0x00007fe297aae87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111



 Comments   
Comment by Jan Lindström (Inactive) [ 2016-09-22 ]

commit 200430ee80cd10110b9d623da826a3d28611ba5c
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Thu Sep 22 07:38:28 2016 +0300

MDEV-10845: Server crashes in sync_array_cell_print with innodb-status-file

Problem was NULL-pointer reference. Fixed by removing unnecessary and not
really working recursive reserver thread lookup

Generated at Thu Feb 08 07:45:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.