On Wed, Feb 20, 2002 at 02:03:57PM +0100, Juergen Vigna wrote:
 
> On 20-Feb-2002 Jean-Marc Lasgouttes wrote:
> 
> > Juergen> getDrawFont() ?

...

Crashes on float.

Here is the stack:

#0  0x401ebd41 in __kill () from /lib/libc.so.6
#1  0x401eb9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x401ed0d8 in abort () at ../sysdeps/generic/abort.c:88
#3  0x829c26f in lyx::abort () at Toolbar_pimpl.C:554
#4  0x80db236 in error_handler ()
    at 
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_map.h:76
#5  0x401ebc68 in __restore () at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#6  0x81a8e81 in Inset::latexTextWidth (this=0x845b230, bv=0xbfffee54) at inset.C:162
#7  0x81e362a in InsetText::getDrawFont () at inset.C:397
#8  0x8148ed4 in LyXText::getFont (this=0x845bc58, buf=0x845a310, par=0x845b3b0, 
pos=0) at text2.C:187
#9  0x8148ae4 in LyXText::init (this=0x845bc58, bview=0x8434530, reinit=false) at 
text2.C:93
#10 0x81e2388 in InsetText::getLyXText () at inset.C:397
#11 0x81dc03e in InsetText::update () at inset.C:397
#12 0x81b0e2a in InsetCollapsable::update () at inset.C:397
#13 0x813b9d2 in LyXText::singleWidth (this=0x845b458, bview=0x8434530, par=0x845b1b0, 
pos=0, c=3) at
text.C:231
#14 0x813b84f in LyXText::singleWidth (this=0x845b458, bview=0x8434530, par=0x845b1b0, 
pos=0) at
text.C:196
#15 0x813e515 in LyXText::fill (this=0x845b458, bview=0x8434530, row=0x845d740, 
paper_width=667) at
text.C:1085
#16 0x8140054 in LyXText::appendParagraph (this=0x845b458, bview=0x8434530, 
row=0x845d740) at text.C:1603
#17 0x8149610 in LyXText::insertParagraph (this=0x845b458, bview=0x8434530, 
par=0x845b1b0, row=0x845b5f0)
    at text2.C:453
#18 0x8148b17 in LyXText::init (this=0x845b458, bview=0x8434530, reinit=false) at 
text2.C:95
#19 0x805646d in BufferView::Pimpl::resizeCurrentBuffer (this=0x84345e8) at 
BufferView_pimpl.C:350
#20 0x8055c31 in BufferView::Pimpl::buffer (this=0x84345e8, b=0x845a310) at 
BufferView_pimpl.C:215
#21 0x8050c6f in BufferView::buffer (this=0x8434530, b=0x845a310) at BufferView.C:70
#22 0x80f73c8 in LyXFunc::open (this=0x8406b10, fname=@0xbffff69c) at lyxfunc.C:1845
#23 0x80efb20 in LyXFunc::dispatch (this=0xbffff69c, action=LFUN_FILE_OPEN, 
argument=0xbffff69c)
    at lyxfunc.C:1316
#24 0x80ebbc8 in LyXFunc::verboseDispatch (this=0x8406b10, action=LFUN_FILE_OPEN, 
argument=@0xbffff6e0, 
    show_sc=true) at lyxfunc.C:796
#25 0x80ebb19 in LyXFunc::verboseDispatch (this=0x8406b10, ac=491, show_sc=true) at 
lyxfunc.C:788
#26 0x82574c8 in Menubar::Pimpl::MenuCallback ()
    at 
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_construct.h:60
#27 0x8250f54 in C_Menubar_Pimpl_MenuCallback ()
    at 
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_construct.h:60
#28 0x40037973 in fl_object_qread () from /usr/X11R6/lib/libforms.so.0.88
#29 0x40044f11 in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88
#30 0x82507f9 in GUIRunTime::runTime ()
    at 
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_construct.h:60
#31 0x80da34c in LyXGUI::runTime (this=0x83e58d0) at lyx_gui.C:323
#32 0x80daf46 in LyX::LyX ()
    at 
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/../../../../include/g++-3/stl_map.h:76
#33 0x8119506 in main () at lyxvc.C:230
#34 0x401e59cb in __libc_start_main (main=0x81193b0 <main>, argc=3, argv=0xbffff904, 
init=0x804ede4
<_init>, 
    fini=0x831cc70 <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff8fc)
    at ../sysdeps/generic/libc-start.c:92

Looking at line #7, I have a vague suspicion this is connected to your patch, 
since a few days ago it didn't do this. I have modified code in parts of my local tree,
but nothing that _ought_ to relate to this.

The bug occurs upon loading any file containing a float, or trying to insert 
a float. Easily reproduced. (pretty serious, that!).

Martin

Attachment: msg33399/pgp00000.pgp
Description: PGP signature

Reply via email to