Author Topic: Code::Blocks randomly crashing  (Read 1149 times)

Offline Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Code::Blocks randomly crashing
« on: January 17, 2019, 11:40:01 am »
Hi everyone,
I have a problem, when i am editing text or just scrolling in a soure /header file randomly crashing and closing the Code::Blocks IDE.
Example:
Editing a soure file then the Code::Blocks IDE crash, reopen the project editing the same source file ~30-60 sec and crashing again. (No error message)
But sometimes this problem not appear a hour long or further.

I am using 16.01 Code::Blocks and Windows 10 Pro (32 bit)

I tried the followings, but did not help:
- Disabled symbols browser
- Disabled Code completion plugin
- 17.12 Code::Blocks version (same problem)
- Windows 7 compatibility mode
- Windows 10 Pro (64bit)


Can someone help me please?
(P.S.: Sorry for my bad english)

I attached a report file what the Windows made after crashing.

Other crashing report data:
<?xml version="1.0" encoding="UTF-16"?>
-<WERReportMetadata>
-<OSVersionInformation>
<WindowsNTVersion>10.0</WindowsNTVersion>
<Build>17763</Build>
<Product>(0x30): Windows 10 Pro</Product>
<Edition>Professional</Edition>
<BuildString>17763.253.x86fre.rs5_release.180914-1434</BuildString>
<Revision>253</Revision>
<Flavor>Multiprocessor Free</Flavor>
<Architecture>X86</Architecture>
<LCID>1038</LCID>
</OSVersionInformation>

-<ProblemSignatures>
<EventType>APPCRASH</EventType>
<Parameter0>codeblocks.exe</Parameter0>
<Parameter1>16.1.0.0</Parameter1>
<Parameter2>00000000</Parameter2>
<Parameter3>msvcrt.dll</Parameter3>
<Parameter4>7.0.17763.1</Parameter4>
<Parameter5>0435cf49</Parameter5>
<Parameter6>c0000005</Parameter6>
<Parameter7>00089fb8</Parameter7>
</ProblemSignatures>

-<DynamicSignatures>
<Parameter1>10.0.17763.2.0.0.256.48</Parameter1>
<Parameter2>1038</Parameter2>
<Parameter22>bdcb</Parameter22>
<Parameter23>bdcb33e65a9843796b7ec31cc25bda3b</Parameter23>
<Parameter24>ecde</Parameter24>
<Parameter25>ecdeec6715786f2f5b6f9da36f869777</Parameter25>
</DynamicSignatures>

-<SystemInformation>
<MID>6B58E186-1A27-4094-A5C4-2F464D0E8187</MID>
<SystemManufacturer>Gigabyte Technology Co., Ltd.</SystemManufacturer>
<SystemProductName>H110M-S2H</SystemProductName>
<BIOSVersion>F20</BIOSVersion>
<OSInstallDate>1547553769</OSInstallDate>
<OSInstallTime>2019-01-15T12:02:47Z</OSInstallTime>
<TimeZoneBias>-01:00</TimeZoneBias>
</SystemInformation>

-<SecureBootState>
<UEFISecureBootEnabled>NotCapable</UEFISecureBootEnabled>
</SecureBootState>

-<ReportInformation>
<Guid>876034e4-fcf1-4fa7-8311-7ed68c08d232</Guid>
<CreationTime>2019-01-17T08:04:07Z</CreationTime>
</ReportInformation>

</WERReportMetadata>

Offline Miguel Gimenez

  • Almost regular
  • **
  • Posts: 236
Re: Code::Blocks randomly crashing
« Reply #1 on: January 17, 2019, 12:32:53 pm »
If there is a codeblocks.RPT file near codeblocks.exe please post it.

Offline Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #2 on: January 17, 2019, 02:16:58 pm »
Searched the codeblocks.RPT file, but have not found it.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11654
    • Travis build status
Re: Code::Blocks randomly crashing
« Reply #3 on: January 17, 2019, 07:52:44 pm »
Can you attach a debugger to codeblocks.exe and tell us at least in which dll/exe it crashes?
(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 Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #4 on: January 24, 2019, 08:28:24 am »
I attached the SimpleProgramDebugger to the IDE and attached the bug reports.
Meanwhile i had to reinstall my Windows 10 Pro (32 bit), but i experience the same problem. (Not so often)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11654
    • Travis build status
Re: Code::Blocks randomly crashing
« Reply #5 on: January 24, 2019, 08:33:16 am »
These are not useful unfortunately. We need at least a function name. Can you use GDB? It is not that hard. You could also use another instance of codeblocks and use attach -> debug -> pid of codeblocks.exe you're using...
(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 Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #6 on: February 05, 2019, 10:46:44 am »
First i attached GDB to the CodeBlocks the following command --> gdb program [CODEBLOCKS PID] | tee debug.txt
Results: Debug1.txt->Debug10.txt
Second i attached the way you mentioned.
Results: Debug11.txt+Debug11.png->Debug15.txt+Debug15.png

If i think correct the problem source is the SpellChecker plugin. Now i am disabled the plugin and testing.

The results are in the DEBUG.zip attachment.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11654
    • Travis build status
Re: Code::Blocks randomly crashing
« Reply #7 on: February 05, 2019, 07:12:51 pm »
If you disable spell checker does the crash go away?
(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 Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #8 on: February 14, 2019, 08:24:29 am »
Yes, the SpellChecker plugin is disabled and no craching since 10 days.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2300
Re: Code::Blocks randomly crashing
« Reply #9 on: February 14, 2019, 04:50:27 pm »
What encoding are you using for your files?
Did the spell checker plugin worked if you had it active?
Have you installed some dictionary?

Offline Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #10 on: February 15, 2019, 12:01:10 pm »
I am using WINDOWS-1250 encoding in my files.
I didn't use the SpellChecker it was disabled. (Not in plugin level, see in the attached picture)
I didn't install any dictionary.

(I don't want use the SpellChecker plugin, it was only disturbing, because the CodeBlocks was unstable)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11654
    • Travis build status
Re: Code::Blocks randomly crashing
« Reply #11 on: February 15, 2019, 06:36:58 pm »
Do you have a sample file which causes the crash?
(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 Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #12 on: February 25, 2019, 09:31:49 am »
Sorry, i can't provide a sample file.

Some info of the my projects:
I'm using this special letters in comments: ,,,ő,,,,ű,
In the projects the largest file is ~ 20.000 line.

(Still no crashing if the SpellChecker is disabled.)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11654
    • Travis build status
Re: Code::Blocks randomly crashing
« Reply #13 on: February 25, 2019, 07:47:57 pm »
If you don't provide a way to reproduce this we can't do much. Sorry.
(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 Kvalifik

  • Single posting newcomer
  • *
  • Posts: 8
Re: Code::Blocks randomly crashing
« Reply #14 on: March 07, 2019, 04:49:46 pm »
No problem, you solved my main problem the random crashing.

Thanks for Your help.
I really appreciate it.