Bug ID 1130091
Summary libtinfo: "munmap_chunk(): invalid pointer" when restoring TERM=linux after setting it to TERM=dumb
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter fbui@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Hi,

I can reproduce this issue systematically when most of the terminfo are
missing:

# systemd-nspawn -D /var/tmp/systemd-test.219Nte/nspawn-root/
Spawning container nspawn-root on /var/tmp/systemd-test.219Nte/nspawn-root.
Press ^] three times within 1s to kill container.
-bash-5.0# find /usr/share/terminfo/
/usr/share/terminfo/
/usr/share/terminfo/l
/usr/share/terminfo/l/linux
-bash-5.0# echo $TERM
linux
-bash-5.0# export TERM=dumb
-bash-5.0# export TERM=linux
munmap_chunk(): invalid pointer
Container nspawn-root terminated by signal SEGV.

# rpm -q libncurses6
libncurses6-6.1-13.1.x86_64


You are receiving this mail because: