NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: DonnEdwards on April 25, 2021, 09:14:58 AM

Title: Exception occurred at address 0103B904
Post by: DonnEdwards on April 25, 2021, 09:14:58 AM
I'm getting this random error after my webserver has been running for a few hours, and only on the live server, not on my development machine.

Exception occurred at address 0103B904
Exception code C0000005: Access Violation
Process PID=1276  Image: C:\dev\test6\kgoffice6.exe
Thread 27  Handle=00000534  TID=1480


The full gory details are in the attached log file. How would I go about trying to trace down the cause? So far there are only about a dozen lines of hand code in the entire app, and they occur when the app starts.

Any hints or suggestions on where to begin will be most welcome.
Title: Re: Exception occurred at address 0103B904
Post by: DonRidley on April 25, 2021, 10:22:48 AM
Take a look at this:

https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs-to-show-procedure-names/188

Then, using Capesoft's GPF Reporter and compiling in Debug mode, you can better narrow down where the error is coming from.

Once all that is in place, post your call stack again.
Title: Re: Exception occurred at address 0103B904
Post by: DonnEdwards on April 25, 2021, 11:31:14 AM
Many thanks Don, I'll try it out.

Is it safe to deploy a debug version to a live server? I'll assume the answer is yes.
Title: Re: Exception occurred at address 0103B904
Post by: DonRidley on April 25, 2021, 05:21:45 PM
Definitely.

I always deploy in debug mode.

Title: Re: Exception occurred at address 0103B904
Post by: Bruce on April 25, 2021, 10:15:25 PM
Take a look at this:

https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs-to-show-procedure-names/188

Then, using Capesoft's GPF Reporter and compiling in Debug mode, you can better narrow down where the error is coming from.

Not to be self-defeating, but using the ClarionHub link above means _not_ having to use GPF Reported, and still getting a better log of the issue. GPF Reporter is better, but the (now) built-in approach is good enough in most cases.

One important part you don't mention Donn - is the backend SQL or TPS?

Cheers
Bruce
Title: Re: Exception occurred at address 0103B904
Post by: DonnEdwards on April 26, 2021, 01:20:32 AM
Thanks Bruce

The backend is TPS at this stage. I will move the data tables to PostgreSQL once I am satisfied that the data structure is not going to change much.

FWIW here is my latest error, using NT 12.13. I haven't posted a new version with the debug code in it yet. That's today's project  ;)