Assertion `user_stats->concurrent_connections > 0' failed.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
High
|
Nickolay Ihalainen | |||
5.6 |
Fix Released
|
High
|
Nickolay Ihalainen | |||
5.7 |
Fix Released
|
High
|
Nickolay Ihalainen |
Bug Description
2017-02-
Version: '5.7.17-11-debug' socket: '/sda/PS300117-
mysqld: /git/PS-
20:32:38 UTC - mysqld got signal 6 ;
1. Start server (no special arguments)
2. open 2 client connection to same server (c1, c2)
3. Through one client connection (say c1)
execute "set global userstat=1; FLUSH CLIENT_STATISTICS;"
4. Now quit the other client connection (c2)
6. Now quit the client c1 and see server crash.
Credit for testcase & original bug find goes to Krunal
Core was generated by `/sda/PS300117-
Program terminated with signal 6, Aborted.
#0 0x00007fbe74b17741 in __pthread_kill (threadid=
61 val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
(gdb) bt
#0 0x00007fbe74b17741 in __pthread_kill (threadid=
#1 0x000000000185027e in my_write_core (sig=6) at /git/PS-
#2 0x0000000000e81bc1 in handle_fatal_signal (sig=6) at /git/PS-
#3 <signal handler called>
#4 0x00007fbe72eab1d7 in __GI_raise (sig=sig@entry=6) at ../nptl/
#5 0x00007fbe72eac8c8 in __GI_abort () at abort.c:90
#6 0x00007fbe72ea4146 in __assert_fail_base (fmt=0x7fbe72ff53a8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=
function=
#7 0x00007fbe72ea41f2 in __GI___assert_fail (assertion=
function=
at assert.c:101
#8 0x00000000014c4ebf in update_
#9 0x00000000014c5240 in update_
#10 0x00000000014c693a in end_connection (thd=0x7fbe2f41
#11 0x0000000001656e20 in handle_connection (arg=0x7fbe5981
#12 0x000000000187ee4d in pfs_spawn_thread (arg=0x7fbe68f9
#13 0x00007fbe74b12dc5 in start_thread (arg=0x7fbe7510
#14 0x00007fbe72f6d73d in clone () at ../sysdeps/
Changed in percona-server: | |
assignee: | Laurynas Biveinis (laurynas-biveinis) → nobody |
This is a regression from the fix for bug 728082. It should be present in 5.5 too.