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] Dropping the closeQtapp call

2018-12-29 Thread Alan W. Irwin
On 2018-12-29 11:56- António Rodrigues Tomé wrote: On Sat, Dec 29, 2018 at 11:20 AM Alan W. Irwin wrote: On 2018-12-29 09:17- António Rodrigues Tomé wrote: On Sat, Dec 29, 2018 at 2:28 AM Alan W. Irwin < alan.w.irwin1...@gmail.com> I'm puzzled my changes do not in any way affect

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 i

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 th

Re: [Plplot-devel] Dropping the closeQtapp call

2018-12-29 Thread António Rodrigues Tomé
On Sat, Dec 29, 2018 at 11:20 AM Alan W. Irwin wrote: > On 2018-12-29 09:17- António Rodrigues Tomé wrote: > > > On Sat, Dec 29, 2018 at 2:28 AM Alan W. Irwin < > alan.w.irwin1...@gmail.com> > > > I'm puzzled my changes do not in any way affect the extqt case. the > ext-qt > > also should ne

[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 sor

[Plplot-devel] Dropping the closeQtapp call

2018-12-29 Thread Alan W. Irwin
On 2018-12-29 09:17- António Rodrigues Tomé wrote: On Sat, Dec 29, 2018 at 2:28 AM Alan W. Irwin I'm puzzled my changes do not in any way affect the extqt case. the ext-qt also should never call closeQtapp() but in fact it calls it but it is a flaw in code that does do not arm because

Re: [Plplot-devel] Change to appCounter logic within qt.cpp

2018-12-29 Thread Alan W. Irwin
Hi António: I am still slowing learning about both Qt and C++ so I was happy to hear from you my analysis of the appCounter logic was correct. I plan to push your commit later today. __ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementa

Re: [Plplot-devel] Change to appCounter logic within qt.cpp

2018-12-29 Thread António Rodrigues Tomé
On Sat, Dec 29, 2018 at 2:28 AM Alan W. Irwin wrote: > On 2018-12-27 16:30- António Rodrigues Tomé wrote: > > > As for the another important change to allow all qt drivers to be > called > > from within a qt application I think your worries are not justifiable as > > the function I changed