Bug #10425 V. 1.0.9b MySQL Administrator Crashes on Backup in OS X v10.3.9
Submitted: 6 May 2005 20:32 Modified: 19 Sep 2005 2:00
Reporter: Dave Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Administrator Severity:S1 (Critical)
Version:1.0.9b OS:MacOS (Mac OS X 10.3.9)
Assigned to: Alfredo Kojima CPU Architecture:Any

[6 May 2005 20:32] Dave
Description:
The program crashes on backup.

How to repeat:
Connect to a local database on a local Mac running OS X 10.3.9 and MySQL 4.0.28, select a project and a database, and click on 'Start Backup' (on both windows where that button appears) - the program crashes a few seconds after the 'Backup Process' window appears. A backup file is created but is empty. Repeatable.

Suggested fix:
Crashlog:

**********

Host Name:      TestServer.local
Date/Time:      2005-05-06 13:44:34 +0100
OS Version:     10.3.9 (Build 7W98)
Report Version: 2

Command: MySQL Administrator
Path:    /Users/user/Desktop/MySQL Administrator.app/Contents/MacOS/MySQL Administrator
Version: ??? (1.0.9-beta)
PID:     1102
Thread:  2

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

Thread 0:
0   com.apple.AppKit           	0x932a10c8 0x92e70000 + 0x4310c8
1   com.mysql.Administrator    	0x0002074c -[MATimeGraph addValue:timestamp:] + 0x74 (crt.c:300)
2   com.mysql.Administrator    	0x00021fec -[MALineHealthGraph updateValues:] + 0x214 (crt.c:300)
3   com.mysql.Administrator    	0x0001aa20 -[MAHealth(Private) performOnAllGraphs:withArgument:] + 0xf8 (crt.c:300)
4   com.apple.Foundation       	0x90a4b120 __NSFireMainThreadPerform + 0x108
5   com.apple.CoreFoundation   	0x90214618 __CFRunLoopPerformPerform + 0x88
6   com.apple.CoreFoundation   	0x901c3c88 __CFRunLoopDoSources0 + 0x1fc
7   com.apple.CoreFoundation   	0x901c1540 __CFRunLoopRun + 0x1b0
8   com.apple.CoreFoundation   	0x901c5e6c CFRunLoopRunSpecific + 0x148
9   com.apple.HIToolbox        	0x92885f60 RunCurrentEventLoopInMode + 0xac
10  com.apple.HIToolbox        	0x9288c6c8 ReceiveNextEventCommon + 0x17c
11  com.apple.HIToolbox        	0x928ae6a0 BlockUntilNextEventMatchingListInMode + 0x60
12  com.apple.AppKit           	0x92e827bc _DPSNextEvent + 0x180
13  com.apple.AppKit           	0x92e99240 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 0x74
14  com.apple.AppKit           	0x92f609b4 -[NSApplication _realDoModalLoop:peek:] + 0x114
15  com.apple.AppKit           	0x9300b730 -[NSApplication runModalForWindow:] + 0xb0
16  com.apple.AppKit           	0x9302dae8 -[NSSavePanel(NSSavePanelRuntime) _didEndSheet:returnCode:contextInfo:] + 0xa0
17  com.apple.AppKit           	0x930194b0 -[NSSavePanel(NSSavePanelRuntime) ok:] + 0x11c
18  com.apple.AppKit           	0x92f27c30 -[NSApplication sendAction:to:from:] + 0x6c
19  com.apple.AppKit           	0x92f2e94c -[NSControl sendAction:to:] + 0x60
20  com.apple.AppKit           	0x92f68c00 -[NSCell _sendActionFrom:] + 0x9c
21  com.apple.AppKit           	0x92f08684 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 0x3fc
22  com.apple.AppKit           	0x92f79810 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 0x234
23  com.apple.AppKit           	0x92f3ea1c -[NSControl mouseDown:] + 0x218
24  com.apple.AppKit           	0x92eb2b08 -[NSWindow sendEvent:] + 0x10e4
25  com.apple.AppKit           	0x92ea51b4 -[NSApplication sendEvent:] + 0xebc
26  com.apple.AppKit           	0x92ead5e4 -[NSApplication run] + 0x240
27  com.apple.AppKit           	0x92f69cc4 NSApplicationMain + 0x1d0
28  com.mysql.Administrator    	0x00008094 _start + 0x188 (crt.c:267)
29  dyld                       	0x8fe1a278 _dyld_start + 0x64

