Bug 1033880

Summary: [abrt] codeblocks-12.11-2.fc21: g_type_check_instance_cast: Process /usr/bin/codeblocks was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Christopher Meng <i>
Component: codeblocksAssignee: Dan Horák <dan>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dan, i
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/4e86198ae7e28d1a83a93e3f7ad4a260d779725a
Whiteboard: abrt_hash:fab819a6757493f97775fd900b385400b1f3fb45
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 10:37:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup none

Description Christopher Meng 2013-11-24 00:50:04 UTC
Description of problem:
I can't start codeblocks any more now.

Version-Release number of selected component:
codeblocks-12.11-2.fc21

Additional info:
reporter:       libreport-2.1.9
backtrace_rating: 4
cmdline:        /usr/bin/codeblocks
crash_function: g_type_check_instance_cast
executable:     /usr/bin/codeblocks
kernel:         3.12.0-1.fc21.i686
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 g_type_check_instance_cast at gtype.c:4009
 #1 wxMenu::GtkAppend at src/gtk/menu.cpp:1199
 #2 wxMenu::DoAppend at src/gtk/menu.cpp:1306
 #3 Append at /usr/include/wx-2.8/wx/menu.h:67
 #4 AppendRadioItem at /usr/include/wx-2.8/wx/menu.h:86
 #5 DebuggerMenuHandler::RebuildMenus at debuggermenu.cpp:342
 #6 DebuggerManager::RefreshUI at debuggermanager.cpp:1117
 #7 DebuggerManager::OnPluginLoadingComplete at debuggermanager.cpp:1280
 #8 cbEventFunctor<DebuggerManager, CodeBlocksEvent>::Call at ./cbfunctor.h:35
 #9 Manager::ProcessEvent at manager.cpp:179

Comment 1 Christopher Meng 2013-11-24 00:50:35 UTC
Created attachment 828220 [details]
File: backtrace

Comment 2 Christopher Meng 2013-11-24 00:50:40 UTC
Created attachment 828221 [details]
File: cgroup

Comment 3 Dan Horák 2013-11-24 08:52:59 UTC
You can try starting C::B with --safe-mode on the command line or removing $HOME/.codeblocks directory. The second option always helped me.

Comment 4 Christopher Meng 2013-11-24 09:35:45 UTC
Fine, it works as expected.

I did think if there was something wrong with preference files, seems true.

But I think this way is not suitable for normal users, we can't let users start from terminal... I will see what I can help here.

Thanks.

Comment 5 Christopher Meng 2013-11-26 14:46:45 UTC
Seems related to Debugger plugin:

1. Started in safe mode:

Plugins-->Manage plugins
                 ↓
                 ↓
                 ↓
Warning: Failed to create a temporary file name(error 13: permission denied)
                 ↓
                 ↓
                 ↓
Enable Debugger plugin
                 ↓
                 ↓
                 ↓
Warning: iCCP known incorrect sRGB profile
                 ↓
                 ↓
                 ↓
Disable it, then crashs.

Comment 6 Christopher Meng 2013-11-27 04:10:52 UTC
I just tested, can confirm this debugger plugin is the root cause of the crash.

Now happy coding again.

Comment 7 Jaroslav Reznik 2015-03-03 15:13:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 8 Fedora End Of Life 2016-07-19 10:37:48 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.