Menu

#1489 pause mouse close with qt terminal causes "zombie" processes

closed-fixed
nobody
None
5
2015-03-23
2014-09-24
sgasp
No

with this simple test.plt file

$ cat test.plt
plot sin(x)
pause mouse close

if I do

GNUTERM=qt gnuplot test.plt &

when I close the window the gnuplot proceses are still running.

$ ps -ef | grep gnuplot
sgaspari 25352 23603  1 19:08 pts/3    00:00:00 gnuplot test.plt
sgaspari 25353 25352  2 19:08 pts/3    00:00:00 gnuplot_qt
sgaspari 25381 23603  0 19:08 pts/3    00:00:00 grep --color=auto gnuplot

causing error such as

n$ Maximum number of clients reachedMaximum number of clients reachedgnuplot_qt: cannot connect to X server :0

until gnuplot processes are killed via

pkill gnuplot

doing

GNUTERM=wxt gnuplot test.plt &

does not produce the same issue. gnuplote processes are terminated upon closing window

$ uname -a
Linux tllab221 3.2.0-68-generic #102-Ubuntu SMP Tue Aug 12 22:02:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ gnuplot --version
gnuplot 4.6 patchlevel 1

Discussion

  • Ethan Merritt

    Ethan Merritt - 2014-09-24

    Duplicate of Bug #1418
    Fixed in 4.6.6 (just released; not yet announced)

     
  • Ethan Merritt

    Ethan Merritt - 2014-09-24
    • status: open --> pending-fixed
     
  • Ethan Merritt

    Ethan Merritt - 2014-10-08
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.