Bug#670537: gnuplot -persist is a little too persistent
ron at debian.org
Thu Apr 26 13:53:39 UTC 2012
With the default wxt terminal, if you close the window (either with the
'q' command or the window manager decoration button) before quitting the
gnuplot session on the console, then gnuplot does not completely exit,
nor does it release the window resource. Popping the window back to the
foreground with `xwit -id` shows that gnuplot is unresponsive and can
only be killed completely with `kill` from that point.
If you quit the console session before closing the window then gnuplot
seems to exit normally.
This only appears to happen with gnuplot -persist and the wxt terminal,
without -persist or with the x11 terminal it also appears to be working
$ gnuplot -persist
Terminal type set to 'wxt'
gnuplot> load "my-script"
<hit 'q' in the plot window>
$ ps xau | grep gnuplot
ron 30197 0.0 0.0 256592 6776 pts/4 S 23:07 0:00 gnuplot -persist
I don't have a suitable machine to test this against 4.6 right now, but
I figured I'd report it anyway so I don't forget the details, and so other
people can look into it as well in the meantime.
I'm also not sure if this is related to #602936, it kind of seems like the
'opposite' problem to that, but the real cause may (or may not :) be related.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnuplot-x11 depends on:
ii gnuplot-nox 4.4.0-1.1+b1 A command-line driven interactive
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libedit2 2.11-20080614-2 BSD editline and history libraries
ii libgcc1 1:4.4.5-10 GCC support library
ii libgd2-noxpm 2.0.36~rc1~dfsg-5 GD Graphics Library version 2 (wit
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libpango1.0-0 1.28.3-1 Layout and rendering of internatio
ii libstdc++6 4.4.5-10 The GNU Standard C++ Library v3
ii libwxbase2.8-0 126.96.36.199-3+b1 wxBase library (runtime) - non-GUI
ii libwxgtk2.8-0 188.8.131.52-3+b1 wxWidgets Cross-platform C++ GUI t
ii libx11-6 2:1.3.3-4 X11 client-side library
gnuplot-x11 recommends no packages.
gnuplot-x11 suggests no packages.
-- no debconf information
More information about the debian-science-maintainers