Code::Blocks Forums
User forums => Help => Topic started by: Anon5710 on October 09, 2017, 04:15:50 pm
-
Hello,
I'm using codeblocks as an editor, using CENTOS7 as OS.
For some irritation unknown reason my installation stopped working today.
Around the same time, i was using to much space in my /home folder. (limited to 2 gb here :( )
I have cleared some old files, and I should have more then enough room now.
Whatever I do, codeblocks will hang a minute or so after start up.
If I look at the strace output, I'm seeing infinite symbolic link traversing :
stat("/sys/bus/cpu/devices/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu6/node0/memory147/subsystem/devices/memory246", 0x7ffd0e078710) = -1 ELOOP (Too many levels of symbolic links)
stat("/sys/bus/cpu/devices/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu0/node0/cpu6/node0/memory147/subsystem/devices/memory247", 0x7ffd0e078710) = -1 ELOOP (Too many levels of symbolic links)
As far as I'm aware this recursive symbolic linking is normal. (Other machines are setup like this to)
If i startup with --safe-mode, there is no crash and I can continue working. (without all the plugins tough ... )
I have tried :
1) clean the .codeblocks directory in /home/user/
2) uninstall and re-install all the packages. codeblocks.x86_64, codeblocks-contrib.x86_64, codeblocks-contrib-libs.x86_64 codeblocks-libs.x86_64
Any other things I can do to get this working again ?
-
Which version of Code::Blocks do you use?
-
Code::Blocks 13.12 - wx2.8.12 64 bit
-
Code::Blocks 13.12 - wx2.8.12 64 bit
This version of C::B is too old, and can you try a nightly version? Since the bugs may already fixed in the recent nightly build versions. Thanks.
-
Yep, this should be fixed in the 16.01 (not 100% sure) or night builds. If it is not then we need a backtrace to see where the recursion is starting.
-
I have updated to the last version, while this specific infinite recursion is not occurring anymore.
Codeblocks is hanging on something else, again only when i run in normal mode. In safe mode this does not happen.
How should i go about providing a stacktrace ?
-
The steps are something like:
1. install all debug info packages related to cb
2. install gdb
3. run codeblocks under gdb - gdb /usr/bin/codeblocks
4. what for the hang
5. ctrl-c
6. thread apply all bt
And send us the output from gdb.
-
sudo debuginfo-install codeblocks-16.01-1.el7.x86_64
Loaded plugins: fastestmirror, langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
centos7-x86_64 | 1.0 kB 00:00:00
centos7-x86_64-centosplus | 871 B 00:00:00
centos7-x86_64-extras | 871 B 00:00:00
centos7-x86_64-fasttrack | 871 B 00:00:00
centos7-x86_64-updates | 871 B 00:00:00
clone-spacewalk-client-7-x86_64 | 1.0 kB 00:00:00
epel7-centos7-x86_64 | 1.3 kB 00:00:00
openscap7_64 | 1.1 kB 00:00:00
Could not find debuginfo for main pkg: codeblocks-16.01-1.el7.x86_64
Could not find debuginfo pkg for dependency package atk-2.14.0-1.el7.x86_64
Could not find debuginfo pkg for dependency package glibc-2.17-157.el7_3.1.x86_64
Could not find debuginfo pkg for dependency package cairo-1.14.2-1.el7.x86_64
Could not find debuginfo pkg for dependency package codeblocks-libs-16.01-1.el7.x86_64
Could not find debuginfo pkg for dependency package fontconfig-2.10.95-10.el7.x86_64
Could not find debuginfo pkg for dependency package freetype-2.4.11-12.el7.x86_64
Could not find debuginfo pkg for dependency package libgcc-4.8.5-11.el7.x86_64
Could not find debuginfo pkg for dependency package gtk2-2.24.28-8.el7.x86_64
Could not find debuginfo pkg for dependency package gdk-pixbuf2-2.31.6-3.el7.x86_64
Could not find debuginfo pkg for dependency package glib2-2.50.3-3.el7.x86_64
Could not find debuginfo pkg for dependency package pango-1.36.8-2.el7.x86_64
Could not find debuginfo pkg for dependency package libstdc++-4.8.5-11.el7.x86_64
Could not find debuginfo pkg for dependency package wxBase-2.8.12-20.el7.x86_64
Could not find debuginfo pkg for dependency package wxGTK-2.8.12-20.el7.x86_64
I'll need to get this working first ...