Author Topic: Linux version hanging...  (Read 7133 times)

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Linux version hanging...
« on: February 15, 2013, 01:11:08 am »
Went to do a build workspace today (lots of changes) using the "build all" group I setup (builds release and debug at the same time), but it hung.  On debian squeeze.   I tried just clean and did the same .. I canceled it several times and updated to latest version, but same thing, then I tried just clean release, worked, so just clean debug, worked, so now tried clean build all and worked, did a build on build all, worked.  Made some changes, went to build and hung again (says ................Build: Debug in xxxx (compiler: GNUC  Compiler)................  that's all that's there.  what might be happening?

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Linux version hanging...
« Reply #1 on: February 15, 2013, 01:14:37 am »
more details - turns out just trying debug or release doesn't fix anything .. but if I right click the project, build options, do nothing but click ok, then when I do the build workspace, it works ???

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Linux version hanging...
« Reply #2 on: February 15, 2013, 01:29:31 am »
Try to start C::B from terminal and report back. Do you use backtick expressions?
(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!]

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Linux version hanging...
« Reply #3 on: February 15, 2013, 07:26:01 am »
Here's the output (hung just before the Killed):

Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
ClassWizard: loaded
ProjectsImporter: loaded
Abbreviations: loaded
ToDoList: loaded
Compiler: loaded
Autosave: loaded
CodeCompletion: loaded
FilesExtensionHandler: loaded
AStylePlugin: loaded
ScriptedWizard: loaded
OpenFilesList: loaded
Debugger: loaded
Class wizard plugin activated
Foreign projects importer plugin activated
Abbreviations plugin activated
Todo List plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU GCC Compiler for MSP430"
Added compiler "LLVM Clang Compiler"
Added compiler "Small Device C Compiler"
Added compiler "*No Compiler*"
Added compiler "GNU GCC Compiler for TriCore"
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "PGI Fortran Compiler"
Added compiler "Tiny C Compiler"
Added compiler "LLVM D Compiler"
Added compiler "GNU GCC Compiler for AVR"
Compiler plugin activated
Autosave plugin activated
Code completion plugin activated
Files extension handler plugin activated
Source code formatter (AStyle) plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
Scripted wizard plugin activated
Open files list plugin activated
Debugger plugin activated

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
Loading toolbar...
No active project available.
Initializing plugins...
Updating class browser...
Class browser updated.
Loading workspace "/media/sf_X_DRIVE/libs/linux/mylib/mylib.workspace"
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
839 files loaded
Done loading project in 1439ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/
Mozilla universal detection engine detected 'windows-1252'.
Final encoding detected: Windows Western European (CP 1252) (ID: 33)
Conversion succeeded using wxEncodingConverter (buffer size = 56998, converted size = 57002.
Project data set for /media/sf_X_DRIVE/libs/lindev/src/lindev.cpp
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
39 files loaded
Done loading project in 84ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
14 files loaded
Done loading project in 25ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
7 files loaded
Done loading project in 12ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
1 files loaded
Done loading project in 4ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
11 files loaded
Done loading project in 19ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/linux/
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 41)
Project data set for /media/sf_X_DRIVE/libs/linux/fltkadd/fltkkeepalive.cpp
Top Editor: /media/sf_X_DRIVE/libs/linux/fltkadd/fltkkeepalive.cpp
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
12 files loaded
Done loading project in 21ms
Project's base path: /media/sf_X_DRIVE/libs/linux/mylib/
Project's common toplevel path: /media/sf_X_DRIVE/libs/
Workspace layout file doesn't exist "/media/sf_X_DRIVE/libs/linux/mylib/mylib.workspace.layout"

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(codeblocks:2231): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GtkRadioMenuItem'

(codeblocks:2231): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed
Caching GCC default include dir: /usr/include/c++/4.4
Caching GCC default include dir: /usr/include/c++/4.4/i486-linux-gnu
Caching GCC default include dir: /usr/include/c++/4.4/backward
Caching GCC default include dir: /usr/local/include
Caching GCC default include dir: /usr/lib/gcc/i486-linux-gnu/4.4.5/include
Caching GCC default include dir: /usr/lib/gcc/i486-linux-gnu/4.4.5/include-fixed
Caching GCC default include dir: /usr/include
AddCompilerPredefinedMacros failed!
Passing list of files to batch-parser.
Header to parse with priority: '/usr/include/c++/4.4/cstddef'
Add 1 priority parsing file(s) for project 'mylib'...
Added 839 file(s) for project 'mylib' to batch-parser...
No active project available.
Create new parser for project 'mylib'
Updating class browser...
Class browser updated.
Starting batch parsing for project 'mylib'...
CWD for depslib was: /media/sf_X_DRIVE/libs/linux/mylib.
CWD for depslib is: /media/sf_X_DRIVE/libs/linux/mylib.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /media/sf_X_DRIVE/libs/linux/mylib.
CWD for depslib is: /media/sf_X_DRIVE/libs/linux/mylib.
Project 'mylib' parsing stage done!
Project 'mylib' parsing stage done (1095 total parsed files, 18856 tokens in 0 minute(s), 7.826 seconds).
Updating class browser...
Class browser updated.
Scanned 0 files for #includes, cache used 0, cache updated 0
CWD for depslib was: /media/sf_X_DRIVE/libs/linux/mylib.
CWD for depslib is: /media/sf_X_DRIVE/libs/linux/mylib.
-------------- Build: Debug in mylib (compiler: GNU GCC Compiler)---------------
Caching result of `fltk-config --cxxflags`
Killed

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Linux version hanging...
« Reply #4 on: February 15, 2013, 08:23:35 am »
Strange. Can you please use code tags to make the post more readable.

Also can you provide a simple project which reproduces the problem and your default.conf file?
(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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Linux version hanging...
« Reply #5 on: February 15, 2013, 02:17:32 pm »
Probably the same cause as discussed here: http://forums.codeblocks.org/index.php/topic,17324.0.html

What's the result of fltk-config --cxxflags on the commandline ?

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Linux version hanging...
« Reply #6 on: March 11, 2013, 10:38:44 pm »
-I/usr/local/include -I/usr/include/freetype2 -DFLTK_USE_NEW_PREFIX_SYMBOL=1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT