Bug #6625 2006-03-01 10:05
skirby
Problem with external application (file extension handling)
Hello,
I have found a nasty bug which make crash C::B
Here the way to reproduce it.
- Create or open a project with ressource file (.rc)
- Go to menu "Settings" and "Environment" then go to "Files extension handling"
- Register *.rc wildcard to ResEdit program (you can find it here http://www.radasm.com/projects/ResEd.zip)
- Check the radio button "Launch a external program" and above all the check box "Disable Code::Blocks while the externam program is running"
- Now double click on your ressource file => C::B open ResEdit successfully
Now, close ResEdit. C::B show us an error message:
ERROR:
Could not open file "D:\Dvpt\res_dlg.rc"
The register handler (File extension handler) could not open it.
Close the error message box and after two or three seconds, C::B crash (return to Windows)
For information, if the check box "Disable Code::Blocks while the externam program is running" is not checked, there is no problem.
I rerpduced it under Windows 2000 sp4 and XP sp2
I hope you could fix this bug.
Thanks and have a nice day.
- Category
- Application::Crash
- Group
- Status
- Closed
- Close date
- 2006-03-08 15:52
- Assigned to
History
Sorry I can't confirm what version of C::B do you have RC2?
I have
Version 1.0 revision 2119 (gcc 3.4.4 Windows/unicode, build: Mar 2 2006 14:21:06)
which does not have the problem you desribe. If you have RC2 try getting a nightly build from here.
Hello,
I download the Nightly Build every day.
So, I use the last Nightly Build (03/02/2006) and I always have the problem.
For information, I have tested to open rc file with other external programs (text editor) like Notepad or PSPad and I don't have the bug (C::B does not crash)
For the moment, that bug seems to appear only with ResEd.
It is pretty bad because it is an excellent ressource editor.
Please, tell me if you need more information about my configuration.
I have discussed the problem with the author of ResEd.
He made a new version which correct the crash of Code::Blocks
For information, RedEd did not return exit code to 1.
It seems that Code::Blocks need that information.
You can close that bug