debug build crashes on TRUNCATE while using innodb_fake_changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Unassigned |
Bug Description
release build looks fine
main.percona_
Test ended at 2011-09-28 19:26:29
CURRENT_TEST: main.percona_
mysqltest: At line 44: query 'TRUNCATE TABLE t1' failed with wrong errno 2013: 'Lost connection to MySQL server during query', instead of 1180...
The result from queries just before the failure was:
< snip >
BEGIN;
INSERT INTO t1 VALUES (2);
UPDATE t1 SET a=0;
DELETE FROM t1 LIMIT 1;
SELECT * FROM t1;
a
1
COMMIT;
ERROR HY000: Got error 131 during COMMIT
SET innodb_
DROP TABLE t1;
# DDL must result in error
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
SET autocommit=0;
SET innodb_
BEGIN;
CREATE TABLE t2 (a INT) ENGINE=InnoDB;
ERROR HY000: Can't create table 'test.t2' (errno: 131)
DROP TABLE t1;
ERROR 42S02: Unknown table 't1'
More results from queries before failure can be found in /home/jenkins/
Server [mysqld.1 - pid: 470, winpid: 470, exit: 256] failed during test run
Server log from this test:
----------SERVER LOG START-----------
mysqld: sql_class.cc:617: void Diagnostics_
110929 5:26:28 - mysqld got signal 6 ;
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_
read_buffer_
max_used_
max_threads=151
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0xa1754c0
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...
stack_bottom = 0xa614936c thread_stack 0x30000
/home/jenkins/
/home/jenkins/
[0xb780e400]
/lib/libc.
/lib/libc.
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/home/jenkins/
/lib/libpthread
/lib/libc.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0xa1f2db0): TRUNCATE TABLE t1
Connection ID (thread ID): 55
Status: NOT_KILLED
The manual page at http://
information that should help you find out what is causing the crash.
Writing a core file
----------SERVER LOG END-------------
Related branches
- Stewart Smith (community): Approve
-
Diff: 759 lines (+375/-76)8 files modifiedpatches/innodb_buffer_pool_shm.patch (+3/-3)
patches/innodb_deadlock_count.patch (+4/-4)
patches/innodb_extend_slow.patch (+1/-1)
patches/innodb_fake_changes.patch (+183/-35)
patches/innodb_fast_shutdown.patch (+8/-8)
patches/innodb_kill_idle_transaction.patch (+173/-24)
patches/innodb_split_buf_pool_mutex.patch (+1/-1)
patches/series (+2/-0)
Changed in percona-server: | |
importance: | Undecided → High |
status: | New → Confirmed |
assignee: | nobody → Yasufumi Kinoshita (yasufumi-kinoshita) |
Changed in percona-server: | |
status: | Confirmed → Fix Committed |
Changed in percona-server: | |
status: | Fix Committed → Fix Released |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-504