Version 8.1.2 continually crashes

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: Version 8.1.2 continually crashes

Post by cusingerBUSCw5N » Mon Nov 14, 2016 10:32 pm

I believe I have a major clue that explains the inconsistency of this. It is connected to BOTH the simulator and opening and closing LIVECODE. It is not affected by opening or closing a stack. I have sent a video to the bug team showing that simply opening and using the simulator and then going back to the file "breaks" the url(turl) capability in the original file. This explains why it's been so inconsistent - because I have been going back and forth between the simulator and the file to see what works and doesn't work - and the results are always changing.

It also explains why people trying the same thing haven't had problems - - because they haven't been using it with the simulator. To "cure" the problem, you have to close down the LiveCode program and reopen it.

I am hoping that the LiveCode team can identify this quickly and fix it.... so my sanity can be restored.

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: Version 8.1.2 continually crashes

Post by cusingerBUSCw5N » Tue Nov 15, 2016 8:03 pm

HOPEFULLY THE SOLUTION! Yesterday, I realized that moving between the simulator was causing the problem. It would work on the Mac, work on the simulator, but when I went back to the Mac is was broken. So I updated the bug info...and sure enough, the bug was confirmed. Here is the message:

What happened here is that somehow the tsNetLibUrl stack got unloaded from
memory after deploying to iOS simulator. So since calling [put URL)tUrl into
tResult] triggers some function calls from the tsNetLibUrl stack, and this
stack is now not loaded, the [put URL)tUrl into tResult] call fails silently.

Workaround:
After deploying to iOS simulator and returning to the IDE, type in the msg box:

start using stack "tsNetLibURL"

This will restore the IDE functionality when calling [put URL)tUrl into
tResult] in the sample stack.

I guess this was introduced at some point after LC 8.1 DP-3, and should affect
the Community version. My comment: It actually affects the Indy as well - that is what I have been using.

Here's hoping for some consistency in url(turl) calls! :)

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Version 8.1.2 continually crashes

Post by LiveCode_Panos » Sat Nov 19, 2016 5:21 pm

Hi all,

After reading Carolyn's reply here, I realised that my original comment in the bug report was not what I meant to write. I have now corrected it. This bug is *not* expected to affect the Community edition, since the Community edition does not use tsNet.

Best regards,
Panos
--

Post Reply