Bug #5530 | mysqldump connection lost | ||
---|---|---|---|
Submitted: | 12 Sep 2004 3:09 | Modified: | 28 Oct 2004 12:39 |
Reporter: | Bernardo Innocenti | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S1 (Critical) |
Version: | 4.0.21 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[12 Sep 2004 3:09]
Bernardo Innocenti
[12 Sep 2004 7:35]
Sergei Golubchik
Is it bug in the server or in the client ? That is, if you use mysqldump from 4.0.21 and the server from 4.0.20 - do you get the error ? And if it's 4.0.21 server and 4.0.20 mysqldump ?
[13 Sep 2004 4:09]
Bernardo Innocenti
It's most certainly a server bug. I've fixed it by only reverting the MySQL-server RPM package to 4.0.20. From the strace log it looks like the socket gets closed by the server before replying to the last query. The server doesn't crash: it's still up and healty after the fact.
[14 Oct 2004 22:22]
Steven De Groote
encountering the same problem on my windows XP, I must say that my server does crash because of this. I must manually restart it afterwards. Problem idd solved by reverting to 4.0.20d
[28 Oct 2004 9:46]
Tomasz Dubinski
Also hit this bug. This happens if you have InnoDB tables and using --lock-tables or --opt option for mysldump.
[28 Oct 2004 9:49]
Tomasz Dubinski
And i forgot, this is from error log: InnoDB: Error: select_lock_type is 99999999 inside ::start_stmt()! 041028 11:24:16InnoDB: Assertion failure in thread 147466 in file ha_innodb.cc line 4581 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. See section 6.1 of InnoDB: http://www.innodb.com/ibman.php 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. key_buffer_size=8388600 read_buffer_size=131072 max_used_connections=0 max_connections=100 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225791 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x882d8c0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... frame pointer (ebp) is NULL, did you compile with -fomit-frame-pointer? Aborting backtrace! Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x882fab8 = show create table `adresy` thd->thread_id=1 The manual page at http://www.mysql.com/doc/en/Crashing.html contains information that should help you find out what is causing the crash.
[28 Oct 2004 12:30]
Marko Mäkelä
This is a duplicate of bug #5538, which has been fixed in 4.0.22 (which should be released very soon). I'm sorry for not noticing this bug report earlier.
[28 Oct 2004 12:39]
Heikki Tuuri
Hi! This bug never got to the 4.1 series. Regards, Heikki