Code::Blocks Forums
User forums => Help => Topic started by: fguy on May 05, 2016, 03:04:20 am
-
Greetings
Frequently CodeBlocks just shuts down without warning, usually while I am editing a source file. One moment it's there, next moment it's gone. I also frequently get the following pop-up message dialog
An assertion failed!
../src/common/strconv.cpp(3031): assert "Assert failure" failed in wxCSConv(): invalid encoding value in wxCSConv ctor
I am running Debian Jessie 8.4 on a Dell laptop. The problems have persisted through installations of CB 13.12 from the Debian repositiory, v16.01 from apt.jenslody.de, and also the latest night build dated April 13, 2016. It has also persisted through two different Linux desktop environments, Xfce v4.10 and Mate 1.8.1.
I'd really like to get this resolved. I use CodeBlocks all the time, and it worked great for me while I was still using Windows, but since switching to Linux it has been nothing but trouble.
p.s. my shutdown problem sounds like problem #1 that this guy had. http://forums.codeblocks.org/index.php/topic,20603.0.html
-
You have to disable the Symbol browser in the Code completion settings.
It is known to cause crashes in wx30 builds as yours.
If the assertion persists after that, please share the file that is causing it.
This bug is probably the same as this one: https://sourceforge.net/p/codeblocks/tickets/305/
-
Well, that was easier than I thought it would be. It's been several days without a recurrence of the problem, so I think we can call this one solved.
-
It is not solved, but work-around :(