Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: C D Tamhankar on December 03, 2006, 05:30:31 pm

Title: CB crashes for non processing of any project / file
Post by: C D Tamhankar on December 03, 2006, 05:30:31 pm
Hello all

I have found a odd behavior of CB ide

open CB ide
close all files
close all projects
Close  ide

It flashes error message.

Now you start & close ide without doing any action, it flashes same error message

BUT
if you open new or recent project  and if you open & process any file 
then its a smooooooooooth close.

Environment
P IV, 1GB RAM, WIN XP SP 2, NORTON anti virus  + many officials softwares.

Sounds funny problem, but for last 4-5 days i am trying to figure the rational behind it.

Otherwise I have no complaints.... only praises.
Title: Re: CB crashes for non processing of any project / file
Post by: MortenMacFly on December 03, 2006, 05:55:10 pm
Confirmed. CC is the root. Attaching a backtrace FYI...
With regards, Morten.

[attachment deleted by admin]
Title: Re: CB crashes for non processing of any project / file
Post by: MortenMacFly on December 03, 2006, 07:40:36 pm
This is one of those bugs you like:
- reproducible [OK]
- reproducible in debug version [Nice!]
- Obvious code segment [well... erm...]
- reproducible when stepping through the code that issues the crash [NO!]
What the heck... :?
Hopefully our Greek hero can give another option...?!
With regards, Morten.
Title: Re: CB crashes for non processing of any project / file
Post by: mandrav on December 03, 2006, 09:01:52 pm
Will look at it tomorrow...
Title: Re: CB crashes for non processing of any project / file
Post by: mandrav on December 04, 2006, 09:45:58 am
Fixed.
Title: Re: CB crashes for non processing of any project / file
Post by: MortenMacFly on December 04, 2006, 10:16:17 am
Fixed.
Nice. Thanks! BTW: I had the same idea to check at that point again for "m_pBuilderThread"... so luckily i wasn't too far away, but not sure if this is the right way... :-)
Title: Re: CB crashes for non processing of any project / file
Post by: mandrav on December 04, 2006, 10:35:09 am
Fixed.
Nice. Thanks! BTW: I had the same idea to check at that point again for "m_pBuilderThread"... so luckily i wasn't too far away, but not sure if this is the right way... :-)

Read the comment by the fix and you 'll see why it is the right idea :).