Author Topic: Removing files from project causes C::B to crash  (Read 3469 times)

Offline vongodric

  • Multiple posting newcomer
  • *
  • Posts: 15
Removing files from project causes C::B to crash
« on: August 27, 2006, 05:42:40 pm »
as the title says.

My system:
win xp
aug 24 build. (unicode)

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Removing files from project causes C::B to crash
« Reply #1 on: August 27, 2006, 06:41:53 pm »
I can't reproduce this here with revision 2914 on Linux (gcc 3.4.6 wxGTK 2.6.2 unicode). There is no crash when I remove files from the project (I used CodeBlocks.cbp to test).

Perhaps you could give some more information and/or upload a small sample project that causes these crashes?
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Removing files from project causes C::B to crash
« Reply #2 on: August 27, 2006, 06:44:29 pm »
Or, you could try without code completion, which is probably the cause.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Removing files from project causes C::B to crash
« Reply #3 on: August 27, 2006, 06:51:22 pm »
Or, you could try without code completion, which is probably the cause.

You know, I 'd like for once people don't blame CC for just about everything.
What does CC now have to do with removing a file from the project?  :shock:
Be patient!
This bug will be fixed soon...

Offline vongodric

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Removing files from project causes C::B to crash
« Reply #4 on: August 27, 2006, 07:15:13 pm »
I should have been a tad more specific. It doesn't crash right away, but after removing couple of files. or removing all files.
it results in just exiting c::b without any warnings or errors. Tryed on code::blocks own project.

and I don't use code completition at all.

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Removing files from project causes C::B to crash
« Reply #5 on: August 27, 2006, 08:03:21 pm »
Still no crash for me. I tried with and without code-completion. Even after removing *all* files from the Code::Blocks project there was no crash.
Did Code::Blocks generate a crash report file (I think it has rpt or something like this as extension)? This could be really usefull to find the problem.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Removing files from project causes C::B to crash
« Reply #6 on: August 27, 2006, 08:42:56 pm »
Or, you could try without code completion, which is probably the cause.

You know, I 'd like for once people don't blame CC for just about everything.
What does CC now have to do with removing a file from the project?  :shock:
Blaming CC is my general strategy :)
Whenever I had a crash in the past, it was either code completion or keybinder. After removing both of these three months ago, I never saw any kind of crash again. That's something that gets me thinking... :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Removing files from project causes C::B to crash
« Reply #7 on: August 27, 2006, 09:25:36 pm »
Blaming CC is my general strategy :)

Yes, I know that :)

Whenever I had a crash in the past, it was either code completion or keybinder. After removing both of these three months ago, I never saw any kind of crash again. That's something that gets me thinking... :)

That's exactly why you should stop blaming CC for everything: you don't use it at all so you don't know its current state.
Be patient!
This bug will be fixed soon...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2150
Re: Removing files from project causes C::B to crash
« Reply #8 on: August 28, 2006, 01:41:01 pm »
Quote
That's exactly why you should stop blaming CC for everything: you don't use it at all so you don't know its current state.

Ditto.

Guess I should restore autosave.

Show me yours and...  :D