List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:August 2 1999 1:58am
Subject:comp_err coredumps during "make install"
View as plain text  
>>>>> "ElephantChild" == ElephantChild  <fox@stripped> writes:

ElephantChild> ...
ElephantChild> Making install in sql
ElephantChild> Making install in share
ElephantChild> for lang in czech dutch english french german korean hungarian italian
ElephantChild> japanese norwegian norwegian-ny polish portuguese russian spanish
> slovak
ElephantChild> swedish;  do /bin/sh ../../mkinstalldirs /usr/local/share/mysql/$lang; 
ElephantChild> ../../extra/comp_err ./$lang/errmsg.tx t ./$lang/errmsg.sys; 
ElephantChild> /usr/bin/install -c -m 644 ./$lang/errmsg.sys
ElephantChild> /usr/local/share/mysql/$lang/errmsg.sys;  /usr/bin/install -c -m 644
ElephantChild> ./$lang/errmsg.txt /usr/local/share/mysql/$lang/errmsg.txt;  done
ElephantChild> Segmentation fault - core dumped
ElephantChild> *** Error code 139

ElephantChild> Stop.
ElephantChild> *** Error code 1

ElephantChild> Stop.
ElephantChild> *** Error code 1

ElephantChild> Stop.
ElephantChild> *** Error code 1

ElephantChild> Stop.
ElephantChild> % cd sql/share
ElephantChild> % gdb ../../extra/comp_err comp_err.core
ElephantChild> GDB is free software and you are welcome to distribute copies of it
ElephantChild>  under certain conditions; type "show copying" to see the conditions.
ElephantChild> There is absolutely no warranty for GDB; type "show warranty" for
> details.
ElephantChild> GDB 4.16 (i386-unknown-freebsd), 
ElephantChild> Copyright 1996 Free Software Foundation, Inc...
ElephantChild> Core was generated by `comp_err'.
ElephantChild> Program terminated with signal 11, Segmentation fault.
ElephantChild> Cannot access memory at address 0x1002a080.
ElephantChild> #0  0x831d in pthread_getspecific ()
ElephantChild> (gdb) bt
ElephantChild> #0  0x831d in pthread_getspecific ()
ElephantChild> #1  0x32fe in my_thread_init ()
ElephantChild> #2  0x32d2 in my_thread_global_init ()
ElephantChild> #3  0x1ff8 in my_init ()
ElephantChild> #4  0x1663 in main ()
ElephantChild> (gdb) q
ElephantChild> % ../../extra/comp_err czech/errmsg.txt czech/errmsg.sys
ElephantChild> Segmentation fault (core dumped)

<cut>

ElephantChild> FreeBSD 2.2.6-RELEASE
ElephantChild> i386

ElephantChild> Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gmake
ElephantChild> /usr/local/bin/gcc /usr/local/bin/cc
ElephantChild> GCC: Reading specs from
ElephantChild> /usr/local/lib/gcc-lib/i386-unknown-freebsd2.2.6/2.8.1/specs

<cut>

Hi!

The above indicates a problem on MIT-pthreads on FreeBSD 2.2.6 (which
I am not aware off) or a bug in the compiler.

Could you try egcs 1.1.2 instead of gcc 2.8.1 (which is a bit buggy)?

Another options is to upgrade to FreeBSD 3.2 and use native threads...

Regards,
Monty
Thread
comp_err coredumps during "make install"ElephantChild26 Jul
  • comp_err coredumps during "make install"Michael Widenius2 Aug