Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
codeblocks configuration not saved
nothing:
first of all: sorry for my english
second: thanks for this piece of software, great work!
i try to compile codeblocks (for the first time) from svn, precisely on 29.11.07 and 30.11.07
it compile fine, and codeblocks start and work without problem. but when i close it segfault
looking at the console output, right after the start:
########
(codeblocks:32339): Gtk-CRITICAL **: gtk_window_realize_icon: assertion `info->icon_pixmap == NULL' failed
########
and closing it:
########
Deinitializing plugins...
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `addr2line -C -f -e "/usr/bin/codeblocks" 0xb6cab223 0xffffe420 0xb72b046a (nil)'
Segmentation fault
########
im using gtk-2.10.13, and if can help i've attached the entire log
note: i've tried to look at the "svn know issues" page, but it seems that i can't read it
[attachment deleted by admin]
dje:
Hi !
It looks like your wxWidgets release is too old.
You should search the forum for your assertion for a more details.
Dje
byo:
I have simillar beaviour, fresh svn checkout, fresh wx 2.6.7 build.
Call stack:
--- Code: ---Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233844544 (LWP 3259)]
0xb6ab453c in vtable for std::bad_typeid () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0xb6ab453c in vtable for std::bad_typeid () from /usr/lib/libstdc++.so.6
#1 0xb6e42b3c in wxAppBase::SendIdleEvents () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#2 0xb6e42b0f in wxAppBase::SendIdleEvents () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#3 0xb6e42b0f in wxAppBase::SendIdleEvents () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#4 0xb6e42e3b in wxAppBase::ProcessIdle () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#5 0xb6d960ff in wxapp_idle_callback () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#6 0xb77e9551 in ?? () from /usr/lib/libglib-2.0.so.0
#7 0x00000000 in ?? ()
(gdb)
--- End code ---
After running few times the trace always goes through wxAppBase::SendIdleEvents, the topmost frame can be also:
--- Code: ---#0 0xb6a1550d in vtable for __cxxabiv1::__class_type_info () from /usr/lib/libstdc++.so.6
--- End code ---
Also it looks like there's no difference between closing C::B right after opening it or closing C::B with some project opened.
BYO
Jenna:
--- Quote from: byo on December 01, 2007, 12:00:12 am ---I have simillar beaviour, fresh svn checkout, fresh wx 2.6.7 build.
Call stack:
--- Code: ---Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233844544 (LWP 3259)]
0xb6ab453c in vtable for std::bad_typeid () from /usr/lib/libstdc++.so.6
(gdb) bt
#0 0xb6ab453c in vtable for std::bad_typeid () from /usr/lib/libstdc++.so.6
#1 0xb6e42b3c in wxAppBase::SendIdleEvents () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#2 0xb6e42b0f in wxAppBase::SendIdleEvents () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#3 0xb6e42b0f in wxAppBase::SendIdleEvents () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#4 0xb6e42e3b in wxAppBase::ProcessIdle () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#5 0xb6d960ff in wxapp_idle_callback () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#6 0xb77e9551 in ?? () from /usr/lib/libglib-2.0.so.0
#7 0x00000000 in ?? ()
(gdb)
--- End code ---
After running few times the trace always goes through wxAppBase::SendIdleEvents, the topmost frame can be also:
--- Code: ---#0 0xb6a1550d in vtable for __cxxabiv1::__class_type_info () from /usr/lib/libstdc++.so.6
--- End code ---
Also it looks like there's no difference between closing C::B right after opening it or closing C::B with some project opened.
BYO
--- End quote ---
I think you mean 2.8.7 .
Seems to be a problem with the ToDo-List plugin.
I disabled all plugins and then reenabled them.
Everyone works fine, except for the ToDo-List plugin.
If I enable it and the close C::B, it causes a segfault, and the ToDo-List plugin stays disabled.
Jenna:
With this patch the segfault when closing codeblocks goes away:
--- Code: ------ codeblocks-1.0svn.orig/src/plugins/todo/todolist.cpp 2007-11-28 06:16:23.000000000 +0100
+++ codeblocks-1.0svn.work/src/plugins/todo/todolist.cpp 2007-12-01 21:17:28.000000000 +0100
@@ -142,7 +142,7 @@
CodeBlocksDockEvent evt(cbEVT_REMOVE_DOCK_WINDOW);
evt.pWindow = m_pListLog->GetWindow();
Manager::Get()->ProcessEvent(evt);
- delete m_pListLog;
+// delete m_pListLog;
}
else
{
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version