Thread 1:
0   libSystem.B.dylib          	0x900171d8 semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib          	0x9000e9dc _pthread_cond_wait + 0x270
2   com.apple.Foundation       	0x90a7c614 -[NSConditionLock lockWhenCondition:] + 0x44
3   com.apple.AppKit           	0x92e7a65c -[NSUIHeartBeat _heartBeatThread:] + 0x190
4   com.apple.Foundation       	0x90a6a538 forkThreadForFunction + 0x6c
5   libSystem.B.dylib          	0x90024910 _pthread_body + 0x28

Thread 2 Crashed:
0   com.mysql.Administrator    	0x0002945c myx_make_backup_to_sql_file_incremental + 0x3b4 (myx_backup.c:754)
1   com.mysql.Administrator    	0x00028ee0 myx_make_backup + 0xc4 (myx_backup.c:433)
2   com.mysql.Administrator    	0x0000ff00 do_backup + 0x30 (crt.c:300)
3   com.mysql.MySQLToolsCommon 	0x1000685c -[CallbackRequest execute:] + 0x8c
4   com.mysql.MySQLToolsCommon 	0x100069f4 -[MMySQLDispatcher(Private) executeRequest:] + 0x3c
5   com.mysql.MySQLToolsCommon 	0x10006cb8 processRequests + 0x48
6   libSystem.B.dylib          	0x90024910 _pthread_body + 0x28

Thread 3:
0   libSystem.B.dylib          	0x900171d8 semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib          	0x9000e9dc _pthread_cond_wait + 0x270
2   com.apple.Foundation       	0x90a64664 -[NSConditionLock lock] + 0x34
3   com.apple.Foundation       	0x90a4af7c -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:] + 0x240
4   com.apple.Foundation       	0x90a66364 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 0x78
5   com.mysql.Administrator    	0x00019f54 -[MAHealth(Private) updateThread:] + 0x100 (crt.c:300)
6   com.apple.Foundation       	0x90a6a538 forkThreadForFunction + 0x6c
7   libSystem.B.dylib          	0x90024910 _pthread_body + 0x28

PPC Thread State:
  srr0: 0x0002945c srr1: 0x0000d030                vrsave: 0x00000000
    cr: 0x22000442  xer: 0x00000003   lr: 0x00029428  ctr: 0x90000c78
    r0: 0x00000000   r1: 0xf00e0ba0   r2: 0x00000000   r3: 0x00000000
    r4: 0x00000000   r5: 0x000003e8   r6: 0x0186e805   r7: 0x00000001
    r8: 0x00000000   r9: 0x054dfb50  r10: 0x00001b67  r11: 0x24000448
   r12: 0x90000c78  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
   r20: 0x00000000  r21: 0x00000000  r22: 0x00000000  r23: 0x00000000
   r24: 0x00000001  r25: 0xf00e0d30  r26: 0x00000001  r27: 0x00000000
   r28: 0xf00e0be0  r29: 0x00000000  r30: 0x054df900  r31: 0x000290b4

Binary Images Description:
    0x1000 -    0x4afff com.mysql.Administrator ??? (1.0.9-beta)	/Users/user/Desktop/MySQL Administrator.app/Contents/MacOS/MySQL Administrator
  0x2f2000 -   0x2f2fff com.aladdinsys.mmenabler 7.1.0 (8.0.2)	/Library/InputManagers/MagicMenuEnabler/MagicMenuEnabler.bundle/Contents/MacOS/MagicMenuEnabler
  0x2fa000 -   0x2fafff com.yazsoft.SDEnhancer ??? (1.0)	/Users/user/Library/InputManagers/SpeedDownload Enhancer/SpeedDownloadEnhancer.bundle/Contents/MacOS/SpeedDownloadEnhancer
