Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-23 Thread Alan W. Irwin
On 2013-02-23 17:02-0800 phil rosenberg wrote: > I should now be able to supply a patch that give correct operation and closure of a single window and allows the console to continue running without the orphaned window. Would you like that as a patch now with possibly more to follow? Hi Phil: Ple

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-23 Thread phil rosenberg
Okay, well I've got plplot roughly setup on my Linux box at home - the reason why it's not easy is that this box is a media centre connected to my TV (no proper monitor) running Ubuntu 10.04 (which has a version of CMAKE too old to build plplot). Anyway I've made a bit of progress. The Eclipse d

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-23 Thread fulvio ciriaco
Hallo, it seems to me that the message coming from the ~wxPLDevGC was due to deleting wxPLDevGC after calling wxuninitialize. In fact, reverting the things the message disappears, but the ill behaviour is still there. The backtrace of segfault: #0 0x7ff9b206c6ff in _L_unlock_532 () from /lib

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-23 Thread fulvio ciriaco
Hallo, restricted somewhat the problem, it happens in the destructor, where indicated by >> wxPLDevGC::~wxPLDevGC() { // Log_Verbose( "%s", __FUNCTION__ ); if ( ownGUI ) { if ( m_dc ) { ( (wxMemoryDC *) m_dc )->SelectObject( wxNullBitmap );

Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window

2013-02-23 Thread fulvio ciriaco
Hallo, so I compiled plplot with wxwidgets debug enabled, a message is delivered as soon as I right click the first window appearing: ../src/gtk/dcclient.cpp(248): assert "wxAssertFailure" failed in wxFreePoolGC(): Wrong GC I opened gdb and returned from wxwidgets, until I landed back in plplot a