Code::Blocks Forums

User forums => Help => Topic started by: lukekivi on January 23, 2020, 03:25:01 am

Title: Fatal Assertion Error
Post by: lukekivi on January 23, 2020, 03:25:01 am
Today I opened my laptop and Codeblocks was open but not visible. I closed it and this error message appeared:


"Fatal Assertion Error

Assertion failed in static MgrT* Mgr<MgrT>::Get() [with MgrT = ProjectManager] at C:\CB17xx\src\include\manager.h:206.

false && "Calling Get after the subsystem has been shutdown is an error!""


Every time I open with the app icon no window ever appears even though it shows the app is running. However, I got the app to start and a window to appear again via the launcher. None of my personal settings work when I start with the launcher. (ex. downloaded themes) It still displays the same error message whenever I close the app.
 
I restarted my computer and reinstalled the app twice.
Title: Re: Fatal Assertion Error
Post by: stahta01 on January 23, 2020, 03:44:05 am
Stop using the Cblauncher; does it then work?

Tim S.
Title: Re: Fatal Assertion Error
Post by: lukekivi on January 23, 2020, 04:02:00 am
Stop using the Cblauncher; does it then work?

Tim S.

I only resorted to the CBLauncher because I need to write code. The CodeBlocks app opens but no window appears. Even so, their shouldn't be an error message every time I close the app.
Title: Re: Fatal Assertion Error
Post by: stahta01 on January 23, 2020, 04:16:05 am
Try copying the CB default config file "default.conf" to a new name (with CB Closed).

Edit: You need to delete the "default.conf"; a new one should be created with CB is ran.

On windows, the default config is in CodeBlocks subfolder under %APPDATA%

Then, start CB normally!

Tim S.
Title: Re: Fatal Assertion Error
Post by: lukekivi on January 23, 2020, 05:43:03 am
Try copying the CB default config file "default.conf" to a new name (with CB Closed).

Edit: You need to delete the "default.conf"; a new one should be created with CB is ran.

On windows, the default config is in CodeBlocks subfolder under %APPDATA%

Then, start CB normally!

Tim S.

Beautiful! That worked but I am still getting the closing error  :o

Thanks tho!
Title: Re: Fatal Assertion Error
Post by: oBFusCATed on January 23, 2020, 08:32:22 am
Which version of CB and which OS? Do you have some setting changed?
Title: Re: Fatal Assertion Error (Solution)
Post by: Kanagaraj on February 19, 2021, 08:00:00 am
Dear All,

When you try to open codeBlocks and if you get error as "assesrtion failed" in any version do the following procedure to get it solved.

My error: Image Attached.(http://)


Solution.

1. Go to Run > type > %appdata%

2. Find the folder named CodeBlocks> Delete this folder

3. Re launch the CodeBlocks application. You will be prompted to select the compiler.

4. Go to setting > toolschains executables > choose compiler > and locate the MinGW folder that you have.

5. Close the CodeBlocks and it asks to save the enviroment and Save it.

6. Relaunch the CodeBlocks. you won't see the error now.

 :) :)


Title: Re: Fatal Assertion Error
Post by: oBFusCATed on February 19, 2021, 10:40:57 am
It would have been better if you've reported the problem properly.

OS, CB version? In this case providing the old config file or a diff might have been helpful. :)