>Description:

I configure with the line shown at the bottom. There are no erros. I make, with the 
following command:
make -s -j 2
There are no erros. Some warnings, but docs say those are to be expected.

However, when I run 'make test' I get the following:

=================================== begin insertion
cd mysql-test ; ./mysql-test-run
Installing Test Databases
Removing Stale Files
Installing Master Databases
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 agaist 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
record_buffer=131072
sort_buffer=2097144
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to 
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 225791 K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

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...
Stack range sanity check OK, backtrace follows:
0x808d9dc
0x814ddf3
0x815ee47
0x8095c72
0x80983bd
0x809055d
Stack trace seems successful - bottom reached
Please read http://www.mysql.com/doc/U/s/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 0x8294ec8 =  CREATE TABLE db (   Host char(60) DEFAULT '' NOT NULL,   Db 
char(64) DEFAULT '' NOT NULL,   User char(16) DEFAULT '' NOT NULL,   Select_priv 
enum('N','Y') DEFAULT 'N' NOT NULL,   Insert_priv enum('N','Y') DEFAULT 'N' NOT NULL,  
 Update_priv enum('N','Y') DEFAULT 'N' NOT NULL,   Delete_priv enum('N','Y') DEFAULT 
'N' NOT NULL,   Create_priv enum('N','Y') DEFAULT 'N' NOT NULL,   Drop_priv 
enum('N','Y') DEFAULT 'N' NOT NULL,   Grant_priv enum('N','Y') DEFAULT 'N' NOT NULL,   
References_priv enum('N','Y') DEFAULT 'N' NOT NULL,   Index_priv enum('N','Y') DEFAULT 
'N' NOT NULL,   Alter_priv enum('N','Y') DEFAULT 'N' NOT NULL, PRIMARY KEY Host 
(Host,Db,User), KEY User (User) ) comment='Database privileges'
thd->thread_id=1

Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 1 did to cause the crash.  In some cases of really
bad corruption, the values shown above may be invalid

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash
Error:  Could not install master test DBs
make: *** [test] Error 1
=================================== end insertion

Resolving the stack trace, I get the following:

=================================== begin insertion
0x808d9dc _Z15handle_segfaulti + 460
0x814ddf3 __pthread_sighandler + 115
0x815ee47 __strtol_internal + 1447
0x8095c72 _Z17add_field_to_listPc16enum_field_typesS_S_jP4ItemS_P10st_typelib + 354
0x80983bd _Z7yyparsev + 3373
0x809055d _Z16handle_bootstrapPv + 669
=================================== end insertion

So it looks like the threads is the problem--I did not make any of the modifications 
to the thread library mentioned in the INSTALL-SOURCE document, as they seemed to be 
necessary only for very high-availability servers (also, things in the upgraded glibc 
didn't match EXACTLY the things in the doc file). I did upgrade linuxthreads as part 
of the glibc upgrade (with the linuxthreads add-on corresponding to the glibc 
package). Also, after upgrading glibc, I re-compiled gcc, and then re-compiled the 
kernel against the new glibc. All compilations against these new glibc, gcc, and 
kernel versions have worked ok up till now. Thanks for any input!

Benoit Flippen
Beach Associates


>How-To-Repeat:
        Unknown
>Fix:
        Unknown

>Submitter-Id:  <submitter ID>
>Originator:    Benoit Flippen
>Organization:  Beach Associates
>MySQL support: none
>Synopsis:      configure and make work, but 'make test' fails miserably
>Severity:      critical
>Priority:      low
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.53 (Source distribution)

>Environment:
Originally a Red hat 7.1 box; kernel, glibc, gcc, make, binutils, autoconf, automake, 
bison all upgraded (had gcc 2.96).
Dual PentiumIII 733 processors
512MB RAM
1GB swap

System: Linux stilgar.beachassociates.com 2.4.19 #2 SMP Mon Dec 9 18:38:24 EST 2002 
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/i686-pc-linux-gnu/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/usr
Thread model: posix
gcc version 3.2.1
Compilation info: CC='gcc'  CFLAGS='-O3'  CXX='gcc'  CXXFLAGS='-O3 
-felide-constructors -fno-exceptions -fno-rtti'  LDFLAGS=''
LIBC: 
lrwxrwxrwx    1 root     root           13 Dec  9 15:17 /lib/libc.so.6 -> libc-2.3.1.so
-rwxr-xr-x    1 root     root      4776568 Aug 30  2000 /lib/libc-2.1.92.so
-rwxr-xr-x    1 root     root     11610036 Dec  9 15:17 /lib/libc-2.3.1.so
-rw-r--r--    1 root     root     26461316 Dec  9 15:16 /usr/lib/libc.a
-rw-r--r--    1 root     root          178 Dec  9 15:16 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler 
--with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static 
--with-charset=latin1 --with-extra-charsets=none --without-debug CFLAGS=-O3 
'CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti' 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