Re: [Plplot-devel] qt_example intermittent segfaults on exit

2018-12-29 Thread Alan W. Irwin
On 2018-12-29 21:45- António Rodrigues Tomé wrote: Hi Alan I just tried another thing as I was not feel comfortable by the fact that apparently QtExtWidget is setup in the main window but free in the driver however just found out that in fact the plD_tidy_extqt( PLStream * pls ) is never

Re: [Plplot-devel] qt_example intermittent segfaults on exit

2018-12-29 Thread António Rodrigues Tomé
Hi Alan I just tried another thing as I was not feel comfortable by the fact that apparently QtExtWidget is setup in the main window but free in the driver however just found out that in fact the plD_tidy_extqt( PLStream * pls ) is never reached. I compiled the original qt_example that does not

Re: [Plplot-devel] qt_example intermittent segfaults on exit

2018-12-29 Thread Alan W. Irwin
On 2018-12-29 16:50- António Rodrigues Tomé wrote: Hi Alan it is easy to put this in a more standard qt way where plot win is not defined as a pointer and put win.show replacing // a.setActiveWindow( win ); // win->setVisible( true ); before the return a.exec() the fun thing is that

Re: [Plplot-devel] qt_example intermittent segfaults on exit

2018-12-29 Thread António Rodrigues Tomé
Hi Alan it is easy to put this in a more standard qt way where plot win is not defined as a pointer and put win.show replacing // a.setActiveWindow( win ); // win->setVisible( true ); before the return a.exec() the fun thing is that in this case the program always crashes when one closes

[Plplot-devel] qt_example intermittent segfaults on exit

2018-12-29 Thread Alan W. Irwin
On 2018-12-29 09:17- António Rodrigues Tomé wrote: Unfortunately I was not able to make qt-example seg fault in my system so could not found out what was the problem. I could only trigger the segfaults in a busy environment, i.e., the interactive part of comprehensive testing with all