[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird Text crash (profile, static build.)
From: |
Michael Hanni |
Subject: |
Re: Weird Text crash (profile, static build.) |
Date: |
Thu, 24 Apr 2003 14:23:33 -0700 (PDT) |
Hi,
I'm not sure if this interests anyone, but if nothing else, I'm sure learning
alot of new gdb commands. :-)
I'm beginning to suspect that a static, debug, profile build is a lost cause.
Breakpoint 4, 0x100ea488 in -[NSTextStorage invalidateAttributesInRange:] (
self=0x10a52430, _cmd=0x10806a40, range=
{location = 196616, length = 275269148}) at NSTextStorage.m:336
336 {
(gdb) bt
#0 0x100ea488 in -[NSTextStorage invalidateAttributesInRange:] (
self=0x10a52430, _cmd=0x10806a40, range=
{location = 196616, length = 275269148}) at NSTextStorage.m:336
#1 0x100e9e50 in -[NSTextStorage processEditing] (self=0x10a52430,
_cmd=0x10806a40) at NSTextStorage.m:220
#2 0x100e9cd0 in -[NSTextStorage edited:range:changeInLength:] (
self=0x10a52430, _cmd=0x10806a40, mask=2147477504, old=
{location = 0, length = 0}, delta=272508316) at NSTextStorage.m:176
#3 0x10129768 in -[GSTextStorage replaceCharactersInRange:withString:] (
self=0x10a52430, _cmd=0x10806a40, range={location = 0, length = 0},
aString=0x7fffe800) at GSTextStorage.m:815
#4 0x100c1e18 in -[NSAttributedString(NSStringDrawing) size] (
self=0x10a52430, _cmd=0x10806a40) at NSStringDrawing.m:200
#5 0x100c22e4 in -[NSString(NSStringDrawing) sizeWithAttributes:] (
self=0x10a52430, _cmd=0x10806a40, attrs=0x7fffe800)
at NSStringDrawing.m:252
#6 0x1007fac8 in -[NSMenuWindowTitleView titleSize] (self=0x10a52430,
_cmd=0x10806a40) at NSMenuView.m:1446
#7 0x1007bb90 in -[NSMenuView sizeToFit] (self=0x10a52430, _cmd=0x10806a40)
at NSMenuView.m:527
#8 0x1007b83c in -[NSMenuView update] (self=0x10a52430, _cmd=0x10806a40)
at NSMenuView.m:485
#9 0x1007a16c in -[NSMenuView setMenu:] (self=0x10a52430, _cmd=0x10806a40,
menu=0x7fffe800) at NSMenuView.m:213
#10 0x100733c0 in -[NSMenu initWithTitle:] (self=0x10a52430, _cmd=0x10806a40,
aTitle=0x7fffe800) at NSMenu.m:337
#11 0x10072e74 in -[NSMenu init] (self=0x10a52430, _cmd=0x10806a40)
at NSMenu.m:286
#12 0x102e9e04 in +[NSObject new] (self=0x10a52430, _cmd=0x10806a40)
at NSObject.m:949
#13 0x1000047c in -[MyDelegate applicationWillFinishLaunching:] (
self=0x10a52430, _cmd=0x10806a40, not=0x7fffe800) at main.m:54
#14 0x102dc7c0 in -[NSNotificationCenter _postAndRelease:] (self=0x10a52430,
_cmd=0x10806a40, notification=0x7fffe800) at NSNotificationCenter.m:1167
#15 0x102dcb54 in -[NSNotificationCenter postNotificationName:object:userInfo:]
(self=0x10a52430, _cmd=0x10806a40, name=0x7fffe800, object=0x103e259c,
info=0x0) at NSNotificationCenter.m:1237
#16 0x102dc998 in -[NSNotificationCenter postNotificationName:object:] (
self=0x10a52430, _cmd=0x10806a40, name=0x7fffe800, object=0x103e259c)
at NSNotificationCenter.m:1217
#17 0x1000c00c in -[NSApplication finishLaunching] (self=0x10a52430,
_cmd=0x10806a40) at NSApplication.m:746
#18 0x1000d884 in -[NSApplication run] (self=0x10a52430, _cmd=0x10806a40)
at NSApplication.m:1050
#19 0x10004a8c in NSApplicationMain (argc=279258160, argv=0x10806a40)
at Functions.m:72
What the hell is with that argc? It seems like all these values are corrupted.
Anyhow, I'm going to toss everything and try building from scratch.
Michael