List:Internals« Previous MessageNext Message »
From:Francesco Riosa Date:December 11 2006 9:25pm
Subject:[RFC] "bus error" from mysqldump on sparc after upgrade 4.1 to 5.x
View as plain text  
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

Thread
[RFC] "bus error" from mysqldump on sparc after upgrade 4.1 to 5.xFrancesco Riosa11 Dec
  • Re: [RFC] "bus error" from mysqldump on sparc after upgrade 4.1 to 5.xSergei Golubchik12 Dec
    • Re: [RFC] "bus error" from mysqldump on sparc after upgrade 4.1 to5.xFrancesco Riosa12 Dec
      • Re: [RFC] "bus error" from mysqldump on sparc after upgrade 4.1 to5.xFrancesco Riosa12 Dec