Ok, sending a bug report.Ferris wrote:A bus error usually results from a data alignment problem. I can duplicate the problem, so I believe that the mysqldump program itself is creating misaligned data. There is nothing you can do yourself (unless you want to fix mysqldump), but you should file a bug report against mysql (which is where mysqldump comes from).
In other words, you are not doing anything wrong; mysqldump is. Please file a bug report at http://bugs.gentoo.org (with architecture = sparc) against dev-db/mysql-5.0.26.
(By the way, my experiences with that upgrade suggest that mysql-4.1.21 databases should work with mysql-5.0.26 without conversion. Are you seeing something different?)
Regards,
Ferris
Yes, time will tell. No problem for me, using 4.1.21 for now.Ferris wrote:As noted on your bug report, we know what and where the problem is, and the MySQL upstream developers have been notified. It's up to them to fix it, I think, because the failure comes from widening a pointer '(char*) arg' to reference it as '*(uint*) arg' --- something which is generally prohibited on sparc because of sparc's data alignment requirements. A patch is easy, but whether or not it is a good fix depends on just what MySQL has arg pointing to in the first place.