Bug #17772 | ALTER table rename + add column of partitioned cause mysqld to core | ||
---|---|---|---|
Submitted: | 28 Feb 2006 12:59 | Modified: | 16 Mar 2006 19:34 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S1 (Critical) |
Version: | 5.1.8 | OS: | Linux (Linux 32 Bit OS) |
Assigned to: | Mikael Ronström | CPU Architecture: | Any |
[28 Feb 2006 12:59]
Jonathan Miller
[28 Feb 2006 16:14]
Valeriy Kravchuk
Thank you for a problem report. Verified just as described wuth 5.1.8-BK (ChangeSet@1.2190, 2006-02-28 12:21:56+04:00) on Linux: openxs@suse:~/dbs/5.1/mysql-test> tail -40 var/log/master.err key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 39420 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x41568a30 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... Cannot determine thread, fp=0xbd9fbee8, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x80ef898 0x849e07d 0x81dcbf1 0x81dcc7a 0x8055041 0x81411eb 0x81cf57f 0x81ab294 0x81e1b1d 0x81e1dee 0x81e7fcd 0x810983e 0x81109f0 0x8106939 0x8106224 0x81053b1 0x8498f51 0x84d40aa New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x88b16d0 = alter table t2 rename t1, add c char(10) comment "no comment" thd->thread_id=2 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. Writing a core file /bin/sh: line 1: 21464 Killed /home/openxs/dbs/5.1/libexec/mysqld --no-defaults --server-id=1 --basedir=/home/openxs/dbs/5.1 --port=9306 --port-open-timeout=380 --local-infile --exit-info=256 --core --ndbcluster --ndb-connectstring="host=localhost:9350" --ndb-extra-logging --datadir=/home/openxs/dbs/5. 1/mysql-test/var/master-data --pid-file=/home/openxs/dbs/5.1/mysql-test/var/run/ master.pid --socket=/home/openxs/dbs/5.1/mysql-test/var/tmp/master.sock --log=/home/openxs/dbs/5.1/mysql-test/var/log/master.log --character-sets-dir=/home/openxs/dbs/5.1/share/mysql/charsets --default-character-set=latin1 --tmpdir=/home/openxs/dbs/5.1/mysql-test/var/tmp --language=/home/openxs/dbs/5.1/share/mysql/english/ --innodb_data_file_path=ibdata1:128M:autoextend --open-files-limit=1024 --log-bin-trust-function-creators --loose-binlog-show-xid=0 --rpl-recovery-rank=1 --init-rpl-role=master --key_buffer_size=1M --sort_buffer=256K --max_heap_table_size=1M --log-bin=/home/openxs/dbs/5.1/mysql-test/var/log/master-bin --default-storage-engine=ndb
[1 Mar 2006 12:26]
Tomas Ulin
same core will be produced with regular partitioning on e.g. a myisam table... => partitioning bug create table t1 (i int unsigned not null auto_increment primary key) partition by key(i); alter table t1 rename t2, add c char(10) comment "no comment"; BAM
[14 Mar 2006 9:06]
Mikael Ronström
Reviewed by Alexander Botchkov
[16 Mar 2006 11:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/3889
[16 Mar 2006 11:58]
Mikael Ronström
Will appear in MySQL 5.1.8 Crash of ALTER TABLE RENAME TABLE ...
[16 Mar 2006 19:34]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Documented bugfix in 5.1.8 changelog. Closed.