Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: kipade on July 20, 2016, 02:44:17 am

Title: Crash because compeletion plugin
Post by: kipade on July 20, 2016, 02:44:17 am
I use slackware linux.
CB usually crashed if codecompeletion plugin enabled:
ClassBrowser::OnThreadEvent(): Updating class browser...
*** Error in `./codeblocks': double free or corruption (fasttop): 0x00000000033e71d0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x776f4)[0x7faf737766f4]
/lib64/libc.so.6(+0x7ff4a)[0x7faf7377ef4a]
/lib64/libc.so.6(+0x82a69)[0x7faf73781a69]
/lib64/libc.so.6(realloc+0x179)[0x7faf73782f19]
/usr/lib64/../lib64/libglib-2.0.so.0(g_realloc+0x28)[0x7faf74d49bc8]
/usr/lib64/../lib64/libgdk-x11-2.0.so.0(+0x319d2)[0x7faf7ae6d9d2]
/usr/lib64/../lib64/libgdk-x11-2.0.so.0(+0x32dc8)[0x7faf7ae6edc8]
/usr/lib64/../lib64/libgdk-x11-2.0.so.0(gdk_region_union+0x65)[0x7faf7ae6f305]
/usr/lib64/../lib64/libgdk-x11-2.0.so.0(+0x3d730)[0x7faf7ae79730]
/usr/lib64/../lib64/libgdk-x11-2.0.so.0(+0x3d87e)[0x7faf7ae7987e]
/usr/lib64/../lib64/libgtk-x11-2.0.so.0(gtk_widget_unmap+0x9f)[0x7faf7b33055f]
/usr/lib64/../lib64/libgobject-2.0.so.0(+0xfc04)[0x7faf7592cc04]
/usr/lib64/../lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xbf8)[0x7faf75946a68]
/usr/lib64/../lib64/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7faf75947132]
/usr/lib64/../lib64/libgtk-x11-2.0.so.0(gtk_widget_hide+0x9e)[0x7faf7b3358be]
/usr/local/lib/libwx_gtk2u_core-3.1.so.0(_ZN8wxWindow4ShowEb+0x55)[0x7faf7c2e5e15]
/home/kezhh/.local/share/codeblocks/plugins/libcodecompletion.so(_ZN25ClassBrowserBuilderThread9BuildTreeEv+0x340)[0x7faf66448110]
/home/kezhh/.local/share/codeblocks/plugins/libcodecompletion.so(_ZN25ClassBrowserBuilderThread5EntryEv+0x7a)[0x7faf66448c3a]
/usr/local/lib/libwx_baseu-3.1.so.0(_ZN8wxThread9CallEntryEv+0x82)[0x7faf7b8f91c2]
/usr/local/lib/libwx_baseu-3.1.so.0(+0x1ccdcd)[0x7faf7b8f9dcd]
/lib64/libpthread.so.0(+0x7684)[0x7faf741f3684]
Title: Re: Crash because compeletion plugin
Post by: ollydbg on July 20, 2016, 03:18:37 am
Hi, can you disable the symbol browser in the code completion plugin's setting dialog?

It is a known issue for wx 3.x under linux.(this issue has asked many times before in our forum) :)
Title: Re: Crash because compeletion plugin
Post by: kipade on July 21, 2016, 09:17:50 am
Yes, it can simply avoid by disable codecompletion plugin, if so, class symbol browser will be gone. I do not think its a good idea.
Thanks all the same.
Title: Re: Crash because compeletion plugin
Post by: oBFusCATed on July 21, 2016, 10:02:49 am
There is an option to disable just the symbol browser, but leave code completion enabled.