Author Topic: 13.12 Commandline build instant crash  (Read 10207 times)

Offline Ghorgoth

  • Multiple posting newcomer
  • *
  • Posts: 17
13.12 Commandline build instant crash
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: 13.12 Commandline build instant crash
« Reply #1 on: January 08, 2014, 05:57:23 pm »
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ghorgoth

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: 13.12 Commandline build instant crash
« Reply #2 on: January 10, 2014, 10:38:27 am »
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.
« Last Edit: January 10, 2014, 10:40:42 am by Ghorgoth »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 13.12 Commandline build instant crash
« Reply #3 on: January 10, 2014, 09:50:34 pm »
Hm, how have you installed C::B?
Does it crash the same way as with a simple console hello world project?
(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 Ghorgoth

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: 13.12 Commandline build instant crash
« Reply #4 on: January 13, 2014, 10:07:37 am »
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 ;)

« Last Edit: January 13, 2014, 12:02:10 pm by Ghorgoth »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 13.12 Commandline build instant crash
« Reply #5 on: January 13, 2014, 07:34:54 pm »
OK, I was able to reproduce this crash now:)
(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!]

burgerbecky

  • Guest
Re: 13.12 Commandline build instant crash
« Reply #6 on: January 14, 2014, 07:17:57 am »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: 13.12 Commandline build instant crash
« Reply #7 on: January 16, 2014, 01:23:55 am »
@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. :(
(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 MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: 13.12 Commandline build instant crash
« Reply #8 on: January 16, 2014, 09:39:02 am »
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?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ghorgoth

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: 13.12 Commandline build instant crash
« Reply #9 on: January 16, 2014, 09:42:17 am »
Did you try specifying a wrong/mispelled target?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: 13.12 Commandline build instant crash
« Reply #10 on: January 20, 2014, 01:12:46 pm »
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!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ghorgoth

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: 13.12 Commandline build instant crash
« Reply #11 on: January 20, 2014, 02:47:45 pm »
Thanks a lot!