# debug quit unexpectedly

**URL:** <https://forum.xojo.com/t/debug-quit-unexpectedly/11908>\
**Category:** General\
**Created:** [October 27, 2013, 1:40am UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908 "2013-10-27T01:40:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Amato](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_amato/32/7566_2.png) [@Alexandre\_Amato](https://forum.xojo.com/u/Alexandre_Amato)\
**Post date:** [October 27, 2013, 1:40am UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/1 "2013-10-27T01:40:06Z")

</div>

How can I track down an error that is not specified:

[quote]xxxx.debug quit unexpectedly.  
Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.[/quote]

THere is a button “report” but doesn’t say anything about the error

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [October 27, 2013, 5:16am UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/2 "2013-10-27T05:16:33Z")

</div>

Can you post the crash report?

---

<div class="post-metadata">

**Author:** ![Alexandre\_Amato](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_amato/32/7566_2.png) [@Alexandre\_Amato](https://forum.xojo.com/u/Alexandre_Amato)\
**Post date:** [October 27, 2013, 12:37pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/3 "2013-10-27T12:37:53Z")

</div>

Process: GIF2MOV.debug [65804]  
Path: /Users/USER/\*/GIF2MOV.debug.app/Contents/MacOS/GIF2MOV.debug  
Identifier: com.amato.gif2mov  
Version: ??? (1.1.0.3.21)  
Code Type: X86 (Native)  
Parent Process: launchd [475]  
Responsible: GIF2MOV.debug [65804]  
User ID: 501

Date/Time: 2013-10-27 10:02:08.090 -0200  
OS Version: Mac OS X 10.9 (13A603)  
Report Version: 11  
Anonymous UUID: 9846D6C7-4193-BCCF-52CB-63957E717472

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC\_BAD\_ACCESS (SIGBUS)  
Exception Codes: KERN\_PROTECTION\_FAILURE at 0x00000000000000cd

VM Regions Near 0xcd:  
–\> \_\_PAGEZERO 0000000000000000-0000000000001000 [4K] —/--- SM=NUL /Users/USER/_/GIF2MOV.debug.app/Contents/MacOS/GIF2MOV.debug  
\_\_TEXT 0000000000001000-00000000002b9000 [2784K] r-x/rwx SM=COW /Users/USER/_/GIF2MOV.debug.app/Contents/MacOS/GIF2MOV.debug

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread  
0 com.apple.QuickTime 0x90b0a39b GetMovieVisualContext\_priv + 35  
1 com.apple.QTKit 0x9737e8e4 -[QTMovie\_QuickTime \_usingVisualContext] + 42  
2 com.apple.QTKit 0x9737cf1b -[QTMovie\_QuickTime idle] + 99  
3 com.apple.QTKit 0x9737ccec +[QTMovie\_QuickTime idleAllMovies:] + 340  
4 com.apple.Foundation 0x9427678b \_\_NSFireTimer + 117  
5 com.apple.CoreFoundation 0x984e2186 **CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_A\_TIMER\_CALLBACK\_FUNCTION** + 22  
6 com.apple.CoreFoundation 0x984e1b43 \_\_CFRunLoopDoTimer + 1395  
7 com.apple.CoreFoundation 0x9855c2ad \_\_CFRunLoopDoTimers + 349  
8 com.apple.CoreFoundation 0x984996c3 \_\_CFRunLoopRun + 1779  
9 com.apple.CoreFoundation 0x98498d5a CFRunLoopRunSpecific + 394  
10 com.apple.CoreFoundation 0x98498bbb CFRunLoopRunInMode + 123  
11 com.apple.HIToolbox 0x9abcbe2d RunCurrentEventLoopInMode + 259  
12 com.apple.HIToolbox 0x9abcbbb2 ReceiveNextEventCommon + 526  
13 com.apple.HIToolbox 0x9abcb98d \_BlockUntilNextEventMatchingListInModeWithFilter + 92  
14 com.apple.AppKit 0x925a55a9 \_DPSNextEvent + 1602  
15 com.apple.AppKit 0x925a4ad0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119  
16 rbframework.dylib 0x00442e91 0x343000 + 1048209  
17 com.apple.AppKit 0x92922eac -[NSApplication \_realDoModalLoop:peek:] + 828  
18 com.apple.AppKit 0x92922b5d -[NSApplication \_doModalLoop:peek:] + 209  
19 com.apple.AppKit 0x92921536 -[NSApplication runModalForWindow:] + 235  
20 com.apple.AppKit 0x929210c2 -[NSAlert runModal] + 208  
21 rbframework.dylib 0x00470873 0x343000 + 1235059  
22 rbframework.dylib 0x003ebed9 0x343000 + 691929  
23 rbframework.dylib 0x003c59ee RuntimeMsgBox + 302  
24 com.amato.gif2mov 0x0019a2ea REALbasic.MsgBox%%s + 74  
25 com.amato.gif2mov 0x00251a64 Window1.Window1.PushButton4\_Action%%o\<Window1.Window1\>o + 188  
26 com.amato.gif2mov 0x00267ab0 Delegate.IM\_Invoke%%o + 110  
27 com.amato.gif2mov 0x00267af4 AddHandler.Stub.15%% + 54  
28 rbframework.dylib 0x00412b02 0x343000 + 850690  
29 rbframework.dylib 0x0043b584 0x343000 + 1017220  
30 libobjc.A.dylib 0x9a3342af -[NSObject performSelector:withObject:] + 70  
31 com.apple.AppKit 0x927d1c35 -[NSApplication sendAction:to:from:] + 438  
32 com.apple.AppKit 0x927d1a3d -[NSControl sendAction:to:] + 102  
33 com.apple.AppKit 0x92820fcb -[NSCell \_sendActionFrom:] + 159  
34 com.apple.AppKit 0x9283c2ea -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2465  
35 com.apple.AppKit 0x9283b521 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 513  
36 com.apple.AppKit 0x9283ab45 -[NSControl mouseDown:] + 690  
37 rbframework.dylib 0x004316f0 0x343000 + 976624  
38 com.apple.AppKit 0x927b6e4d -[NSWindow sendEvent:] + 11953  
39 rbframework.dylib 0x0047576c 0x343000 + 1255276  
40 com.apple.AppKit 0x92752cad -[NSApplication sendEvent:] + 4034  
41 rbframework.dylib 0x00442d64 0x343000 + 1047908  
42 rbframework.dylib 0x00442db0 0x343000 + 1047984  
43 com.amato.gif2mov 0x00003333 Delegate.Invoke%% + 34  
44 com.amato.gif2mov 0x000949c6 Application.\_CallFunctionWithExceptionHandling%%op + 248  
45 rbframework.dylib 0x003c6684 0x343000 + 538244  
46 rbframework.dylib 0x00442cd5 0x343000 + 1047765  
47 com.apple.AppKit 0x925973bc -[NSApplication run] + 823  
48 rbframework.dylib 0x003c6707 0x343000 + 538375  
49 rbframework.dylib 0x00397dd2 RuntimeRun + 50  
50 com.amato.gif2mov 0x0019c01d REALbasic.\_RuntimeRun + 34  
51 com.amato.gif2mov 0x0000321f \_Main + 257  
52 com.amato.gif2mov 0x000024f0 % main + 36  
53 com.amato.gif2mov 0x0029347f \_start + 116  
54 com.amato.gif2mov 0x002933d5 start + 43

---

<div class="post-metadata">

**Author:** ![Alexandre\_Amato](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_amato/32/7566_2.png) [@Alexandre\_Amato](https://forum.xojo.com/u/Alexandre_Amato)\
**Post date:** [October 27, 2013, 12:38pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/4 "2013-10-27T12:38:17Z")

</div>

Thread 1:: Dispatch queue: com.apple.libdispatch-manager  
0 libsystem\_kernel.dylib 0x95ef6992 kevent64 + 10  
1 libdispatch.dylib 0x9a28e8bd \_dispatch\_mgr\_invoke + 238  
2 libdispatch.dylib 0x9a28e556 \_dispatch\_mgr\_thread + 52

Thread 2:  
0 libsystem\_kernel.dylib 0x95ef0f7a mach\_msg\_trap + 10  
1 libsystem\_kernel.dylib 0x95ef016c mach\_msg + 68  
2 com.apple.CoreFoundation 0x98499f69 \_\_CFRunLoopServiceMachPort + 169  
3 com.apple.CoreFoundation 0x98499541 \_\_CFRunLoopRun + 1393  
4 com.apple.CoreFoundation 0x98498d5a CFRunLoopRunSpecific + 394  
5 com.apple.CoreFoundation 0x98498bbb CFRunLoopRunInMode + 123  
6 com.apple.AppKit 0x9274ef18 \_NSEventThread + 283  
7 libsystem\_pthread.dylib 0x974a85fb \_pthread\_body + 144  
8 libsystem\_pthread.dylib 0x974a8485 \_pthread\_start + 130  
9 libsystem\_pthread.dylib 0x974adcf2 thread\_start + 34

Thread 3:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 4:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 5:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 6:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 7:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 8:: Dispatch queue: com.apple.root.default-priority  
0 libsystem\_kernel.dylib 0x95ef0f7a mach\_msg\_trap + 10  
1 libsystem\_kernel.dylib 0x95ef016c mach\_msg + 68  
2 com.apple.CoreFoundation 0x98499f69 \_\_CFRunLoopServiceMachPort + 169  
3 com.apple.CoreFoundation 0x98499541 \_\_CFRunLoopRun + 1393  
4 com.apple.CoreFoundation 0x98498d5a CFRunLoopRunSpecific + 394  
5 com.apple.CoreFoundation 0x98498bbb CFRunLoopRunInMode + 123  
6 com.apple.Foundation 0x9427b319 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277  
7 com.apple.AppKit 0x92869c50 -[NSAnimation(NSInternal) \_runBlocking] + 463  
8 com.apple.AppKit 0x92869a67 -[NSAnimation(NSInternal) \_animationThread] + 79  
9 com.apple.AppKit 0x928699fc \_\_42-[NSAnimation(NSInternal) \_runInNewThread]\_block\_invoke + 36  
10 libdispatch.dylib 0x9a28f78f \_dispatch\_call\_block\_and\_release + 15  
11 libdispatch.dylib 0x9a28c3a6 \_dispatch\_client\_callout + 50  
12 libdispatch.dylib 0x9a28e467 \_dispatch\_root\_queue\_drain + 257  
13 libdispatch.dylib 0x9a28f732 \_dispatch\_worker\_thread2 + 39  
14 libsystem\_pthread.dylib 0x974a9dab \_pthread\_wqthread + 336  
15 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 9:: CVDisplayLink  
0 libsystem\_kernel.dylib 0x95ef57ca \_\_psynch\_cvwait + 10  
1 libsystem\_pthread.dylib 0x974aad1d \_pthread\_cond\_wait + 728  
2 libsystem\_pthread.dylib 0x974acbd9 pthread\_cond\_wait$UNIX2003 + 71  
3 com.apple.CoreVideo 0x957e4540 CVDisplayLink::runIOThread() + 936  
4 com.apple.CoreVideo 0x957e4180 startIOThread(void\*) + 159  
5 libsystem\_pthread.dylib 0x974a85fb \_pthread\_body + 144  
6 libsystem\_pthread.dylib 0x974a8485 \_pthread\_start + 130  
7 libsystem\_pthread.dylib 0x974adcf2 thread\_start + 34

Thread 10:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 11:  
0 libsystem\_kernel.dylib 0x95ef6046 \_\_workq\_kernreturn + 10  
1 libsystem\_pthread.dylib 0x974a9dcf \_pthread\_wqthread + 372  
2 libsystem\_pthread.dylib 0x974adcce start\_wqthread + 30

Thread 12:  
0 libsystem\_kernel.dylib 0x95ef57ca \_\_psynch\_cvwait + 10  
1 libsystem\_pthread.dylib 0x974aad8a \_pthread\_cond\_wait + 837  
2 libsystem\_pthread.dylib 0x974ab042 pthread\_cond\_timedwait\_relative\_np + 47  
3 com.apple.CoreServices.CarbonCore 0x9228cb2d TSWaitOnConditionTimedRelative + 161  
4 com.apple.CoreServices.CarbonCore 0x9228c6ea TSWaitOnSemaphoreCommon + 531  
5 com.apple.CoreServices.CarbonCore 0x9228c89d TSWaitOnSemaphoreRelative + 24  
6 com.apple.QuickTimeComponents.component 0x903421b1 0x900d5000 + 2544049  
7 libsystem\_pthread.dylib 0x974a85fb \_pthread\_body + 144  
8 libsystem\_pthread.dylib 0x974a8485 \_pthread\_start + 130  
9 libsystem\_pthread.dylib 0x974adcf2 thread\_start + 34

Thread 13:  
0 libsystem\_kernel.dylib 0x95ef57ca \_\_psynch\_cvwait + 10  
1 libsystem\_pthread.dylib 0x974aad8a \_pthread\_cond\_wait + 837  
2 libsystem\_pthread.dylib 0x974ab042 pthread\_cond\_timedwait\_relative\_np + 47  
3 com.apple.CoreServices.CarbonCore 0x9228cb2d TSWaitOnConditionTimedRelative + 161  
4 com.apple.CoreServices.CarbonCore 0x9228c6ea TSWaitOnSemaphoreCommon + 531  
5 com.apple.CoreServices.CarbonCore 0x9228c89d TSWaitOnSemaphoreRelative + 24  
6 com.apple.CoreServices.CarbonCore 0x922268ec AIOFileThread(void\*) + 1014  
7 libsystem\_pthread.dylib 0x974a85fb \_pthread\_body + 144  
8 libsystem\_pthread.dylib 0x974a8485 \_pthread\_start + 130  
9 libsystem\_pthread.dylib 0x974adcf2 thread\_start + 34

Thread 14:: com.apple.appkit-heartbeat  
0 libsystem\_kernel.dylib 0x95ef5b76 \_\_semwait\_signal + 10  
1 libsystem\_c.dylib 0x9b7a005b nanosleep$UNIX2003 + 219  
2 libsystem\_c.dylib 0x9b79ff06 usleep$UNIX2003 + 60  
3 com.apple.AppKit 0x92819ddc -[NSUIHeartBeat \_heartBeatThread:] + 2318  
4 com.apple.Foundation 0x94278f2e -[NSThread main] + 45  
5 com.apple.Foundation 0x94278e86 **NSThread\_\_main** + 1426  
6 libsystem\_pthread.dylib 0x974a85fb \_pthread\_body + 144  
7 libsystem\_pthread.dylib 0x974a8485 \_pthread\_start + 130  
8 libsystem\_pthread.dylib 0x974adcf2 thread\_start + 34

Thread 0 crashed with X86 Thread State (32-bit):  
eax: 0xffffffce ebx: 0x9737ce00 ecx: 0xffffffff edx: 0x00000000  
edi: 0x0064f250 esi: 0xbfffc1ec ebp: 0xbfffc1d8 esp: 0xbfffc1d0  
ss: 0x00000023 efl: 0x00010282 eip: 0x90b0a39b cs: 0x0000001b  
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f  
cr2: 0x000000cd

Logical CPU: 7  
Error Code: 0x00000004  
Trap Number: 14

---

<div class="post-metadata">

**Author:** ![Alexandre\_Amato](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_amato/32/7566_2.png) [@Alexandre\_Amato](https://forum.xojo.com/u/Alexandre_Amato)\
**Post date:** [October 27, 2013, 12:38pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/5 "2013-10-27T12:38:27Z")

</div>

External Modification Summary:  
Calls made by other processes targeting this process:  
task\_for\_pid: 11  
thread\_create: 0  
thread\_set\_state: 0  
Calls made by this process:  
task\_for\_pid: 0  
thread\_create: 0  
thread\_set\_state: 0  
Calls made by all processes on this machine:  
task\_for\_pid: 1053454  
thread\_create: 1  
thread\_set\_state: 0

VM Region Summary:  
ReadOnly portion of Libraries: Total=244.1M resident=76.1M(31%) swapped\_out\_or\_unallocated=168.1M(69%)  
Writable regions: Total=197.2M written=22.2M(11%) resident=63.8M(32%) swapped\_out=0K(0%) unallocated=133.4M(68%)

REGION TYPE VIRTUAL  
=========== =======  
CG backing stores 5020K  
CG image 1216K  
CG raster data 1376K  
CG shared images 244K  
CoreAnimation 2008K  
CoreAnimation (reserved) 24K reserved VM address space (unallocated)  
Foundation 4K  
IOKit 31.1M  
IOKit (reserved) 4K reserved VM address space (unallocated)  
Image IO 72K  
Kernel Alloc Once 4K  
MALLOC 142.2M  
MALLOC (admin) 48K  
Memory Tag 241 124K  
Memory Tag 242 12K  
Memory Tag 249 156K  
OpenCL 44K  
OpenGL GLSL 1280K  
Stack 70.7M  
VM\_ALLOCATE 20.9M  
\_\_DATA 31.6M  
\_\_IMAGE 528K  
\_\_LINKEDIT 46.0M  
\_\_OBJC 4100K  
\_\_PAGEZERO 4K  
\_\_TEXT 198.2M  
\_\_UNICODE 544K  
mapped file 83.7M  
shared memory 68K  
=========== =======  
TOTAL 640.8M  
TOTAL, minus reserved VM space 640.8M

---

<div class="post-metadata">

**Author:** ![Norman\_P](https://forum.xojo.com/letter_avatar_proxy/v4/letter/n/858c86/32.png) [@Norman\_P](https://forum.xojo.com/u/Norman_P)\
**Post date:** [October 27, 2013, 1:15pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/6 "2013-10-27T13:15:38Z")

</div>

[quote=42733:@Alexandre Amato]24 com.amato.gif2mov 0x0019a2ea REALbasic.MsgBox%%s + 74  
25 com.amato.gif2mov 0x00251a64 Window1.Window1.PushButton4\_Action%%o\<Window1.Window1\>o + 188[/quote]

I’d focus on whatever this Window1.Window1.PushButton4\_Action button is doing & the code that it subsequently causes to run as that looks like the origin in your application

---

<div class="post-metadata">

**Author:** ![Alexandre\_Amato](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_amato/32/7566_2.png) [@Alexandre\_Amato](https://forum.xojo.com/u/Alexandre_Amato)\
**Post date:** [October 27, 2013, 9:07pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/7 "2013-10-27T21:07:23Z")

</div>

That I already know… It crashes after running that code. It converts a movie file. But it finishes converting, saves the file, and return to the pushbutton action, then, any code after that, whatever it is, even a msgbox, crashes the app.

---

<div class="post-metadata">

**Author:** ![Alexandre\_Amato](https://forum.xojo.com/user_avatar/forum.xojo.com/alexandre_amato/32/7566_2.png) [@Alexandre\_Amato](https://forum.xojo.com/u/Alexandre_Amato)\
**Post date:** [October 27, 2013, 9:08pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/8 "2013-10-27T21:08:55Z")

</div>

thanks for trying to help !

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 4:54pm UTC](https://forum.xojo.com/t/debug-quit-unexpectedly/11908/9 "2020-10-29T16:54:45Z")

</div>


