Jump to content
bzwirs

Application won't start

Recommended Posts

Latest Delphi.

 

Have a VCL program running successfully at a client for several years.  Just released an update and program now won't run on any of the client machines.  Double click the program icon and get the wait circle for a few seconds and then nothing.  No error message.  Have checked the task manager and application not listed.  Client machines are all windows 11.  The application runs without any issues on my development machine... also running windows 11 (recently updated to 24H2). 

 

Any ideas as to what might be going on here?

 

Bill Zwirs

Share this post


Link to post

When this happens, checking the Windows Event Viewer can be useful: any unusual exceptions might be logged there.

Share this post


Link to post

SysInternals Process Monitor may be more useful than Process Explorer, to get a log of every file and registry access in the system. Filter the log for your process only, to avoid being overwhelmed.

Share this post


Link to post

Tried logging for the startup stuff (on datamodule create) which creates the log on my development machine but not on other machines so the problem is before all that.  With the event viewer on the problem machine I found the appcrash report but that is very difficult to understand. From the wer report I assume this is supposed to tell me where the problem is located:

 

Sig[0].Name=Application Name
Sig[0].Value=myapp.exe
Sig[1].Name=Application Version
Sig[1].Value=1.4.0.419
Sig[2].Name=Application Timestamp
Sig[2].Value=67b15d76
Sig[3].Name=Fault Module Name
Sig[3].Value=KERNELBASE.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=10.0.14393.7513
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=67171aad
Sig[6].Name=Exception Code
Sig[6].Value=0eedfade
Sig[7].Name=Exception Offset
Sig[7].Value=000dd562

 

But don't know how to find out what this really means and how this tells me what to do to fix the issue.

 

Any help or pointers would be appreciated.  

 

As an aside..... my development machine runs Windows 11 24h2 (updated about a month ago) and the other machines have earlier versions.  Could this be an issue?

 

thanks

 

Bill  
 

Share this post


Link to post

 

3 hours ago, bzwirs said:

Sig[6].Name=Exception Code
Sig[6].Value=0eedfade

0EEDFADE indicates you had an exception in the Delphi code.

Do you check all returned objects for assignment before use?
Since you never see any UI, it is likely to happen in your initialization/startup code somewhere.

I would recommend using EurekaLog or MadExcept for capturing the details of the exception.

Share this post


Link to post

It is one of these:

  1. you swallow a critical exception, or
  2. you have an unhandled exception, or
  3. most likely, you overwrite your own memory (your stack trace should give you some clues)

 

For 1: see if you have empty try/except blocks. If you have, you should be ashamed of yourself 🙂 🙂 🙂 

For 2: check the IDE options, debugger section.

For 3: enable range checking and overflow checking.

 

3b. Show your stack trace here. Is it corrupted?

I recommend from al my heart madShi (EurekaLog would do it also, but I find it very buggy).

 

_

 

Is your Debug mode properly configured? Can you debug into the program?

Edited by GabrielMoraru

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×