Skip to content

Instantly share code, notes, and snippets.

@torarnv
Created November 10, 2010 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torarnv/670683 to your computer and use it in GitHub Desktop.
Save torarnv/670683 to your computer and use it in GitHub Desktop.
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000deadbeef
0x000000010020a660 in -[NSObject(AIObjectDebug) doesNotRecognizeSelector:] (self=0x1042480c0, _cmd=0x7fff88469bec, aSelector=0x1002183d0) at /Users/torarne/dev/adium/Source/AIObjectDebug.m:54
54 *((int*)0xdeadbeef) = 42;
(gdb) bt 10
#0 0x000000010020a660 in -[NSObject(AIObjectDebug) doesNotRecognizeSelector:] (self=0x1042480c0, _cmd=0x7fff88469bec, aSelector=0x1002183d0) at /Users/torarne/dev/adium/Source/AIObjectDebug.m:54
#1 0x00007fff83cdbcdf in ___forwarding___ ()
#2 0x00007fff83cd7e28 in __forwarding_prep_0___ ()
#3 0x00000001007bb134 in -[AIAbstractListController outlineView:isItemExpandable:] (self=0x1150481c0, _cmd=0x7fff8842bd47, outlineView=0x11503d0c0, item=0x1042480c0) at /Users/torarne/dev/adium/Frameworks/Adium Framework/Source/AIAbstractListController.m:676
#4 0x00007fff87db11db in -[NSOutlineView _dataSourceIsItemExpandable:] ()
#5 0x00007fff87db104e in loadItemEntryLazyInfoIfNecessary ()
#6 0x00007fff87db29dc in -[NSOutlineView itemAtRow:] ()
#7 0x00007fff87db2837 in -[NSOutlineView _sendDelegateHeightOfRow:] ()
#8 0x00007fff87db26ce in -[NSTableView _uncachedRectHeightOfRow:] ()
#9 0x00007fff87db25b4 in -[_NSTableRowHeightStorage _cacheRowHeightsIntoBucket:bucketFirstRowIndex:lastCacheableRowIndex:] ()
#10 0x00007fff87db24a2 in -[_NSTableRowHeightStorage createAndCacheRowHeightSumsIfNecessary] ()
#11 0x00007fff87db22d9 in -[_NSTableRowHeightStorage computeTableHeight] ()
#12 0x00007fff87dab2a1 in -[NSTableView _minimumFrameSize] ()
#13 0x00007fff87dad85e in -[NSTableView tile] ()
#14 0x00007fff87db2cae in -[NSTableView _rectOfRowAssumingRowExists:] ()
#15 0x00007fff87db2c3a in -[NSTableView rectOfRow:] ()
(More stack frames follow...)
(gdb) f 3
#3 0x00000001007bb134 in -[AIAbstractListController outlineView:isItemExpandable:] (self=0x1150481c0, _cmd=0x7fff8842bd47, outlineView=0x11503d0c0, item=0x1042480c0) at /Users/torarne/dev/adium/Frameworks/Adium Framework/Source/AIAbstractListController.m:676
676 return (!item || ([item.listObject conformsToProtocol:@protocol(AIContainingObject)] &&
(gdb) f 0
#0 0x000000010020a660 in -[NSObject(AIObjectDebug) doesNotRecognizeSelector:] (self=0x1042480c0, _cmd=0x7fff88469bec, aSelector=0x1002183d0) at /Users/torarne/dev/adium/Source/AIObjectDebug.m:54
54 *((int*)0xdeadbeef) = 42;
(gdb) l
49 return;
50 } else {
51 NSLog(@"%@ of class %@ does not respond to selector %@", self, [self class], NSStringFromSelector(aSelector));
52 }
53 __crashreporter_info__ = (char *)[[NSString stringWithFormat:@"Dear crash reporter team: We only put stuff here in debug builds of Adium. Don't Panic, it won't ship in a release unless there's public API for it.\n\n %@ of class %@ does not respond to selector %s", self, [self class], aSelector] cStringUsingEncoding:NSASCIIStringEncoding];
54 *((int*)0xdeadbeef) = 42;
55 }
56
57 @end
58 #endif
(gdb) f 3
#3 0x00000001007bb134 in -[AIAbstractListController outlineView:isItemExpandable:] (self=0x1150481c0, _cmd=0x7fff8842bd47, outlineView=0x11503d0c0, item=0x1042480c0) at /Users/torarne/dev/adium/Frameworks/Adium Framework/Source/AIAbstractListController.m:676
676 return (!item || ([item.listObject conformsToProtocol:@protocol(AIContainingObject)] &&
(gdb) p item
$2 = (AIProxyListObject *) 0x1042480c0
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment