crashes on build

Bug #1577401 reported by anatoly techtonik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
codelite (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Installed just to try. Created workspace, tried to build, and it crashed.

Looks like I also needed to create the project or something. I just added needed folder.

Thread 1 "codelite" received signal SIGSEGV, Segmentation fault.
0x00007ffff59100e0 in wxXmlDocument::GetRoot() const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu_xml-3.0.so.0
(gdb) bt
#0 0x00007ffff59100e0 in wxXmlDocument::GetRoot() const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu_xml-3.0.so.0
#1 0x00007ffff428fcd3 in Project::GetName() const ()
   from /usr/lib/codelite/libplugin.so.0
#2 0x0000555555b67a79 in clMainFrame::OnExecuteNoDebug(wxCommandEvent&) ()
#3 0x00007ffff528d1fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4 0x00007ffff54136c7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5 0x00007ffff54137bb in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6 0x00007ffff5413b6b in wxEvtHandler::TryHereOnly(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5413bf3 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5413c55 in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5f96d08 in wxWindowBase::TryAfter(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff54139c7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff5f3bb1f in wxMenuBase::SendEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff5e1f0eb in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff0d88fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff0d9afc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff0da3d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff0da408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff79d567e in gtk_widget_activate () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007ffff78d08ed in gtk_menu_shell_activate_item () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff78d0c56 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff78beafc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#21 0x00007ffff0d88fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff0d9b56e in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff0da37f9 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff0da408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007ffff79d68cc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff78bd294 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff78bd64b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007ffff28bcc4c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#29 0x00007ffff0ab2127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff0ab2380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff0ab26a2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff78bc6a7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00007ffff5d81ed5 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#34 0x00007ffff52cf343 in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5294666 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x00007ffff5320f50 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#37 0x000055555582e47e in main ()

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: codelite 9.1+dfsg-2
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Mon May 2 16:17:43 2016
SourcePackage: codelite
UpgradeStatus: Upgraded to xenial on 2016-04-07 (25 days ago)

Revision history for this message
anatoly techtonik (techtonik) wrote :
Revision history for this message
James Cowgill (jcowgill) wrote :

Hi!

Thanks for reporting this bug. I've managed to reproduce it and I'll have a look at how it can be fixed. It seems to only occur if you try to use "Run" in an empty workspace so hopefully it isn't bothering you too much.

James

Changed in codelite (Ubuntu):
assignee: nobody → James Cowgill (jcowgill)
status: New → In Progress
Revision history for this message
James Cowgill (jcowgill) wrote :

I've forwarded this upstream here: https://github.com/eranif/codelite/issues/1268
I'm going to wait to see what upstream says here, so I'm putting the bug back to confirmed.

Changed in codelite (Ubuntu):
assignee: James Cowgill (jcowgill) → nobody
status: In Progress → Confirmed
Revision history for this message
anatoly techtonik (techtonik) wrote : Re: [Bug 1577401] Re: crashes on build

On Mon, May 2, 2016 at 8:03 PM, James Cowgill <email address hidden> wrote:
> Hi!
>
> Thanks for reporting this bug. I've managed to reproduce it and I'll
> have a look at how it can be fixed. It seems to only occur if you try to
> use "Run" in an empty workspace so hopefully it isn't bothering you too
> much.

Well, I switched to gnome-builder already. Maybe next time.. Another bug was
that it detected crash (which is good) and proposed to rerun under gdb, but just
hanged instead.

Changed in codelite (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package codelite - 9.2+dfsg-1

---------------
codelite (9.2+dfsg-1) unstable; urgency=medium

  * New upstream release.
    - Fixes crash when attempting to build an empty workspace. (LP: #1577401)

  * debian/patches:
    - Refresh patches.
    - Drop 26_do-not-trash-cxxflags.patch, 27_spelling-fixes.patch,
      and 28_fix-non-x64-build.patch. All applied upstream.

 -- James Cowgill <email address hidden> Sat, 23 Jul 2016 15:39:34 +0100

Changed in codelite (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.