discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error while opening AddressManager


From: Sebastian Reitenbach
Subject: Re: error while opening AddressManager
Date: Fri, 27 Jan 2012 18:50:02 +0100
User-agent: SOGoMail 1.3.11

On Friday, January 27, 2012 13:11 CET, Riccardo Mottola 
<riccardo.mottola@libero.it> wrote:

> Hi,
>
> AddressManager of Addresses stopped working with current release:
>
> On linux, gcc 4.6.2, I get:
>
> 2012-01-27 13:08:22.424 AddressManager[4922] Exception occured while 
> loading model: aString object passed to -[GSAttributedString
> initWithString:attributes:] is nil
> 2012-01-27 13:08:22.424 AddressManager[4922] Failed to load Gorm
> 2012-01-27 13:08:22.424 AddressManager[4922] Cannot load the main model
> file 'AddressManager'
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb767392e in objc_msg_lookup () from /usr/lib/i386-linux-gnu/libobjc.so.3
>
> (gdb) bt
> #0  0xb767392e in objc_msg_lookup () from
> /usr/lib/i386-linux-gnu/libobjc.so.3
> #1  0xb7be1d9c in -[NSApplication finishLaunching] (self=0x8177054,
>      _cmd=0xb7e9c110) at NSApplication.m:1156
> #2  0xb7be45e1 in -[NSApplication run] (self=0x8177054, _cmd=0xb7e92628)
>      at NSApplication.m:1540
> #3  0xb7bc273f in NSApplicationMain (argc=1, argv=0xbffff144) at 
> Functions.m:91
> #4  0x08049347 in main (argc=1, argv=0xbffff144) at main.m:16
>
>
> I can however load the gorm file in Gorm fine.
>
> On my FreeBSD computer, AddressManager instead starts up, but the
> editing view does not display and it is unusable (but no Crash here...)

I get the same on OpenBSD i386, compiled with clang/libobjc2.

When I put a breakpoint on -[NSException raise], the backtrace looks like this:

Breakpoint 1, -[NSException raise] (self=dwarf2_read_address: Corrupted DWARF 
expression.
) at NSException.m:958
958           _reserved = NSZoneCalloc([self zone], 2, sizeof(id));
(gdb) bt
#0  -[NSException raise] (self=dwarf2_read_address: Corrupted DWARF expression.
) at NSException.m:958
#1  0x097847c2 in +[NSException raise:format:arguments:] (self=0xcfbfaf74, 
_cmd=0xcfbfaf74, name=0xcfbfaf74, format=0xcfbfaf74,
    argList=0xcfbfaf74 "\204\233Ó\210°µh)à´h)\204ek\212") at NSException.m:849
#2  0x097846d2 in +[NSException raise:format:] (self=0xcfbfafac, 
_cmd=0xcfbfafac, name=0xcfbfafac, format=0xcfbfafac) at NSException.m:835
#3  0x09692298 in -[GSAttributedString initWithString:attributes:] 
(self=Variable "self" is not available.
) at GSAttributedString.m:466
#4  0x0154a5bf in -[NSTextView replaceCharactersInRange:withString:] 
(self=0x7ecd4204, _cmd=0x2110d328, aRange={location = 0, length = 0}, 
aString=0x0)
    at NSTextView.m:2285
#5  0x0151d239 in -[NSText setString:] (self=0x7ecd4204, _cmd=0x28c8e300, 
aString=0x0) at NSText.m:135
#6  0x08ca5512 in -[ADPersonView layout] (self=Variable "self" is not available.
) at ADPersonView.m:275
#7  0x08ca6103 in -[ADPersonView setPerson:] (self=Variable "self" is not 
available.
) at ADPersonView.m:366
#8  0x1c009973 in -[Controller selectPerson:] (self=Variable "self" is not 
available.
) at Controller.m:327
#9  0x1c0078d8 in -[Controller awakeFromNib] (self=0x8a324204) at 
Controller.m:132
#10 0x0167b136 in -[GSNibContainer awakeWithContext:] (self=0x801ba384, 
_cmd=0x21148c70, context=0x866e7304) at GSGormLoading.m:250
#11 0x016f7c30 in -[GSGormLoader loadModelData:externalNameTable:withZone:] 
(self=0x7eca0e44, _cmd=0x210e7078, data=0x7eca0fd4, context=0x838d0284,
    zone=0x296c51e4) at GSGormLoader.m:120
