User forums > Help
Cannot Debug and CB terminates randomly
slashmais:
On debian using nightly 10499
1. while editing source-files CB terminates at random times (with resultant edit-losses)
2. cannot debug, following saved from popup-backtrace:
--- Code: ---ASSERT INFO:
/usr/include/wx-3.0/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
BACKTRACE:
[1] wxCheckDynamicCast(wxObject*, wxClassInfo*)
[2] GdbCmd_InfoRegisters::ParseOutput(wxString const&)
[3] GDB_driver::ParseOutput(wxString const&)
[4] DebuggerGDB::OnGDBOutput(wxCommandEvent&)
[5] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[6] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[7] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[8] wxEvtHandler::TryHereOnly(wxEvent&)
[9] wxEvtHandler::ProcessEventLocally(wxEvent&)
[10] wxEvtHandler::ProcessEvent(wxEvent&)
[11] wxEvtHandler::ProcessPendingEvents()
[12] wxAppConsoleBase::ProcessPendingEvents()
[13] wxApp::DoIdle()
[14] g_main_context_dispatch
[15] g_main_loop_run
[16] gtk_main
[17] wxGUIEventLoop::DoRun()
[18] wxEventLoopBase::Run()
[19] wxAppConsoleBase::MainLoop()
[20] wxEntry(int&, wchar_t**)
[21] __libc_start_main
--- End code ---
Would appreciate any inputs on fixing this.
ollydbg:
--- Quote from: slashmais on September 26, 2015, 10:40:58 am ---On debian using nightly 10499
1. while editing source-files CB terminates at random times (with resultant edit-losses)
--- End quote ---
Can you disable the "Code Completion plugin", and see whether the random crash happens again? Also, if you got a crash stack track, please post it here, thanks.
oBFusCATed:
This has nothing to do with CC.
It is a wx30 assertion because of mismatching format specifiers and types (size_t and %x in this case).
Looking at it....
oBFusCATed:
I've fixed this in rev10504. Please test and report if it is working.
Also, can someone on windows verify the rev10505 does what is supposed to do?
slashmais:
@ollydbg: disabled it and so far no crashes - will keep it disabled see what happens
re testing 10504: waiting for jens... (if he doesn't produce in the next day or two I'll dl the nightly svn & compile local)
(currently debugging the old way: printf is king)
Navigation
[0] Message Index
[#] Next page
Go to full version