Go to bug ID
Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
Reporter ?
Product/Version ?
Crimson Editor / Version 3.72 (beta, prior to r241)
Status ?
Severity ?
Duplicate Of ?
- none -
Summary ?
Crashes on opening binary files
Report Time ?
June 25, 2007 01:22:08 PM
Assignment ?
- none -
Resolution ?
Priority ?
Dependencies ?
- none -

For: 0 (0%)
Against: 0 (0%)
Total: 0

June 25, 2007 01:22:08 PM Phil
A debug assertion occurs which crashes CE when you open some binary files.

June 25, 2007 01:55:09 PM Ankit Singla
"some binary files"? So it's only when opening certain ones?

June 25, 2007 02:20:31 PM Phil
I think it is the ones with higher ascii characters, but i'm not sure. My guess is it is crashing on any file with a 1 as the first bit in any byte.

April 25, 2009 05:56:53 PM Ankit Singla
would it be possible to attach a binary that crashes ce?

October 22, 2009 03:38:49 AM Phil
Fixed in rev 268.

I changed the VS 2005 project file to make char be unsigned by default instead of signed. When a character with a 1 for a sign bit was passed to isspace, it was being sign extended with 1s instead of 0s, which caused the assertion within isspace since isspace expected zeros in the upper 3 bytes.