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
mortenmacfly 2012-11-26 10:24

Sorry, but I can't reproduce. Any additional information? Does it

still persist?

athar 2012-11-26 10:36

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?).

athar 2012-11-26 13:23

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.

mortenmacfly 2012-11-26 13:30

Alright - I can reproduce now with a §.

But is seems a bug in the underlying scintilla in the first place...

mortenmacfly 2012-11-27 10:25

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! :-)

mortenmacfly 2012-11-27 10:59

This bug is now fixed in HEAD.

Thank you for reporting it.