aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Kad page crash on rev 10950  (Read 434 times)

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Kad page crash on rev 10950
« on: September 27, 2016, 11:32:04 PM »

After I got connection, if I want to show info about KAD network, I got this error:


Code: [Select]
ASSERT INFO:
../src/gtk/dc.cpp(276): assert "cr" failed in wxPaintDCImpl(): using wxPaintDC without being in a native paint event

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, char const*)
[2] wxNativeDCFactory::CreatePaintDC(wxPaintDC*, wxWindow*)
[3] wxPaintDC::wxPaintDC(wxWindow*)
[4] wxBufferedPaintDC::wxBufferedPaintDC(wxWindow*, int) /usr/local/include/wx-3.0/wx/dcbuffer.h:171
[5] COScopeCtrl::OnPaint(wxPaintEvent&) /home/debian/src/amule/src/OScopeCtrl.cpp:295
[6] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[7] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[8] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[9] wxEvtHandler::TryHereOnly(wxEvent&)
[10] wxEvtHandler::ProcessEventLocally(wxEvent&)
[11] wxEvtHandler::ProcessEvent(wxEvent&)
[12] COScopeCtrl::OnTimer(wxTimerEvent&) /home/debian/src/amule/src/OScopeCtrl.cpp:550
[13] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[14] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[15] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[16] wxEvtHandler::TryHereOnly(wxEvent&)
[17] wxEvtHandler::ProcessEventLocally(wxEvent&)
[18] wxEvtHandler::ProcessEvent(wxEvent&)
[19] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[20] wxTimerImpl::SendEvent()



Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 163
  • Offline Offline
  • Posts: 2688
Re: Kad page crash on rev 10950
« Reply #1 on: September 28, 2016, 10:35:09 AM »

Please give some info about your OS and wxWidgets version.
Logged
concordia cum veritate

klode82

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Kad page crash on rev 10950
« Reply #2 on: September 28, 2016, 09:40:04 PM »

Debian 8.5 on Pine64 with 2GB of RAM.
wxWidgets Version 2.8
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 163
  • Offline Offline
  • Posts: 2688
Re: Kad page crash on rev 10950
« Reply #3 on: September 29, 2016, 11:37:18 AM »

I've never seen that failing... Is the crash stable, reproducible? Just by opening the Kad info tab?
Logged
concordia cum veritate

iz0bbz

  • Hero Member
  • *****
  • Karma: 57
  • Offline Offline
  • Posts: 766
  • Gort! Klaatu barada nikto!
Re: Kad page crash on rev 10950
« Reply #4 on: October 17, 2016, 02:53:43 PM »

The same happens on Fedora 24 32bit (aMule 2.3.2, Asio, wxGTK3 3.0.2).
I mean, amule crashes when switching to Kad or Statistics tab. All the times.
Unfortunately I couldn't get a valid backtrace so far.

But it is related to:
 http://forum.amule.org/index.php?topic=21383.15

because applying your workaround to  src/OScopeCtrl.cpp the crash is 'fixed'.

Logged