Hi again,

With a little help from Jean-Marc I have produced the following output
from gdb while triggering the described crash.

I hope it may help you nail it down.

Claus
----


(gdb) run
Starting program: /usr/local/bin/lyx

Program received signal SIGSEGV, Segmentation fault.
LyXText::drawInset (this=0x8453d70, p=@0xbffff244, pos=20) at text.C:495
495                     if (prev && prev->par() == p.row->par()) {
(gdb) bt
#0  LyXText::drawInset (this=0x8453d70, p=@0xbffff244, pos=20) at text.C:495
#1  0x0816dee7 in LyXText::draw (this=0x8453d70, p=@0xbffff244,
    vpos=@0xbffff1e0) at text.C:649
#2  0x08179228 in LyXText::paintRowText (this=0x8453d70, p=@0xbffff244)
    at text.C:3665
#3  0x081793b0 in LyXText::getVisibleRow (this=0x8453d70, bv=0x843e3e0,
    y_offset=56, x_offset=0, row=0x847b110, y=56, cleared=false) at text.C:3723 #4  
0x08154fe1 in LyXScreen::drawFromTo (this=0x8485038, text=0x8453d70,
    bv=0x843e3e0, y1=0, y2=414, y_offset=0, x_offset=0, internal=true)
    at screen.C:130
#5  0x08154eeb in LyXScreen::redraw (this=0x8485038, text=0x8453d70,
    bv=0x843e3e0) at screen.C:92
#6  0x08059ec1 in BufferView::Pimpl::workAreaExpose (this=0x843e530)
    at BufferView_pimpl.C:1031
#7  0x08068b32 in SigC::ObjectSlot0_<void, BufferView::Pimpl>::callback (
    d=0x843ef94) at ../sigc++/object_slot.h:56
#8  0x08055674 in SigC::Signal0<void, SigC::Marshal<void> >::emit (
    this=0x843e55c) at ../../sigc++/basic_signal.h:194
#9  0x080a134d in WorkArea::work_area_handler (ob=0x843edc8, event=1, key=0,
    xev=0x0) at ../sigc++/basic_signal.h:172
#10 0x080a04b6 in C_WorkArea_work_area_handler (ob=0x843edc8, event=1, key=0,
    xev=0x0) at WorkArea.C:68
---Type <return> to continue, or q <return> to quit---
#11 0x400818f3 in fl_reset_focus_object () from /usr/X11R6/lib/libforms.so.0.89 #12 
0x400819b5 in fl_handle_object () from /usr/X11R6/lib/libforms.so.0.89
#13 0x400812c8 in fl_find_last () from /usr/X11R6/lib/libforms.so.0.89
#14 0x400813cb in fl_redraw_object () from /usr/X11R6/lib/libforms.so.0.89
#15 0x080578c4 in BufferView::Pimpl::redraw (this=0x843e530) at WorkArea.h:53
#16 0x08057fe6 in BufferView::Pimpl::resizeCurrentBuffer (this=0x843e530)
    at BufferView_pimpl.C:379
#17 0x080575f1 in BufferView::Pimpl::buffer (this=0x843e530, b=0x8452478)
    at BufferView_pimpl.C:212
#18 0x08050ceb in BufferView::buffer (this=0x843e3e0, b=0x8452478)
    at BufferView.C:64
#19 0x0811cbe8 in LyXFunc::open (this=0x840bd78, fname=@0xbffff9e0)
    at lyxfunc.C:1899
#20 0x08115260 in LyXFunc::dispatch (this=0xbffff9e0, action=LFUN_FILE_OPEN,
    argument=0xbffff9e0) at lyxfunc.C:1340
#21 0x08111128 in LyXFunc::verboseDispatch (this=0x840bd78,
    action=LFUN_FILE_OPEN, argument=@0xbffffa24, show_sc=true) at lyxfunc.C:799
#22 0x08111079 in LyXFunc::verboseDispatch (this=0x840bd78, ac=461,
    show_sc=true) at lyxfunc.C:791
#23 0x082af0c8 in Menubar::Pimpl::MenuCallback (ob=0x8437fb0, button=1)
    at Menubar_pimpl.C:586
#24 0x082a88a4 in C_Menubar_Pimpl_MenuCallback (ob=0x8437fb0, button=1)
---Type <return> to continue, or q <return> to quit---
    at Menubar_pimpl.C:80
#25 0x40046cb4 in fl_object_qread () from /usr/X11R6/lib/libforms.so.0.89
#26 0x40057679 in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.89
#27 0x082a7b39 in GUIRunTime::runTime () at GUIRunTime.C:94
#28 0x080fbe44 in LyXGUI::runTime (this=0x83cc6a0) at lyx_gui.C:292
#29 0x080fc996 in LyX::LyX (this=0xbffffbdc, argc=0xbffffc04, argv=0xbffffc64)
    at ../src/lyx_main.C:176
#30 0x08145db6 in main (argc=1, argv=0xbffffc64) at ../src/main.C:38
#31 0x402b317f in __libc_start_main () from /lib/libc.so.6
 


Reply via email to