Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: helpse on September 24, 2010, 04:29:29 am

Title: Bug which makes CB hang
Post by: helpse on September 24, 2010, 04:29:29 am
It happens in the latest CC builds 6621, 6623, 6627. U go to Settings -> Compiler and Debugger -> Global Compiler Settings -> Custom Variables -> Add, and u put "$(asd)" for Key and "asdfg" for Value. Hit Ok, and Ok. U will get a Runtime error: The application has requested the Runtime to terminate it in an unusual way. I know, u shouldnt put &(asd) for Key, but it should show a warning and not make the program hang.

Hope my bug reports help developing CB.
Title: Re: Bug which makes CB hang
Post by: Loaden on September 24, 2010, 04:33:54 am
It happens in the latest CC builds 6621, 6623, 6627. U go to Settings -> Compiler and Debugger -> Global Compiler Settings -> Custom Variables -> Add, and u put "$(asd)" for Key and "asdfg" for Value. Hit Ok, and Ok. U will get a Runtime error: The application has requested the Runtime to terminate it in an unusual way. I know, u shouldnt put &(asd) for Key, but it should show a warning and not make the program hang.

Hope my bug reports help developing CB.
Fixed in r6630.

Quote
Revision: 6630
Author: mortenmacfly
Date: 2010-9-23 23:43:42
Message:
* cc_branch: applied patch to fix system headers parsing completely hangs
-------------------------------
M : /branches/codecompletion_refactoring/src/plugins/codecompletion/codecompletion.cpp 

Title: Re: Bug which makes CB hang
Post by: helpse on September 24, 2010, 04:42:25 am
No my friend, im using the 6631 u posted and the bug im reporting is not fixed yet. Try to recreate what i did.
Title: Re: Bug which makes CB hang
Post by: Loaden on September 24, 2010, 04:49:49 am
No my friend, im using the 6631 u posted and the bug im reporting is not fixed yet. Try to recreate what i did.
Please use the key named "asd", but not is "$(asd)".
By the way, this is NOT cc branch issue.
The issue existed in trunk too.