NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on January 20, 2011, 01:39:10 PM

Title: GPF
Post by: Rene Simons 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
Title: Re: GPF
Post by: kevin plummer 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
Title: Re: GPF
Post by: ccordes 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
Title: Re: GPF
Post by: Rene Simons 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

Title: Re: GPF
Post by: Bruce 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