Tk Source Code

View Ticket
Login
Ticket UUID: a043e3a8b50c1cd90172a20d422219a2033a4826
Title: Segmentation fault in docker/busybox/alpine
Type: Bug Version: 8.6.7
Submitter: Blauhirn Created on: 2017-12-11 16:42:39
Subsystem: 82. X11 Emulation Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-12-11 16:42:39
Resolution: None Closed By: nobody
    Closed on:
Description:
Hi! I stumbled over a segmentation fault inside a docker container running busybox.
wish DOES start normally, however it is not possible to add elements like button or label. See code below.

XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
docker run --rm -ti -v $XSOCK:$XSOCK -v $XAUTH:$XAUTH -e XAUTHORITY=$XAUTH alpine

/ # apk add --no-cache tk
/ # export DISPLAY=:0
/ # wish

% button .b
Segmentation fault (core dumped)