Bug #12526 yassl: Crashes in "integer.cpp"
Submitted: 11 Aug 2005 13:49 Modified: 30 Sep 2005 8:38
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.11 OS:Solaris (Solaris 9 (64 bit))
Assigned to: Magnus Blåudd CPU Architecture:Any

[11 Aug 2005 13:49] Joerg Bruehe
Description:
Test build of 5.0.11 with "yassl" enabled on all platforms.

Two different crashes in module "integer.cpp" on three platforms:

::::::::::::::

alias                          [ fail ]

Errors are (from PATH/mysqltest-time) :
Assertion failed: carry >= 0 && carry <= 2, file integer.cpp, line 2211
mysqltest returned unexpected code 134, it has probably crashed

butch-64bit-5.0-standard.log   normal
sunfire100a-64bit-5.0-standard.log   normal

same crash on these platforms for all other tests: 
alter_table analyse analyze ansi archive auto_increment backup bdb bdb-alter-table-1 bdb-alter-table-2 bdb_cache bdb-crash bdb-deadlock bench_count_distinct bigint binary binlog blackhole bool ..... xa ; 402 in total

::::::::::::::

alias                          [ fail ]

Errors are (from PATH/mysqltest-time) :
mysqltest: integer.cpp:3238: void TaoCrypt::AtomicDivide(unsigned int *, const unsigned int *, const unsigned int *): Assertion `memcmp(P, A, 4*WORD_SIZE)==0' failed.
mysqltest returned unexpected code 134, it has probably crashed

production-icc-glibc23-5.0-standard.log   normal

same crash on this platform for all other tests until run was aborted: 
alter_table analyse analyze ansi archive auto_increment backup bdb bdb-alter-table-1 bdb-alter-table-2 bdb_cache bdb-crash bdb-deadlock bench_count_distinct bigint binary binlog blackhole bool ..... heap_btree ; 126 in total

How to repeat:
Test suite failure.
[11 Aug 2005 20:32] Jorge del Conde
Verified w/icc
[19 Aug 2005 15:12] Magnus Blåudd
The assert in integer.cpp dissapears if integer.cpp is compiled without optimization or with -g(which disables some optimizations).
[22 Aug 2005 9:59] Magnus Blåudd
Created bug#12717 for the crash in integer.cpp when compiling with icc
[13 Sep 2005 15:06] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/29749
[15 Sep 2005 6:59] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/29884
[27 Sep 2005 15:04] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30390
[30 Sep 2005 8:38] Magnus Blåudd
Pushed to 5.0.14
Tested on butch, awaiting next yassl test run.