>Description: Mysqld 4.0.12 crashes on Slackware 9.0 when compiled with -all-static. I tried changing the thread stack up to 2M - no effect. When compiled without -all-static mysqld seems stable. The crash is first reported by mysql_install_db. Output of mysql_install_db bellow. -------------------------------------------- Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables 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=262144 read_buffer_size=131072 sort_buffer_size=2097144 max_used_connections=0 max_connections=16 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 35071 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x82c3ea8 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=0xbf5fea48, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x80894f4 0x815efca 0x8175387 0x8098f75 0x809bc6e 0x8098d94 0x80937cc 0x815913e 0x8198f24 /usr/local/mysql/bin/mysql_install_db: line 1: 1596 Segmentation fault /usr/local/mysql/libexec/mysqld --bootstrap --skip-grant-tables --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --skip-innodb --skip-bdb Installation of grant tables failed! -------------------------------------------- >How-To-Repeat: Install Slackware 9.0 vanilla (less precompiled mysql). Untar mysql source, configure, compile and install. Run mysql_install_db. >Fix: Remove -all-static from mysql configuration. That will make mysqld slightly slower. >Submitter-Id: >Originator: Gabriel Tataranu >Organization: >MySQL support: [ none ] >Synopsis: Mysqld 4.0.12 crashes on signal 11 when static >Severity: [ non-critical ] >Priority: [ medium ] >Category: mysql >Class: [ sw-bug ] >Release: mysql-4.0.12 (Source distribution) >C compiler: gcc (GCC) 3.2.2 >C++ compiler: g++ (GCC) 3.2.2 >Environment: Pentium III , Slackware 9.0. System: Linux office2 2.4.20 #2 Mon Mar 17 22:02:15 PST 2003 i686 unknown 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/i386-slackware-linux/3.2.2/specs Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux Thread model: posix gcc version 3.2.2 Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' ASFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Mar 24 11:02 /lib/libc.so.6 -> libc-2.3.1.so -rwxr-xr-x 1 root root 1435624 Mar 5 00:57 /lib/libc-2.3.1.so -rw-r--r-- 1 root root 2425490 Mar 5 00:57 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Mar 5 00:50 /usr/lib/libc.so Configure command: ./configure '--prefix=/usr/local/mysql' '--enable-assembler' '--without-debug' '--with-mysqld-ldflags=-all-static' '--without-bench' '--without-innodb' '--without-docs' '--with-extra-charsets=none' -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]