[Debian GNUstep maintainers] Bug#568049: gnumail.app: GNUMail systematically segfaults at startup

Ian D. Leroux idleroux at fastmail.fm
Wed Feb 3 15:38:56 UTC 2010


On Wed, 03 Feb 2010 14:21 +0000, "Yavor Doganov" <yavor at gnu.org> wrote:
> Next: Please install libffi5-dbg and run Cynthiune in gdb.  Before
> starting it, do
> 
> (gdb) break -[NSException raise]
> 
> and when you reach the breakpoint, type "where".

(gdb) break -[NSException raise]
Function "-[NSException raise]" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (-[NSException raise]) pending.
(gdb) run
Starting program: /usr/bin/Cynthiune
[Thread debugging using libthread_db enabled]
Xlib:  extension "MIT-SHM" missing on display "localhost:10.0".

... usual complaints about X not making the window visible ...

Breakpoint 1, -[NSException raise] (self=0xc87470, _cmd=0x7ffff71782c0)
    at NSException.m:835
835     NSException.m: No such file or directory.
        in NSException.m
Current language:  auto
The current source language is "auto; currently objective-c".
(gdb) where
#0  -[NSException raise] (self=0xc87470, _cmd=0x7ffff71782c0)
    at NSException.m:835
#1  0x00007ffff6d8ce73 in +[NSException raise:format:arguments:] (
    self=0x7ffff7177e60, _cmd=0x7ffff7178290, name=0x7ffff71779c0,
    format=0x7ffff7150d40, argList=0x7fffffffcd70) at NSException.m:785
#2  0x00007ffff6d8cdc6 in +[NSException raise:format:]
(self=0x7ffff7177e60,
    _cmd=0x7ffff71519c0, name=0x7ffff71779c0, format=0x7ffff7150d40)
    at NSException.m:771
#3  0x00007ffff6d23c69 in -[NSAttributedString
attribute:atIndex:longestEffectiv                                       
                      eRange:inRange:] (self=0xc81840,
_cmd=0x7ffff786f1b0,
    attributeName=0x7ffff796a8d0, index=0, aRange=0x7fffffffcf30,
    rangeLimit=...) at NSAttributedString.m:453
#4  0x00007ffff73e46cb in -[NSMutableAttributedString(AppKit)
fixParagraphStyleA                                                      
       ttributeInRange:] (self=0xc81840, _cmd=0x7ffff786f0b0, range=...)
    at NSAttributedString.m:1201
#5  0x00007ffff73e3bc6 in -[NSMutableAttributedString(AppKit)
fixAttributesInRan                                                      
       ge:] (self=0xc81840, _cmd=0x7ffff793d3d0, range=...)
    at NSAttributedString.m:1010
#6  0x00007ffff7533774 in -[NSTextStorage invalidateAttributesInRange:]
(
    self=0xc81840, _cmd=0x7ffff793d350, range=...) at
    NSTextStorage.m:337
#7  0x00007ffff75332b7 in -[NSTextStorage processEditing]
(self=0xc81840,
    _cmd=0x7ffff793d2f0) at NSTextStorage.m:220
#8  0x00007ffff7532f0c in -[NSTextStorage endEditing] (self=0xc81840,
    _cmd=0x7ffff7925550) at NSTextStorage.m:128
#9  0x00007ffff75088f4 in cache_lookup_string (string=0xc5afc0,
    attributes=0xc61790, hasSize=0, size=..., useScreenFonts=1)
    at NSStringDrawing.m:290
#10 0x00007ffff7509ee1 in -[NSString(NSStringDrawing)
sizeWithAttributes:] (
    self=0xc5afc0, _cmd=0x7ffff7995260, attrs=0xc61790)
    at NSStringDrawing.m:651
#11 0x00007ffff75cd237 in -[GSTitleView titleSize] (self=0xc612e0,
    _cmd=0x7ffff78e2590) at GSTitleView.m:195
