sig=11 in add_identifier [major crashing bug, seen in many different tests]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
Critical
|
Sergei Glushchenko | ||
5.5 |
Triaged
|
Critical
|
Sergei Glushchenko |
Bug Description
$ cd /percona-server/5.5 # Containing bzr branch of 5.5.25a or 5.5.27 (trunk)
$ ./build/
$ cd ..; tar -xf Percona-
$ cat /dev/shm/e.yy
query: ALTER TABLE _table PARTITION BY KEY() PARTITIONS 10;
$ cat /dev/shm/e.zz
$tables = { rows => [ 10000 ] };
$fields = { types => [ 'int' ] };
$data = { strings => [ 'int' ] };
$ rm -R /dev/shm/e
$ mkdir /dev/shm/e
$ cd /randgen
$ perl runall.pl --duration=120 --queries=30000 --threads=30 --reporter=
$ tail -n1 /dev/shm/e.log
2012-08-14T14:29:26 [8314] runall.pl will exit with exit status STATUS_
$ gdb /percona-
(gdb) bt
#0 0x000000307260c60c in pthread_kill () from /lib64/
#1 0x00000000006929cf in handle_fatal_signal (sig=11) at /percona-
#2 <signal handler called>
#3 add_identifier (thd=thd@
at /percona-
#4 0x00000000005fbabd in explain_filename (thd=0x202d720, from=<optimized out>, to=0x7f6d5c5cc3d0 "`#sql-
at /percona-
#5 0x0000000000808244 in innobase_
at /percona-
#6 0x000000000086c73a in ut_print_namel (f=f@entry=
namelen=<optimized out>) at /percona-
#7 0x000000000086c7c1 in ut_print_name (f=f@entry=
at /percona-
#8 0x000000000090c991 in lock_table_print (file=0x1b6ed70, lock=0x7f6d1c02
#9 0x000000000090d50f in lock_print_
#10 0x00000000008449e4 in srv_printf_
at /percona-
#11 0x00000000008457c0 in srv_monitor_thread (arg=<optimized out>)
at /percona-
#12 0x0000003072607d14 in start_thread () from /lib64/
#13 0x00000030722f197d in clone () from /lib64/libc.so.6
(gdb) f 3
#3 add_identifier (thd=thd@
at /percona-
104 if (!name[name_len])
(gdb) list
99 char tmp_name[
100 char conv_string[
101 int quote;
102
103 DBUG_ENTER(
104 if (!name[name_len])
105 conv_name= name;
106 else
107 {
108 strnmov(tmp_name, name, name_len);
(gdb) p name_len
$1 = 4294967293
(gdb) p name[name_len]
Cannot access memory at address 0x7f6e5c5cc30c
Changed in percona-server: | |
status: | Confirmed → Triaged |
description: | updated |
The crashing query:
(gdb) p thd int_autoinc` PARTITION BY KEY() PARTITIONS 10", length = 69}, [...]
$2 = (THD *) 0x202d720
(gdb) p *(THD *) 0x202d720
$3 = [...] query_string = {string = {str = 0x7f6d1c004ba0 "ALTER TABLE `table10000_