To reproduce :
- Extract codeblocks-16.01mingw-nosetup.zip to c:\CodeBlocks1601\
- Delete CodeBlocks folder in %APPDATA% if exists
- Run c:\CodeBlocks1601\codeblocks.exe
CB pops up Compiler auto-detection and Fileassociations dialogs. (I click OK)
Close CB.
- Run c:\CodeBlocks1601\codeblocks.exe again
- Clik Settings - Environment - Environment Variables
Using default environment variables set, i added new variable
key : MYPROJECT
value : C:\MY_PROJECT
then click OK.
Then i click "Set Now", Confirmation dialog pop up, i click "OK" then CodeBlocks crash.
Starting CB with CbLauncher.exe (which creates default.conf c:\CodeBlocks1601\AppData\codeblocks) and repeat step 5, same result.
I've tried with Administrator user, same result.
This is the recorded screen
http://forums.codeblocks.org/index.php/topic,21192.msg144673.html#msg144673
I have this crash issue for a very long time.
Then just use a debugger and fix it. ;)
I just tested and debug this issue, but this won't happens on my wx3.1 based C::B. This looks like a bug happens in wx2.8.12 version.
@jefrisibarani
Can you open the file "codeblocks.RPT", which is in the same folder of "codeblocks.exe", and see what is the crash call stack. I guess this is an issue related to this problem:
SVN build crashes when trying to editing/adding new compiler flags
Last edit: ollydbg 2016-09-03
not much info there
Last edit: jefrisibarani 2016-09-06
The two RPT files does not contains any call stack information.
Can confirm this bug does not happen with wx3.1 on windows 7
Does it happen with the latest night build?
The envvars plugin has been rewritten recently, it had some issues but I never got a crash.