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

  • SEARCH
  • Home
  • 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 8375187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:06:36+00:00 2026-06-09T15:06:36+00:00

I have a completely random error popping up on a particular piece of software

  • 0

I have a completely random error popping up on a particular piece of software out in the field. The application is a game written in VB6 and is running on Windows 7 64-bit. Every once in a while, the app crashes, with a generic “program.exe has stopped responding” message box. This game can run fine for days on end until this message appears, or within a matter of hours. No exception is being thrown.

We run this app in Windows 2000 compatibility mode (this was its original OS), with visual themes disabled, and as an administrator. The app itself is purposely simple in terms of using external components and API calls.

References:

Visual Basic for Applications
Visual Basic runtime objects and procedures
Visual Basic objects and procedures
OLE Automation
Microsoft DAO 3.51 Object Library
Microsoft Data Formatting Object Library

Components:

Microsoft Comm Control 6.0
Microsoft Windows Common Controls 6.0 (SP6)
Resizer XT

As you can see, these are pretty straightforward, Microsoft-standard tools, for the most part. The database components exist to interact with an Access database used for bookkeeping, and the Resizer XT was inserted to move this game more easily from its original 800×600 resolution to 1920×1080.

There is no networking enabled on the kiosks; no network drivers, and hence no connections to remote databases. Everything is encapsulated in a single box.

In the Windows Application event log, when this happens, there is an Event ID 1000 faulting a seemingly random module — so far, either ntdll.dll or lpk.dll. In terms of API calls, I don’t see any from ntdll.dll. We are using kernel32, user32, and winmm, for various file system and sound functions. I can’t reproduce as it is completely random, so I don’t even know where to start troubleshooting. Any ideas?

EDIT: A little more info. I’ve tried several different versions of Dependency Walker, at the suggestion of some other developers, and the latest version shows that I am missing IESHIMS.dll and GRPSVC.dll (these two seems to be well-known bugs in Depends.exe), and that I have missing symbols in COMCTRL32.dll and IEFRAME.dll. Any clues there?

  • 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-09T15:06:38+00:00Added an answer on June 9, 2026 at 3:06 pm

    The message from the application event log isn’t that useful – what you need is a post mortem process dump from your process – so you can see where in your code things started going wrong.

    Every time I’ve seen one of these problems it generally comes down to a bad API parameter rather than something more exotic, this may be caused by bad data coming in, but usually it’s a good ol fashioned bug that causes the problem.

    As you’ve probably figured already this isn’t going to be easy to debug; ideally you’d have a repeatable failure case to debug, instead of relying on capturing dump files from a remote machine, but until you can make it repeatable remote dumps are the only way forwards.

    Dr Watson used to do this, but is no longer shipped, so the alternatives are:

    • How to use the Userdump.exe tool to create a dump file
    • Sysinternals ProcDump
    • Collecting User-Mode dumps

    What you need to get is a minidump, these contain the important parts of the process space, excluding standard modules (e.g. Kernel32.dll) – and replacing the dump with a version number.

    There are instructions for Automatically Capturing a Dump When a Process Crashes – which uses cdb.exe shipped with the debugging tools, however the crucial item is the registry key \\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug

    You can change your code to add better error handling – especially useful if you can narrow down the cause to a few procedures and use the techniques described in Using symbolic debug information to locate a program crash. to directly process the map files.

    Once you’ve got a minidump and the symbol files WinDbg is the tool of choice for digging into these dumps – however it can be a bit of a voyage to discover what the cause is.

    The only other thing I’d consider, and this depends on your application structure, is to attempt to capture all input events for replay.

    Another option is to find a copy of VMWare 7.1 which has replay debugging and use that as the first step in capturing a reproducible set of steps.

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

Sidebar

Related Questions

Note I have completely re-written my original post to better explain the issue I
I am working on some homework here, but I have completely run out of
My application has several independent top-level windows, which all have completely different functions/workflows. I
I have a completely empty RavenHQ database that's linked to my Appharbor application. The
I have an update program that is completely independent of my main application. I
So I have a small game written in python, if you saw my previous
For doing builds, packaging files up, etc, it's needed to have a completely clean
I must have overlooked something completely obvious?? but my button displays its image and
I am completely new to HTML5 and have been reading about it for the
I have a number of sites that are completely hosted on Amazon S3 but

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.