While writing data is fine, ndbd crashes with sigbus(bus error) when trying to read data. Which makes it kinda unusable ;) This affects all versions, including: =dev-db/mysql-5.0.70-r1 (current stable) =dev-db/mysql-5.0.72-r1 (current testing) =dev-db/mysql-community-5.0.67 (current testing) To reproduce: Set up a minimal cluster(>=1 mysqld, >=1 ndbd, >=1 ndb_mgmd) $ mysql > create database cluster > use cluster > create table foo(bar integer); > insert into foo (var) values (1); > exit $ mysql > use cluster > select * from foo; -> ndbd is dead
Created attachment 175233 [details, diff] ndbd-bus-error.patch Patch that reverts the IA64 fix that broke it.
Created attachment 175251 [details] ndbd.sigbus.backtrace Ups, forgot to attach the backtrace, here it is
In gentoo mysql-extras for 5.0.76
In the patch "0723_all_avoid_bus_error_5.0.76.patch" introduced sometime back, please change the #elif to #else, since gcc-4.4 complains about empty elifs.