Am Dienstag, 28. November 2006 16:20 schrieb Abdelrazak Younes:
> Abdelrazak Younes wrote:
> > Bennett Helm wrote:
> > 
> >> 2. Crash: load User's Guide. Page down to the bottom, then page up 
> >> several times. LyX crashes. Here's the backtrace:
> > 
> > This is because I did not take into account potential changed graphics 
> > height in redoParagraph(). You know, when the graphics is changed from 
> > "Not open" to a fully loaded state.
> > 
> > The easiest solution I came up with is to let InsetBase::metrics() 
> > return a boolean (true if changed). This modification will be needed 
> > anyway for further optimisation.
> > 
> > It's compiling right now, I'll commit once I've tested it.
> 
> OK, tested and committed. The commit is big but purely mechanical. I 
> made use of the additional information in redoParagraph() already but 
> much more is possible.

Unfortunately I cannot confirm better working :(
The crash I have here is with User's Guide, _one_ page up from botton.
(updated 5 minutes ago)

Stacktrace is as follows:

Program received signal SIGABRT, Aborted.
[Switching to Thread 1087032608 (LWP 18702)]
0xffffe410 in ?? ()
(gdb) bt
#0  0xffffe410 in ?? ()
#1  0xbfffc378 in ?? ()
#2  0x00000006 in ?? ()
#3  0x40bbe529 in abort () from /lib/tls/libc.so.6
#4  0x0858ca3b in lyx::support::abort () at abort.C:25
#5  0x080e2846 in boost::assertion_failed (expr=0x8614850 "posit != 
it->second.end()",
    function=0x86147a0 "lyx::Point lyx::CoordCache::get(const lyx::LyXText*, 
int) const", file=0x86147e4 "coordcache.C", line=57) at boost.C:56
#6  0x08148ea9 in lyx::CoordCache::get (this=0x88c8728, text=0x8b01760, pit=0) 
at coordcache.C:57
#7  0x08282ac2 in lyx::LyXText::getRowNearY (this=0x8b01760, [EMAIL PROTECTED], 
y=-55, pit=6) at BufferView.h:215
#8  0x08282c98 in lyx::LyXText::editXY (this=0x8b01760, [EMAIL PROTECTED], 
x=12, y=-55) at text2.C:968
#9  0x0828338d in lyx::LyXText::cursorUp (this=0x8b01760, [EMAIL PROTECTED]) at 
paragraph.h:381
#10 0x08286973 in lyx::LyXText::cursorPrevious (this=0x8b01760, [EMAIL 
PROTECTED]) at text3.C:210
#11 0x08288ef6 in lyx::LyXText::dispatch (this=0x8b01760, [EMAIL PROTECTED], 
[EMAIL PROTECTED]) at text3.C:501
#12 0x083bb0f0 in lyx::InsetText::doDispatch (this=0x8b01738, [EMAIL 
PROTECTED], [EMAIL PROTECTED]) at insettext.C:253
#13 0x08329d96 in lyx::InsetBase::dispatch (this=0x8b01738, [EMAIL PROTECTED], 
[EMAIL PROTECTED]) at insetbase.C:132
#14 0x0814d5a3 in lyx::LCursor::dispatch (this=0x88c8798, [EMAIL PROTECTED]) at 
dociterator.h:84
#15 0x081d6dbc in lyx::LyXFunc::dispatch (this=0x87dfe80, [EMAIL PROTECTED]) at 
lyxfunc.C:1704
#16 0x081c096c in lyx::LyXFunc::processKeySym (this=0x87dfe80, keysym={px = 
0x8f12b20, pn = {pi_ = 0x88fad10}}, state=none) at lyxfunc.C:342
#17 0x083f11d1 in lyx::frontend::WorkArea::processKeySym (this=0x8926b1c, 
key={px = 0x8f12b20, pn = {pi_ = 0x88fad10}}, state=none)
    at sp_counted_base_gcc_x86.hpp:59
#18 0x084535a5 in lyx::frontend::GuiWorkArea::keyPressEvent (this=0x8926b08, 
e=0xbfffe420) at GuiWorkArea.C:426
#19 0x401728db in QWidget::event () from 
/usr/local/Trolltech/Qt-4.1.4/lib/libQtGui.so.4
#20 0x4037e2f0 in QFrame::event () from 
/usr/local/Trolltech/Qt-4.1.4/lib/libQtGui.so.4
#21 0x403f9a6d in QAbstractScrollArea::event () from 
/usr/local/Trolltech/Qt-4.1.4/lib/libQtGui.so.4
...
        Kornel

-- 
Kornel Benko
[EMAIL PROTECTED]

Attachment: pgpCL8XS5zcpx.pgp
Description: PGP signature

Reply via email to