Standalone app crashing - any ideas?
I've released a big standalone patch and have been getting a few reports back from my user-base that the program is crashing on startup.
One of them was kind enough to provide a crash log - I've edited it down and include it below for reference.
It works fine on my Mac Pro (it is a pretty big patch) but as several people have said that it has crashed for them there is obviously something wrong somewhere.
The app does not use any externals, the only 'custom' bits are some [js] javascript objects.
It doesn't do anything with audio at all, it's a MIDI related application.
Does the information below provide any clues as to what might be going on?
The standalone app can be downloaded from http://www.xstremetouch.com/development/XST-PerfEdit1-BETA-Mac.zip if that helps.
Any suggestions would be very welcome - I am working on an extensive and somewhat ambitious project so crash reports add to an already daunting task!
Many thanks,
Eddy
---
Process: Perf-Edit1.0Beta [141]
Path: /Users/sam/Downloads/Perf-Edit1.0Beta.app/Contents/MacOS/Perf-Edit1.0Beta
Identifier: com.cycling74.com.Max.Perf-Edit1.0Beta.appRuntime
Version: 5.1.1 (41439) (5.1.1)
Code Type: PPC (Native)
Parent Process: launchd [78]
Date/Time: 2010-02-12 12:00:03.912 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 20E8D875-6069-40C8-8162-5582918AFBB2
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 ??? 0000000000 0 + 0
1 com.cycling74.MaxAPI 0x035a4914 hashtab_new + 60
2 com.cycling74.MaxAPI 0x035816d0 CFMFunctionPointerForMachOFunctionPointer + 68
3 com.cycling74.MaxAPI 0x0359ff18 class_new + 120
4 com.cycling74.augraph 0x006fba8c main + 68
5 ...Perf-Edit1.0Beta.appRuntime 0x000115ec external_bundleload(char*, char*, char*, short) + 548
6 ...Perf-Edit1.0Beta.appRuntime 0x00011714 external_load + 152
7 ...Perf-Edit1.0Beta.appRuntime 0x000ad4d4 class_load(symbol*) + 200
8 ...Perf-Edit1.0Beta.appRuntime 0x000128f8 newload_internal + 112
9 ...Perf-Edit1.0Beta.appRuntime 0x00012bd8 newload + 20
10 ...Perf-Edit1.0Beta.appRuntime 0x0001d43c typedmess_fun + 1908
11 ...Perf-Edit1.0Beta.appRuntime 0x00056a58 sysmidi_instantiatedriver + 76
12 ...Perf-Edit1.0Beta.appRuntime 0x00056f3c sysmidi_trydriver + 68
13 ...Perf-Edit1.0Beta.appRuntime 0x00057044 sysmidi_tryfolder + 132
14 ...Perf-Edit1.0Beta.appRuntime 0x000571fc sysmidi_init + 372
15 ...Perf-Edit1.0Beta.appRuntime 0x0001436c max_startup + 296
16 ...Perf-Edit1.0Beta.appRuntime 0x00185f48 MaxApplication::initialise(juce::String const&) + 168
17 ...Perf-Edit1.0Beta.appRuntime 0x0021d2e4 juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 492
18 ...Perf-Edit1.0Beta.appRuntime 0x0021d408 juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 136
19 ...Perf-Edit1.0Beta.appRuntime 0x00006138 _start + 760
20 ...Perf-Edit1.0Beta.appRuntime 0x00005e3c start + 48
21 ??? 0000000000 0 + 0
Thread 0 crashed with PPC Thread State 32:
srr0: 0x00000000 srr1: 0x4200f030 dar: 0x035d3a48 dsisr: 0x42000000
r0: 0x00000000 r1: 0xbfffdc50 r2: 0x035d3a94 r3: 0x000002f5
r4: 0x006fc488 r5: 0x006fc504 r6: 0x00000034 r7: 0x00000000
r8: 0x00000008 r9: 0x00000000 r10: 0x00000007 r11: 0x006fd04c
r12: 0x00000000 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0xffffffff r22: 0x006fba48 r23: 0x034f0858
r24: 0x007e0340 r25: 0x00000009 r26: 0xbfffde98 r27: 0xffffffc8
r28: 0x003a11a8 r29: 0x034d36ac r30: 0xbfffdc50 r31: 0x035a48f0
cr: 0x48008402 xer: 0x20000000 lr: 0x035a4914 ctr: 0x00000000
vrsave: 0x00000000
Binary Images:
0x1000 - 0x36fff7 +com.cycling74.com.Max.Perf-Edit1.0Beta.appRuntime 5.1.1 (41439) (5.1.1) /Users/sam/Downloads/Perf-Edit1.0Beta.app/Contents/MacOS/Perf-Edit1.0Beta
0x6fb000 - 0x6fcffd +com.cycling74.augraph 5.1.1 (41439) (41439) /Users/sam/Downloads/Perf-Edit1.0Beta.app/Contents/support/mididrivers/augraph.mxo/Contents/MacOS/augraph
0x162d000 - 0x167cffe +com.cycling74.MaxAPI 1.0 (1.0) /Users/sam/Downloads/Perf-Edit1.0Beta.app/Contents/Frameworks/MaxAPI.framework/MaxAPI
0x18ff000 - 0x1903ffb +com.Logitech.Control Center.Scroll Enhancer Loader 3.1.0 (3.1.0) /Library/InputManagers/LCC Scroll Enhancer Loader/LCC Scroll Enhancer Loader.bundle/Contents/MacOS/LCC Scroll Enhancer Loader
0x1907000 - 0x190cffb +com.Logitech.Control Center.Scroll Enhancer 3.1.0 (3.1.0) /Library/Application Support/Logitech.localized/Logitech Control Center.localized/LCC Scroll Enhancer.bundle/Contents/MacOS/LCC Scroll Enhancer
0x3581000 - 0x35d0ffe +com.cycling74.MaxAPI 1.0 (1.0) /Users/sam/Downloads/Perf-Edit1.0Beta.app/Contents/Frameworks/MaxAPI.framework/Versions/A/MaxAPI
Hi,
Maybe a clue :
It crashes when I launch the standalone (report below).
However, opening the mxf (Contents/Perf-Edit1.0Beta.mxf) with either runtime 5.1.1 or runtime 5.1.2 works fine...
Process: Perf-Edit1.0Beta [16687]
Path: /Users/ch/Desktop/temp/Perf-Edit1.0Beta.app/Contents/MacOS/Perf-Edit1.0Beta
Identifier: com.cycling74.com.Max.Perf-Edit1.0Beta.appRuntime
Version: 5.1.1 (41439) (5.1.1)
Code Type: X86 (Native)
Parent Process: launchd [479]
Interval Since Last Report: 779785 sec
Crashes Since Last Report: 28
Per-App Interval Since Last Report: 23 sec
Per-App Crashes Since Last Report: 1
Date/Time: 2010-02-12 13:46:46.233 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 440235EF-0FD1-41C8-90ED-CDE494DBA8A8
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 ??? 0000000000 0 + 0
1 com.cycling74.augraph 0x0b6b8e3e main + 80
2 ...Perf-Edit1.0Beta.appRuntime 0x00010543 external_bundleload(char*, char*, char*, short) + 687
3 ...Perf-Edit1.0Beta.appRuntime 0x000106a2 external_load + 180
4 ...Perf-Edit1.0Beta.appRuntime 0x000b0b40 class_load(symbol*) + 200
5 ...Perf-Edit1.0Beta.appRuntime 0x000118c9 newload_internal + 135
6 ...Perf-Edit1.0Beta.appRuntime 0x00011bec newload + 40
7 ...Perf-Edit1.0Beta.appRuntime 0x0001c689 typedmess_fun + 1973
8 ...Perf-Edit1.0Beta.appRuntime 0x0001c713 typedmess + 83
9 ...Perf-Edit1.0Beta.appRuntime 0x0002beb9 newinstance + 41
10 ...Perf-Edit1.0Beta.appRuntime 0x00052c0f sysmidi_instantiatedriver + 63
11 ...Perf-Edit1.0Beta.appRuntime 0x00053032 sysmidi_trydriver + 74
12 ...Perf-Edit1.0Beta.appRuntime 0x000530f5 sysmidi_tryfolder + 101
13 ...Perf-Edit1.0Beta.appRuntime 0x0005328d sysmidi_init + 335
14 ...Perf-Edit1.0Beta.appRuntime 0x0001338b max_startup + 369
15 ...Perf-Edit1.0Beta.appRuntime 0x00188840 MaxApplication::initialise(juce::String const&) + 132
16 ...Perf-Edit1.0Beta.appRuntime 0x002179e1 juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 533
17 ...Perf-Edit1.0Beta.appRuntime 0x00217b03 juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 125
18 ...Perf-Edit1.0Beta.appRuntime 0x001888ea main + 76
19 ...Perf-Edit1.0Beta.appRuntime 0x000061aa _start + 216
20 ...Perf-Edit1.0Beta.appRuntime 0x000060d1 start + 41
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x0b6b9e48 ebx: 0x0b6cbdcf ecx: 0x00000008 edx: 0x00000000
edi: 0x09a06665 esi: 0xbfffe164 ebp: 0xbfffdeb8 esp: 0xbfffde3c
ss: 0x0000001f efl: 0x00010282 eip: 0x00000000 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000
Thanks for this, I have been able to use this as workaround advice for now. I would really like to know why it runs fine when you open the MXF file with runtime manually though. It only seems to crash when running the app on some systems, not others.
Odd. I think I'll experiment with some delays on the loadbangs and see if that has any bearing on it!
I forgot to say I'm running osx 10.5.6.
Let us know if you work it out.
Ch
I'm having the exact same problem on OS X 10.6.4. I thought it was a 32 bit - 64 bit problem, but I can't tell. It works on some machine and not on other ones! Anyone could help?
same problem here.
10.6.5
max 5.1.6
mbp unibody
4gb ram
in my case it was from a standalone that i burned to an iso image.
not sure if there is a solution to this yet, but please let me know!
jml
Thread 0 Crashed:
0 <> 0x00000000 0 + 0
1 com.cycling74.MaxAPI 0x0340f6d0 CFMFunctionPointerForMachOFunctionPointer + 68
2 com.cycling74.MaxAPI 0x0342df18 class_new + 120
3 com.cycling74.augraph 0x027fca8c main + 68
10.4.11 PPC
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ??? 0000000000 0 + 0
1 com.cycling74.augraph 0x017f6e3e main + 80
2 ...Perf-Edit1.0Beta.appRuntime 0x00010543 external_bundleload(char*, char*, char*, short) + 687
3 ...Perf-Edit1.0Beta.appRuntime 0x000106a2 external_load + 180
4 ...Perf-Edit1.0Beta.appRuntime 0x000b0b40 class_load(symbol*) + 200
5 ...Perf-Edit1.0Beta.appRuntime 0x000118c9 newload_internal + 135
6 ...Perf-Edit1.0Beta.appRuntime 0x00011bec newload + 40
7 ...Perf-Edit1.0Beta.appRuntime 0x0001c689 typedmess_fun + 1973
8 ...Perf-Edit1.0Beta.appRuntime 0x0001c713 typedmess + 83
9 ...Perf-Edit1.0Beta.appRuntime 0x0002beb9 newinstance + 41
...
10.6.4
MBP 13"