Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: Ghorgoth on January 08, 2014, 02:57:49 pm
-
I am using CentOS 5.6
while doing:
"codeblocks --rebuild --target="linux64" ~/my_project/project.workspace" , i get an instant crash that leads to a crash debug window report.
Am i doing something wrong, is there a work around ?
Thanks
-
Am i doing something wrong, is there a work around ?
The command line looks OK - please attach the crash report. It could be a wrong configuration of the batch build though.
-
The virtual machine i was working on this is broken,
i do it now on a Centos6 6.4 and i do not get the same error report, but i get the following error window (attached)
It says "nothing to be done" even if i give --rebuild fkag, then crashes.
Thanks,
ps : when migrating to the new codeblocks release, i removed the old configuration to prevent any configuration issue.
The last line of the screenshot has --target=linux64 but i also tried --target="linux64" which is of course a correct target name.
-
Hm, how have you installed C::B?
Does it crash the same way as with a simple console hello world project?
-
I installed it using the official Centos6 packages downloaded on the website, then installed them using Centos package manager.
No i haven't tried with a simple project, i'll check.
edit - Well, it seems that i was mispelling my target name and the crash was due to that. If i type the correct target name it does not crash anymore ;)
-
OK, I was able to reproduce this crash now:)
-
I've gotten this crash when I invoke --build. To duplicate, just build a project where it's already built (In my case, I'm running the windows version) and after the project reports everything is build, it crashes on CodeBlocks exit. If I add --no-batch-window-close, it will build fine and leave the message dialog, which I can close manually without a crash. However, for batch file based builds, this isn't a good solution.
-
@devs: Can someone familiar with batch build look at it. I can but it would take me a lot of time, which I don't have at the moment. :(
-
I've gotten this crash when I invoke --build. To duplicate, just build a project where it's already built (In my case, I'm running the windows version) and after the project reports everything is build, it crashes on CodeBlocks exit.
I cannot reproduce.
I've taken the C::B project, running the batch build as:
codeblocks.exe --target=All --build "C:\Devel\CodeBlocks\src\CodeBlocks.cbp"
-> works just fine (ran in 5 times!). Adding --batch-build-notify or --no-batch-window-close in any combination works well, too?!
-
Did you try specifying a wrong/mispelled target?
-
Did you try specifying a wrong/mispelled target?
Nope, forgotten it. ::) I've done now and was able to reproduce the crash.
A fix is committed to SVN head. If you find the time to compile C::B yourself, feel free to try.
Thanks for reporting!
-
Thanks a lot!