0x10000000 - 0x100b1fff com.mysql.MySQLToolsCommon ??? (1.0)	/Users/user/Desktop/MySQL Administrator.app/Contents/MacOS/../Frameworks/MySQLToolsCommon.framework/Versions/1.0.0/MySQLToolsCommon
0x8c284000 - 0x8c362fff libxml2.2.dylib 	/usr/lib/libxml2.2.dylib
0x8fe00000 - 0x8fe4ffff dyld 	/usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026dfff com.apple.CoreFoundation 6.3.7 (299.35)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.7	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x905a0000 - 0x90610fff com.apple.framework.IOKit 1.3.6 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90640000 - 0x906c8fff com.apple.CoreServices.OSServices 3.0.1	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90750000 - 0x907b7fff com.apple.audio.CoreAudio 2.1.2	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90812000 - 0x9082dfff com.apple.SystemConfiguration 1.7.1 (???)	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90860000 - 0x908cffff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x908f5000 - 0x9090dfff com.apple.WebServices 1.1.1 (1.1.0)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.4	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.6 (500.58)	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90c32000 - 0x90c3ffff com.apple.CommonPanels 1.2.1 (1.0)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x90c48000 - 0x90c5bfff libRIP.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???)	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x9102d000 - 0x91044fff com.apple.LangAnalysis 1.5.4	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x910e0000 - 0x91133fff com.apple.bom 1.2.5 (63.2)	/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x916f0000 - 0x91728fff com.apple.AE 1.4	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x91760000 - 0x917f3fff com.apple.print.framework.PrintCore 3.3	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91890000 - 0x918aafff com.apple.openscripting 1.2.1 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x918d0000 - 0x918e0fff com.apple.ImageCapture 2.1.5	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x91970000 - 0x919befff com.apple.print.framework.Print 3.3	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x91a40000 - 0x91ab3fff com.apple.NavigationServices 3.3.3	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91b10000 - 0x91b10fff com.apple.audio.units.AudioUnit 1.3.2	/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x91b30000 - 0x91b44fff libCGATS.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91b60000 - 0x91b6bfff libCSync.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91ebd000 - 0x91ebdfff com.apple.Carbon 10.3 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92032000 - 0x92042fff com.apple.speech.recognition.framework 3.3	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x9204e000 - 0x92068fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920a9000 - 0x920c6fff com.apple.audio.SoundManager 3.8	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x92170000 - 0x92357fff com.apple.security 2.4 (179)	/System/Library/Frameworks/Security.framework/Versions/A/Security
0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.2 (7)	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.6 (???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92de0000 - 0x92e30fff com.apple.HIServices 1.4.1 (0.0.1d1)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x92e70000 - 0x9336ffff com.apple.AppKit 6.3.7 (743.36)	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93680000 - 0x93958fff com.apple.CoreGraphics 1.203.30 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x939d0000 - 0x939d4fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x93a50000 - 0x93a64fff libcups.2.dylib 	/usr/lib/libcups.2.dylib
0x93a6a000 - 0x93a76fff com.apple.help 1.0.1	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x93a80000 - 0x93a8ffff libPSRIP.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x93c00000 - 0x93ca3fff com.apple.audio.toolbox.AudioToolbox 1.3.2	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93cec000 - 0x93d06fff libPDFRIP.A.dylib 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x9415d000 - 0x94170fff com.apple.speech.synthesis.framework 3.2	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x9419d000 - 0x9419dfff com.apple.CoreServices 10.3 (???)	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9458f000 - 0x94598fff com.apple.DiskArbitration 2.0.5	/System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x945b0000 - 0x945b9fff libz.1.dylib 	/usr/lib/libz.1.dylib
0x945d4000 - 0x9460cfff com.apple.LaunchServices 10.3.5 (98.4)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x94650000 - 0x946affff com.apple.SearchKit 1.0.2	/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x946ff000 - 0x9470afff com.apple.securityhi 1.2 (90)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x94800000 - 0x9488cfff com.apple.ink.framework 101.1.4 (55.12)	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x96028000 - 0x960e1fff com.apple.QD 3.4.67 (???)	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x9682a000 - 0x96893fff com.apple.htmlrendering 1.1.2	/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x968d0000 - 0x969b2fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x96aa0000 - 0x96acefff libssl.0.9.7.dylib 	/usr/lib/libssl.0.9.7.dylib
0x96b50000 - 0x96bdffff ATS 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x96cb0000 - 0x96d9efff libiconv.2.dylib 	/usr/lib/libiconv.2.dylib
0x96ee0000 - 0x96ee8fff libbsm.dylib 	/usr/lib/libbsm.dylib
0x98db1000 - 0x98e70fff ColorSync 	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x98ebe000 - 0x98f80fff libcrypto.0.9.7.dylib 	/usr/lib/libcrypto.0.9.7.dylib

**********
[7 May 2005 12:29] Kai Voigt
Works fine for MacOS 10.4 and local MySQL MySQL 4.1.11-max
[19 Sep 2005 2:00] Alfredo Kojima
Thank you for taking the time to report a problem.  Unfortunately
you are not using a current version of the product your reported a
problem with -- the problem might already be fixed. Please download
a new version from http://www.mysql.com/downloads/

If you are able to reproduce the bug with one of the latest versions,
please change the version on this bug report to the version you
tested and change the status back to "Open".  Again, thank you for
your continued support of MySQL.