← Back to team overview

kernel-packages team mailing list archive

[Bug 1259846] [NEW] "Lost connection" errors due to failure of handling EINTR correctly

 

Public bug reported:

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 <mysql-dev@xxxxxxxxxxx>
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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: mysql precise ubuntu

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1259846

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

Status in “linux” package in Ubuntu:
  Incomplete

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 <mysql-dev@xxxxxxxxxxx>
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1259846/+subscriptions


Follow ups

References