Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 21:27:01 +0100
From:      "Steiner, Bernard" <Bernard.Steiner@lahmeyer.de>
To:        "Joe Marcus Clarke" <marcus@marcuscom.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: abiword crash on stratup (was: Re: GNOME's newbiew woes andrantings)
Message-ID:  <0E3C8932B8AFFF4294C69ABF71FB23656C7F42@ZDEXV001.lahmeyer.com>
References:  <1201462722.70499.8.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[JMC suggested trying gdb backtrace on abiword]

Here we go...
gdb /usr/local/bin/abiword
(gdb) break gr_UnixGraphics.cpp:1198
Breakpoint 1 at 0x6e6e54: file gr_UnixGraphics.cpp, line 1198.
(gdb) run
Starting program: /usr/local/bin/abiword=20
warning: Unable to get location for thread creation breakpoint: generic =
error
[New LWP 100126]
DEBUG: SEVIOR: Building menus and toolbars=20
[New Thread 0xdd4000 (LWP 100126)]

Dang. I have never debugged threads (and no C++, come to that, =
either)....

blurb from abiword deleted...

[Switching to Thread 0xdd4000 (LWP 100166)]

Breakpoint 1, GR_UnixGraphics::getGUIFont (this=3D0x1377c00) at =
gr_UnixGraphics.cpp:1198
1198			UT_ASSERT(font);
(gdb) where
#0  GR_UnixGraphics::getGUIFont (this=3D0x1377c00) at =
gr_UnixGraphics.cpp:1198
#1  0x00000000006e5d3e in GR_UnixGraphics::setZoomPercentage =
(this=3D0x1377c00, iZoom=3D100)
    at gr_UnixGraphics.cpp:754
#2  0x000000000054136c in AP_UnixFrame::_createViewGraphics =
(this=3D0xf3e800, pG=3D@0x7fffffffe560,=20
    iZoom=3D100) at ap_UnixFrame.cpp:484
#3  0x0000000000574092 in AP_Frame::_showDocument (this=3D0xf3e800, =
iZoom=3D100) at ap_Frame.cpp:494
#4  0x000000000057399e in AP_Frame::loadDocument (this=3D0xf3e800, =
szFilename=3D0x0, ieft=3D0, createNew=3Dfalse)
    at ap_Frame.cpp:340
#5  0x0000000000573a23 in AP_Frame::loadDocument (this=3D0xf3e800, =
szFilename=3D0x0, ieft=3D0)
    at ap_Frame.cpp:345
#6  0x0000000000545e28 in AP_App::openCmdLineFiles (this=3D0xde2000, =
args=3D0x7fffffffe760) at ap_App.cpp:92
#7  0x000000000053c64c in AP_UnixApp::main (szAppName=3D0x8cdeac =
"AbiWord", argc=3D1, argv=3D0x7fffffffe840)
    at ap_UnixApp.cpp:1529
#8  0x0000000000538790 in main (argc=3D1, argv=3D0x7fffffffe840) at =
UnixMain.cpp:26
(gdb) print font
$1 =3D (XAP_UnixFont *) 0x0
(gdb) next

**** (1) Assert ****
**** (1) font at gr_UnixGraphics.cpp:1198 ****
**** (1) Continue ? (y/n) [y] :=20


Now what ?

Thanks,
 Bernard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E3C8932B8AFFF4294C69ABF71FB23656C7F42>