codeblocks crashed with SIGABRT in g_type_check_instance_cast()

Bug #1195867 reported by Irakli Mirzikashvili
150
This bug affects 18 people
Affects Status Importance Assigned to Milestone
codeblocks (Ubuntu)
Confirmed
High
Unassigned
gtk+2.0 (Ubuntu)
Confirmed
High
Unassigned
lib32wxgtk2.8 (Ubuntu)
Invalid
High
Unassigned

Bug Description

Codeblocks IDE is unable to start: it crashes after choosing compiler.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: codeblocks 12.11-3
ProcVersionSignature: Ubuntu 3.9.0-7.15-generic 3.9.7
Uname: Linux 3.9.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.10.2-0ubuntu2
Architecture: amd64
Date: Fri Jun 28 23:41:02 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/codeblocks
InstallationDate: Installed on 2013-06-25 (3 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130616)
MarkForUpload: True
ProcCmdline: codeblocks
Signal: 6
SourcePackage: codeblocks
StacktraceTop:
 g_type_check_instance_cast () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 wxMenu::GtkAppend(wxMenuItem*, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
 wxMenu::DoAppend(wxMenuItem*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
 ?? ()
 DebuggerManager::RefreshUI() () from /usr/lib/libcodeblocks.so.0
Title: codeblocks crashed with SIGABRT in g_type_check_instance_cast()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Irakli Mirzikashvili (mirz-ika777) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_check_instance_cast (type_instance=0x2ff20d0, iface_type=43658864) at /build/buildd/glib2.0-2.37.3/./gobject/gtype.c:4008
 wxMenu::GtkAppend(wxMenuItem*, int) () from /tmp/apport_sandbox_ADDXy9/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
 wxMenu::DoAppend(wxMenuItem*) () from /tmp/apport_sandbox_ADDXy9/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
 Append (kind=wxITEM_RADIO, help=..., text=..., itemid=<optimized out>, this=0x2ff44b0) at /usr/include/wx-2.8/wx/menu.h:67
 AppendRadioItem (help=..., text=..., itemid=<optimized out>, this=0x2ff44b0) at /usr/include/wx-2.8/wx/menu.h:86

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in codeblocks (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in codeblocks (Ubuntu):
status: New → Confirmed
tags: added: bugpattern-needed
information type: Private → Public
Revision history for this message
Simon K (octav14n) wrote :

It seems like "wxITEM_RADIO" isn't compatible with Ubuntu?
I've recompiled the whole code-blocks ("codeblocks-12.11release8629" as download able on the official site) and commented out every line with "AppendRadioItem" in it. Build the source via:
$ ./configure --prefix /usr --with-contrib-plugins=all
$ make

it didn't crash in this version (there were just warnings that those radio-items aren't initialized). It started to a full window, which seemed (at least) similar to the screenshots at codeblocks.org

I've found a thread in the codeblocks forums: http://forums.codeblocks.org/index.php?/topic,18088.msg123705.html
where the assumption was made, that this crash is due to Ubuntu-Gtk+ patches.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+2.0 (Ubuntu):
status: New → Confirmed
Changed in lib32wxgtk2.8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Status changed to 'Invalid' for the ' lib32wxgtk2.8 (Ubuntu)' package because it is deprecated.

description: updated
Changed in lib32wxgtk2.8 (Ubuntu):
status: Confirmed → Invalid
Changed in codeblocks (Ubuntu):
importance: Medium → High
Changed in gtk+2.0 (Ubuntu):
importance: Undecided → High
Changed in lib32wxgtk2.8 (Ubuntu):
importance: Undecided → High
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.