Bug #19420 | mysql crashed with "Assertion failure in thread" | ||
---|---|---|---|
Submitted: | 28 Apr 2006 10:04 | Modified: | 15 May 2006 15:25 |
Reporter: | Eddie Duffy | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | mysql Ver 14.7 Distrib 4.1.11, for redh | OS: | Linux (Fedora 4 Core) |
Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[28 Apr 2006 10:04]
Eddie Duffy
[29 Apr 2006 18:45]
MySQL Verification Team
Thank you for the bug report. Your version is pretty older, could you please the most recent version and if you still get the crash, enable the the query log (--log) for to identify which query/tables are involved and then try to provide a test case with that information. Thanks in advance.
[2 May 2006 14:49]
Heikki Tuuri
Hi! I think a bug associated with this assertion failure was fixed about half a year ago. Please test with a newer 4.1.xx. Regards, Heikki
[9 May 2006 8:45]
Eddie Duffy
Miguel/Heikki, Thanks for your replies. It's a surprise that we are so far behind in MySQL versions, as we installed the version of MySQL that came with Fedora Core 4. Also, we have two other systems with identical software versions and a similar number of databases (25/26), and these two behave fine. We are still getting regular crashes on this one machine, one or two per night. Regards, Eddie.
[15 May 2006 14:28]
Heikki Tuuri
Eddie, running memtestx86 or a similar program could be warranted here. Please test also a newer MySQL version. I am putting this bug report to the 'Need feedback' state. Regards, Heikki
[15 May 2006 14:52]
Eddie Duffy
Thanks, Heikki. We've now moved all the databases off that system to another identical server with identical software and guess what ... we've not seen a crash since! So, we are planning to do a few things on the previously-failing system, such as run diagnostics, rebuild the O/S from scratch and then upgrade MySQL to 4.1.19 as you suggested. It now seems that it's either a hardware fault or some odd problem with the way the software was installed. And thanks for that memtestx86 suggestion: we'll factor that into our diagnostics tests. I'll post more feedback in a couple of days, but it's not looking like a MySQL problem at the moment. Regards, Eddie.
[15 May 2006 15:25]
Heikki Tuuri
Eddie, good to know. Then it looks like a hardware problem, but you never know. I put the bug report to the 'Can't repeat' status, but you can keep posting new information to the bug report. Regards, Heikki
[24 Jan 2008 23:26]
Mike Connell
We ran into a similiar problem on v4.1.14 in August '07 and again today Jan 24, 2008. 080124 21:50:32InnoDB: Assertion failure in thread 16505 in file buf0lru.c line 824 InnoDB: Failing assertion: block->n_pointers == 0 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html InnoDB: about forcing recovery. mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. MySQL rebooted itself. We did a normal shutdown/restart after that.