Author Topic: CodeBlocks v13.12 now crashes  (Read 865 times)

Offline JamesC

  • Single posting newcomer
  • *
  • Posts: 4
CodeBlocks v13.12 now crashes
« on: February 02, 2018, 10:42:15 am »
Hi all,

A quick heartfelt thanks for previous guidance given.

After using v13.12 CB for some 6 years on a complex project it now crashes after about 2 minutes compiling with the message "Windows will close the program and notify you if a solution is available."

Even when I remove the newly added C code that I believe I added just prior to the original crash ... it still crashes.

Am apprehensive about installing the latest version of CB because of the problems encountered years ago with the original installation.

When CB is reloaded the logs appear to be empty ... presumably due to the crash.

Could this problem arise due to functions now being too big or perhaps too many #defines?

Any suggestions on how to remedy this occurance would be appreciated.

JimC

Offline Krice

  • Multiple posting newcomer
  • *
  • Posts: 75
Re: CodeBlocks v13.12 now crashes
« Reply #1 on: February 02, 2018, 11:43:54 am »
How big the project is? How many files and lines of code? What is a big function? Why those functions are big? I think it's in theory possible that compiler can run out of memory when compiling a project if it's extremely large. I guess?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6313
    • My Best Post
Re: CodeBlocks v13.12 now crashes
« Reply #2 on: February 02, 2018, 11:59:04 am »
Without loading any projects; after you have CB running disable all plugins except for the compiler plugin.
Shutdown code::blocks.

Re-start C::B, and verify the plugins stayed disabled. Load the big project and see if the error have returned.

If it does not likely have a plugin that caused the crash.

If it does, then either C::B, the Compiler, the Operating System, security tool, or virus causing the crash.
On windows, I would try disabling anti-virus scanner and anti-ransom ware and see if that fixes it.

Tim S.
« Last Edit: February 02, 2018, 12:14:49 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6313
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11134
    • Travis build status
Re: CodeBlocks v13.12 now crashes
« Reply #4 on: February 02, 2018, 08:49:51 pm »
After using v13.12 CB for some 6 years on a complex project it now crashes after about 2 minutes compiling with the message "Windows will close the program and notify you if a solution is available."
Which executable crashes exactly? Codeblocks.exe? The compiler?

Any suggestions on how to remedy this occurance would be appreciated.
Just install the latest version. If the crash is in codeblocks.exe this might fix it. We don't run 13.12 (4 year old version) any more, so we don't know its problems/quirks.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline JamesC

  • Single posting newcomer
  • *
  • Posts: 4
Re: CodeBlocks v13.12 now crashes
« Reply #5 on: February 03, 2018, 04:00:20 am »
Jim/Obfuscated and all,

CodeBlocks is the exe that crashes.

By doing a rebuild, I believe I have identified the function where the problem arises (ie it crashed at the same function I amended).

I'm still waiting for rebuild to finish (Suggestion: Rebuild should switch off  the automatic power saving off key ... and issue a double health warning about time taken being proportionate to the project size)

JimC.

PS REM: Crash causes logs to disappear so normal bug report not possible.
PPS Thanks to everybody for their guidance on this matter.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6313
    • My Best Post
Re: CodeBlocks v13.12 now crashes
« Reply #6 on: February 04, 2018, 12:26:51 pm »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org