User forums > Using Code::Blocks
Kubuntu - C::B 8477 crash on Workspace load
MortenMacFly:
--- Quote from: cacb on October 29, 2012, 11:44:24 am ---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.
--- End quote ---
It checks for the presence of the executable in a way that wxExecute (which we use) won't return success... However - I could tell you exactly if you were willing to compile C::B yourself or (maybe) provide a minimal test project for the Linux devs to reproduce. MAybe you can strip-down your project to something usable...?!
cacb:
--- Quote from: MortenMacFly on October 29, 2012, 01:04:44 pm ---
--- Quote from: cacb on October 29, 2012, 11:44:24 am ---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.
--- End quote ---
It checks for the presence of the executable in a way that wxExecute (which we use) won't return success... However - I could tell you exactly if you were willing to compile C::B yourself or (maybe) provide a minimal test project for the Linux devs to reproduce. MAybe you can strip-down your project to something usable...?!
--- End quote ---
Thanks, I have put a small (397 kB) file here
It is a zip file with a Code::Blocks workspace according to the description I gave (except the project Bmp2Xpm does not have any GCC targets, but if you remove it from the workspace, C::B still crashes on Kubuntu 12.04 as explained when the CC plugin is enabled, I just tried it).
MortenMacFly:
--- Quote from: cacb on October 29, 2012, 03:33:18 pm ---Thanks, I have put a small (397 kB) file here
--- End quote ---
Hopefully one of the Linux devs with debugging capabilities can pick it up...
Jenna:
I get this crash here too.
I will look into it.
Jenna:
Error is simple: nativeparser.cpp:1921
--- Code: --- Compiler* compiler = CompilerFactory::GetCompiler(project->GetCompilerID());
cb::shared_ptr<CompilerCommandGenerator> generator(compiler->GetCommandGenerator(project));
--- End code ---
Missing check for nullptr.
compiler is 0x0, therefore it crashes (obviously).
Question is: what to do in this case, just step out the function or ... ?
CC devs should look into it I think.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version