From: Javier S. <jav...@ri...> - 2007-10-25 15:15:26
|
Hi All, I've got an application that continuously polls values from several servers launching threads via a timer (ruby threads) that get the value and die and refreshing a window when new data is available. The refreshing is done with bindings. The app works ok for some time but eventually it crashes. The app is using ruby arrays and dictionaries (which hold numbers and strings) and I relay on the bridge to provide the GUI with Objective-C versions This is the stack trace. The biggest problem is that I don't even know how to start debugging this problem, nor how to get useful data for the development team. Any tips on how to tackle this will be appreciated. #0 0x92c6acb4 in NSKVOPendingNotificationRelease #1 0x907c10cc in __CFArrayReleaseValues #2 0x907c00b8 in _CFArrayReplaceValues #3 0x907f4a1c in CFArrayRemoveValueAtIndex #4 0x92befaec in -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] #5 0x0004224c in ffi_call_DARWIN #6 0x00041d84 in ffi_call #7 0x0003fbcc in rb_ffi_dispatch #8 0x0002c4b8 in objcptr_cptr #9 0x0002d060 in init_mdl_OCObjWrapper #10 0x00042034 in ffi_closure_helper_DARWIN #11 0x00042324 in ffi_closure_ASM #12 0x00225c7c in rb_call0 #13 0x002267f4 in rb_call #14 0x0022388c in rb_eval #15 0x002262dc in rb_call0 #16 0x002267f4 in rb_call #17 0x0023102c in rb_apply #18 0x00219f50 in rb_protect #19 0x00033704 in rbobj_call_ruby #20 0x00033bd4 in rbobj_call_ruby #21 0x00033014 in ovmix_register_ruby_method #22 0x00031990 in init_ovmix #23 0x92bd5040 in -[NSObject(NSForwardInvocation) forward::] #24 0x90a450b0 in _objc_msgForward #25 0x0004224c in ffi_call_DARWIN #26 0x00041d84 in ffi_call #27 0x0003fbcc in rb_ffi_dispatch |