Bug #8276 Try with 4.1.9, 4.1.10-SNAPSHOT and 5.0.2-alpha
Submitted: 2 Feb 2005 23:40 Modified: 10 Feb 2005 0:43
Reporter: [ name withheld ] Email Updates:
Status: Can't repeat Impact on me:
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:4.1.10-nightly-20050201 OS:Other (OpenBSD 3.6)
Assigned to: CPU Architecture:Any

[2 Feb 2005 23:40] [ name withheld ]
 -O3 -DDBUG_OFF   -DDEBUG_OFF -DUNIV_MUST_NOT_INLINE -c `test -f 'srv0srv.c' || echo './'`srv0srv.c
sh in free(): error: chunk is already free
Abort (core dumped)
*** Error code 134

Stop in /home/dead/mysql-4.1.10-nightly-20050201/innobase/srv.
*** Error code 1

Stop in /home/dead/mysql-4.1.10-nightly-20050201/innobase (line 260 of Makefile).
*** Error code 1

Stop in /home/dead/mysql-4.1.10-nightly-20050201/innobase (line 190 of Makefile).
*** Error code 1

Stop in /home/dead/mysql-4.1.10-nightly-20050201 (line 420 of Makefile).
*** Error code 1

Stop in /home/dead/mysql-4.1.10-nightly-20050201 (line 348 of Makefile).

How to repeat:
./configure --prefix=/usr/local/mysql
[2 Feb 2005 23:50] Heikki Tuuri

The bug is that the compiler crashes?

What compiler are you using?


[3 Feb 2005 0:23] [ name withheld ]
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.6/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)
[9 Feb 2005 21:52] Hartmut Holzgraefe
Is this a repeatable bug, does it always for the same file during a make run?
[10 Feb 2005 0:43] Hartmut Holzgraefe
I tried building 4.1.9 on a fresh installation of OpenBSD 3.6 without problems.

As *all* internal gcc errors i've ever seen were caused by hardware problems,
especially bad RAM, i'd suggest to check your machine using e.g. memtest86
[10 Feb 2005 14:38] [ name withheld ]
Ok, I will try but i have this error on two server 1 at home and 1 at work its strange...with openbsd 3.6 on two.  And its not a the same place of compile the crash.
[14 Feb 2005 22:47] [ name withheld ]
I have successfully compile on one but the second i have change the memory for a new 64MB and i have an other error .....

FIG_H -I. -I. -I.. -I../innobase/include   -I../include -I../regex  -I.      -O3 -DDBUG_OFF    -fno-implicit-templates -fno-exceptions -fno-rtti -fno-inline -c sql_yacc.cc
sql_yacc.cc: In function `int yyparse(void *)':
sql_yacc.cc:21876: Internal compiler error.
sql_yacc.cc:21876: Please submit a full bug report.
sql_yacc.cc:21876: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
*** Error code 1

Stop in /home/deadreply/mysql-4.1.9/sql (line 1221 of Makefile).
*** Error code 1

Stop in /home/deadreply/mysql-4.1.9/sql (line 954 of Makefile).
*** Error code 1

Stop in /home/deadreply/mysql-4.1.9/sql (line 567 of Makefile).
*** Error code 1

Stop in /home/deadreply/mysql-4.1.9 (line 454 of Makefile).
*** Error code 1

Stop in /home/deadreply/mysql-4.1.9 (line 365 of Makefile).