NetTalk Central

Author Topic: GPF  (Read 3700 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
GPF
« on: January 20, 2011, 01:39:10 PM »
Hi,

My app GPF's. I try to use Profiler to find out why.
Does anyone have any experince on this??

Please?
Rene
Rene Simons
NT14.14

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: GPF
« Reply #1 on: January 20, 2011, 05:07:35 PM »
Hi Rene,

how far do you get before it GPF's?

I have had my fair share over the years. In my experience, if it GPF's in the same place every time then it is something in my app. Random ones I put down to the OS.

GPF Reporter from Capesoft does a reasonable job of tracing the GPF although the log is a bit hard at first. I usually start with this and then add debug code to trace the exact problem. I have traced it back to 3rd party code a couple of times.

HTH's

Kev

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: GPF
« Reply #2 on: January 20, 2011, 07:05:12 PM »
I've had my share of NTWS GPFs. My first batch were because I was changing global values without putting a critical section around them.

Another was fiddling with the session value queues - same issue - they're global.

This last one was a NetWeb Report procedure. I settarget(report) and then used Report$?image{Prop:imageblob} = blob{Prop:handle} to set an image. Take out the settarget or take out the Report$ and it works.

I have not yet been able to get GPF reporter to report while in debug mode - it causes an immediate GPF.

Maybe this sheds some light on something for you.

Chris
Real programmers use copy con newapp.exe

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: GPF
« Reply #3 on: January 21, 2011, 06:47:42 AM »
Thank you guys,

I managed to narrow it down to a browse in an update form.
I removed the browse and : no more gpf's!!

By the way it was nice to notice the GPF reporter restart the app automatically.


I also have the occasional _session loss_ in my app.
This causes the menu to fall back to its _not yet logged in_ mode.
Still cannot pinpoint the cause of that.

I try to do an instant replay to recreate the same situation but it seems to happen at random.

I'll keep on searching.

Thanks!!

Rene

Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: GPF
« Reply #4 on: January 23, 2011, 10:08:22 PM »
Sessions are lots when the "timeout" that you set on the WebServer procedure, advanced tab, expires.

Cheers
Bruce