Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Tof on February 20, 2006, 05:02:28 am

Title: Somes crashs and stranges behaviors
Post by: Tof on February 20, 2006, 05:02:28 am
Hi

I have somes troubles with C::B

1 - Somes crashs
Code
(codeblocks:12645): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(codeblocks:12645): Gtk-CRITICAL **: gtk_check_menu_item_set_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed

Some times I have those warnings and C::B it's block
Code

(codeblocks:4452): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(codeblocks:4452): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(codeblocks:4452): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

2 - Stranges behaviors
 - If I try to use the menu "Settings/Editor" when a projet is actif C::B froze
 - The workspace doesn't save the debug windows informations (position and data)
 - I can not drag and drop the debug windows in "Message" windows like a new tab

3 - Little patch
Code
Index: src/sdk/workspaceloader.cpp
===================================================================
--- src/sdk/workspaceloader.cpp (revision 2038)
+++ src/sdk/workspaceloader.cpp (working copy)
@@ -22,7 +22,7 @@
     #include "projectmanager.h"
     #include "messagemanager.h"
     #include "cbproject.h"
-    #inclued "globals.h"
+    #include "globals.h"
     #include "workspaceloader.h"
 #endif

For information:
 I use C::B SVN source revision 2038 with Linux (Gentoo 2.6.15 x86_64 Mobile AMD Athlon 64 Processor 3000+, gcc (GCC) 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) )

Tof
Title: Re: Somes crashs and stranges behaviors
Post by: Michael on February 20, 2006, 11:53:40 am
3 - Little patch
Code
Index: src/sdk/workspaceloader.cpp
===================================================================
--- src/sdk/workspaceloader.cpp (revision 2038)
+++ src/sdk/workspaceloader.cpp (working copy)
@@ -22,7 +22,7 @@
     #include "projectmanager.h"
     #include "messagemanager.h"
     #include "cbproject.h"
-    #inclued "globals.h"
+    #include "globals.h"
     #include "workspaceloader.h"
 #endif

You can post (http://developer.berlios.de/patch/?func=addpatch&group_id=5358) your patch to BerliOS.

Best wishes,
Michael
Title: Re: Somes crashs and stranges behaviors
Post by: mandrav on February 20, 2006, 11:58:01 am
Quote
- If I try to use the menu "Settings/Editor" when a projet is actif C::B froze

This is a known issue for the current revisions. Disable the code-completion plugin.

Quote
- The workspace doesn't save the debug windows informations (position and data)

You mean like breakpoints?

Quote
- I can not drag and drop the debug windows in "Message" windows like a new tab

This is not supported.