Assert in handler::update_auto_increment (sig6) | /bzr/5.6_dbg/Percona-Server-5.6.12-rc60.4/sql/handler.cc:3174: int handler::update_auto_increment(): Assertion `next_insert_id >= auto_inc_interval_for_cur_row.minimum()' failed.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.5 |
New
|
High
|
Unassigned | |||
5.6 |
Incomplete
|
High
|
Unassigned | |||
5.7 |
Incomplete
|
High
|
Unassigned |
Bug Description
2013-07-20 07:43:47 18107 [Note] /ssd/Percona-
Version: '5.6.12-
mysqld: /bzr/5.
04:48:06 UTC - mysqld got signal 6 ;
Thread 1 (LWP 18135):
+bt
#0 0x000000340cc0c69c in pthread_kill () from /lib64/
#1 0x0000000000686bde in handle_fatal_signal (sig=6) at /bzr/5.
#2 <signal handler called>
#3 0x000000340c4328a5 in raise () from /lib64/libc.so.6
#4 0x000000340c434085 in abort () from /lib64/libc.so.6
#5 0x000000340c42ba1e in __assert_fail_base () from /lib64/libc.so.6
#6 0x000000340c42bae0 in __assert_fail () from /lib64/libc.so.6
#7 0x00000000005bc064 in handler:
#8 0x0000000000a06099 in ha_innobase:
#9 0x00000000005b9f44 in handler:
#10 0x00000000007040c0 in write_record (thd=0x27263a0, table=0x7fcbec0
#11 0x0000000000704bf5 in select_
#12 0x00000000006f5fb8 in end_send (join=0x7fcbec0
#13 0x00000000006f75da in evaluate_
#14 0x00000000006fbcd6 in sub_select (join=0x7fcbec0
#15 0x00000000006fd38b in do_select (join=0x7fcbec0
#16 JOIN::exec (this=0x7fcbec0
#17 0x00000000007492d0 in mysql_execute_
#18 mysql_select (thd=0x27263a0, tables=
#19 0x0000000000749dbb in handle_select (thd=0x27263a0, result=
#20 0x0000000000726748 in mysql_execute_
#21 0x0000000000727818 in mysql_parse (thd=0x27263a0, rawbuf=0x2728768 "\360R7\001", length=<optimized out>, parser_
#22 0x000000000072871f in dispatch_command (command=COM_QUERY, thd=0x27263a0, packet=0x272e911 "INSERT IGNORE INTO `O` SELECT * FROM `G` WHERE EXISTS (SELECT * FROM `N` WHERE ( `col_varchar_
#23 0x0000000000729a47 in do_command (thd=0x27263a0) at /bzr/5.
#24 0x00000000006ed63f in do_handle_
#25 0x00000000006ed727 in handle_
#26 0x00000000009dd6c9 in pfs_spawn_thread (arg=0x266a330) at /bzr/5.
#27 0x000000340cc07851 in start_thread () from /lib64/
#28 0x000000340c4e890d in clone () from /lib64/libc.so.6
tags: | added: 56qual |
[roel@qaserver 209184]$ cat cmd853 cmdrun_ 853 cmdrun_ 853 runall. pl --queries=100000000 --seed=17787 --duration=300 --querytimeout=60 --reporter= Shutdown, Backtrace, Queut,ErrorLog, ErrorLogAlarm --mysqld= --log-output= none --mysqld= --sql_mode= ONLY_FULL_ GROUP_BY --mysqld= --slow_ query_log --mysqld=--userstat --threads=1 --b/ssd/ Percona- Server- 5.6.12- rc60.4- 405-debug. Linux.x86_ 64 --grammar= /tmp/976291/ 46.yy --gendata= /ssd/randgen/ conf/percona/ outer_join_ percona. zz --mtr-build=789 --mask=21133 --vardir1= /ssd/209184/ cmdrun_ 853 > /ssd/209184/ cmdrun853. log 2>&1"
ps -ef | grep 'cmdrun_853' | grep -v grep | awk '{print $2}' | xargs sudo kill -9
rm -Rf /ssd/209184/
mkdir /ssd/209184/
cd /ssd/randgen
bash -c "set -o pipefail; perl /ssd/randgen/