#12 0x013fd66d in -[NSNib instantiateNibWithExternalNameTable:withZone:] 
(self=0x868faf44, _cmd=0x210b8408, externalNameTable=0x838d0284,
    zone=0x296c51e4) at NSNib.m:153
#13 0x0127a690 in +[NSBundle(NSBundleAdditions) 
loadNibFile:externalNameTable:withZone:] (self=0x2967ae90, _cmd=0x210b8428, 
fileName=0x887bd284,
    context=0x838d0284, zone=0x296c51e4) at NSBundleAdditions.m:236
#14 0x0127b5fd in -[NSBundle(NSBundleAdditions) 
loadNibFile:externalNameTable:withZone:] (self=0x85884fc4, _cmd=0x210b8428, 
fileName=0x88970fa4,
    context=0x838d0284, zone=0x296c51e4) at NSBundleAdditions.m:342
#15 0x0127aab5 in +[NSBundle(NSBundleAdditions) loadNibNamed:owner:] 
(self=0x2967ae90, _cmd=0x210a9878, aNibName=0x88970fa4, owner=0x85880684)
    at NSBundleAdditions.m:277
#16 0x011cf48b in NSApplicationMain (argc=1, argv=0xcfbfbc08) at Functions.m:83
#17 0x1c005ec7 in ___start ()
#18 0x1c005e42 in _start ()
(gdb) frame 5
#5  0x0151d239 in -[NSText setString:] (self=0x7ecd4204, _cmd=0x28c8e300, 
aString=0x0) at NSText.m:135
135       [self replaceCharactersInRange: NSMakeRange (0, [self textLength])
(gdb) print self
$1 = (class NSText *) 0x7ecd4204
(gdb) print *self
$2 = {<> = {<> = {<> = {isa = 0x10889dc8}, _interface_style = 554777488, 
_next_responder = 0x21113b90, _menu = 0x21113b90}, _frame = {origin = {
        x = 4.92067413e-19, y = 0}, size = {width = 0, height = 0}}, _bounds = 
{origin = {x = 4.92067413e-19, y = 0}, size = {width = 0, height = 0}},
    _frameMatrix = 0x4222772, _boundsMatrix = 0x21113b9, _matrixToWindow = 
0x10889dc, _matrixFromWindow = 0x8444ee, _super_view = 0x21113b90,
    _sub_views = 0x21113b, _window = 0x21113b, _tracking_rects = 0x21113b, 
_cursor_rects = 0x21113b, _invalidRect = {origin = {x = 3.0367525e-39,
        y = 0}, size = {width = 0, height = 0}}, _visibleRect = {origin = {x = 
3.0367525e-39, y = 0}, size = {width = 0, height = 0}},
    _gstate = 2167099, _nextKeyView = 0x21113b, _previousKeyView = 0x2111, 
_rFlags = {flipped_view = 1, has_subviews = 0, has_currects = 0,
      has_trkrects = 0, has_draginfo = 1, opaque_view = 0, valid_rects = 0, 
needs_display = 0, has_tooltips = 1, ignores_backing = 0},
    _is_rotated_from_base = 17 '\021', _is_rotated_or_scaled_from_base = 17 
'\021', _post_frame_changes = 17 '\021', _post_bounds_changes = 17 '\021',
    _autoresizes_subviews = 17 '\021', _coordinates_valid = 17 '\021', 
_allocate_gstate = 33 '!', _renew_gstate = 33 '!', _is_hidden = 33 '!',
    _in_live_resize = 33 '!', _autoresizingMask = 33, _focusRingType = 33, 
_autoresizingFrameError = {origin = {x = 4.62428493e-44, y = 0}, size = {
        width = 0, height = 1.8189894e-12}}}, <No data fields>}
(gdb) po self
 h=--- v=--- <NSTextView: 0x7ecd4204> f={x = 43; y = 68; width = 400; height = 
400} b={x = 0; y = 0; width = 400; height = 400}
(gdb) print aString
$3 = (class NSString *) 0x0


>
> Riccardo
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep







reply via email to

[Prev in Thread] Current Thread [Next in Thread]