APPCRASH tsNet-x86.dll
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
APPCRASH tsNet-x86.dll
Dear all,
I have a simple standalone which is opening a URL with tsNet. After some days the standalone crashes and I dont know why or what is going in wrong.
Any Ideas or are there any other problems known with this?
Thanks
Stefan
Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: Exporter.exe
Anwendungsversion: 0.9.0.2
Anwendungszeitstempel: 5ecd1f00
Fehlermodulname: tsNet-x86.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 5e4a15c8
Ausnahmecode: c0000005
Ausnahmeoffset: 00037c85
Betriebsystemversion: 6.1.7601.2.1.0.274.10
Gebietsschema-ID: 1031
Zusatzinformation 1: 0a9e
Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
Zusatzinformation 3: 0a9e
Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789
I have a simple standalone which is opening a URL with tsNet. After some days the standalone crashes and I dont know why or what is going in wrong.
Any Ideas or are there any other problems known with this?
Thanks
Stefan
Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: Exporter.exe
Anwendungsversion: 0.9.0.2
Anwendungszeitstempel: 5ecd1f00
Fehlermodulname: tsNet-x86.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 5e4a15c8
Ausnahmecode: c0000005
Ausnahmeoffset: 00037c85
Betriebsystemversion: 6.1.7601.2.1.0.274.10
Gebietsschema-ID: 1031
Zusatzinformation 1: 0a9e
Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
Zusatzinformation 3: 0a9e
Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: APPCRASH tsNet-x86.dll
Not enough info. What version of LiveCode? Does the URL access run inside a repeat loop? Can you post the relevant part of the script that uses TSNet?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
Re: APPCRASH tsNet-x86.dll
LC 9.6.0 Indy,
Script is running every 10 Minutes. I have tested it with
Tested with Windows Server 2008 R2 and Windows 10.
Script is running every 10 Minutes. I have tested it with
Code: Select all
put "Authorization: Basic" && base64Encode("XXXX:XXXX") into tHeader
set the httpHeaders to tHeader
put tHeader into tRequestHeaders
put true into tSettings["use_ssl"]
put "option=" & var_userid_read & "$*$" & var_passwort_read & "$*$" & var_json_file & "$*$" & var_lizenz_read & "$*$" & field "version" & "$*$" & the platform into tmyData
put "https://blablabla/bla.lc" into tURL
put tsNetPostSync(tUrl, tRequestHeaders, tmyData, tResponseHeaders, tResult, tBytes, tSettings) into errresult
Tested with Windows Server 2008 R2 and Windows 10.
-
- VIP Livecode Opensource Backer
- Posts: 7228
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: APPCRASH tsNet-x86.dll
A crash that happens repeatedly after a period of time sounds like a memory problem. Are you running the requests using the "send in time" structure, or is the code you posted inside a repeat loop? It should be done using pendingMessages ("send in... <time>" to allow the engine to do garbage collection and general housekeeping.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
Re: APPCRASH tsNet-x86.dll
Hi Jacqueline,
it is not in a repeat loop:
Regards
Stefan
it is not in a repeat loop:
Code: Select all
if "startTimer" is not in the pendingMessages
then
send "startTimer" to me in 600 seconds
else
end if
Stefan
Re: APPCRASH tsNet-x86.dll
You should try the new (coming) version of tsNet.
You can download it here :
https://quality.livecode.com/show_bug.cgi?id=22638
The bug described in this report (and the fix that was made) might be linked to the problem you face.
You can download it here :
https://quality.livecode.com/show_bug.cgi?id=22638
The bug described in this report (and the fix that was made) might be linked to the problem you face.