>Description:
 Test mysql 4.0.5 beta installed from binary RPMs:

        MySQL-4.0.5-0, MySQL-shared-4.0.5-0, MySQL-devel-4.0.5-0,
        MySQL-client-4.0.5-0, MySQL-Max-4.0.5-0

 mysqld-max starts normally (including binding TCP socket) and handles
 connections via Unix socket normally, but segs when connection made from
 another machine via TCP.  Quoth the server (my wrap):

        /usr/bin/mysqld_safe: line 312: 13509 Segmentation fault \
        $NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION \
        --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking \
         >>$err_log 2>&1

 with little info in the log (not surprisingly):

        /usr/sbin/mysqld-max: ready for connections
        
        Number of processes running now: 1
        mysqld-max process hanging, pid 13512 - killed
        021203 13:49:00  mysqld restarted
        /usr/sbin/mysqld-max: ready for connections

 "Non-max" mysqld runs fine so far.  Quick ldd doesn't show up any obvious
 problems (though I do wonder a bit about the i686 libs, if the binary was
 linked against i386 equivalents):
        librt.so.1 => /lib/librt.so.1 (0x4002b000)
        libdl.so.2 => /lib/libdl.so.2 (0x4003d000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40040000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40070000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4007e000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400ab000)
        libm.so.6 => /lib/i686/libm.so.6 (0x400c0000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libnss_files.so.2 => /lib/libnss_files.so.2 (0x400e3000)
        libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x400ed000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x400f1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

 Will work on building from source to see whether error is reproduced.

>How-To-Repeat:
        Start mysqld-max.  Connect from client.

>Fix:
        Don't run mysqld-max.

>Submitter-Id:  <submitter ID>
>Originator:    Charles Bailey
>Organization:
>MySQL support: none
>Synopsis:      beta mysqld-max segs under RH 8.0 i686
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-4.0.5a-beta (Official MySQL RPM)
>Server: /usr/bin/mysqladmin  Ver 8.38 Distrib 4.0.5a-beta, for pc-linux 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.0.5a-beta-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysql.sock
Uptime:                 5 min 49 sec

Threads: 1  Questions: 68  Slow queries: 0  Opens: 68  Flush tables: 1  Open tables: 
62  Queries per second avg: 0.195
>Environment:
        
System: Linux xxx.xxx.xxx.edu 2.4.18-17.8.0smp #1 SMP Tue Oct 8 10:52:32 EDT 2002 i686 
athlon i386 GNU/Linux
Architecture: i686

Some paths:  /usr/local/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking 
--host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Compilation info: CC='gcc'  CFLAGS='-O6 -fno-omit-frame-pointer -mpentium'  CXX='gcc'  
CXXFLAGS='-O6 -fno-omit-frame-pointer              -felide-constructors 
-fno-exceptions -fno-rtti -mpentium'  LDFLAGS=''  ASFLAGS=''
LIBC: 
lrwxrwxrwx    1 root     root           14 Nov  6 14:04 /lib/libc.so.6 -> 
libc-2.2.93.so
-rwxr-xr-x    1 root     root      1235468 Sep  5 19:12 /lib/libc-2.2.93.so
-rw-r--r--    1 root     root      2233342 Sep  5 18:59 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Sep  5 18:50 /usr/lib/libc.so
lrwxrwxrwx    1 root     root           10 Nov  6 14:26 /usr/lib/libc-client.a -> 
c-client.a
Configure command: ./configure '--disable-shared' '--with-mysqld-ldflags=-all-static' 
'--with-client-ldflags=-all-static' '--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' '--sysconfdir=/etc' '--datadir=/usr/share' 
'--localstatedir=/var/lib/mysql' '--infodir=/usr/share/info' 
'--includedir=/usr/include' '--mandir=/usr/share/man' '--with-embedded-server' 
'--enable-thread-safe-client' '--with-comment=Official MySQL RPM' 'CC=gcc' 'CFLAGS=-O6 
-fno-omit-frame-pointer -mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer               
-felide-constructors -fno-exceptions -fno-rtti -mpentium' 'CXX=gcc'


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to