Hi,
        Since my web browser keeps on crashing on the mail archive site,
I don't know whether this has been posted before. I might assume that,
unless it's a personal problem, it has, as it's _very_ annoying. Anyway,
in essence, when in math mode, trying to put a latex exponential
(^<something>) results in segfault. As an example, open a new document
and go into mathmode, type 1^-7, and here, you get a crash before you
can even write the -7.

        I have been able to reproduce this problem with 1.1.5fix2
compiled on my box and with the debian package (1.1.5fix2-1 or something
along those lines). A backtrace follows:
(gdb) run
Starting program: /tmp/lyx-1.1.5fix2/src/lyx 

Program received signal SIGSEGV, Segmentation fault.
0x401a8367 in _XimLocalMbLookupString () from /usr/X11R6/lib/libX11.so.6
(gdb) bt
#0  0x401a8367 in _XimLocalMbLookupString () from
/usr/X11R6/lib/libX11.so.6
#1  0x4017e9ba in XmbLookupString () from /usr/X11R6/lib/libX11.so.6
#2  0x80b3889 in LyXLookupString (event=0x400e40a0,  buffer_return=0xbffff714
    "P÷ÿ¿â\026\006\b\230[\037\bP÷ÿ¿ë\026\006\b°¤
    \b @\016@2f\005@ìi%\bÔé\r@ @\016@`{\005@", bytes_buffer=10,
    keysym_return=0xbffff700)
        at lyxlookup.C:174
#3  0x80a5877 in LyXFunc::processKeyEvent (this=0x820a4b0, ev=0x400e40a0)  at 
lyxfunc.C:196
#4  0x80616eb in LyXView::KeyPressMask_raw_callback
            (fl=0x81ff550, 
                xev=0x400e40a0) at LyXView.C:420
#5  0x8061788 in C_LyXView_KeyPressMask_raw_callback
                (fl=0x81ff550, 
                    xev=0x400e40a0) at LyXView.C:452
#6  0x40057ba3 in fl_register_raw_callback ()
       from /usr/X11R6/lib/libforms.so.0.89
#7  0x40056dbb in fl_last_event () from
                       /usr/X11R6/lib/libforms.so.0.89
#8  0x40057649 in fl_treat_interaction_events ()
          from /usr/X11R6/lib/libforms.so.0.89
#9  0x40057684 in fl_check_forms () from
                  /usr/X11R6/lib/libforms.so.0.89
#10 0x809d0a9 in LyXGUI::runTime
                          (this=0x81b98c0) at lyx_gui.C:605
#11 0x809e20e in LyX::LyX (this=0xbffff988,
                          argc=0xbffff9a4, argv=0xbffffa04)
                              at ../src/lyx_main.C:160
#12 0x80baabb in main (argc=1,
                              argv=0xbffffa04) at ../src/main.C:76
                              

        I have also compiled 1.1.6pre1, and the problem isn't present
there. The problem isn't present in 1.1.5fix1 neither.

        At any rate, compilation goes smoothly most of the time.

[problem?] I was wondering whether the problem might be due to the way
my keyboard works. I have a Spanish keyboard, and the ^ sign is obtained
by a cunning combination of the key with the "^" sign and space after
it. Applications (rxvt, Xemacs...) seem to take this without a glitch,
and so has lyx in the past, but I was wondering whether that might be an
issue? For people with these sort of keyboards, it's just like getting
a ' by pressing the accent key, and space (instead of a vowel, let's
say). One of my colleagues has been using lyx 1.1.5fix2 extensively in
his computer without further problems (he has a British keyboard) :-?
        Thank you,
        José
-- 
José L Gómez Dans                       PhD student
Tel: +44 114 222 5582                   Radar & Communications Group
FAX; +44 870 132 2990                   Department of Electronic Engineering
                                        University of Sheffield UK

Reply via email to