It looks like gnuplot freezes when the window is reactivated.
When I run gnuplot under gdb, I get the following backtrace when the window has freezed:
Terminal type set to 'wxt'
gnuplot> plot x
[New Thread 0x7fa47c02f950 (LWP 29279)]
[New Thread 0x7fa47b551950 (LWP 29280)]
gnuplot>
Program received signal SIGINT, Interrupt.
[Switching to Thread 0x7fa4883137e0 (LWP 29278)]
0x00007fa485b0f742 in select () from /lib/libc.so.6
(gdb) bt
#0 0x00007fa485b0f742 in select () from /lib/libc.so.6
#1 0x00000000004dd0b1 in wxt_waitforinput ()
at ../../../src/wxterminal/wxt_gui.cpp:2867
#2 0x000000000046fd1d in getc_wrapper (fp=0x1) at ../../../src/readline.c:96
#3 0x00007fa487f1fc8f in ?? () from /usr/lib/libedit.so.2
#4 0x00007fa487f1540b in el_gets () from /usr/lib/libedit.so.2
...
So the problem seems to be in a wxt_waitforinput() function (file wxterminal/wxt_gui.cpp). When the window freezes the loop starting from line 2856 keeps running. Any ideas why?
It looks like gnuplot freezes when the window is reactivated.
When I run gnuplot under gdb, I get the following backtrace when the window has freezed: ./src/wxtermina l/wxt_gui. cpp:2867 ./src/readline. c:96 libedit. so.2 libedit. so.2
Terminal type set to 'wxt'
gnuplot> plot x
[New Thread 0x7fa47c02f950 (LWP 29279)]
[New Thread 0x7fa47b551950 (LWP 29280)]
gnuplot>
Program received signal SIGINT, Interrupt.
[Switching to Thread 0x7fa4883137e0 (LWP 29278)]
0x00007fa485b0f742 in select () from /lib/libc.so.6
(gdb) bt
#0 0x00007fa485b0f742 in select () from /lib/libc.so.6
#1 0x00000000004dd0b1 in wxt_waitforinput ()
at ../../.
#2 0x000000000046fd1d in getc_wrapper (fp=0x1) at ../../.
#3 0x00007fa487f1fc8f in ?? () from /usr/lib/
#4 0x00007fa487f1540b in el_gets () from /usr/lib/
...
So the problem seems to be in a wxt_waitforinput() function (file wxterminal/ wxt_gui. cpp). When the window freezes the loop starting from line 2856 keeps running. Any ideas why?
This report may also be related with this: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=479085