Author Topic: Codeblock crashes on Oracle Linux 6.4  (Read 4329 times)

Offline alexchen

  • Multiple posting newcomer
  • *
  • Posts: 49
Codeblock crashes on Oracle Linux 6.4
« on: October 21, 2013, 06:35:14 am »
I am using CodeBlock 12.11 on Oracle Linux 6.4 (64-bit).  The packages I installed are:
wxGTK-2.8.12-6.4.x86_64.rpm
codeblocks-12.11-1.el6.x86_64.rpm
codeblocks-contrib-12.11-1.el6.x86_64.rpm
codeblocks-contrib-devel-12.11-1.el6.x86_64.rpm
codeblocks-devel-12.11-1.el6.x86_64.rpm

When I open a C++ source code and click on the class name string in the source, the class name shows up in the left text field of the source search window.  When I click on the right text filed, hoping to see a list of the class methods, the program crashes.  It happens every time so I use 'gdb' to attach to the program before I try the steps again.  The following is the stack trace of the crash.  Hope this will shed some light to whoever is familiar with how CodeBlocks works:


Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x0000003d5b74b4d3 in SurfaceImpl::AlphaRectangle(PRectangle, int, ColourDesired, int, ColourDesired, int, int) () from /usr/lib64/libcodeblocks.so.0
#2  0x0000003d5b8d1ad4 in Indicator::Draw(Surface*, PRectangle const&, PRectangle const&) () from /usr/lib64/libcodeblocks.so.0
#3  0x0000003d5b8b38d0 in Editor::DrawIndicator(int, int, int, Surface*, ViewStyle&, int, PRectangle, LineLayout*, int) ()from /usr/lib64/libcodeblocks.so.0
#4  0x0000003d5b8b3b84 in Editor::DrawIndicators(Surface*, ViewStyle&, int, int, PRectangle, LineLayout*, int, int, bool) () from /usr/lib64/libcodeblocks.so.0
#5  0x0000003d5b8bd548 in Editor::DrawLine(Surface*, ViewStyle&, int, int, int, PRectangle, LineLayout*, int) () from /usr/lib64/libcodeblocks.so.0
#6  0x0000003d5b8c6dab in Editor::Paint(Surface*, PRectangle) () from /usr/lib64/libcodeblocks.so.0
#7  0x0000003d5b74fa74 in ScintillaWX::DoPaint(wxDC*, wxRect) () from /usr/lib64/libcodeblocks.so.0
#8  0x0000003d5b75cbe3 in wxScintilla::OnPaint(wxPaintEvent&) () from /usr/lib64/libcodeblocks.so.0
#9  0x0000003d58ae5210 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()from /usr/lib64/libwx_baseu-2.8.so.0
#10 0x0000003d58ae5e24 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib64/libwx_baseu-2.8.so.0
#11 0x0000003d58ae5f07 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/libwx_baseu-2.8.so.0
#12 0x0000003d58ae5e90 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/libwx_baseu-2.8.so.0
#13 0x0000003d5afe88a5 in wxWindow::GtkSendPaintEvents() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#14 0x0000003d5afe8d98 in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#15 0x0000003b1e553f53 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x0000003b1840bb3e in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#17 0x0000003b18420e23 in ?? () from /lib64/libgobject-2.0.so.0
#18 0x0000003b18421f4a in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#19 0x0000003b184225f3 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#20 0x0000003b1e676abf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#21 0x0000003b1e54c10f in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#22 0x0000003b1fc4318a in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#23 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#24 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#25 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#26 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#27 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#28 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#29 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#30 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#31 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#32 0x0000003b1fc43137 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#33 0x0000003b1fc3fc4b in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#34 0x0000003b1fc447c1 in gdk_window_process_all_updates () from /usr/lib64/libgdk-x11-2.0.so.0
#35 0x0000003b1e4ba161 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#36 0x0000003b1fc1d3a6 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#37 0x0000003b17838f0e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#38 0x0000003b1783c938 in ?? () from /lib64/libglib-2.0.so.0
#39 0x0000003b1783cd55 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#40 0x0000003b1e54c327 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#41 0x0000003d5afd58d8 in wxEventLoop::Run() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#42 0x0000003d5b0498eb in wxAppBase::MainLoop() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#43 0x000000000043db6b in ?? ()
#44 0x0000003d58a95115 in wxEntry(int&, wchar_t**) () from /usr/lib64/libwx_baseu-2.8.so.0
#45 0x000000000043dea2 in ?? ()
#46 0x0000003b1641ecdd in __libc_start_main () from /lib64/libc.so.6
#47 0x000000000043d999 in ?? ()
#48 0x00007fff8fc1a4a8 in ?? ()
#49 0x000000000000001c in ?? ()
#50 0x0000000000000001 in ?? ()
#51 0x00007fff8fc1ba08 in ?? ()
#52 0x0000000000000000 in ?? ()
(gdb)

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Codeblock crashes on Oracle Linux 6.4
« Reply #1 on: October 21, 2013, 07:11:39 am »
Please use code-tags to post log or simlar output or sources next time, this nehances the readability a lot.

Did you try a nightly from my repo (See signature) ?

If the Oracle linux is binary comaptible with RedHat/CetOS (el6) it should work.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12122
    • Travis build status
Re: Codeblock crashes on Oracle Linux 6.4
« Reply #2 on: October 21, 2013, 05:09:05 pm »
Can you provide a sample project that demonstrates the problem?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]