Crash, and crash again
Crash, and crash again
- Subject: Crash, and crash again
- From: Julien Dufour <email@hidden>
- Date: Thu, 20 Dec 2001 14:42:05 +0100
Hello everybody
I periodically endure "crash period" I can't explain during the
development of a Cocoa Java application...
I can work peacefully most of the time, but crashes suddenly appear for
a while, and disappear (or look to) without explaination ... until next
time.
The application I am working on is pretty simple, I only use common
Foundation/AppKit components at this time: windows, table view, sheet,
toolbar, user defauts, property list...
Moreover, crashes seem random... Sometimes, one click in a table view is
enough, sometime I can play longer. I have not been able to certainly
reproduce any case...
According to crash report, most of crashes are caused by the JVM and
occur when a Java method is called though JavaBridge. I put a example of
the a kind of crash I often get, where a function named
JVM_GetCPFieldSignatureUTF is involved... (JVM_*UTF* functions are ofter
involved...).
Any suggestion?
Thanks
-----
This crash occured as I was changing the selection of a table view with
an arrow key. Selection was changed many times before the crash, using
mouse and keyboard. The same action has been done at least 20 times
serialy before the crash...
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x1b7a5788
Thread 0 Crashed:
#0 0x760e5458 in JVM_GetCPFieldSignatureUTF
#1 0x761002b8 in JVM_DoPrivileged
#2 0x76119ac4 in JVM_DefineClass
#3 0x76106028 in JVM_GetMethodIxExceptionsCount
#4 0x761ddbd8 in jio_vsnprintf
#5 0x73ad83a0 in __JAVAMethodInvoke
#6 0x73ad8738 in JAVAMethodInvokeInt
#7 0x73ade6d8 in _NSInvokeJavaMethod
#8 0x73adaca0 in _BRIDGEMethodImp
#9 0x70ba4148 in -[NSTableView numberOfRows]
#10 0x70bb557c in -[NSTableView rectOfRow:]
#11 0x70bb5d48 in -[NSTableView _locationOfRow:]
#12 0x70bb10b8 in -[NSTableView frameOfCellAtColumn:row:]
#13 0x70ba3230 in -[NSTableView drawRow:clipRect:]
#14 0x70bba4cc in -[NSTableView drawRect:]
#15 0x70c39cf8 in -[NSView _drawRect:clip:]
#16 0x70bac7d0 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#17 0x70baca00 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#18 0x70baca00 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#19 0x70baca00 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#20 0x70baca00 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#21 0x70bb0760 in -[NSFrameView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#22 0x70bac4bc in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:
topView:]
#23 0x70be25c8 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
#24 0x70bfc4fc in -[NSView displayIfNeeded]
#25 0x70c06040 in -[NSWindow displayIfNeeded]
#26 0x70be31f0 in _handleWindowNeedsDisplay
#27 0x7017b9c8 in __CFRunLoopDoObservers
#28 0x7017bcf8 in __CFRunLoopRun
#29 0x701b6ba0 in CFRunLoopRunSpecific
#30 0x7017b804 in CFRunLoopRunInMode
#31 0x7312d614 in RunEventLoopInModeUntilEventArrives
#32 0x731404f8 in ReceiveNextEventCommon
#33 0x73171340 in BlockUntilNextEventMatchingListInMode
#34 0x70bd70b8 in _DPSNextEvent
#35 0x70bfe5d8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#36 0x70c23468 in -[NSApplication run]
#37 0x70c91ed0 in NSApplicationMain
#38 0x00002eb4 in main
#39 0x00002dd8 in _start
#40 0x00002c08 in start
--
Julien Dufour