Bug #18809 2012-11-26 10:01
athar
Typing #if 0 crashes C::B 12.11 RC2
When opening a project and typing #if 0 somewhere in a file, typing the zero usually (but not always) causes C::B to freeze and crash about half a minute later.
- Category
- Application::Crash
- Group
- Platform:All
- Status
- Open
- Close date
- 2012-11-26 10:24
- Assigned to
- mortenmacfly
History
Sorry, but I can't reproduce. Any additional information? Does it
still persist?
I can reproduce it fairly reliably by starting C::B, opening a project and typing that line right away. It seems that it no longer happens (or at least not as often) after the project has been opened for a while (>20 seconds, perhaps?).
After some experiments, I noticed that it's typing a special character after #if (such as §) that crashes C::B.
I'm not yet used to the keyboard I'm currently using, so since ß is next to 0, it's quite possible that I was actually hitting 'ß' instead of 0 all along.
Alright - I can reproduce now with a §.
But is seems a bug in the underlying scintilla in the first place...
Here are some new::
Its a bug in scintilla, not C::B and it has already been reported here:
http://sourceforge.net/tracker/?func=detail&aid=3578824&group_id=2439&atid=102439
So we have to wait until the scintilla maintainer will fix this. For now: Don't do such! :-)
This bug is now fixed in HEAD.
Thank you for reporting it.