APPCRASH tsNet-x86.dll

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
ace16vitamine
Posts: 97
Joined: Fri Apr 13, 2018 1:53 pm

APPCRASH tsNet-x86.dll

Post by ace16vitamine » Fri Jul 24, 2020 3:53 pm

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5861
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: APPCRASH tsNet-x86.dll

Post by jacque » Sat Jul 25, 2020 6:48 pm

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

ace16vitamine
Posts: 97
Joined: Fri Apr 13, 2018 1:53 pm

Re: APPCRASH tsNet-x86.dll

Post by ace16vitamine » Sat Jul 25, 2020 6:57 pm

LC 9.6.0 Indy,

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.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5861
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: APPCRASH tsNet-x86.dll

Post by jacque » Sun Jul 26, 2020 6:49 pm

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

ace16vitamine
Posts: 97
Joined: Fri Apr 13, 2018 1:53 pm

Re: APPCRASH tsNet-x86.dll

Post by ace16vitamine » Mon Jul 27, 2020 12:42 am

Hi Jacqueline,

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
Regards
Stefan

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 928
Joined: Fri Aug 15, 2008 7:15 am

Re: APPCRASH tsNet-x86.dll

Post by bangkok » Mon Jul 27, 2020 12:39 pm

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.

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”