InnoDB: Failing assertion: !rw_lock_own(lock, 352) in file sync0rw.ic line 354 | abort in rw_lock_s_lock_func

Bug #1225831 reported by Roel Van de Paar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Expired
Undecided
Unassigned
5.1
Expired
Undecided
Unassigned
5.5
Expired
Undecided
Unassigned
5.6
Expired
Undecided
Unassigned

Bug Description

2013-09-16 04:44:25 21305 [Note] /ssd/Percona-Server-5.6.13-rc60.5-435-debug.Linux.x86_64/bin/mysqld: ready for connections.
Version: '5.6.13-rc60.5-debug-log' socket: '/ssd//759308/current1_4/tmp/master.sock' port: 13060 Percona Server with XtraDB (GPL), Release rc60.5, Revision 435-debug
2013-09-16 04:48:31 7f2e6d31b700 InnoDB: Assertion failure in thread 139837377197824 in file sync0rw.ic line 354
InnoDB: Failing assertion: !rw_lock_own(lock, 352)
[...]
Query (7f2dec004c50): REPLACE INTO `table500_innodb_dynamic_int` ( `c5` ) VALUES ( 2419840374781509632 )
Connection ID (thread ID): 21
Status: NOT_KILLED

===============

Thread 1 (LWP 21859):
+bt
#0 0x000000363720c69c in pthread_kill () from /lib64/libpthread.so.0
#1 0x00000000006874ae in handle_fatal_signal (sig=6) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/signal_handler.cc:251
#2 <signal handler called>
#3 0x0000003636e328a5 in raise () from /lib64/libc.so.6
#4 0x0000003636e34085 in abort () from /lib64/libc.so.6
#5 0x0000000000b587b6 in rw_lock_s_lock_func (lock=0x7f2e382132f8, line=595, file_name=0xe0c5b0 "/bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/btr/btr0cur.cc", pass=0) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/include/sync0rw.ic:354
#6 0x0000000000b59398 in pfs_rw_lock_s_lock_func (line=595, lock=0x7f2e382132f8, pass=<optimized out>, file_name=<optimized out>) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/include/sync0rw.ic:685
#7 mtr_s_lock_func (lock=0x7f2e382132f8, line=595, mtr=0x7f2e6d318420, file=0xe0c5b0 "/bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/btr/btr0cur.cc") at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/include/mtr0mtr.ic:272
#8 0x0000000000b64187 in btr_cur_search_to_nth_level (index=0x7f2e38213258, level=0, tuple=0x7f2dec04c548, mode=4, latch_mode=37, cursor=0x7f2e6d318c10, has_search_latch=0, file=0xdf3a90 "/bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc", line=2383, mtr=0x7f2e6d318420) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/btr/btr0cur.cc:595
#9 0x0000000000aba4ee in row_ins_clust_index_entry_low (flags=0, mode=37, index=0x7f2e38213258, n_uniq=1, entry=0x7f2dec04c548, n_ext=0, thr=0x7f2dec0337e0) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc:2383
#10 0x0000000000abd6c5 in row_ins_clust_index_entry (index=0x7f2e38213258, entry=0x7f2dec04c548, thr=0x7f2dec0337e0, n_ext=0) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc:2923
#11 0x0000000000abe137 in row_ins_index_entry (thr=0x7f2dec0337e0, entry=0x7f2dec04c548, index=0x7f2e38213258) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc:3017
#12 row_ins_index_entry_step (thr=0x7f2dec0337e0, node=0x7f2dec0332f8) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc:3094
#13 row_ins (thr=0x7f2dec0337e0, node=0x7f2dec0332f8) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc:3234
#14 row_ins_step (thr=0x7f2dec0337e0) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0ins.cc:3359
#15 0x0000000000ad099c in row_insert_for_mysql (mysql_rec=<optimized out>, prebuilt=<optimized out>) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/row/row0mysql.cc:1313
#16 0x0000000000a0dace in ha_innobase::write_row (this=0x7f2dec047890, record=0x7f2dec04bbc0 "\377\377") at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/innobase/handler/ha_innodb.cc:6940
#17 0x00000000005ba824 in handler::ha_write_row (this=0x7f2dec047890, buf=0x7f2dec04bbc0 "\377\377") at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/handler.cc:7448
#18 0x0000000000704fcd in write_record (thd=0x2d8fa20, table=0x7f2dec045c60, info=0x7f2e6d319260, update=0x7f2e6d3191e0) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_insert.cc:1668
#19 0x000000000070c949 in mysql_insert (thd=0x2d8fa20, table_list=0x7f2dec004e30, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_REPLACE, ignore=false) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_insert.cc:1073
#20 0x0000000000724bf9 in mysql_execute_command (thd=0x2d8fa20) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_parse.cc:3649
#21 0x0000000000728628 in mysql_parse (thd=0x2d8fa20, rawbuf=0x2d91de0 "P\303\070\001", length=<optimized out>, parser_state=<optimized out>) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_parse.cc:6479
#22 0x000000000072978c in dispatch_command (command=COM_QUERY, thd=0x2d8fa20, packet=0x7f2e6d31aa90 " \372\330\002", packet_length=82) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_parse.cc:1355
#23 0x000000000072a987 in do_command (thd=0x2d8fa20) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_parse.cc:1049
#24 0x00000000006ee1ef in do_handle_one_connection (thd_arg=<optimized out>) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_connect.cc:1615
#25 0x00000000006ee2d7 in handle_one_connection (arg=0x2d8fa20) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/sql/sql_connect.cc:1526
#26 0x00000000009e033a in pfs_spawn_thread (arg=0x2d8b630) at /bzr/5.6-QA_dbg/Percona-Server-5.6.13-rc60.5/storage/perfschema/pfs.cc:1858
#27 0x0000003637207851 in start_thread () from /lib64/libpthread.so.0
#28 0x0000003636ee890d in clone () from /lib64/libc.so.6

Revision history for this message
Roel Van de Paar (roel11) wrote :
summary: InnoDB: Failing assertion: !rw_lock_own(lock, 352) in file sync0rw.ic
- line 354
+ line 354 | abort in rw_lock_s_lock_func
Revision history for this message
Roel Van de Paar (roel11) wrote :

RQG @ 909 <email address hidden>
PS @ Percona-Server-5.6.13-rc60.5-435-debug.Linux.x86_64 (5.6-QA tree)

tags: added: 56qual
Revision history for this message
Roel Van de Paar (roel11) wrote :
Revision history for this message
Roel Van de Paar (roel11) wrote :
Revision history for this message
Roel Van de Paar (roel11) wrote :
Revision history for this message
Roel Van de Paar (roel11) wrote :
Revision history for this message
Roel Van de Paar (roel11) wrote :
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :
tags: added: fake-changes
Revision history for this message
Roel Van de Paar (roel11) wrote :

fake-changes in alpha, so no 56qual

tags: removed: 56qual
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Given bug 1188172 and numerous recent fake changes fixes by Krunal, this needs a new occurrence to proceed. Chances are it's already fixed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Percona Server 5.6 because there has been no activity for 60 days.]

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Percona Server 5.5 because there has been no activity for 60 days.]

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Percona Server 5.1 because there has been no activity for 60 days.]

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3024

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.