Hello, as subject tell we are experiencing a regression 4.1 => 5.0 .
Basically "mysqldump" crash with "bus error" on ultrasparc processor.
A slightly more in depth research show that */client.c use multiple times
a suspect cast:
test(*(uint*) arg)
2953 case MYSQL_OPT_SSL_VERIFY_SERVER_CERT:
2954 if (!arg || test(*(uint*) arg))
2955 mysql->options.client_flag|= CLIENT_SSL_VERIFY_SERVER_CERT;
the cast to work should be aligned at 4 bytes but it's not, for example
we got
with #0 0x701acc2c in mysql_options (mysql=0x2df18,
option=MYSQL_OPT_SSL_VERIFY_SERVER_CERT, arg=0x2deba "")
mod(0x2deba ; 4) == 2
this specific code was last changed to fix BUG#21543 so what I'm asking here
is suggestion on which direction to try:
a) we can try to patch this but some directives would be apreciated
b) simply open a bug report (I cannot guarantee a full report with dumps
and all)
Thanks in advance:
Francesco R.
full story on http://bugs.gentoo.org/show_bug.cgi?id=157408