Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8755793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:55:32+00:00 2026-06-13T13:55:32+00:00

I have a multithreading server application which runs fine for the first ca. 40

  • 0

I have a multithreading server application which runs fine for the first ca. 40 seconds (in this time the application is pretty much only waiting for incoming packets). After these 40 seconds it suddenly crashes although nothing changed, no clients connected, no data got send etc.

The crash-report I receive from windows is this:

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: myapplicationname.exe
  Application Version:  0.0.0.0
  Application Timestamp:    508d2a0b
  Fault Module Name:    StackHash_58df
  Fault Module Version: 6.1.7600.16385
  Fault Module Timestamp:   4a5bdb3b
  Exception Code:   c0000374
  Exception Offset: 000cdcbb
  OS Version:   6.1.7600.2.0.0.256.48
  Locale ID:    1031
  Additional Information 1: 58df
  Additional Information 2: 58df710f17985997dec7b600103e4fd6
  Additional Information 3: bc2b
  Additional Information 4: bc2b581ed6e84cb4442c19134e8081d3

I checked for possible buffer overflows, memory leaks but that’s not the case (at least I didn’t notice any).

Apart from that, what confused me even more is that, if I compile it and run it in Visual Studio (Local Windows Debugger) this error doesn’t happen, no crash, everything is working as it’s supposed to. I don’t know where to start in order to fix this since I’ve never had such a problem.

I know it is difficult to diagnose something without having the code but there is just too much code and I can’t limit it since I don’t know what this error even means and what it is related to. I’m just hoping someone has encountered something similar or knows what this error means. So far I only found how to fix similar problems for other programs (re-install the application was the answer).

Wild guess:
I have a poll loop which is putting a lot of stress on one of my threads since I didn’t get to the point to implement the whole code. Is it possible that DEP is getting invoked and stops my application in order to protect one of my cpus? -Added a Sleep but didn’t change anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:55:33+00:00Added an answer on June 13, 2026 at 1:55 pm

    Exception Code: c0000374

    You’ll find these exception codes documented in the ntstatus.h SDK header file:

    //
    // MessageId: STATUS_HEAP_CORRUPTION
    //
    // MessageText:
    //
    // A heap has been corrupted.
    //
    #define STATUS_HEAP_CORRUPTION           ((NTSTATUS)0xC0000374L)
    

    Heap corruption is of course a very common C++ programming hazard. Use the debug allocator available in crtdbg.h if you cannot locate the bug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application which performs 30 independent tasks simultaneously using multithreading, each task
I have a server in Java which is multithreading, and I've created a thread
I have an application which runs some multi-threading process. In each thread I'm sharing
I have chat server application which we are going to deploy on 3 servers.
We have a vb.net application where we have implemented multithreading. We determined that we
I need an advice on multithreading implementation in WinForms C# application. We have an
I have a client server application with multi-threading. The server side is failing with
I use ORBacus . I have a multithreading application and I want to have
I have a server application and a client application. I'm using socket to communicate
I have a client/server application that depends on MS SQL database for backend storage,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.