Fri 29 Oct 2010 02:29:31 PM UTC, original submission:
Hi,
on OpenBSD 4.8 -current TimeMon crashes I'd say by a chance of 1 out of four on startup. When it crashes, the crasher is always in the same place:
Program received signal SIGSEGV, Segmentation fault.
[Switching to process 954, thread 0x88b16400]
objc_msg_lookup (receiver=0x7d080d40, op=0x25e6c5f8) at /usr/src/gnu/usr.bin/cc/libobjc/../../../gcc/libobjc/sendmsg.c:213
213 /usr/src/gnu/usr.bin/cc/libobjc/../../../gcc/libobjc/sendmsg.c: No such file or directory.
in /usr/src/gnu/usr.bin/cc/libobjc/../../../gcc/libobjc/sendmsg.c
(gdb) bt
#0 objc_msg_lookup (receiver=0x7d080d40, op=0x25e6c5f8) at /usr/src/gnu/usr.bin/cc/libobjc/../../../gcc/libobjc/sendmsg.c:213
#1 0x05fceb18 in -[NSTextStorage removeLayoutManager:] (self=0x809d7cc8, _cmd=0x25ea5a18, obj=0x81785008) at NSTextStorage.m:103
#2 0x0605d489 in -[GSLayoutManager replaceTextStorage:] (self=0x81785008, _cmd=0x3c002730, newTextStorage=0x851d4548) at GSLayoutManager.m:2941
#3 0x1c0022b6 in -[Percentages awakeFromNib] (self=0x8512dd08, _cmd=0x25ea8c28) at Percentages.m:91
#4 0x0606a05d in -[GSNibContainer awakeWithContext:] (self=0x7eb06488, _cmd=0x25eb53d0, context=0x7eb06288) at GSGormLoading.m:257
#5 0x06081de4 in -[GSGormLoader loadModelData:externalNameTable:withZone:] (self=0x7cd25e98, _cmd=0x25e325b0, data=0x8633dde8, context=0x7eb06288, zone=0x2a18b280)
at GSGormLoader.m:87
#6 0x05f49556 in -[NSNib instantiateNibWithExternalNameTable:withZone:] (self=0x8633dbe8, _cmd=0x25debe40, externalNameTable=0x7eb06288, zone=0x2a18b280) at NSNib.m:153
#7 0x05eabe55 in +[NSBundle(NSBundleAdditions) loadNibFile:externalNameTable:withZone:] (self=0x2a1302e0, _cmd=0x25debec0, fileName=0x818e2808, context=0x7eb06288,
zone=0x2a18b280) at NSBundleAdditions.m:236
#8 0x05eab7e1 in -[NSBundle(NSBundleAdditions) loadNibFile:externalNameTable:withZone:] (self=0x8a6f5e88, _cmd=0x25debe68, fileName=0x833f3bc8, context=0x7eb06288,
zone=0x2a18b280) at NSBundleAdditions.m:339
#9 0x05eabce1 in +[NSBundle(NSBundleAdditions) loadNibNamed:owner:] (self=0x2a1302e0, _cmd=0x25dddc30, aNibName=0x833f3bc8, owner=0x8a83fb08) at NSBundleAdditions.m:267
#10 0x05e83b12 in -[NSApplication finishLaunching] (self=0x8a83fb08, _cmd=0x25ddddd0) at NSApplication.m:998
#11 0x05e80570 in -[NSApplication run] (self=0x8a83fb08, _cmd=0x25dd3c80) at NSApplication.m:1506
#12 0x05e61eb3 in NSApplicationMain (argc=1, argv=0xcfbed918) at Functions.m:74
#13 0x1c004604 in gnustep_base_user_main (argc=1, argv=0xcfbed918) at TimeMon_main.m:9
#14 0x0a2a3d4e in main (argc=1, argv=Cannot access memory at address 0x120007
) at NSProcessInfo.m:933
#15 0x1c001187 in ___start ()
#16 0x1c001107 in _start ()
#17 0x00000000 in ?? ()
(gdb) frame 1
#1 0x05fceb18 in -[NSTextStorage removeLayoutManager:] (self=0x809d7cc8, _cmd=0x25ea5a18, obj=0x81785008) at NSTextStorage.m:103
103 [_layoutManagers removeObjectIdenticalTo: obj];
Current language: auto; currently minimal
(gdb) list
98 }
99
100 - (void) removeLayoutManager: (GSLayoutManager*)obj
101 {
102 [obj setTextStorage: nil];
103 [_layoutManagers removeObjectIdenticalTo: obj];
104 }
105
106 - (NSArray*) layoutManagers
107 {
(gdb) print obj
$1 = (class GSLayoutManager *) 0x81785008
(gdb) po obj
<NSLayoutManager: 0x81785008>
(gdb) print *obj
$2 = {{isa = 0x25e24bc0}, _textStorage = 0x0, _glyphGenerator = 0x7d9fc348, _delegate = 0x0, usesScreenFonts = 1 '\001', backgroundLayoutEnabled = 0 '\0',
showsInvisibleCharacters = 0 '\0', showsControlCharacters = 0 '\0', typesetter = 0x88618508, glyphs = 0x7df50000, glyph_num_end_runs = 0, layout_glyph = 0, layout_char = 0,
textcontainers = 0x809d7b40, num_textcontainers = 1, extra_rect = {origin = {x = 0, y = 0}, size = {width = 0, height = 0}}, extra_used_rect = {origin = {x = 0, y = 0}, size = {
width = 0, height = 0}}, extra_textcontainer = 0x0, rect_array = 0x0, rect_array_size = 0, cached_run = 0x0, cached_pos = 0, cached_cpos = 0}
This happens to me on OpenBSD 4.8 current, on i386, with the following gnustep packages installed:
gnustep-back-0.18.0p3 GNUstep gui backend
gnustep-base-1.20.1p0 GNUstep base library
gnustep-examples-1.3.0p2 GNUstep example applications
gnustep-gui-0.18.0p1 GNUstep gui library
gnustep-make-2.4.0p1 GNUstep makefile package
whereas the gnustep backend is the cairo backend
|