NetTalk Central

Author Topic: Exception occurred at address 0103B904  (Read 2182 times)

DonnEdwards

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Insights and Rants
    • Email
Exception occurred at address 0103B904
« 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.
If you're happy with your security, then so are the bad guys

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Exception occurred at address 0103B904
« Reply #1 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.
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

DonnEdwards

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Insights and Rants
    • Email
Re: Exception occurred at address 0103B904
« Reply #2 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.
If you're happy with your security, then so are the bad guys

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Exception occurred at address 0103B904
« Reply #3 on: April 25, 2021, 05:21:45 PM »
Definitely.

I always deploy in debug mode.

"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11155
    • View Profile
Re: Exception occurred at address 0103B904
« Reply #4 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

DonnEdwards

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Insights and Rants
    • Email
Re: Exception occurred at address 0103B904
« Reply #5 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  ;)

If you're happy with your security, then so are the bad guys