Author Topic: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit [SOLVED]  (Read 324 times)

Offline malthusianism

  • Single posting newcomer
  • *
  • Posts: 4
OS (Windows 7 SP-1 64 bit) reports error message "Code::Blocks IDE has stopped working" with Exception Code: c0000374 Fault Module: StackHash_eb5a, even if I simply start & then close CB without doing anything. Note: Before every exit & irrespective of what option I choose, CB throws below pop up message as well:
Quote
Layout Changed - The perspective 'Code::Blocks default' has changed. Do you want to save it?
Followed by Windows reporting App crash with exception code c0000374.

CB Build log & wxWidgets Error log attached for ready reference. Would appreciate any support.

Name               : Code::Blocks
Version             : svn-r11979
SDK Version      : 1.47.0
Scintilla Version : 3.7.5

wxWidgets Library (wxMSW port)
Version 3.1.3 (Unicode: wchar_t, debug level: 1),
compiled at Mar 18 2020 04:36:51

Runtime version of toolkit used is 6.1.

gcc (tdm64-1) 9.2.0

Nightly build (11954): 18 January 2020
« Last Edit: March 19, 2020, 11:47:59 am by malthusianism »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12321
    • Travis build status
Re: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit
« Reply #1 on: March 18, 2020, 08:47:19 am »
Your info is confusing. What revision are you actually using 11979 or 11954 or a mixture of both? Is this a self compiled build? Using gcc 9.2 is not extensively tested for building cb, so there might be problems.
(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 malthusianism

  • Single posting newcomer
  • *
  • Posts: 4
Re: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit
« Reply #2 on: March 18, 2020, 09:12:26 am »
Your info is confusing. What revision are you actually using 11979 or 11954 or a mixture of both? Is this a self compiled build? Using gcc 9.2 is not extensively tested for building cb, so there might be problems.

I am using svn-r11979 (self compiled using nightly 11954).

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5229
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit
« Reply #3 on: March 18, 2020, 09:39:54 am »
Some callstack info can be get from the GDB.
See this thread as reference: http://forums.codeblocks.org/index.php/topic,23642.msg161738.html#msg161738
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline malthusianism

  • Single posting newcomer
  • *
  • Posts: 4
Re: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit
« Reply #4 on: March 18, 2020, 09:51:48 am »
Some callstack info can be get from the GDB.
See this thread as reference: http://forums.codeblocks.org/index.php/topic,23642.msg161738.html#msg161738

This is something new & challenging ;D Shall try to share by tomorrow.

Offline gd_on

  • Lives here!
  • ****
  • Posts: 547
Re: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit
« Reply #5 on: March 18, 2020, 11:18:49 am »
You can use/try other MinGW64 9.2 distributions : winlibs, Equation, LHMouse... or stay with MinGW64 8.1 as used presently to compile C::B. Apparently they have not this sort of problems.
TDragon (tdm version author) works on this problem, but it look's not obvious to find.

gd_on
Windows 10, svn C::B (last version or almost!), WxWidgets 3.1.3, Compilers 8.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\MinGW64) or 32 bits (sjlj, posix in C:\MinGW32).

Offline malthusianism

  • Single posting newcomer
  • *
  • Posts: 4
Re: Exception Code: c0000374 Fault Module: StackHash_eb5a On CB Exit
« Reply #6 on: March 19, 2020, 11:34:07 am »
You can use/try other MinGW64 9.2 distributions : winlibs, Equation, LHMouse... or stay with MinGW64 8.1 as used presently to compile C::B. Apparently they have not this sort of problems.
TDragon (tdm version author) works on this problem, but it look's not obvious to find.

gd_on

mingw-w64-gcc-8.4.0-x86_64-posix-dwarf (from winlibs) did the charm! Thanks  :D