#12 0x00007ffff74a2914 in -[NSMenuView sizeToFit] (self=0xc60d50,
    _cmd=0x7ffff78e2610) at NSMenuView.m:692
#13 0x00007ffff74a3984 in -[NSMenuView rectOfItemAtIndex:]
(self=0xc60d50,
    _cmd=0x7ffff78e2620, index=5) at NSMenuView.m:913
#14 0x00007ffff74a4022 in -[NSMenuView setNeedsDisplayForItemAtIndex:] (
    self=0xc60d50, _cmd=0x7ffff78e22d0, index=5) at NSMenuView.m:963
#15 0x00007ffff74a1b1f in -[NSMenuView itemChanged:] (self=0xc60d50,
---Type <return> to continue, or q <return> to quit---
    _cmd=0x7ffff78e21d0, notification=0xc628c0) at NSMenuView.m:448
#16 0x00007ffff6dc04fc in -[NSNotificationCenter _postAndRelease:] (
    self=0x6bc210, _cmd=0x7ffff7192ab0, notification=0xc628c0)
    at NSNotificationCenter.m:1161
#17 0x00007ffff6dc0c46 in -[NSNotificationCenter postNotification:] (
    self=0x6bc210, _cmd=0x7ffff78de510, notification=0xc628c0)
    at NSNotificationCenter.m:1190
#18 0x00007ffff749d9a1 in -[NSMenu setMenuChangedMessagesEnabled:] (
    self=0xc5b0a0, _cmd=0x7ffff78de6c0, flag=1 '\001') at NSMenu.m:1269
#19 0x00007ffff749e492 in -[NSMenu initWithCoder:] (self=0xc5b0a0,
    _cmd=0x7ffff71c9330, aDecoder=0xaf7df0) at NSMenu.m:1442
#20 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
    self=0xaf7df0, _cmd=0x7ffff78e4b80, type=0x7ffff75f1020 "@",
    address=0xc5af50) at NSUnarchiver.m:654
#21 0x00007ffff74a981f in -[NSMenuItem initWithCoder:] (self=0xc5aee0,
    _cmd=0x7ffff71c9330, aDecoder=0xaf7df0) at NSMenuItem.m:648
#22 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
    self=0xaf7df0, _cmd=0x7ffff71c9250, type=0x7ffff6ebd051 "@",
    address=0xc32358) at NSUnarchiver.m:654
#23 0x00007ffff6e39c47 in -[NSUnarchiver
decodeArrayOfObjCType:count:at:] (
    self=0xaf7df0, _cmd=0x7ffff7134460, type=0x7ffff6ebd051 "@",
    expected=9,
    buf=0xc32340) at NSUnarchiver.m:557
#24 0x00007ffff6cd16d2 in -[GSMutableArray initWithCoder:]
(self=0xc322e0,
    _cmd=0x7ffff71c9330, aCoder=0xaf7df0) at GSArray.m:558
#25 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
    self=0xaf7df0, _cmd=0x7ffff715c870, type=0x7ffff6ec90a4 "@",
    address=0x7fffffffde50) at NSUnarchiver.m:654
#26 0x00007ffff6d3b28d in -[NSCoder decodeObject] (self=0xaf7df0,
    _cmd=0x7ffff78de970) at NSCoder.m:216
#27 0x00007ffff749e2d6 in -[NSMenu initWithCoder:] (self=0xc321b0,
    _cmd=0x7ffff71c9330, aDecoder=0xaf7df0) at NSMenu.m:1418
#28 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
    self=0xaf7df0, _cmd=0x7ffff715c870, type=0x7ffff6ec90a4 "@",
    address=0x7fffffffe050) at NSUnarchiver.m:654
#29 0x00007ffff6d3b28d in -[NSCoder decodeObject] (self=0xaf7df0,
    _cmd=0x7ffff78e4b90) at NSCoder.m:216
