Bug #20318 Crash in "embedded" run of test "ctype_ucs2_def"
Submitted: 7 Jun 2006 14:04 Modified: 3 Jul 2006 19:19
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S3 (Non-critical)
Version:5.1.11-beta OS:all Unix
Assigned to: Alexey Botchkov CPU Architecture:Any

[7 Jun 2006 14:04] Joerg Bruehe
Description:
Release build of 5.1.11-beta, based on ChangeSet@1.2186, 2006-06-02 16:23:49+05:00, holyfoot@mysql.com
  Merge mysqldev@production.mysql.com:my/mysql-5.1-release
  into mysql.com:/home/hf/work/mysql-5.1-release
(= the merge of the fix for bug#19650, also solving bug#20223)

Even after the general crash is solved, "embedded" still crashes on some tests:

=====
ctype_ucs2_def                 [ fail ]

Errors are (from /PATH/mysqltest-time) :
YYMMDD HH:MM:SS [Warning] mysql_embedded: unknown variable 'loose-binlog-show-xid=0'

YYMMDD HH:MM:SS [Warning] mysql_embedded: unknown variable 'loose-binlog-show-xid=0'

mysqltest returned unexpected code 139, it has probably crashed
(the last lines may be the most important ones)
=====
(almost all platforms)

Different symptom on OS X (code 138 = signal 10):
=====
ctype_ucs2_def                 [ fail ]

Errors are (from /PATH/mysqltest-time) :
YYMMDD HH:MM:SS [Warning] mysql_embedded: unknown variable 'loose-binlog-show-xid=0'

YYMMDD HH:MM:SS [Warning] mysql_embedded: unknown variable 'loose-binlog-show-xid=0'

YYMMDD HH:MM:SS [Warning] Setting lower_case_table_names=2 because file system for /PATH/mysql-test/var/master-data/ is cas
e insensitive
mysqltest returned unexpected code 138, it has probably crashed
(the last lines may be the most important ones)
=====
osx-imac-x86, osx-tiger-ppc, osx-tiger-ppc-64bit, powermacg5

How to repeat:
Test the embedded build.
[19 Jun 2006 16:52] 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/commits/7867
[20 Jun 2006 12:26] Alexander Barkov
The patch looks ok to push.
[3 Jul 2006 19:19] Paul DuBois
Noted in 4.1.21 changelog.

Improper character set initialization in the embedded server
could result in a server crash.
[8 Jul 2006 17:46] Ingo Strüwing
Pushed to 5.1.12.