5 messages in com.mysql.lists.bugsmysql core dump on Ctrl+4
FromSent OnAttachments
Martin MOKREJŠ26 Mar 2002 03:34 
Michael Widenius27 Mar 2002 15:29 
Sinisa Milivojevic28 Mar 2002 08:46 
Martin MOKREJŠ03 Apr 2002 01:15 
Sinisa Milivojevic03 Apr 2002 03:23 
Subject:mysql core dump on Ctrl+4
From:Martin MOKREJŠ (mmok@natur.cuni.cz)
Date:03/26/2002 03:34:37 AM
List:com.mysql.lists.bugs

Hi,

a colleague of mine managed to make a core dump by pressing ctrl+4. It looks usually it does quit, but :

How-To-Repeat:

$ file core core: ELF 32-bit LSB core file of 'mysql' (signal 3), Intel 80386, version 1
(SYSV), from 'mysql' $ gdb /usr/local/mysql/bin/mysql ./core GNU gdb 5.1 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...(no debugging symbols found)... Core was generated by `mysql mysql'. Program terminated with signal 3, Quit. #0 0x08080404 in ?? () (gdb) where #0 0x08080404 in ?? () #1 0x0805ba74 in ?? () #2 <signal handler called> #3 0x08099144 in ?? () #4 0x0805d8e7 in ?? () #5 0x0804eb96 in ?? () #6 0x08051115 in ?? () #7 0x08050e58 in ?? () #8 0x0804916b in ?? () #9 0x08048582 in ?? () #10 0x0807b424 in ?? () (gdb) quit $ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 54813 to server version: 3.23.49a-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> Quit (core dumped) $ mysql --version mysql Ver 11.17 Distrib 3.23.49a, for pc-linux-gnu (i686) $

linux 2.4.19-pre2

Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 (Debian prerelease) Compilation info: CC='gcc' CFLAGS='-Wimplicit -Wreturn-type -Wid-clash-51
-Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wfor\ mat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare
-Wwrite-strings -Wunused -mcpu=pentiumpro -O3 -fno-omit-fram\ e-pointer' CXX='gcc' CXXFLAGS='-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch
-Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat\ -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare
-Wwrite-strings -Woverloaded-virtual -Wextern-inline -Wsign-pro\ mo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors
-fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-fr\ ame-pointer' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 14 Jan 23 13:53 /lib/libc.so.5 ->
libc.so.5.4.46 -rw-r--r-- 1 root root 563068 Jan 12 14:52 /lib/libc.so.5.4.46 lrwxrwxrwx 1 root root 13 Jan 10 16:16 /lib/libc.so.6 ->
libc-2.2.4.so -rwxr-xr-x 1 root root 1171196 Dec 3 19:07 /lib/libc-2.2.4.so -rw-r--r-- 1 root root 2669312 Dec 3 19:07 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Dec 3 19:07 /usr/lib/libc.so Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler
--with-extra-charsets=complex --enable-thread-safe-clien\ t --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static
--with-other-libc=/usr/local/mysql-glibc '--with-comment=Offic\ ial MySQL Binary' --prefix=/usr/local/mysql --with-extra-charset=complex
--enable-thread-safe-client --enable-local-infile 'CFLAGS=-\ Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W
-Wchar-subscripts -Wformat -Wimplicit-function-dec -Wimplici\ t-int -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -mcpu=pentiumpro -O3
-fno-omit-frame-pointer' 'CXXFLAGS=-Wimplicit -Wret\ urn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts
-Wformat -Wimplicit-function-dec -Wimplicit-int -Wparenth\ eses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wextern-inline
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dt\ or -felide-constructors -fno-exceptions -fno-rtti -mcpu=pentiumpro -O3
-fno-omit-frame-pointer' CXX=gcc

--------------------------------------------------------- It does not happen here - libc is slightly newer! This box is also Debian.

Some paths: /usr/local/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 (Debian prerelease) Compilation info: CC='gcc' CFLAGS='-Wimplicit -Wreturn-type -Wid-clash-51
-Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscri\ pts -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare
-Wwrite-strings -Wunused -mcpu=pentiumpro \ -O3 -fno-omit-frame-pointer' CXX='gcc' CXXFLAGS='-Wimplicit -Wreturn-type
-Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W\ -Wchar-subscripts -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses
-Wsign-compare -Wwrite-strings -Woverloade\ d-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy
-Wnon-virtual-dtor -felide-constructors -fno-exception\ s -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 14 Mar 4 13:07 /lib/libc.so.5 ->
libc.so.5.4.46 -rw-r--r-- 1 root root 563068 Feb 4 22:30 /lib/libc.so.5.4.46 lrwxrwxrwx 1 root root 13 Mar 4 13:06 /lib/libc.so.6 ->
libc-2.2.5.so -rwxr-xr-x 1 root root 1170812 Feb 4 08:03 /lib/libc-2.2.5.so -rw-r--r-- 1 root root 2667532 Feb 4 08:03 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Feb 4 08:03 /usr/lib/libc.so -rw-r--r-- 1 root root 665216 Apr 24 2000
/usr/lib/libc-client.so.4.7 Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler
--with-extra-charsets=complex --enable-thread-s\ afe-client --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static
--with-other-libc=/usr/local/mysql-glibc '--\ with-comment=Official MySQL Binary' --prefix=/usr/local/mysql
--with-extra-charset=complex --enable-thread-safe-client --en\ able-local-infile 'CFLAGS=-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch
-Wtrigraphs -Wcomment -W -Wchar-subscripts -Wform\ at -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare
-Wwrite-strings -Wunused -mcpu=pentiumpro -O3 -fno-o\ mit-frame-pointer' 'CXXFLAGS=-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch
-Wtrigraphs -Wcomment -W -Wchar-subscripts -Wf\ ormat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare
-Wwrite-strings -Woverloaded-virtual -Wextern-inl\ ine -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor
-felide-constructors -fno-exceptions -fno-rtti -mcpu=pent\ iumpro -O3 -fno-omit-frame-pointer' CXX=gcc

linux 2.4.19-pre1:

$ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 18265 to server version: 3.23.49a

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> Quit $