Bug #6716 ndb_restore core dumps (on HP-UX 11)
Submitted: 19 Nov 2004 8:52 Modified: 17 Jan 2005 20:59
Reporter: Johan Andersson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql 4.1.7 OS:HP/UX (hp ux 11.22,)
Assigned to: Jonas Oreland CPU Architecture:Any

[19 Nov 2004 8:52] Johan Andersson
Description:
ndb_restore core dumps when it tries to restore data...

hp ux 11.22, 2 itanium2 processors and gcc.

How to repeat:
mysql@uxrpxa10:/db/RAD_T/BACKUP/BACKUP-1> ndb_restore --nodeid=1 --restore_meta --restore_data --backupid=1 --print_log .

Connected to ndb!! 
Successfully restored table rad_t/def/fill_test 
Successfully restored table rad_t/def/test_ndb_3 
Successfully restored table rad_t/def/test_ndb_2 
Successfully restored table rad_t/def/test_ndb 
_____________________________________________________ 
Restoring data in table: rad_t/def/fill_test(10) fragment 0 
_____________________________________________________ 
Restoring data in table: rad_t/def/test_ndb_3(8) fragment 0 
Bus error(coredump) 
mysql@uxrpxa10:/db/RAD_T/BACKUP/BACKUP-1> 

Suggested fix:
-
[14 Dec 2004 12:38] [ name withheld ]
I produced the reported testcase and it was done on HP-UX 11.23 with mysql 4.1.8

Please change these details.

Thank you!
[18 Dec 2004 8:12] Jonas Oreland
Hi Johan,

My latest bug fix in restore fixed a dangling pointer.
There's a big likelyhood that this bugreport should be closed aswell.

Could you please retest

/Jonas
[17 Jan 2005 20:59] Jonas Oreland
this has been fixed by tomas in 4.1.10 src