"Lost connection" errors due to failure of handling EINTR correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Unknown
|
|||
linux (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Hello guys!
We have got this bug http://
in ubuntu "precise"
Our strace:
pid 20763] write(7, "0\3\0\0\3SELECT mc.cid\n FROM ... mc\n ... LIMIT 120 OFFSET 0", 820 <unfinished ...>
[pid 20763] <... write resumed> ) = 820
[pid 20763] read(7, <unfinished ...>
[pid 20763] <... read resumed> 0x9b87ba0, 16384) = -1 EINTR (Interrupted system call)
[pid 20763] --- SIGCHLD (Child exited) @ 0 (0) ---
[pid 20763] rt_sigreturn(0 <unfinished ...>
[pid 20763] <... rt_sigreturn resumed> ) = -1 EINTR (Interrupted system call)
[pid 20763] shutdown(7, 2 /* send and receive */ <unfinished ...>
[pid 20763] <... shutdown resumed> ) = 0
[pid 20763] close(7 <unfinished ...>
[pid 20763] <... close resumed> ) = 0
[pid 20763] write(2, "DBD::mysql::st execute failed: Lost connection to MySQL server during query at /usr/share/
ackage: libmysqlclient18
Source: percona-server-5.5
Version: 1:5.5.34-
Architecture: amd64
Maintainer: Percona Server Development Team <email address hidden>
Installed-Size: 3103
Replaces: libpercona-
Homepage: http://
Priority: extra
Section: libs
Filename: pool/main/
Size: 840708
SHA256: fbff998bf2d9c13
SHA1: cc71b36386c0e1a
MD5sum: 3cc1f960a217d6a
Description: Percona Server database client library
Percona Server is a fast, stable and true multi-user,
multi-threaded SQL database server. SQL (Structured Query Language)
is the most popular database query language in the world. The main
goals of Percona Server are speed, robustness and ease of use.
.
This package includes the client library.
# cat /proc/version
Linux version 2.6.32-042stab076.5 (root@rh6-
18 20:41:34 MSK 2013
#lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Changed in linux: | |
status: | Unknown → Confirmed |
Changed in linux: | |
status: | Confirmed → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1259846
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.