"Lost connection" errors due to failure of handling EINTR correctly

Bug #1259846 reported by Denis
6
This bug affects 1 person
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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715065
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/perl5/Yandex/DBTools.pm line 814.\n", 124DBD::mysql::st execute failed: Lost

ackage: libmysqlclient18
Source: percona-server-5.5
Version: 1:5.5.34-rel32.0-591.precise
Architecture: amd64
Maintainer: Percona Server Development Team <email address hidden>
Installed-Size: 3103
Replaces: libpercona-server-client18
Homepage: http://www.percona.com/software/percona-server/
Priority: extra
Section: libs
Filename: pool/main/p/percona-server-5.5/libmysqlclient18_5.5.34-rel32.0-591.precise_amd64.deb
Size: 840708
SHA256: fbff998bf2d9c13a58e019600954765a037ca8f9da80847fd6cee68bba462579
SHA1: cc71b36386c0e1a5b532647fb9dc1314dd376036
MD5sum: 3cc1f960a217d6ac6f7f184c81a38272
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-build-x64) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Mon Mar
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

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

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.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
Denis (dj-outline) wrote :

What is that "apport-collect" ?
I cant find it in repository. I work on remote server over ssh.

# apport-collect
bash: apport-collect: command not found

# apt-cache search apport-collect
#

Revision history for this message
Denis (dj-outline) wrote :

Ok, I found this app..

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.12 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-rc3-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Changed in linux:
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.