realbasic-nug
[Top] [All Lists]

Application crashes often

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Application crashes often
From: Arnaud Nicolet <anic297@mac.com>
Date: Wed, 01 Apr 2009 01:03:12 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I have a complex application that often crashes just after the main window is shown. It crashes almost every time (only some times, when I quickly click on the menu bar while the window opens, it seems the crash is avoided).

This is the report I always get:
Process:         Msgs40 [5579]
Path:            /Users/Anic/RB/Msgs40/Msgs40.app/Contents/MacOS/Msgs40
Identifier:      com.amug.msgs40
Version:         2.3 (2.3.0b75)
Code Type:       X86 (Native)
Parent Process:  launchd [158]

Date/Time:       2009-04-01 00:57:26.937 +0200
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000021
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                     0x95c2d688 objc_msgSend + 24
1 com.apple.CoreFoundation 0x93c77b25 CFRunLoopRunSpecific + 4469
2   com.apple.CoreFoundation            0x93c77cd8 CFRunLoopRunInMode + 88
3 com.apple.HIToolbox 0x92fb12c0 RunCurrentEventLoopInMode + 283 4 com.apple.HIToolbox 0x92fb10d9 ReceiveNextEventCommon + 374
5   com.apple.HIToolbox                 0x930f446b ReceiveNextEvent + 58
6 rbframework.dylib 0x005e3b82 SetFocusPane(SubPane*) + 458 7 rbframework.dylib 0x005e3e89 EventPump(unsigned char) + 435
8   rbframework.dylib                   0x005e4d55 UpdateMouseCursor() + 555
9   rbframework.dylib                   0x005e4265 IsAppShuttingDown() + 53
10 rbframework.dylib 0x005e42ea CallFunctionWithExceptionHandling(void (*)()) + 14
11  rbframework.dylib                   0x005e490a mainloop() + 118
12  rbframework.dylib                   0x00593203 RuntimeRun + 47
13  com.amug.msgs40                     0x00008555 REALbasic._RuntimeRun + 34
14  com.amug.msgs40                     0x0000327f _Main + 73
15  com.amug.msgs40                     0x00001514 % main + 36
16  com.amug.msgs40                     0x003a0ca2 _start + 116
17  com.amug.msgs40                     0x003a0bf8 start + 43

The only thing I seem to understand is that this problem is related to how RB runs a cycle of loop (perhaps a main thread's WaitNextEvent call?).

Is there something to understand in this crash log?

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>