On Thu, Jul 10, 2003 at 03:38:44PM +0200, Alfredo Braunstein wrote: > Changing the width randomly and widly I get a crash.
How 'randomly and wildly'? > Actually got two different backtraces: > > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1089852768 (LWP 7261)] > 0x0810fe82 in Paragraph::size() const (this=0x8) at paragraph_pimpl.h:29 > 29 lyx::pos_type size() const { > (gdb) bt > #0 0x0810fe82 in Paragraph::size() const (this=0x8) at paragraph_pimpl.h:29 > #1 0x08126fa1 in LyXText::leftMargin(Row const&) const (this=0x8523118, > [EMAIL PROTECTED]) at stl_list.h:142 > #2 0x0812c838 in LyXText::prepareToPrint(std::_List_iterator<Row, Row&, > Row*>, float&, float&, float&, float&, bool) const (this=0x8523118, rit= > {<_List_iterator_base> = {_M_node = 0x8635ab8}, <No data fields>}, > [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED], bidi=true) at stl_list.h:138 > #3 0x08119758 in RowPainter::paint(int, int, int) (this=0xbfffc8a0, > y_offset=8, x_offset=8, y=8) at stl_list.h:91 > #4 0x081ce265 in LyXScreen::drawFromTo(LyXText*, BufferView*, int, int, > int, int) (this=0x849e940, text=0x8523118, bv=0x849cd38, y1=-1073756000, > y2=434, > yo=0, xo=0) at /home/ab/lyx-cvs/src/frontends/screen.C:482 Hm, y1 looks a bit suspect. > #5 0x081ce265 in LyXScreen::drawFromTo(LyXText*, BufferView*, int, int, > int, int) (this=0x849e940, text=0x8523118, bv=0x849cd38, y1=-1073754720, Same here. But unless I can reproduce it, it's hard to find a fix... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)