"Lars Gullik Bj�nnes" wrote:
> 
> Helge Hafting <[EMAIL PROTECTED]> writes:
> 
> | I used to have the "^" key on my keyboard configured as a dead key,
> | i.e. Have to press ^ and space to get the "^" character.  This is useful
> | for
> 
> I really need some more information: what version of XForms,
> what output do you get if you run LyX with "-dbg key"
> 
I have xforms 0.88 and 0.89, both will crash.
lyx -dbg key output when I type "ab��"  The "�" is a standard key
on norwegian keyboards, the "�" is created using a dead diaeresis:

KeySym is a[97] and num_bytes is 1 the string returned is "a"
Key [-1][a][1]
fillrectangle not called from workarea::workhandler
Painter drawable: 33554496
text not called from workarea::workhandler
Painter drawable: 33554496
LyX: X11 farge black allokert for forgrunn
KeySym is Shift_R[65506] and num_bytes is 0 the string returned is ""
KeySym is B[66] and num_bytes is 1 the string returned is "B"
Key [-1][S-B][1]
fillrectangle not called from workarea::workhandler
Painter drawable: 33554496
text not called from workarea::workhandler
Painter drawable: 33554496
KeySym is Shift_R[65506] and num_bytes is 0 the string returned is ""
KeySym is Ooblique[216] and num_bytes is 1 the string returned is "�"
Key [-1][S-Ooblique][1]
fillrectangle not called from workarea::workhandler
Painter drawable: 33554496
text not called from workarea::workhandler
Painter drawable: 33554496
LyXLookupString: found DeadEvent
KeySym is dead_diaeresis[65111] and num_bytes is 0 the string returned
is ""
Key [86][dead_diaeresis][0]
KeySym is [0] and num_bytes is 0 the string returned is ""
Empty kbd action (probably composing)

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. If possible, please read 'Known
bugs'
under the Help menu and then send us a full bug report. Thanks!
LyX: Fors�ker � lagre dokument /home/helgehaf/nyfil.lyx som...
  1) /home/helgehaf/nyfil.lyx.emergency
  Lagring trolig en suksess. Puh.
Bye.
Avbrutt (SIGABRT)


Pressing the dead diaeresis key works fine, and lyx does indeed
notice the composing.  Pressing the "o" key is instant SIGSEGV, and lyx
manages to save the document before dying.


> A backtrace form a debugger would also be very nice.
I don't know gdb very well, but tried this anyway.
I made a lyx with debugging symbols.  I ran it with "gdb lyx" but got
this:
(gdb) run
Starting program: /usr/local/bin/lyx 
Cannot access memory at address 0x40016df0

I don't get past this, even as root.  This don't happen with other
programs I debug.

Helge Hafting

Reply via email to