attaching to percona-server with gdb disconnects clients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Laurynas Biveinis | ||
5.1 |
Fix Released
|
High
|
Laurynas Biveinis | ||
5.5 |
Fix Released
|
High
|
Laurynas Biveinis |
Bug Description
Simply attaching gdb (then detaching immediately) to a running Percona mysqld instance causes Percona-server to disconnect clients. Same happens if you attach gdb then continue. Clients get "Lost connection to MySQL server during query" but reconnecting works fine and the server seem to be healthy after that. Using telnet to test shows the socket close when gdb attaches. This bug makes using "pstack", "poor man's profilier" or even Aspersa's "connect" tool impossible without disconnecting clients.
Percona-server 5.5.13 (installed from yum repo), CentOS 5.6 (running on EC2. also happens with Amazon AMI), gdb 7.0.1
Interestingly, it does not happen with original mysqld (5.5.10 from webtatic or 5.5.13 built from source).
Related branches
- Alexey Kopytov (community): Needs Fixing
-
Diff: 134 lines (+39/-6)6 files modifiedPercona-Server/configure.in (+6/-0)
Percona-Server/mysql-test/lib/My/SafeProcess/safe_process.cc (+4/-1)
Percona-Server/mysql-test/r/percona_signal_handling.result (+3/-0)
Percona-Server/mysql-test/t/percona_signal_handling.test (+8/-0)
Percona-Server/sql/net_serv.cc (+6/-2)
Percona-Server/vio/viosocket.c (+12/-3)
- Alexey Kopytov (community): Approve
-
Diff: 91 lines (+21/-3)4 files modifiedPercona-Server/mysql-test/lib/My/SafeProcess/safe_process.cc (+4/-1)
Percona-Server/mysql-test/r/percona_signal_handling.result (+3/-0)
Percona-Server/mysql-test/t/percona_signal_handling.test (+8/-0)
Percona-Server/sql/net_serv.cc (+6/-2)
- Alexey Kopytov (community): Approve
-
Diff: 94 lines (+24/-3)4 files modifiedPercona-Server/mysql-test/lib/My/SafeProcess/safe_process.cc (+4/-1)
Percona-Server/mysql-test/r/percona_signal_handling.result (+3/-0)
Percona-Server/mysql-test/t/percona_signal_handling.test (+11/-0)
Percona-Server/sql/net_serv.cc (+6/-2)
- Laurynas Biveinis (community): Approve
- Alexey Kopytov: Pending requested
-
Diff: 94 lines (+24/-3)4 files modifiedPercona-Server/mysql-test/lib/My/SafeProcess/safe_process.cc (+4/-1)
Percona-Server/mysql-test/r/percona_signal_handling.result (+3/-0)
Percona-Server/mysql-test/t/percona_signal_handling.test (+11/-0)
Percona-Server/sql/net_serv.cc (+6/-2)
description: | updated |
description: | updated |
description: | updated |
Changed in percona-server: | |
assignee: | nobody → Valentine Gostev (longbow) |
Changed in percona-server: | |
importance: | Undecided → Low |
Changed in percona-server: | |
status: | In Progress → Confirmed |
Changed in percona-server: | |
status: | Confirmed → Triaged |
Changed in percona-server: | |
assignee: | Valentine Gostev (longbow) → nobody |
It looks rather serious. Why was it set to low importance?