#30 0x00007ffff74a9847 in -[NSMenuItem initWithCoder:] (self=0xbf7670,
    _cmd=0x7ffff71c9330, aDecoder=0xaf7df0) at NSMenuItem.m:651
#31 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
---Type <return> to continue, or q <return> to quit---
    self=0xaf7df0, _cmd=0x7ffff7139110, type=0x7ffff6ebda97 "@",
    address=0x7fffffffe298) at NSUnarchiver.m:654
#32 0x00007ffff6cd991c in -[GSDictionary initWithCoder:] (self=0xbf2e40,
    _cmd=0x7ffff71c9330, aCoder=0xaf7df0) at GSDictionary.m:179
#33 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
    self=0xaf7df0, _cmd=0x7ffff798ccc0, type=0x7ffff75fe4c9 "@",
    address=0xbf1b28) at NSUnarchiver.m:654
#34 0x00007ffff75c0951 in -[GSNibContainer initWithCoder:]
(self=0xbf1b20,
    _cmd=0x7ffff71c9330, aCoder=0xaf7df0) at GSGormLoading.m:414
#35 0x00007ffff6e3a079 in -[NSUnarchiver decodeValueOfObjCType:at:] (
    self=0xaf7df0, _cmd=0x7ffff715c870, type=0x7ffff6ec90a4 "@",
    address=0x7fffffffe6b0) at NSUnarchiver.m:654
#36 0x00007ffff6d3b28d in -[NSCoder decodeObject] (self=0xaf7df0,
    _cmd=0x7ffff79a3a90) at NSCoder.m:216
#37 0x00007ffff75df7f5 in -[GSGormLoader
loadModelData:externalNameTable:withZone:] (self=0xaf5670,
_cmd=0x7ffff79a3b40, data=0xaf6c90, context=0xae7880,
    zone=0x7ffff71e50a0) at GSGormLoader.m:74
#38 0x00007ffff75dfb66 in -[GSGormLoader
loadModelFile:externalNameTable:withZone:] (self=0xaf5670,
_cmd=0x7ffff787f640, fileName=0xaf56d0, context=0xae7880,
    zone=0x7ffff71e50a0) at GSGormLoader.m:134
#39 0x00007ffff740b0f8 in +[NSBundle(NSBundleAdditions)
loadNibFile:externalName                                                
             Table:withZone:] (self=0x7ffff7154b00, _cmd=0x7ffff787f740,
fileName=0xaf56d0,
    context=0xae7880, zone=0x7ffff71e50a0) at NSBundleAdditions.m:236
#40 0x00007ffff740b6d8 in -[NSBundle(NSBundleAdditions)
loadNibFile:externalName                                                
             Table:withZone:] (self=0x9abe70, _cmd=0x7ffff787f690,
fileName=0x9b09b0,
    context=0xae7880, zone=0x7ffff71e50a0) at NSBundleAdditions.m:337
#41 0x00007ffff740b28a in +[NSBundle(NSBundleAdditions)
loadNibNamed:owner:] (
    self=0x7ffff7154b00, _cmd=0x7ffff786ae70, aNibName=0x9b09b0,
    owner=0x9c7db0) at NSBundleAdditions.m:275
#42 0x00007ffff73d82ce in -[NSApplication finishLaunching]
(self=0x9c7db0,
    _cmd=0x7ffff786b160) at NSApplication.m:954
#43 0x00007ffff73d9cb6 in -[NSApplication run] (self=0x9c7db0,
    _cmd=0x7ffff785ae60) at NSApplication.m:1391
#44 0x00007ffff73bcb24 in NSApplicationMain (argc=1,
argv=0x7fffffffeb38)
    at Functions.m:74
#45 0x00007ffff63c4abd in __libc_start_main () from /lib/libc.so.6
#46 0x0000000000403f39 in _start ()
(gdb)





More information about the pkg-GNUstep-maintainers mailing list