Re: Repeatable crash sequence...


Subject: Re: Repeatable crash sequence...
From: sam th (sam@uchicago.edu)
Date: Mon Sep 11 2000 - 22:28:57 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 12 Sep 2000, Guillaume Proux wrote:

> Martin,
>
> > The code has been in place for about 3 weeks. I think that if someone can
> > come up with a repeatable crash sequence I can fix the bug.
>
> Hi about the repeatable crash sequence. I spent my evening yesterday trying
> to find (and oh god if lucky fix) the bug.
>
> My way of making the problem occur 80% of the time.
> - Open the app
>
> (press any key+enter)*repeat until you fill in a page.
>
> Press undo until the middle half of the page, press any key....
>
> It crashes.

With the following stack trace:

#0 0x8172b9d in PD_Document::getBlockBuf (this=0x1c1, sdh=0x40238260,
pgb=0xbfffeff8) at pd_Document.cpp:537
#1 0x8150d86 in fl_BlockLayout::getBlockBuf (this=0x849b618,
pgb=0xbfffeff8) at fl_BlockLayout.cpp:1238
#2 0x8152882 in fl_BlockLayout::checkWord (this=0x849b618,
pPOB=0x8485530) at fl_BlockLayout.cpp:2157
#3 0x815ab07 in FL_DocLayout::checkPendingWordForSpell
(this=0x847b030) at fl_DocLayout.cpp:784
#4 0x814b823 in FV_View::_checkPendingWordForSpell (this=0x847ba08) at
fv_View.cpp:5194
#5 0x814b784 in FV_View::_setPoint (this=0x847ba08, pt=40, bEOL=0
'\000') at fv_View.cpp:5174
#6 0x8154268 in fl_BlockLayout::doclistener_insertSpan (this=0x84008e0,
pcrs=0x8494948)
    at fl_BlockLayout.cpp:2725
#7 0x815d79a in fl_SectionLayout::bl_doclistener_insertSpan
(this=0x847b670, pBL=0x84008e0, pcrs=0x8494948)
    at fl_SectionLayout.cpp:273
#8 0x815c4a6 in fl_DocListener::change (this=0x847b5a8, sfh=0x84008e0,
pcr=0x8494948) at fl_DocListener.cpp:310
#9 0x817295c in PD_Document::notifyListeners (this=0x84729e0,
pfs=0x843c7d0, pcr=0x8494948)
    at pd_Document.cpp:457

The basic problem is that the m_pDoc member of m_pPendingWordForSpell gets
trashed. No luck on finding the location of this yet.
           
                                     sam th
                                     sam@uchicago.edu
                                http://www.abisource.com/~sam/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5vaL7t+kM0Mq9M/wRAhJfAJ9dCDcw2JjGJUhptMjigUmAnUxaAQCgt24j
1pm+mHi7QJf+NaOFSFLQMWE=
=g2Hp
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Mon Sep 11 2000 - 21:17:02 CDT