Bug#425417: jed: Segmentation fault with some precompiled slang files
G�Milde
g.milde at web.de
Mon May 21 15:23:14 UTC 2007
Package: jed
Version: 1:0.99.18+dfsg.1-6
Severity: important
Jed crashes with a segmentation fault, if a byte-compiled version (*.slc
file) is evaluated that contains a literal string with the "$" suffix (a
feature added in S-Lang 2 for shell like variable substitution).
An example is 'latex_external.sl' from JoergsLatexMode
(http://www.minet.uni-jena.de/~joergs/jjm-r130.tgz). It contains the lines
insert("Current configuration: $LaTeX_Config\n\n"$);
...
variable pid = expand_and_run_cmd("jed-script $latex_comm watch"$,
which leads to Jed crashing when opening a LaTex file if JoergsLatexMode is
installed and byte-compiled.
The problem is a bug in the S-Lang library, as the author of Jed and S-Lang
wrote in a mail to the jed-users list
(http://www.ruptured-duck.com/jed-users/msg01916.html)
slang-2.0.6 had a bug in the handling of byte-compiled files
containing strings with the "$" suffix, e.g.,
file = "$HOME/foo.sl"$;
This bug was corrected in 2.0.7.
While currently only seldom occuring, the problem is hard to detect (as the
usual S-Lang debugging methods do not work once Jed crashed) and can lead to
data loss.
A fix is to use libslang2 version >= 2.0.7-1 (now in unstable).
Please let jed (and xjed) depend on this S-Lang version.
Guenter Milde
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages jed depends on:
ii jed-common 1:0.99.18+dfsg.1-6 S-Lang runtime files for jed and x
ii libc6 2.5-7 GNU C Library: Shared libraries
ii libgpmg1 1.19.6-22 General Purpose Mouse - shared lib
ii libslang2 2.0.6-4 The S-Lang programming library - r
jed recommends no packages.
-- no debconf information
More information about the Pkg-jed-devel
mailing list