Hi All,

    I found a bug on Lyx on some previous versions which persists in
this last pre-release 1.0.4pre4.
    This bug causes a crash on lyx that I guess is related to the
communication with the particular X server I am using (XFCom_SiS,
released by SUSE for the SiS530 chips wish are not supported by
XF86_SVGA).
    The bug appears when I just try to go with cursor (using the arrow
keys) to the bottom of the page and  run along one of the last lines
which ends before a displayed equation. When the cursor tries to jump to
that equation lyx crashes and a core is dumped. The result of debugging
with "gdb" is shown bellow:

[westfahl@dhcp003 src]$ gdb lyx
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /usr/local/src/lyx-1.0.4pre4/src/lyx
Loading aliases ....

Program received signal SIGSEGV, Segmentation fault.
0x811541b in MathedXIter::ipop (this=0x8232aa4) at math_iter.C:814
814      crow = crow->next;
(gdb) bt
#0  0x811541b in MathedXIter::ipop (this=0x8232aa4) at math_iter.C:814
#1  0x8125152 in MathedCursor::SetPos (this=0x8258c30, x=145, y=559)
    at math_cursor.C:313
#2  0x80e8416 in InsetFormula::Edit (this=0x82ad5f0, x=0, y=0) at
formula.C:490
#3  0x80b6a1a in LyXFunc::Dispatch (this=0x8258178, ac=39,
    do_not_use_this_arg=0x0) at lyxfunc.C:2273
#4  0x80acecc in LyXFunc::processKeyEvent (this=0x8258178,
ev=0x400892ec)
    at lyxfunc.C:323
#5  0x815693c in LyXView::KeyPressMask_raw_callback (fl=0x82506e8,
    xev=0x400892ec) at LyXView.C:337
#6  0x400423bf in pre_emptive_consumed ()
#7  0x40041758 in do_interaction_step ()
#8  0x40041ee2 in fl_treat_interaction_events ()
#9  0x40041f1c in fl_check_forms ()
#10 0x8058037 in LyXGUI::runTime (this=0x823b728) at lyx_gui.C:629
#11 0x804e5c3 in LyX::LyX (this=0xbffffb9c, argc=0xbffffc40,
argv=0xbffffc84)
    at ../src/lyx_main.C:128
#12 0x804de77 in main (argc=1, argv=0xbffffc84) at ../src/main.C:51
#13 0x401d0cb3 in __libc_start_main (main=0x804dd70 <main>, argc=1,
    argv=0xbffffc84, init=0x804c6f0 <_init>, fini=0x818db48 <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc7c)
    at ../sysdeps/generic/libc-start.c:78
(gdb) info locals
i = 2
this = (MathedXIter *) 0x8232aa4
(gdb) up
#1  0x8125152 in MathedCursor::SetPos (this=0x8258c30, x=145, y=559)
    at math_cursor.C:313
313     if (x-xp < cursor->GetX()-x) cursor->ipop();


    I am runnig the RedHat 6.0 distribution in a AMD K6-2 350MHz , 96M.
    If you need any other detail that I failed to provide please let me
know. Thanks!
    Greetings, Harry.


Reply via email to