Package: joe
Version: 4.1-2
Severity: important
If a ~/.jstarrc from a previous version exists, jstar will segfault on startup.
This happens even for unmodified configs (ie, a straight copy of
/etc/joe/jstarrc into ~/.jstarrc).
Prior versions complained in the presence of an outdated config, but you
just removed that check (#560182). But in any case, response to even
complete garbage should be an error message rather than a segfault.
Here's a backtrace from the package rebuilt with "noopt":
Program received signal SIGSEGV, Segmentation fault.
0x0000000000417dbc in kcpy (dest=0x7ffb60, src=0x7eca20) at kbd.c:326
326 if (((KMAP *)l->map)->what == 1) {
(gdb) bt full
#0 0x0000000000417dbc in kcpy (dest=0x7ffb60, src=0x7eca20) at kbd.c:326
l = 0x7fd410
#1 0x0000000000417de5 in kcpy (dest=0x7feba0, src=0x7ec2c0) at kbd.c:328
k = 0x7ffb60
l = 0x7ecd30
#2 0x0000000000423c1c in procrc (cap=0x79f110, name=0x79c7c0
"/home/kilobyte/.jstarrc") at rc.c:233
x = 9
c = 13
ch = 32 ' '
o = 0x6a7ea0 <fdefault>
context = 0x7feba0
current_menu = 0x0
buf = ":inherit main\000\000t
windows\n\000slide\t\tMWUP\000\000s\n\000lock\n\000story\n\000:\",blkmove,nextword\t^[
t\000\000\"man -P cat -S 2:3 \"\n\000language,\".\",charset,\" -x -c $SPLTMP
</dev/tty >/dev/tty;tr -d <$SPLTMP '\\\\012';/bin/rm $SPLTMP\","...
buf1 =
"man\000_find\000\000s\000\000\000\000\001\000\000\000\000\000\000\000\362q\021\367\377\177\000\000\000\000\000\000\000\000\000\000\b",
'\000' <repeats 15 times>,
"\300\330\377\377\377\177\000\000\030\347z\000\000\000\000\000\002\000\000\000\000\000\000\000S\276\025\031\000\000\000\000\002\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\210\245F\000\000\000\000\000\030\347z\000\000\000\000\000\020\347z\000\000\000\000\000\001\000\000\000\000\000\000\000\256l\025\367\377\177\000\000\271\366G\000\000\000\000\000\340\333\377\377\377\177\000\000X\335\377\377\377\177\000\000\230\366G\000\000\000\000\000X\335\377\377\377\177\000\000\256\237\022\367\377\177\000\000ع\375\367\377\177\000\000p"...
fd = 0x79caa0
line = 956
err = 1
#3 0x000000000041b894 in main (argc=1, real_argv=0x7fffffffe098,
envv=0x7fffffffe0a8) at main.c:430
cap = 0x79f110
argv = 0x7fffffffe098
sbuf = {st_dev = 27, st_ino = 4987591, st_nlink = 1, st_mode = 33188,
st_uid = 1000,
st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 32198, st_blksize =
4096, st_blocks = 64,
st_atim = {tv_sec = 1452846042, tv_nsec = 514591374}, st_mtim =
{tv_sec = 1452846042,
tv_nsec = 514591374}, st_ctim = {tv_sec = 1454283346, tv_nsec =
75858768},
__glibc_reserved = {0, 0, 0}}
s = 0x79c7c0 "/home/kilobyte/.jstarrc"
t = 0x79c790 "/etc/joe/jstarrc"
time_rc = 1454267703
run = 0x7a4bc0 "jstar"
n = 0x0
opened = 0
omid = 0
backopt = 4205184
c = 0
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-x32 (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages joe depends on:
ii libc6 2.21-7
ii libncurses5 6.0+20151024-2
ii libtinfo5 6.0+20151024-2
joe recommends no packages.
joe suggests no packages.
-- no debconf information