Hi,

I just upgraded from 4.1.11 (which worked fine, and stil does if I
downgrade) to 4.1.12 and the first query crashes the server. This
query is executed via DBD::mysql, when run via the mysql client it
works OK though. I presume this must be some library conflict but has
anyone got any idea what?

I tried to follow these instructions:

http://dev.mysql.com/doc/mysql/en/using-stack-trace.html

But there isn't a mysqld.sym.gz and nm -n mysqld > /tmp/mysqld.sym
(and nm -n -D ) says nm: mysqld: no symbols

Error Log
--------------
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=268435456
read_buffer_size=1044480
max_used_connections=2
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size +
sort_buffer_size)*max_connections = 466543 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x892bba0
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...
Cannot determine thread, fp=0xbfe7eaf8, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x808df77
0x82e8af8
0x808bd1e
0x80b3fe1
0x80a2c14
0x809d0f2
0x809cab4
0x809c167
0x82e62ac
0x830fc3a
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html
and follow instructions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x892fe10 = SELECT id, short_iso_code, name, long_iso_code
FROM   country
WHERE  id = '1'
thd->thread_id=3
The manual page at http://www.mysql.com/doc/en/Crashing.html contains
information that should help you find out what is causing the crash.

Number of processes running now: 0
050518 10:39:43  mysqld restarted



mysqlbug server details
----------------------------------
>Release:       mysql-4.1.12-standard (MySQL Community Edition - Standard (GPL))
>Server: /usr/bin/mysqladmin  Ver 8.41 Distrib 4.1.12, for pc-linux-gnu on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          4.1.12-standard-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/lib/mysql/mysql.sock
Uptime:                 1 min 44 sec

Threads: 1  Questions: 2  Slow queries: 0  Opens: 11  Flush tables: 1 
Open tables: 0  Queries per second avg: 0.019
>C compiler:    2.95.3
>C++ compiler:  2.95.3
>Environment:
        <machine, os, target, libraries (multiple lines)>
System: Linux boothferry.cyki.com 2.6.8.1-24mdk #1 Fri Jan 14 03:01:00
MST 2005 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking
--enable-long-long --enable-__cxa_atexit --enable-clocale=gnu
--disable-libunwind-exceptions
--enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)
Compilation info: CC='gcc'  CFLAGS='-O2 -mcpu=i486
-fno-strength-reduce'  CXX='gcc'  CXXFLAGS='-O2 -mcpu=i486
-fno-strength-reduce                -felide-constructors
-fno-exceptions -fno-rtti                  '  LDFLAGS=''  ASFLAGS=''
LIBC:
lrwxrwxrwx  1 root root 13 Dec 31 07:36 /lib/libc.so.6 -> libc-2.3.3.so
-rwxr-xr-x  1 root root 1119644 Dec 23 23:07 /lib/libc-2.3.3.so
-rw-r--r--  1 root root 204 Dec 23 22:55 /usr/lib/libc.so
Configure command: ./configure '--disable-shared'
'--with-mysqld-ldflags=-all-static'
'--with-client-ldflags=-all-static' '--with-comment=MySQL Community
Edition - Standard (GPL)' '--with-server-suffix=-standard'
'--without-embedded-server' '--without-berkeley-db' '--with-innodb'
'--without-vio' '--without-openssl' '--enable-assembler'
'--enable-local-infile' '--with-mysqld-user=mysql'
'--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--prefix=/'
'--with-extra-charsets=complex' '--exec-prefix=/usr'
'--libexecdir=/usr/sbin' '--libdir=/usr/lib' '--sysconfdir=/etc'
'--datadir=/usr/share' '--localstatedir=/var/lib/mysql'
'--infodir=/usr/share/info' '--includedir=/usr/include'
'--mandir=/usr/share/man' '--enable-thread-safe-client'
'--with-readline' 'CC=gcc' 'CFLAGS=-O2 -mcpu=i486
-fno-strength-reduce' 'CXXFLAGS=-O2 -mcpu=i486 -fno-strength-reduce   
             -felide-constructors -fno-exceptions -fno-rtti           
      ' 'CXX=gcc'

Thanks,
Mark.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to