Bug#548956: [debian-mysql] Bug#548956: mysql-server-5.1: mysql fails to start: segfault in ld-2.9.so

2009-10-17 Thread Norbert Tretkowski
severity 548956 important
thanks

Am Dienstag, den 29.09.2009, 22:05 +0200 schrieb Diederik de Haas:
 After the latest upgrade to the latest mysql-server-5.1 package,
 mysql-server fails to start.

Are you sure that this isn't a hardware issue?

You're the only one seeing this problem, hence I'm reducing it's
severity.

Norbert




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#548956: [debian-mysql] Bug#548956: mysql-server-5.1: mysql fails to start: segfault in ld-2.9.so

2009-10-17 Thread Diederik de Haas
On 2009-10-17 Norbert Tretkowski wrote:
 Am Dienstag, den 29.09.2009, 22:05 +0200 schrieb Diederik de Haas:
  After the latest upgrade to the latest mysql-server-5.1 package,
  mysql-server fails to start.
 
 Are you sure that this isn't a hardware issue?
 
 You're the only one seeing this problem, hence I'm reducing it's
 severity.
 
If it was a hardware issue, shouldn't I have the same issue with 5.1.37-2?

Anyway, trying to reproduce the issue, I did aptitude unhold mysql-server-5.1 
and then a safe-upgrade:

# aptitude safe-upgrade
...
The following packages will be upgraded:   
  mysql-server-5.1 
The following packages are RECOMMENDED but will NOT be installed:
  libhtml-template-perl  
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/11.0MB of archives. After unpacking 8,192B will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 86705 files and directories currently installed.)
Preparing to replace mysql-server-5.1 5.1.37-2 (using 
.../mysql-server-5.1_5.1.39-1_i386.deb) ...
Stopping MySQL database server: mysqld.
Stopping MySQL database server: mysqld.
Unpacking replacement mysql-server-5.1 ...
Processing triggers for man-db ...
Setting up mysql-server-5.1 (5.1.39-1) ...
Stopping MySQL database server: mysqld.
chown: cannot access `/var/run/mysqld': No such file or directory
insserv: warning: current stop runlevel(s) (1) of script `nvidia-kernel' 
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' 
overwrites defaults (empty).
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action start failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up mysql-server-5.1 (5.1.39-1) ...
Stopping MySQL database server: mysqld.
insserv: warning: current stop runlevel(s) (1) of script `nvidia-kernel' 
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' 
overwrites defaults (empty).
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action start failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done

From /var/log I can see that mysql.log and mysql.err are both empty.
dpkg.log tells me:
2009-10-17 22:34:47 startup archives unpack
2009-10-17 22:34:47 upgrade mysql-server-5.1 5.1.37-2 5.1.39-1
2009-10-17 22:34:47 status half-configured mysql-server-5.1 5.1.37-2
2009-10-17 22:34:48 status unpacked mysql-server-5.1 5.1.37-2
2009-10-17 22:34:48 status half-installed mysql-server-5.1 5.1.37-2
2009-10-17 22:34:49 status triggers-pending man-db 2.5.6-3
2009-10-17 22:34:49 status half-installed mysql-server-5.1 5.1.37-2
2009-10-17 22:34:50 status half-installed mysql-server-5.1 5.1.37-2
2009-10-17 22:34:50 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:50 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:50 trigproc man-db 2.5.6-3 2.5.6-3
2009-10-17 22:34:50 status half-configured man-db 2.5.6-3
2009-10-17 22:34:50 status installed man-db 2.5.6-3
2009-10-17 22:34:51 startup packages configure
2009-10-17 22:34:51 configure mysql-server-5.1 5.1.39-1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status unpacked mysql-server-5.1 5.1.39-1
2009-10-17 22:34:51 status half-configured mysql-server-5.1 5.1.39-1
2009-10-17 22:35:07 startup packages configure
2009-10-17 22:35:07 configure mysql-server-5.1 5.1.39-1 5.1.39-1
2009-10-17 22:35:07 status half-configured mysql-server-5.1 5.1.39-1

in kern.log I see this:
Oct 17 22:34:51 the-shire kernel: [ 1867.383827] mysqld[4109]: segfault at 4 ip 
b78f54ec sp bf9b1ca8 error 4 in ld-2.9.so[b78eb000+1c000]
Oct 17 22:34:51 the-shire kernel: [ 1867.392081] mysqld[4117]: segfault at 4 ip 
b77d04ec sp bfa6bc78 error 4 in ld-2.9.so[b77c6000+1c000]
Oct 17 22:34:52 the-shire