This is a strange problem.
I'm trying to erase and replace a line (object) in a table.
If i use the script to erase and add the insert on the end of the tables contents, everything works,
but if I try and insert where the line was deleted, the whole thing freezes.
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys000
sharedlibrary apply-load-rules all
[Switching to process 946 thread 0x0]
2011-08-08 11:02:02.789 Santa's Alarm Clock[946:707] Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions: dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions: mach-o, but wrong architecture
Santa's Alarm Clock: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/QXPScriptingAdditions.osax" declares no loadable handlers.
Santa's Alarm Clock(946,0x10d280000) malloc: *** auto malloc[946]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
Santa's Alarm Clock(946,0x10d3c9000) malloc: *** auto malloc[946]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
Santa's Alarm Clock(946,0x10d3c9000) malloc: *** auto malloc[946]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
Santa's Alarm Clock(946,0x10d3c9000) malloc: *** auto malloc[946]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
Santa's Alarm Clock(946,0x10d3c9000) malloc: *** auto malloc[946]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.
2011-08-08 11:02:24.470 Santa's Alarm Clock[946:707] *** -[Table_TimeAppDelegate editChosenAlarm:]: Can’t make theActiveColumn of {{theVolumeColumn:"60", theWeeksColumn:"First Week", thePlaylistColumn:"Gregorian 1", theDisplayFlagColumn:1, theMessageDisplayColumn:"30 minutes", theTypeColumn:"Yearly", theSpeakColumn:1, theDayStoreColumn:"Not Applicable", theTextColumn:"this is a test", theMonthsColumn:"April", theActiveColumn:1, theStartDateColumn:«class ocid» id «data kptr000000000D0000F89E90B441», theVoiceColumn:"Princess", theiTunesColumn:1, thePlayListRandomColumn:1}} into type integer. (error -1700)
2011-08-08 11:02:24.477 Santa's Alarm Clock[946:707] [<__NSArrayM 0x401593ee0> addObserver:forKeyPath:options:context:] is not supported. Key path: theTextColumn
2011-08-08 11:02:24.481 Santa's Alarm Clock[946:707] (
0 CoreFoundation 0x00007fff90a08986 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8db2ad5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff90a087ba +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff90a08744 +[NSException raise:format:] + 116
4 Foundation 0x00007fff8cf14d16 -[NSArray(NSKeyValueObserverRegistration) addObserver:forKeyPath:options:context:] + 78
5 AppKit 0x00007fff91e55ddd -[_NSModelObservingTracker _registerOrUnregister:observerNotificationsForModelObject:] + 276
6 AppKit 0x00007fff924f51d7 -[_NSModelObservingTracker startObservingModelObjectAtReferenceIndex:] + 177
7 AppKit 0x00007fff924f4526 -[_NSModelObservingTracker setObservingToModelObjectsRange:] + 471
8 AppKit 0x00007fff923d69b3 -[NSTableBinder tableView:updateVisibleRowInformation:] + 51
9 AppKit 0x00007fff924f2ef3 -[_NSBindingAdaptor tableView:updateVisibleRowInformation:] + 161
10 AppKit 0x00007fff91f262c8 -[NSTableView drawRect:] + 323
11 AppKit 0x00007fff91e8d768 -[NSView _drawRect:clip:] + 3758
12 AppKit 0x00007fff91ebb131 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
13 AppKit 0x00007fff91ebb55d -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
14 AppKit 0x00007fff91ebb55d -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
15 AppKit 0x00007fff91e8ad46 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
16 AppKit 0x00007fff91e8bffb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
17 AppKit 0x00007fff91e8bffb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
18 AppKit 0x00007fff91e8a23c -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
19 AppKit 0x00007fff91e8564a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
20 AppKit 0x00007fff91e7e093 -[NSView displayIfNeeded] + 1676
21 AppKit 0x00007fff91e7d7d3 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
22 CoreFoundation 0x00007fff909c8647 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
23 CoreFoundation 0x00007fff909c85a6 __CFRunLoopDoObservers + 374
24 CoreFoundation 0x00007fff9099d889 __CFRunLoopRun + 825
25 CoreFoundation 0x00007fff9099d216 CFRunLoopRunSpecific + 230
26 HIToolbox 0x00007fff970234ff RunCurrentEventLoopInMode + 277
27 HIToolbox 0x00007fff9702ab73 ReceiveNextEventCommon + 181
28 HIToolbox 0x00007fff9702aaae BlockUntilNextEventMatchingListInMode + 62
29 AppKit 0x00007fff91e42191 _DPSNextEvent + 659
30 AppKit 0x00007fff91e41a95 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
31 AppKit 0x00007fff91e3e3d6 -[NSApplication run] + 463
32 AppKit 0x00007fff920bc52a NSApplicationMain + 867
33 Santa's Alarm Clock 0x0000000100000eef main + 79
34 Santa's Alarm Clock 0x0000000100000e94 start + 52
35 ??? 0x0000000000000001 0x0 + 1
)
2011-08-08 11:02:26.996 Santa's Alarm Clock[946:707] Cannot create BOOL from object (
1
) of class __NSArrayI
2011-08-08 11:02:27.000 Santa's Alarm Clock[946:707] (
0 CoreFoundation 0x00007fff90a08986 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8db2ad5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff90a087ba +[NSException raise:format:arguments:] + 106
3 AppKit 0x00007fff92044aac _NSBoolFromValue + 421
4 AppKit 0x00007fff924fa2a9 -[_NSCheckBoxPlugin showValue:inObject:] + 155
5 AppKit 0x00007fff9206b261 -[NSValueBinder _adjustObject:mode:observedController:observedKeyPath:context:editableState:adjustState:] + 901
6 AppKit 0x00007fff924b3aee -[NSValueBinder updateTableColumnDataCell:forDisplayAtIndex:] + 145
7 AppKit 0x00007fff924f330d -[_NSBindingAdaptor tableColumn:willDisplayCell:row:] + 112
8 AppKit 0x00007fff91f19948 -[NSTableView preparedCellAtColumn:row:] + 654
9 AppKit 0x00007fff91f2a787 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 42
10 AppKit 0x00007fff91f28cbe -[NSTableView drawRow:clipRect:] + 1647
11 AppKit 0x00007fff91f2849b -[NSTableView drawRowIndexes:clipRect:] + 565
12 AppKit 0x00007fff91f266f3 -[NSTableView drawRect:] + 1390
13 AppKit 0x00007fff91e8d768 -[NSView _drawRect:clip:] + 3758
14 AppKit 0x00007fff91ebb131 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
15 AppKit 0x00007fff91ebb55d -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
16 AppKit 0x00007fff91ebb55d -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
17 AppKit 0x00007fff91e8ad46 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
18 AppKit 0x00007fff91e8bffb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
19 AppKit 0x00007fff91e8bffb -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5821
20 AppKit 0x00007fff91e8a23c -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
21 AppKit 0x00007fff91e8564a -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
22 AppKit 0x00007fff91e7e093 -[NSView displayIfNeeded] + 1676
23 AppKit 0x00007fff91e7d7d3 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
24 CoreFoundation 0x00007fff909c8647 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
25 CoreFoundation 0x00007fff909c85a6 __CFRunLoopDoObservers + 374
26 CoreFoundation 0x00007fff9099d889 __CFRunLoopRun + 825
27 CoreFoundation 0x00007fff9099d216 CFRunLoopRunSpecific + 230
28 HIToolbox 0x00007fff970234ff RunCurrentEventLoopInMode + 277
29 HIToolbox 0x00007fff9702ab73 ReceiveNextEventCommon + 181
30 HIToolbox 0x00007fff9702aaae BlockUntilNextEventMatchingListInMode + 62
31 AppKit 0x00007fff91e42191 _DPSNextEvent + 659
32 AppKit 0x00007fff91e41a95 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
33 AppKit 0x00007fff91e3e3d6 -[NSApplication run] + 463
34 AppKit 0x00007fff920bc52a NSApplicationMain + 867
35 Santa's Alarm Clock 0x0000000100000eef main + 79
36 Santa's Alarm Clock 0x0000000100000e94 start + 52
37 ??? 0x0000000000000001 0x0 + 1