From: Brian M. <ma...@vi...> - 2003-02-01 14:17:41
|
The following is a stack dump I get from a RubyCocoa app when I click in on an OutlineView entry. I'll do some more digging when I get time, but I want to check if this is a known bug. The app has a main window with various things in it, including a TableView. There's another window with an OutlineView. The OutlineView has three objects. You can get the core dump these ways: 1. Cycling through the three outline view elements, clicking on them one at a time. On the 19th (consistently), this crash happens. 2. Cycling among two of them (elt 1, elt2, elt1, elt2, ...) does not cause the crash until you then click on the 3rd. Then the crash happens. I went as high as 34 clicks without a crash. 3. Cycling through the two elements of the TableView does not cause the crash. But if you do 18 clicks on TableView elements, then click on an OutlineView element (the 19th click), you get the crash. 4. If you cycle through the two TableView elements 17 times, then click on an OutlineView element for the 18th click, you don't get a crash. But then clicking again on a different OutlineView element (the 19th click) crashes. The stack dumps always look like this: #0 0x9068ba50 in objc_msgSend #1 0x001915fc in ocid_get_rbobj #2 0x0016da00 in ocid_to_rbobj #3 0x0016d194 in ocdata_to_rbobj #4 0x0016f80c in override_mixin_class_method_list #5 0x0016f9dc in override_mixin_class_method_list #6 0x0016fd74 in override_mixin_class_method_list #7 0x0016ec74 in rbobj_to_ocdata #8 0x907f10b4 in -[NSObject(NSForwardInvocation) forward::] #9 0x9068c130 in _objc_msgForward #10 0x93122068 in -[NSTableView mouseDown:] #11 0x931b0c6c in -[NSOutlineView mouseDown:] #12 0x930c0888 in -[NSWindow sendEvent:] #13 0x930a8788 in -[NSApplication sendEvent:] #14 0x930b1608 in -[NSApplication run] #15 0x9315f6b8 in NSApplicationMain #16 0x0017158c in init_NSAppleScript #17 0x001a0c50 in rb_stack_check #18 0x001a159c in rb_stack_check #19 0x0019b640 in rb_alias #20 0x00197698 in ruby_run #21 0x001702f4 in RBApplicationMain #22 0x00001d9c in main at main.m:13 ----- Brian Marick Consulting, training, contracting, and research Focused on the intersection of testing, programming, and design ma...@te..., ma...@vi... www.testing.com, www.visibleworkings.com "Act always so as to increase the number of choices." -- Heinz von Foerster |