Re: Latest Abiword crashes on tab's


Subject: Re: Latest Abiword crashes on tab's
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Tue Aug 01 2000 - 21:57:23 CDT


On Tue, 1 Aug 2000, Aaron Lehmann wrote:

> On Tue, Aug 01, 2000 at 10:41:47PM -0500, sam th wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Tue, 1 Aug 2000, Tim LaDuca wrote:
> >
> > > Martin Sevior wrote:
> > > >
> > > > Hi everyone,
> > > > get the most recent cvs debug build of abiuword and try
> > > > pressing tab. Instant segfault for me. I can't even load a document with
> > > > tabs in it. I'm not sure but I believe this is Bill's most recently
> > > > checked in patch. I did a little gdb"ing" but its not obvious what's going
> > > > wrong. The final crash is in the linebreaker code but since that hasn't
> > > > been touched recently it appears there are some false asumptions up in the
> > > > Layout code (doc_*,block_* or section_*). They've all been played with
> > > > recently.
> > > >
> > > > Martin
> > >
> > > Just did one, works OK for me! :-)
> > >
> >
> > I am still entirely unable to reproduce this bug. Want to post a stack
> > dump?
>
> Martin's system is screwed up. It ocasionally has reproducable crashes
> for no reason with my code too.
>

Hey! You found a bug from my crash :-) After you fixed the bug my crash
was fixed too.

I have a stock redhat 6.2 with helix-gnome updates. A large fraction of
our users have a similar system...

Anyway here is the stack trace from an extremely fresh gnome build. I'll
try a gtk build next. This crash occured on attempting to load a document
with tabs..

gdb) where
#0 0x40503d41 in __kill () from /lib/libc.so.6
#1 0x405039b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x405050d8 in abort () at ../sysdeps/generic/abort.c:88
#3 0x4041c893 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
    format=0x822b040 "file %s: line %d (%s): assertion failed: (%s)",
    args1=0xbfffe710) at gmessages.c:389
#4 0x4041c956 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
    format=0x822b040 "file %s: line %d (%s): assertion failed: (%s)")
    at gmessages.c:406
#5 0x8119338 in fp_Line::countJustificationPoints (this=0x840c798)
    at fp_Line.cpp:1142
#6 0x8119516 in fp_Line::distributeJustificationAmongstSpaces (
    this=0x840c798, iAmount=60) at fp_Line.cpp:1212
#7 0x8125e97 in fb_Alignment_justify::initialize (this=0x84044f0,
    pLine=0x840c798) at fb_Alignment.cpp:139
#8 0x8117f3e in fp_Line::layout (this=0x840c798) at fp_Line.cpp:540
#9 0x8125495 in fb_LineBreaker::breakParagraph (this=0x8403de0,
    pBlock=0x8404408) at fb_LineBreaker.cpp:334
#10 0x8105da2 in fl_BlockLayout::format (this=0x8404408)
    at fl_BlockLayout.cpp:976
#11 0x8111841 in fl_DocSectionLayout::format (this=0x83ff210)
    at fl_SectionLayout.cpp:575
    at fl_SectionLayout.cpp:575
#12 0x810e139 in FL_DocLayout::formatAll (this=0x83ff9b8)
    at fl_DocLayout.cpp:481
#13 0x80f8a90 in FV_View::FV_View (this=0x843d400, pApp=0x82e6aa8,
    pParentData=0x8357568, pLayout=0x83ff9b8) at fv_View.cpp:115
#14 0x80a2880 in AP_UnixFrame::_showDocument (this=0x8357568, iZoom=100)
    at ap_UnixFrame.cpp:108
#15 0x80a3e38 in AP_UnixFrame::loadDocument (this=0x8357568,
    szFilename=0x834f948 "/home/msevior/arc2000/rejoinder2000.abw",
ieft=0)
    at ap_UnixFrame.cpp:518
