News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Code::Blocks randomly crashing

Started by Kvalifik, January 17, 2019, 11:40:01 AM

Previous topic - Next topic

Kvalifik

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>

Miguel Gimenez

If there is a codeblocks.RPT file near codeblocks.exe please post it.

Kvalifik

Searched the codeblocks.RPT file, but have not found it.

oBFusCATed

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!]

Kvalifik

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)

oBFusCATed

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!]

Kvalifik

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.

oBFusCATed

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!]

Kvalifik

Yes, the SpellChecker plugin is disabled and no craching since 10 days.

BlueHazzard

What encoding are you using for your files?
Did the spell checker plugin worked if you had it active?
Have you installed some dictionary?

Kvalifik

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)

oBFusCATed

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!]

Kvalifik

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

oBFusCATed

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!]

Kvalifik

No problem, you solved my main problem the random crashing.

Thanks for Your help.
I really appreciate it.