Bug #25322 mysql_upgrade fails with Bus Error on Intel 5.1.14

Submitted: 29 Dec 2006 2:49 Modified: 29 Dec 2006 7:36
Reporter: Steven Palm Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.1.14 OS:MacOS (Mac OS X)
Assigned to: CPU Architecture:Any
Tags: 5.1.14, bus error, myqsql_upgrade, osx

[29 Dec 2006 2:49] Steven Palm
Description:
Trying to run `mysql_upgrade` with --password option fails with a bus error.  Since my DB has a password, I did not test on execution without a password.

CRASH LOG:

Date/Time:      2006-12-28 20:45:24.958 -0600
OS Version:     10.4.8 (Build 8N1037)
Report Version: 4

Command: mysql_upgrade
Path:    bin/mysql_upgrade
Parent:  bash [2379]

Version: ??? (???)

PID:    5638
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   mysql_upgrade 	0x000028f0 get_one_option + 716
1   mysql_upgrade 	0x0000a0af handle_options + 3560
2   mysql_upgrade 	0x00002b95 main + 147
3   mysql_upgrade 	0x000025ca _start + 228 (crt.c:272)
4   mysql_upgrade 	0x000024e5 start + 41

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000    ebx: 0x00002632 ecx: 0x00000001 edx: 0x00074310
  edi: 0x0006272d    esi: 0x00400300 ebp: 0xbffff378 esp: 0xbffff330
   ss: 0x0000001f    efl: 0x00010297 eip: 0x000028f0  cs: 0x00000017
   ds: 0x0000001f     es: 0x0000001f  fs: 0x00000000  gs: 0x00000037

Binary Images Description:
    0x1000 -    0x73fff mysql_upgrade 	/usr/local/mysql-5.1.14-beta-osx10.4-i686/bin/mysql_upgrade
0x8fe00000 - 0x8fe49fff dyld 46.9	/usr/lib/dyld
0x90000000 - 0x9016ffff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x901bf000 - 0x901c1fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib

Model: MacBookPro2,2, BootROM MBP22.00A5.B00, 2 processors, Intel Core 2 Duo, 2.33 GHz, 2 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: AirPort Extreme, 1.0.27p3
Bluetooth: Version 1.7.11f14, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Network Service: Parallels Host-Guest, Ethernet, en2
Network Service: Parallels NAT, Ethernet, en3
Serial ATA Device: FUJITSU MHW2120BH, 111.79 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857D
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA

How to repeat:
cd /usr/local/mysql
sudo bin/mysql_upgrade --password
<crash>
[29 Dec 2006 7:36] Sveta Smirnova
Thank you for the report.

I can not repeat it using current BK sources

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.