Hi,
I've been using LyX for quite a while, on a variety of machines. It's really
nice work! Thanks very much. One setup I use (rather frequently,
unfortunately) is to run LyX on a remote machine running Linux, log in from
a Windows machine via ssh, and use Reflection 7 as X server. This works well
*except* that certain key combinations in math mode cause LyX to crash.
(These seem to involve characters TeX reserves, for example putting any of
{$, %, #, @} in a sub- or super-script will cause a crash). Also, selecting
"Bibliography" has the same effect.
This problem *doesn't* happen when I display on the remote machine's
display, nor does it happen on my laptop.
The problem has survived through several Linux distriibutions (Mandrake 8.0,
Red Hat 7.1, Slackware 8.0) and all LyX versions I've tried
(1.1.6fix1-1.1.6fix4, built from source or rpm, both XForms versions).
When I run gdb I see LyX receiving an X error (line #6 below). This
backtrace comes from starting LyX under gdb, selecting File->New,
Insert->DIsplay Formula, ^$. Has anyone seen this behavior? Can anyone help?
Thanks
gdb Backtrace:
#0 0x402549f1 in __kill () from /lib/libc.so.6
#1 0x400badbe in pthread_kill (thread=1024, signo=6) at signals.c:65
#2 0x400bb28d in raise (sig=6) at signals.c:232
#3 0x40255e31 in abort () at ../sysdeps/generic/abort.c:88
#4 0x823c8fb in Letext () at abort.C:9
#5 0x80e01dc in LyX_XErrHandler (display=0x83171d8, xeev=0xbfffeacc)
at lyx_gui.C:95
#6 0x4011b59d in _XError () from /usr/X11R6/lib/libX11.so.6
#7 0x40119c4b in _XReply () from /usr/X11R6/lib/libX11.so.6
#8 0x40101bd8 in XFreeFont () from /usr/X11R6/lib/libX11.so.6
#9 0x4010194d in XLoadQueryFont () from /usr/X11R6/lib/libX11.so.6
#10 0x806493b in FontLoader::doLoad (this=0x82fd060, family=ROMAN_FAMILY,
series=MEDIUM_SERIES, shape=UP_SHAPE, size=SIZE_SMALL) at
FontLoader.C:247
#11 0x80c5a46 in lyxfont::width (s=0x8370578 "$", n=1, f=@0xbfffedb0)
at FontLoader.h:50
#12 0x8177b22 in mathed_string_width (type=21, size=2, s=0x8300260 "$",
ls=1)
at ../../src/font.h:59
#13 0x8185a23 in MathedXIter::GetString (this=0xbfffeeb0, ls=@0xbfffee54)
at math_iter.C:601
#14 0x8185a4f in MathedXIter::GetString (this=0xbfffeeb0) at math_iter.C:611
#15 0x819160a in MathParInset::Metrics (this=0x8374430) at math_draw.C:165
Reid Huntsinger
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of
Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential,
proprietary copyrighted and/or legally privileged, and is intended solely for the use
of the individual or entity named on this message. If you are not the intended
recipient, and have received this message in error, please immediately return this by
e-mail and then delete it.
==============================================================================