Menu

#219 Crash when running a custom build (and other commands empty)

Next_Nightly
fixed
Bug_Report
2016-01-30
2015-09-21
Teto
No

reported here http://forums.codeblocks.org/index.php/topic,20583.0.html?PHPSESSID=v45thii881aldvaf72slg1nan0

When trying to run my project which has only the custom "Build" command defined ("./waf install"):

Here is the backtrace
ASSERT INFO:
../src/unix/utilsunx.cpp(578): assert "*argv" failed in wxExecute(): can't exec empty command

BACKTRACE:
[1] wxExecute(char, int, wxProcess, wxExecuteEnv const)
[2] wxExecute(wxString const&, int, wxProcess, wxExecuteEnv const)
[3] CompilerGCC::BuildStateManagement()
[4] CompilerGCC::DoRunQueue()
[5] CompilerGCC::DoBuild(wxString const&, bool, bool, bool)
[6] CompilerGCC::Build(ProjectBuildTarget)
[7] CompilerGCC::OnCompile(wxCommandEvent&)
[8] CompilerGCC::Dispatcher(wxCommandEvent&)
[9] wxAppConsoleBase::CallEventHandler(wxEvtHandler
, wxEventFunctor&, wxEvent&) const
[10] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler, wxEvent&)
[11] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler
)
[12] wxEvtHandler::TryHereOnly(wxEvent&)
[13] wxEvtHandler::DoTryChain(wxEvent&)
[14] wxEvtHandler::ProcessEvent(wxEvent&)
[15] wxWindowBase::TryAfter(wxEvent&)
[16] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[17] wxToolBarBase::OnLeftClick(int, bool)
[18] g_signal_emit_valist
[19] g_signal_emit_by_name
[20] g_signal_emit_valist
[21] g_signal_emit
[22] g_signal_emit_valist
[23] g_signal_emit
[24] g_closure_invoke
[25] g_signal_emit_valist
[26] g_signal_emit
[27] gtk_propagate_event
[28] gtk_main_do_event
[29] g_main_context_dispatch
[30] g_main_loop_run
[31] gtk_main
[32] wxGUIEventLoop::DoRun()
[33] wxEventLoopBase::Run()
[34] wxAppConsoleBase::MainLoop()
[35] wxEntry(int&, wchar_t
)
[36] __libc_start_main

Discussion

  • Teodor Petrov

    Teodor Petrov - 2015-09-23
    • labels: --> wx30, crash
    • assigned_to: Teodor Petrov
     
  • Teodor Petrov

    Teodor Petrov - 2015-10-04

    All issues related to this problem should be fixed in rev 10520.
    Hopefully I've not broken anything else.

     
  • Teodor Petrov

    Teodor Petrov - 2015-10-04
    • status: open --> fixed
     

Log in to post a comment.