Hi,

I want to use VS2015 now with wxwidgets and plplot. When I wxPlplotDemo 
It works fine until I press close box. An exception occurs at line 273 
wxWidgets-3.1.0/src/common/dcgraph.cpp stack. When I set a breakpoint at 
line 273 in dcgraph.cpp stack trace for first call
 >    wxPLplotDemo.exe!wxGCDCImpl::~wxGCDCImpl() Ligne 273    C++
      [Code externe]
      wxPLplotDemo.exe!wxDC::~wxDC() Ligne 742    C++
      wxPLplotDemo.exe!wxGCDC::~wxGCDC() Ligne 122    C++
      [Code externe]
wxPLplotDemo.exe!wxPLplotwindow<wxFrame>::~wxPLplotwindow<wxFrame>() 
Ligne 110    C++
      [Code externe]
      wxPLplotDemo.exe!wxAppConsoleBase::DeletePendingObjects() Ligne 
637    C++
      wxPLplotDemo.exe!wxAppConsoleBase::ProcessIdle() Ligne 445 C++
      wxPLplotDemo.exe!wxAppBase::ProcessIdle() Ligne 373    C++
      wxPLplotDemo.exe!wxEventLoopBase::ProcessIdle() Ligne 98    C++
      wxPLplotDemo.exe!wxEventLoopManual::DoRun() Ligne 263    C++
      wxPLplotDemo.exe!wxEventLoopBase::Run() Ligne 76    C++
      wxPLplotDemo.exe!wxAppConsoleBase::MainLoop() Ligne 380    C++
      wxPLplotDemo.exe!wxAppConsoleBase::OnRun() Ligne 302    C++
      wxPLplotDemo.exe!wxAppBase::OnRun() Ligne 312    C++
      wxPLplotDemo.exe!wxEntryReal(int & argc, wchar_t * * argv) Ligne 
503    C++
      wxPLplotDemo.exe!wxEntry(int & argc, wchar_t * * argv) Ligne 
181    C++
      wxPLplotDemo.exe!wxEntry(HINSTANCE__ * hInstance, HINSTANCE__ * 
__formal, char * __formal, int nCmdShow) Ligne 290    C++
      wxPLplotDemo.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * 
hPrevInstance, char * __formal, int nCmdShow) Ligne 129    C++
      [Code externe]

If i go on debugging I reach break point twice with this statck trace

 >    wxPLplotDemo.exe!wxGCDCImpl::~wxGCDCImpl() Ligne 273    C++
      [Code externe]
      wxPLplotDemo.exe!wxDC::~wxDC() Ligne 742    C++
      wxPLplotDemo.exe!wxGCDC::~wxGCDC() Ligne 122    C++
      [Code externe]
      wxPLplotDemo.exe!wxPLDevice::~wxPLDevice() Ligne 543    C++
      [Code externe]
      wxPLplotDemo.exe!plD_tidy_wxwidgets(PLStream * pls) Ligne 383    C++
      wxPLplotDemo.exe!plP_tidy() Ligne 235    C
      wxPLplotDemo.exe!c_plend1() Ligne 2528    C
      wxPLplotDemo.exe!plstream::~plstream() Ligne 347    C++
      wxPLplotDemo.exe!wxPLplotstream::~wxPLplotstream() Ligne 91 C++
wxPLplotDemo.exe!wxPLplotwindow<wxFrame>::~wxPLplotwindow<wxFrame>() 
Ligne 111    C++
      [Code externe]
      wxPLplotDemo.exe!wxAppConsoleBase::DeletePendingObjects() Ligne 
637    C++
      wxPLplotDemo.exe!wxAppConsoleBase::ProcessIdle() Ligne 445 C++
      wxPLplotDemo.exe!wxAppBase::ProcessIdle() Ligne 373    C++
      wxPLplotDemo.exe!wxEventLoopBase::ProcessIdle() Ligne 98    C++
      wxPLplotDemo.exe!wxEventLoopManual::DoRun() Ligne 263    C++
      wxPLplotDemo.exe!wxEventLoopBase::Run() Ligne 76    C++
      wxPLplotDemo.exe!wxAppConsoleBase::MainLoop() Ligne 380    C++
      wxPLplotDemo.exe!wxAppConsoleBase::OnRun() Ligne 302    C++
      wxPLplotDemo.exe!wxAppBase::OnRun() Ligne 312    C++
      wxPLplotDemo.exe!wxEntryReal(int & argc, wchar_t * * argv) Ligne 
503    C++
      wxPLplotDemo.exe!wxEntry(int & argc, wchar_t * * argv) Ligne 
181    C++
      wxPLplotDemo.exe!wxEntry(HINSTANCE__ * hInstance, HINSTANCE__ * 
__formal, char * __formal, int nCmdShow) Ligne 290    C++
      wxPLplotDemo.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * 
hPrevInstance, char * __formal, int nCmdShow) Ligne 129    C++
      [Code externe]

An if press step exception occurs this->m_graphicContexthas been 
0xFFFFFFFFFFF7...

With VS 2013 there is no problem and setting breakpoint at same point 
this breakpoint is reach only once.
I have build plplot with static lib and shared  lib  using release or 
debug mode and that's change nothing.

Have you got an idea to help me solving  this problem?

Thanks in advance








------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to