Bug #16160 DD: CREATE LOGFILE GROUP cause core
Submitted: 3 Jan 2006 17:57 Modified: 4 Jan 2006 13:45
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:5.1 OS:Linux (Linux)
Assigned to: Jonas Oreland CPU Architecture:Any

[3 Jan 2006 17:57] Jonathan Miller
Description:
Execute: ./mysql-test-run --start-and-exit
Execute: ../client/mysql -u root --socket=./var/tmp/master.sock
mysql> CREATE LOGFILE GROUP lg1
    -> ADD UNDOFILE 'undofile.dat'
    -> INITIAL_SIZE 16M
    -> UNDO_BUFFER_SIZE = 1M
    -> ENGINE=NDB;
ERROR 2013 (HY000): Lost connection to MySQL server during query

Stack:
0x81be003
0x74e420
0x869507c
0x81dc60d
0x81e07f0
0x81e0e6d
0x81e2c47
0xa25b80
0x97d9ce
********
0x81be003 handle_segfault + 643
0x74e420 (?)
0x869507c symbols + 5980
0x81dc60d _Z21mysql_execute_commandP3THD + 25661
0x81e07f0 _Z11mysql_parseP3THDPcj + 592
0x81e0e6d _Z16dispatch_command19enum_server_commandP3THDPcj + 1405
0x81e2c47 handle_one_connection + 2407
0xa25b80 (?)
0x97d9ce (?)
********

How to repeat:
See above
[3 Jan 2006 20:15] 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/558
[3 Jan 2006 22:15] Jonathan Miller
Still getting same core.
[4 Jan 2006 6:56] Jonas Oreland
I dont....
Can you give me your configure options?
[4 Jan 2006 11:34] Jonathan Miller
configure='CC=gcc CXX=gcc CFLAGS="-Wall -pedantic -Wno-long-long" CXXFLAGS="-Wall -pedantic -Wno-long-long" ./configure --with-ndbcluster --with-debug=FULL --with-readline --enable-thread-safe-client --with-ndb-test --with-partition --with-ndbcc-flags="-g -DERROR_INSERT"'
[4 Jan 2006 12:40] Jonas Oreland
I tried with your configure options...still no problem.
BTW: --with-debug=FULL is not the same as --with-debug=full 

what does "bk changes | head -50" give...
are you sure you pulled/recompiled?

Can you try "--with-debug=full" instead, and then see what mysqld --debug gives ?
[4 Jan 2006 13:03] Jonathan Miller
Did another pull this moring, but not seeing your patch for some reason. I will recompile with correct debug options.

ChangeSet@1.1982.1.2, 2006-01-02 14:34:45+11:00, stewart@mysql.com
  WL#2076 Add more statistics for ndbd processes

  Import old patches for getting information via ndb_desc on files an

  In a soon patch coming to you live via satellite you may even be ab
  query this information via SQL (again).

ChangeSet@1.1982.1.1, 2005-12-29 18:19:41+11:00, stewart@mysql.com
  Convert alter_tablespace into a handlerton call.

ChangeSet@1.1983, 2005-12-23 21:41:49+01:00, jonas@perch.ndb.mysql.co
  remove extra ; making gcc4 barf
    sql/item_xmlfunc.cc

ChangeSet@1.1982, 2005-12-23 16:55:05+11:00, stewart@mysql.com
  build fix for non-debug builds

ChangeSet@1.1981, 2005-12-23 15:32:45+11:00, stewart@mysql.com
  Merge fixes for ndb-dd mysqld merge.

ChangeSet@1.1980, 2005-12-22 19:09:26+11:00, stewart@mysql.com
  Merge mysql.com:/home/stewart/Documents/MySQL/5.1/new
  into  mysql.com:/home/stewart/Documents/MySQL/5.1/dd-new-merge

ChangeSet@1.1978.1.2, 2005-12-22 07:49:19+01:00, lars@mysql.com
  WL#1012 Missed option file

ChangeSet@1.1978.1.1, 2005-12-22 06:39:02+01:00, lars@mysql.com
  WL#1012: All changes as one single changeset.
  This includes both code and test cases.

ChangeSet@1.1979, 2005-12-22 12:19:06+11:00, stewart@mysql.com
  Merge bk-internal.mysql.com:/home/bk/mysql-5.1-dd-new
  into  mysql.com:/home/stewart/Documents/MySQL/5.1/dd-new-merge

ChangeSet@1.1978, 2005-12-21 14:58:03-08:00, acurtis@xiphis.org
  Change for plugin storage engine to be built after mysqld

ChangeSet@1.1977, 2005-12-21 14:03:57-08:00, acurtis@xiphis.org
  Fix for plugins work

ChangeSet@1.1976, 2005-12-21 12:50:50-08:00, acurtis@xiphis.org
  plugin version changes

ChangeSet@1.1975, 2005-12-21 10:26:39-08:00, acurtis@xiphis.org
  Merge xiphis.org:/home/antony/work2/mysql-5.1
  into  xiphis.org:/home/antony/work3/mysql-5.1-plugable-2

ChangeSet@1.1945.47.1, 2005-12-21 10:18:40-08:00, acurtis@xiphis.org
[4 Jan 2006 13:45] Jonathan Miller
The latest problem was with my clone. A pull of a fresh clone resolved my issues. Command passes now.