Description:
# /usr/local/mysql/bin/resolve_stack_dump -s ./symbols -n /tmp/st
0x8104406 handle_segfault + 476
0x40053af5 _end + 936258477
0x4022c989 _end + 938195521
0x402244ac _end + 938161508
0x40041b15 _end + 936184781
#
I cannot reproduce with next atempts to start&shutdown mysqld. Could that be related to the innodb messages on very first startup? It has happened with todays bk snapshot of mysql-4.0 tree, the last change available is:
ChangeSet@1.1759.2.1, 2004-03-17 10:35:03+01:00, guilhem@mysql.com
Fix for BUG#2922 "Crash (signal11) after "load data from master""
with a testcase.
We needed to init_master_info before we flush_master_info
in LOAD DATA FROM MASTER.
How to repeat:
# /usr/local/mysql/bin/mysqladmin --socket=/var/run/mysqld/mysqld.sock --port=3306 -hlocalhost shutdown
<it's hanging now ..., it did not return to shell>
Server was started manually as:
# libexec/mysqld --basedir=/usr/local/mysql --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/
mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
040317 15:11:09 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
040317 15:11:10 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
040317 15:11:10 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
040317 15:11:11 InnoDB: Started
libexec/mysqld: ready for connections.
Version: '4.0.19' socket: '/var/run/mysqld/mysqld.sock' port: 3306
040317 15:30:55 libexec/mysqld: Normal shutdown
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=8388600
read_buffer_size=131072
max_used_connections=0
max_connections=100
threads_connected=0
<cut>
>Release: mysql-4.0.18 (Gentoo Linux mysql-4.0.18)
>C compiler: gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
>C++ compiler: g++ (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
>Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux ribosome 2.4.26-pre3 #2 SMP Mon Mar 15 00:56:24 CET 2004 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
GenuineIntel 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-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3 --with-local-prefix=/usr/local
--enable-shared --enable-nls --without-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Compilation info: CC='gcc' CFLAGS='-O3 -mcpu=pentium4 -march=pentium4 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS' $
LIBC:
lrwxrwxrwx 1 root root 13 Feb 3 19:08 /lib/libc.so.6 -> libc-2.3.2.so
-rwxr-xr-x 1 root root 1462944 Feb 3 19:08 /lib/libc-2.3.2.so
-rw-r--r-- 1 root root 2633598 Feb 3 19:08 /usr/lib/libc.a
-rwxr-xr-x 1 root root 204 Feb 3 19:08 /usr/lib/libc.so
-rwxr-xr-x 1 root root 580404 Feb 27 23:26 /usr/lib/libc.so.5
Configure command: ./configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib'
'--libexecdir=/usr/sbin' '--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql' '--with-raid'
'--with-low-memory' '--enable-assembler' '--with-charset=latin1' '--enable-local-infile' '--with-mysqld-user=mysql'
'--with-extra-charsets=all' '--enable-thread-safe-client' '--with-client-ldflags=-lstdc++' '--with-comment=Gentoo
Linux mysql-4.0.18' '--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--with-embedded-server'
'--with-berkeley-db=./bdb' '--without-readline' '--enable-shared' '--enable-static' '--with-libwrap'
'--without-innodb' '--with-vio' '--with-openssl' '--without-debug' 'CC=gcc' 'CFLAGS=-O3 -mcpu=pentium4
-march=pentium4 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS' 'CXXFLAGS=-O3 -mcpu=pentium4 -march=pentium4
-pipe -felide-constructors -fno-exceptions -fno-rtti' 'CXX=g++' 'host_alias=i686-pc-linux-gnu'