User forums > Using Code::Blocks
Delete an active target
LETARTARE:
This test was performed under Vista (win32) and Cb-11546 compiled with wx28 and Tdm492.
The plugin CC is disabled.
The project attached 'deleteTarget.cbp' (a simple console application) can detect a crash when calls from 'MacrosManager::RecalcVars(...)' and 'MacrosManager::ReplaceMacros(...)', under the following conditions :
All targets (Release, one, two, three) uses :
* Output filename = bin\$TARGET_NAME)\deleteTarget.exe
* Objects output dir = obj\$TARGET_NAME)\Targets 'one', 'two', 'three' have more :
* Custom variables : wx = $(#wx28_492)
* Search directories include = $wx\include - the global variable "#wx28_492" is not used for compilation !, just for demonstration.
All targets compile and work correctly.
* 1- compile and run target 'debug'
* 2- delete active target 'debug'
* 3- it's ok=> trying to do the same thing with another (active) target causes a cb crash with a report (attached) !!
A note after removing the 'Debug' target : binary files and '*.o' still exist.
The oldest version without crash seems to be 'cb-11454' nightly build.
No test under Linux.
BlueHazzard:
And here we probably have it xD the first bug probably caused by [r11465]
Can you test if [r11464] works, and if the bug is introduced in [r11465]?
LETARTARE:
Yes, I will download both versions and try them out...
LETARTARE:
Indeed 'cb11464' does not crash while 'cb11465' crash (see report).
But what do you mean "it xD" ?
BlueHazzard:
--- Quote ---But what do you mean "it xD" ?
--- End quote ---
--- Quote ---And here we probably have it xD
--- End quote ---
This was sarcastic or cynical... It was only a matter of time until someone will find a bug about this patch.
i will look into it...
Navigation
[0] Message Index
[#] Next page
Go to full version