Failing assertion: bpage->in_flush_list in file buf0flu.c line 502 | Valgrind: Conditional jump or move depends on uninitialised value(s) at buf_flush_page_and_try_neighbors , buf_flush_ready_for_flush , mutex_validate , mutex_own | abort in buf_flush_ready_for_flush (sig6)

Bug #1205502 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
Incomplete
High
Roel Van de Paar
5.6
Expired
Undecided
Unassigned

Bug Description

Thread 5 (LWP 11012):
+bt
#0 0x000000340cc0c69c in pthread_kill () from /lib64/libpthread.so.0
#1 0x0000000000808599 in my_write_core (sig=6) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/mysys/stacktrace.c:433
#2 0x00000000006bd1b5 in handle_fatal_signal (sig=6) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/sql/signal_handler.cc:250
#3 <signal handler called>
#4 0x000000340c4328a5 in raise () from /lib64/libc.so.6
#5 0x000000340c434085 in abort () from /lib64/libc.so.6
#6 0x0000000000900937 in buf_flush_ready_for_flush (bpage=0x4c6bc30, flush_type=BUF_FLUSH_LIST) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/storage/innobase/buf/buf0flu.c:502
#7 0x00000000009025a1 in buf_flush_page_and_try_neighbors (bpage=0x4c6bc30, flush_type=BUF_FLUSH_LIST, n_to_flush=4, count=0x192c4618) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/storage/innobase/buf/buf0flu.c:1602
#8 0x000000000090371c in buf_flush_flush_list_batch (lsn_limit=953192905, min_n=4, buf_pool=0x5fcaf28) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/storage/innobase/buf/buf0flu.c:1755
#9 buf_flush_batch (buf_pool=0x5fcaf28, flush_type=BUF_FLUSH_LIST, min_n=4, lsn_limit=953192905) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/storage/innobase/buf/buf0flu.c:1845
#10 0x000000000090388c in buf_flush_list (min_n=4, lsn_limit=953192905) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/storage/innobase/buf/buf0flu.c:2062
#11 0x00000000008954e4 in srv_master_thread (arg=<optimized out>) at /bzr/5.5_val/Percona-Server-5.5.32-rel31.0/storage/innobase/srv/srv0srv.c:3620
#12 0x000000340cc07851 in start_thread () from /lib64/libpthread.so.0
#13 0x000000340c4e890d in clone () from /lib64/libc.so.6

==10984== Thread 16:
==10984== Conditional jump or move depends on uninitialised value(s)
==10984== at 0x9024E5: buf_flush_page_and_try_neighbors (buf0buf.ic:78)
==10984== by 0x90371B: buf_flush_batch (buf0flu.c:1755)
==10984== by 0x90388B: buf_flush_list (buf0flu.c:2062)
==10984== by 0x8954E3: srv_master_thread (srv0srv.c:3620)
==10984== by 0x340CC07850: start_thread (in /lib64/libpthread-2.12.so)
==10984== by 0x340C4E890C: clone (in /lib64/libc-2.12.so)
[...etc...] - see attach

130726 19:07:57 InnoDB: Assertion failure in thread 422336256 in file buf0flu.c line 502
InnoDB: Failing assertion: bpage->in_flush_list
[...no crashing query....]

Tags: qa qablock
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 :

See bug 1122462 and friends

Revision history for this message
Roel Van de Paar (roel11) wrote :

ps -ef | grep 'cmdrun_70' | grep -v grep | awk '{print $2}' | xargs sudo kill -9
rm -Rf /ssd/771138/cmdrun_70
mkdir /ssd/771138/cmdrun_70
cd /ssd/randgen
bash -c "set -o pipefail; perl /ssd/randgen/runall.pl --queries=100000000 --seed=14773 --duration=300 --querytimeout=60 --short_column_names --reporter=Shutdown,Backtrace,QueryTimeout,ErrorLog,ErrorLogAlarm --mysqld=--log-output=none --mysqld=--sql_mode=ONLY_FULL_GROUP_BY --grammar=conf/percona_qa/percona_qa.yy --gendata=conf/percona_qa/percona_qa.zz --basedir=/ssd/Percona-Server-5.5.32-rel31.0-557-debug-valgrind.Linux.x86_64 --valgrind --reporter=ValgrindErrors --validator=MarkErrorLog --threads=25 --views --validator=Transformer --mysqld=--innodb_adaptive_hash_index_partitions=16 --mysqld=--innodb_file_per_table=1 --mysqld=--innodb_file_format=barracuda --mtr-build-thread=779 --mask=50687 --vardir1=/ssd/771138/cmdrun_70 > /ssd/771138/cmdrun70.log 2>&1"

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Very likely a duplicate of bug 1086680, whose fix has been in review for a while. Needs a re-confirmation after that fix is merged to trunk, or perhaps on the fix branch now.

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Fix for bug 1086680 has been merged to trunk. Please see if it re-occurs there.

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.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-2998

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.