[debian-mysql] Bug#711715: mysql-server-5.5: Segfault with libnss-mysql-bg enabled

Simon Frankenberger simon at wf-hosting.de
Sat Jun 8 22:05:18 UTC 2013


Package: mysql-server-5.5
Version: 5.5.31+dfsg-0+wheezy1
Severity: normal

Hi,

after upgrading my squeeze server to wheezy, mysqld fails
to start due to a segfault, stacktrace follows.

The problem is with the libnss-mysql-bg package, with mysql
enabled in the /etc/nsswitch.conf mysqld refuses to start.

I don't understand why, but this problem only affects my slave,
the master (for tests also upgraded to wheezy) works without problems.

I tried to completely reinstall the mysql server, also removing all
configuration and database files, without any improvements.

Regards,
Simon

-- Stacktrace:
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x30000
mysqld(my_print_stacktrace+0x29)[0x7f31eade4569]
mysqld(handle_fatal_signal+0x3d8)[0x7f31eaccc748]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7f31ea47e030]
mysqld(thd_increment_bytes_received+0x12)[0x7f31eabb0052]
mysqld(+0x2ba475)[0x7f31eab67475]
mysqld(my_net_read+0x168)[0x7f31eab68288]
mysqld(cli_safe_read+0x2a)[0x7f31eaca9a3a]
mysqld(mysql_real_connect+0x2ee)[0x7f31eacaba2e]
/usr/lib/x86_64-linux-gnu/libnss_mysql.so.2(+0x2bc5)[0x7f31e7eb2bc5]
/usr/lib/x86_64-linux-gnu/libnss_mysql.so.2(+0x2f5c)[0x7f31e7eb2f5c]
/usr/lib/x86_64-linux-gnu/libnss_mysql.so.2(+0x324e)[0x7f31e7eb324e]
/usr/lib/x86_64-linux-gnu/libnss_mysql.so.2(_nss_mysql_initgroups_dyn+0xa1)[0x7f31e7eb3bf1]
/lib/x86_64-linux-gnu/libc.so.6(+0xa8ab2)[0x7f31e8d87ab2]
/lib/x86_64-linux-gnu/libc.so.6(initgroups+0x63)[0x7f31e8d87cc3]
mysqld(+0x2b3c35)[0x7f31eab60c35]
mysqld(_Z11mysqld_mainiPPc+0x814)[0x7f31eab66104]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f31e8cfdead]
mysqld(+0x2b0199)[0x7f31eab5d199]

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mysql-server-5.5 depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  initscripts            2.88dsf-41
ii  libc6                  2.13-38
ii  libdbi-perl            1.622-1
ii  libgcc1                1:4.7.2-5
ii  libstdc++6             4.7.2-5
ii  lsb-base               4.1+Debian8
ii  mysql-client-5.5       5.5.31+dfsg-0+wheezy1
ii  mysql-common           5.5.31+dfsg-0+wheezy1
ii  mysql-server-core-5.5  5.5.31+dfsg-0+wheezy1
ii  passwd                 1:4.1.5.1-1
ii  perl                   5.14.2-21
ii  psmisc                 22.19-1+deb7u1
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages mysql-server-5.5 recommends:
ii  libhtml-template-perl  2.91-1
ii  mailutils [mailx]      1:2.99.97-3

Versions of packages mysql-server-5.5 suggests:
pn  tinyca  <none>

-- debconf information:
  mysql-server/root_password_again: (password omitted)
  mysql-server/root_password: (password omitted)
* mysql-server/error_setting_password:
  mysql-server-5.5/postrm_remove_databases: false
  mysql-server-5.5/start_on_boot: true
  mysql-server-5.5/nis_warning:
  mysql-server-5.5/really_downgrade: false
  mysql-server/password_mismatch:
  mysql-server/no_upgrade_when_using_ndb:



More information about the pkg-mysql-maint mailing list