Server crash in 5.5.49
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
Server version: 5.5.49-37.9-log Percona Server (GPL), Release 37.9, Revision efa0073
Final stmt before crash:
INSERT INTO user_available_
Haven't been able to reproduce this using just that query. But the crash happens during unit tests of internal code that does a lot of building and tearing down of schemas to test all our data abstraction API endpoints.
Table structure:
DROP TABLE IF EXISTS `scope_set_masks`;
/*!40101 SET @saved_cs_client = @@character_
/*!40101 SET character_
CREATE TABLE `scope_set_masks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`scope_set_id` varchar(255) NOT NULL,
`bucket_0` bigint(20) DEFAULT NULL,
`bucket_1` bigint(20) DEFAULT NULL,
`bucket_2` bigint(20) DEFAULT NULL,
`bucket_3` bigint(20) DEFAULT NULL,
`bucket_4` bigint(20) DEFAULT NULL,
`bucket_5` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`,`
UNIQUE KEY `scope_set_id_1` (`scope_set_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_
DROP TABLE IF EXISTS `user_available
/*!40101 SET @saved_cs_client = @@character_
/*!40101 SET character_
CREATE TABLE `user_available
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`scope_set_id` varchar(255) NOT NULL,
PRIMARY KEY (`user_
UNIQUE KEY `scope_set_id` (`scope_set_id`),
CONSTRAINT `fk_user_
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_
Crash log:
160520 23:09:40 Percona XtraDB (http://
160520 23:09:40 [Note] Event Scheduler: Loaded 0 events
160520 23:09:40 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.49-37.9' socket: '/var/lib/
23:11:08 UTC - 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.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_
read_buffer_
max_used_
max_threads=153
thread_count=3
connection_count=3
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x263f2e0
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 = 7f7b54480d78 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f7b14004b90): is an invalid pointer
Connection ID (thread ID): 5
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
description: | updated |
I have the same problem on multiple servers :/
For example:
Server version: 5.5.49-37.9-log Percona Server (GPL), Release 37.9, Revision efa0073
22:12:05 UTC - mysqld got signal 11 ; bugs.percona. com/
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.
Please help us make Percona Server better by reporting any
bugs at http://
key_buffer_ size=1098907648 size=131072 connections= 8 size)*max_ threads = 27578050 K bytes of memory
read_buffer_
max_used_
max_threads=202
thread_count=8
connection_count=8
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7faab80288b0 mysqld( my_print_ stacktrace+ 0x2e)[0x7d6ebe] mysqld( handle_ fatal_signal+ 0x491)[ 0x6bd351] 64-linux- gnu/libpthread. so.0(+0xf0a0) [0x7fabb56770a0 ] mysqld[ 0x84a501] mysqld( _ZN7handler11ge t_dup_keyEi+ 0x49)[0x6c1c19] mysqld( _ZN7handler11pr int_errorEii+ 0x1da)[ 0x6c1e2a] mysqld( _Z12write_ recordP3THDP5TA BLEP12st_ copy_info+ 0x15b)[ 0x5adb5b] mysqld( _Z12mysql_ insertP3THDP10T ABLE_LISTR4List I4ItemERS3_ IS5_ES6_ S6_15enum_ duplicatesb+ 0x904)[ 0x5aff54] mysqld( _Z21mysql_ execute_ commandP3THD+ 0x2978) [0x5c3d78] mysqld( _Z11mysql_ parseP3THDPcjP1 2Parser_ state+0x2e1) [0x5c8061] mysqld( _Z16dispatch_ command19enum_ server_ commandP3THDPcj +0x1e2b) [0x5c9f7b] mysqld( _Z24do_ handle_ one_connectionP 3THD+0x13f) [0x6663bf] mysqld( handle_ one_connection+ 0x51)[0x6664b1] 64-linux- gnu/libpthread. so.0(+0x6b50) [0x7fabb566eb50 ] 64-linux- gnu/libc. so.6(clone+ 0x6d)[0x7fabb3b 70fbd]
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 = 7faabfd09e60 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib/x86_
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
Trying to get some variables. last_visit) VALUES (9730481,NOW()) ON DUPLICATE KEY UPDATE last_visit=NOW()
Some pointers may be invalid and cause the dump to abort.
Query (6feb430): INSERT INTO `clients_visits` (id_client,
Connection ID (thread ID): 1583
Status: NOT_KILLED
You may download the Percona Server operations manual by visiting www.percona. com/software/ percona- server/. You may find information
http://
in the manual which will help you identify the cause of the crash.
160701 01:12:05 mysqld_safe Number of processes running now: 0
160701 01:12:05 mysqld_safe mysqld restarted
160701 1:12:05 [Note] /usr/sbin/mysqld (mysqld 5.5.49-37.9-log) starting as process 12641 ...
160701 1:12:06 [Note] Plugin 'FEDERATED' is disabled.
160701 1:12:06 InnoDB: The InnoDB memory heap is disabled
160701 1:12:06 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160701 1:12:06 InnoDB: Compressed tables use zlib 1.2.7
160701 1:12:06 InnoDB: Using Linux nat...