NetTalk Central

Author Topic: GPF on Web Maps  (Read 2930 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
GPF on Web Maps
« on: November 18, 2022, 07:18:36 AM »
C11.1
NT12.47

Reported error : EXCEPTION_ACCESS_VIOLATION - Error reading data at : 0DB90008h
Windows : Win 10 - 10.0.19043
Clarion : 0.9
Thread : 3    Field : 0    Event : 1024    Keycode : 0
Error at address : 78D453EFh  Line=11258  Proc=R$PARENTCALL  Src=NetWeb.Clw  Module=C:\!sourceC111-NT12\GaosC11dll\DATA.dll 2022.11.17.320
Stack Trace
??? 009C6970h    Line ?=4432    no proc       Src=PaqWeb.clw
??? 790D3854h    Line ?=65    no proc       Src=Xplore.CLW    Module=C:\!sourceC111-NT12\GaosC11dll\DATA.dll 2022.11.17.320
[01] 78D7509Fh    Line=11236    Proc=_JSOK@F22NETWEBSERVERWORKERBASEOsbll  Src=NetWeb.Clw    Module=C:\!sourceC111-NT12\GaosC11dll\DATA.dll 2022.11.17.320
??? 009C6970h    Line ?=4432    no proc       Src=PaqWeb.clw
[02] 00788723h    Line=1656    Proc=R$VALUE::ACCIDENTSMAP  Src=PaqWeb028.clw

PaqWeb028.clw     NetWebForm with a Map control
AvonMap              PROCEDURE  (NetWebServerWorker p_web,long p_stage=0)
line 1656:
p_web.SetOption(loc:options,'title',p_web._jsok('Entregado: '&clip(ppqc:OrdenId)&' '&(ppqc:AvonDayRoute*1)&(ppqc:AvonTravelRoute*1)&' '&ppqc:AvonSecuenceRoute))

it calls _jsok with a string, it could be called hundred of times depending on the number of waypoints to draw.

NetWeb.Clw
line 11236:
  do ParentCall


NetWeb.Clw inside the ParentCall routine
line 11258:
    y = self.WebServer._jsok(self.AsciiToUtf(p_notok),html,ReturnValue)


The strings passed are like:
"Entregado: 68826397 31 40  4/11/22 07:29"
Ive added some AddLogs to see it in the log screen, see pic

The process of generating all the icons on the maps work ok, you get the map and can use it.
But the server goes slower and slower, I dont see nothing weird in the perfomance tab.
And when you CLOSE the server, yo need to restart it to solve the slowness... you get the GPS allways in the same lines.

Any idea?



-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: GPF on Web Maps
« Reply #1 on: November 19, 2022, 10:47:16 PM »
you'll have to post an example showing the problem - I can't guess the cause from your description.

Cheers
Bruce