#16 0x80a808c in fileOpen (pFrame=0x8357568,
    pNewFile=0x834f948 "/home/msevior/arc2000/rejoinder2000.abw",
    ieft=IEFT_Unknown) at ap_EditMethods.cpp:1241
#17 0x80a8706 in _openRecent (pAV_View=0x83df660, ndx=1)
    at ap_EditMethods.cpp:1391
#18 0x80a8746 in ap_EditMethods::openRecent_1 (pAV_View=0x83df660)
    at ap_EditMethods.cpp:1401
#19 0x819194d in EV_Menu::invokeMenuMethod (this=0x8343db0,
pView=0x83df660,
    pEM=0x82d30d0, pData=0x0, dataLength=0) at ev_Menu.cpp:93
#20 0x818ff59 in EV_UnixGnomeMenu::menuEvent (pAux=0x8344860)
    at ev_UnixGnomeMenu.cpp:642
#21 0x4024325d in gtk_marshal_NONE__NONE (object=0x83842c0,
    func=0x818fdec <EV_UnixGnomeMenu::menuEvent(_GtkWidget *, void *)>,
    func_data=0x8344860, args=0xbfffef58) at gtkmarshal.c:312
#22 0x402709ed in gtk_handlers_run (handlers=0x8349838, signal=0xbfffef14,
    object=0x83842c0, params=0xbfffef58, after=0) at gtksignal.c:1917
#23 0x4026fe32 in gtk_signal_real_emit (object=0x83842c0, signal_id=76,
    params=0xbfffef58) at gtksignal.c:1477
#24 0x4026df35 in gtk_signal_emit (object=0x83842c0, signal_id=76)
    at gtksignal.c:552
#25 0x402a3498 in gtk_widget_activate (widget=0x83842c0) at
gtkwidget.c:2886
#26 0x4024a88b in gtk_menu_shell_activate_item (menu_shell=0x83798b0,
    menu_item=0x83842c0, force_deactivate=1) at gtkmenushell.c:849
#27 0x40249c0b in gtk_menu_shell_button_release (widget=0x83798b0,
    event=0x83eac00) at gtkmenushell.c:485
#28 0x40242e29 in gtk_marshal_BOOL__POINTER (object=0x83798b0,
    func=0x40249a90 <gtk_menu_shell_button_release>, func_data=0x0,
    args=0xbffff2cc) at gtkmarshal.c:28
#29 0x4026fe6b in gtk_signal_real_emit (object=0x83798b0, signal_id=21,
    params=0xbffff2cc) at gtksignal.c:1492
#30 0x4026df35 in gtk_signal_emit (object=0x83798b0, signal_id=21)
    at gtksignal.c:552
#31 0x402a334c in gtk_widget_event (widget=0x83798b0, event=0x83eac00)
    at gtkwidget.c:2860
#32 0x40242d82 in gtk_propagate_event (widget=0x83842c0, event=0x83eac00)
    at gtkmain.c:1313
#33 0x40241fda in gtk_main_do_event (event=0x83eac00) at gtkmain.c:770
#34 0x402ed56b in gdk_event_dispatch (source_data=0x0,
    current_time=0xbffff650, user_data=0x0) at gdkevents.c:2129
#35 0x4041a1b6 in g_main_dispatch (dispatch_time=0xbffff650) at
gmain.c:656
#36 0x4041a781 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#37 0x4041a921 in g_main_run (loop=0x83e7860) at gmain.c:935
#38 0x40241919 in gtk_main () at gtkmain.c:476
#39 0x809e020 in AP_UnixGnomeApp::main (
    szAppName=0x8207fa8 "AbiWord Personal", argc=1, argv=0xbffff724)
    at ap_UnixGnomeApp.cpp:179
#40 0x809dc65 in main (argc=1, argv=0xbffff724) at UnixGnomeMain.cpp:24

Cheers

Martin



This archive was generated by hypermail 2b25 : Tue Aug 01 2000 - 21:58:28 CDT