|
From: Ethan A M. <sf...@us...> - 2017-07-06 22:03:48
|
On Thursday, 06 July, 2017 16:27:00 Daniel J Sebald wrote: > So, what I'm going on at this point is: > > 1) It looks like the graphics may be running in a secondary thread. > > 2) wxWidgets documentation states "GUI calls are explicitly not safe at > all in secondary threads and could end your application prematurely." > > The contra-positive logic doesn't necessarily conclude that the source > of the problem therefore lies in gnuplot. Plus it is a lot of work to > test the theory that rearranging wx_gui so that GUI manipulation is only > done in the main thread. So, for me it's inconclusive from my > understanding just who's responsible for the need for XInitThreads(). > > Dan So do all the errors go away if you do ./configure --with-wx-single-threaded (still omitting the call to XInitThreads and not linking to -lX11). Ethan |