Comment 8 for bug 1236696

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Re: InnoDB: Error: semaphore wait has lasted > 600 seconds. InnoDB: We intentionally crash the server, because it appears to be hung. 2013-10-07 16:29:16 7fc3ebfff700 InnoDB: Assertion failure in thread <nr> in file srv0srv.cc line 2124

Lock word and high_priority_wait_ex_waiter values are incompatible. This might have have happened if rw_lock_x_lock_wait() succeeds in its last locking attempt, after having the set flag already. As there can be only wait wait_ex waiter, it is safe to reset the flag if locking succeeded there.