Description:
crash of ndbd when trying to create a logfile group with an undofile at /tmp/undofile.dat
Date/Time: Friday 7 October 2005 - 04:45:32
Type of error: error
Message: No message slogan found
Fault ID: 0
Problem data: Signal 6 received
Object of reference: main.cpp
ProgramName: /home/stewart/Documents/MySQL/5.1/ndb-dd/storage/ndb/src/kernel/ndbd
ProcessID: 21874
TraceFile: /home/stewart/Documents/MySQL/5.1/ndb-dd/mysql-test/var/ndbcluster-9350/ndb_1_trace.log.1
Version 5.1.2 (alpha)
***EO
Date/Time: Friday 7 October 2005 - 04:47:26
Type of error: error
Message: Internal program error
Fault ID: 2307
Problem data: WatchDog terminate
Object of reference: WatchDog.cpp
ProgramName: /home/stewart/Documents/MySQL/5.1/ndb-dd/storage/ndb/src/kernel/ndbd
ProcessID: 21874
TraceFile: /home/stewart/Documents/MySQL/5.1/ndb-dd/mysql-test/var/ndbcluster-9350/ndb_1_trace.log.2
Version 5.1.2 (alpha
Will attach trace.
How to repeat:
mysql> CREATE LOGFILE GROUP lg1 ADD UNDOFILE '/tmp/undofile.dat' INITIAL_SIZE 16M UNDO_BUFFER_SIZE = 1M ENGINE=NDB; ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect...
Connection id: 1
Current database: test
ERROR 1491 (HY000): Failed to create UNDOFILE
mysql> show errors;
+-------+------+---------------------------+
| Level | Code | Message |
+-------+------+---------------------------+
| Error | 1491 | Failed to create UNDOFILE |
+-------+------+---------------------------+
1 row in set (0.00 sec)
mysql> CREATE LOGFILE GROUP lg1 ADD UNDOFILE '/tmp/undofile.dat' INITIAL_SIZE 16M UNDO_BUFFER_SIZE = 1M ENGINE=NDB;
ERROR 1491 (HY000): Failed to create LOGFILE GROUP
mysql> CREATE LOGFILE GROUP lg1 ADD UNDOFILE '/tmp/undofile.dat' INITIAL_SIZE 16M UNDO_BUFFER_SIZE = 1M ENGINE=NDB;
ERROR 1491 (HY000): Failed to create LOGFILE GROUP
mysql>
(ndbd crashes after first create)
Suggested fix:
create the LFG and UF successfully.