User forums > Using Code::Blocks
Kubuntu - C::B 8477 crash on Workspace load
cacb:
Hi,
I have been using Nightly Build Code::Blocks for a long time with Windows and Kubuntu. On Kubuntu I am using the http://apt.jenslody.de/stable stable main
repository
I am running Kubuntu 12.04 with the latest updates.
Right now I am experiencing an awkward crash problem when loading any workspace on Kubuntu, see attched XML report. C::B starts ok, but crashes when I try to open a workspace.
Any help appreciated..... :'(
cacb:
FWIW, I just tried the same version of C::B on another Kubuntu 12.04 machine, same workspaces. It crashes out in the same way. It means I cannot get any work done until a solution is found....
Jenna:
Two things: you can try to disable the CodeCompletion plugin and/or you can try to use C::B from pasgui's ppa (https://launchpad.net/~pasgui/+archive/ppa/), because my version is built in a debian chroot and there might be binary incompatibilities with some libs (should not be, but who knows).
By the way: I thought my version is not installable on 12.04 (at least not out of the box).
MortenMacFly:
...one more thing in addition: After you disabled the CC plugin, your project should load. Then, please check the settings of all your workspace/project/target compiler(s) you use in this workspace. It seems, there is an issue with CC running the compiler to obtain the compilation flags for your project(s).
cacb:
Thanks for these replies... :)
jens: I disabled the CodeCompletion plugin, exited C::B, restarted C::B and opened the workspaces without any issues. Thanks, that saved my day. Apparently there is something fishy in the CodeCompletion plugin that causes the crash. If I re-enable the CC plugin and restart C::B again, the crashes return.
MortenMacFly: Be aware that my setup is a little special, perhaps it is of some relevance?
All my projects have 4 build targets
GCC_Release (currently used on linux only)
GCC_Debug (currently used on linux only)
MSVC_Release (used on Windows only)
MSVC_Debug (used on Windows only)
I am using Bazaar source control (on Windows only). For linux development, I syncronise source and project files over Samba, using Komparator, then edit as required, compile&link. When happy, I use Komparator to sync it back over Samba, then commit to Bazaar there.
If, for some reason, the CC plugin tries to access the MSVC compiler on linux, it certainly will not succeed. If that is the issue, it should just give up, but not crash.
Navigation
[0] Message Index
[#] Next page
Go to full version