[solved] LC 8.1 dp 1 breaking changes?

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

[solved] LC 8.1 dp 1 breaking changes?

Post by Ledigimate » Mon Jun 13, 2016 5:30 pm

Dear forum,

I don't know what it is, but something changed from LC 8.0.1 GM to LC 8.1 DP 1 that broke my app on Android. My standalone works perfectly when built with LC 8.0.1 GM, but the exact same project (with no alterations), when built with LC 8.1 DP 1, the app crashes during startup.

I can't post my stack here because it's proprietery, so I just would like to know one thing -- what exactly has changed from the previous version that could possibly require me to make any changes to my project or else cause my app to crash on startup?

Gerrie
Last edited by Ledigimate on Wed Jun 15, 2016 8:04 pm, edited 1 time in total.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

paul_gr
Posts: 318
Joined: Fri Dec 08, 2006 7:38 pm
Location: Blenheim, New Zealand

Re: LC 8.1 dp 1 breaking changes?

Post by paul_gr » Mon Jun 13, 2016 9:41 pm

On the same page as the download is a link to the release notes for that version of LC.
Have a look to see if anything has changed that might stop your app working as expected.

Paul

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: LC 8.1 dp 1 breaking changes?

Post by Ledigimate » Tue Jun 14, 2016 8:19 am

Thank you, Paul.
I skimmed through the release notes and found nothing that suggests I make any changes to my project. I noticed the new inclusions tab but couldn't spot anything wrong there.
I hope this doesn't mean what I think it does. Here goes another day of chopping and stripping down my project card by card, handler by handler, until eventually, if ever, I find the culprit.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3207
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: LC 8.1 dp 1 breaking changes?

Post by bn » Tue Jun 14, 2016 9:10 am

Hi Gerrie,

you might also want to have a look at Quality Control Center for bugs reported against versions after LC 8.0.1 GM

http://quality.livecode.com/buglist.cgi ... 0%20DP%201

if there is anything you find that applies to your app.

Just a thought.

Kind regards
Bernd

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: LC 8.1 dp 1 breaking changes?

Post by Ledigimate » Tue Jun 14, 2016 10:25 am

I have found that I just needed to remove at least one inclusion, build the standalone, add the inclusion back again and rebuild.
Now my the app works again.
So the inclusions tab addition actually required me to modify the inclusions, even if it was only to remove one and add it back again.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3207
Joined: Sun Jan 07, 2007 9:12 pm
Location: Bochum, Germany

Re: LC 8.1 dp 1 breaking changes?

Post by bn » Tue Jun 14, 2016 10:35 am

Hi Gerrie,

who would have thought of that?

If you have a reproducible recipe for this it would be well worth reporting to
http://quality.livecode.com

There is some work on improving inclusions of the standalone builder, maybe this is related?

Kind regards
Bernd

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: LC 8.1 dp 1 breaking changes?

Post by Ledigimate » Tue Jun 14, 2016 1:14 pm

Thank you guys.

I can only procude the bug with this one copy of my stack the way it was before its inclusions was altered. I tried to reproduce the bug with a new stack, but couldn't (yet). I would rather not spend too much time trying to reproduce it with a new stack because the problem stack has undergone a number of upgrades over several LiveCode versions (since LiveCode version 5.5.4) and it may require me to create a stack in each version and take them all through the same upgrade process. I'm too lazy for that.

If anyone else reading this encounters the same issue and can reproduce it, please tell us how.

Regards,

Gerrie
Last edited by Ledigimate on Tue Jun 14, 2016 8:57 pm, edited 1 time in total.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 160
Joined: Thu Apr 18, 2013 2:48 pm

Re: LC 8.1 dp 1 breaking changes?

Post by livecodeali » Tue Jun 14, 2016 8:07 pm

Hi Ledigimate,
If you could let me know *which* inclusion it was that would be great - should be enough to work out what the problem was!
Thanks,
Ali

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: LC 8.1 dp 1 breaking changes?

Post by Ledigimate » Tue Jun 14, 2016 10:51 pm

Ali,

I've attached a dumbed down version of the stack that produces the bug.
If you build its Android standalone in LC 8.0.1 GM, it works on the device.
If you build its standalone in LC 8.1.0 DP 1 without altering the inclusions, it crashes on the device.
If you open the inclusions tab and just uncheck and recheck ANY of the inclusions, save, and then build the standalone, it works on the device.

I hope this can help you work out the problem.

Thanks and kind regards,

Gerrie
Attachments
SpotTheBug.zip
This stack produces the bug
(2.22 KiB) Downloaded 50 times
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 160
Joined: Thu Apr 18, 2013 2:48 pm

Re: LC 8.1 dp 1 breaking changes?

Post by livecodeali » Wed Jun 15, 2016 4:26 pm

Thanks very much, I've filed a bug report and fixed!
http://quality.livecode.com/show_bug.cgi?id=17856

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 106
Joined: Mon Jan 14, 2013 3:37 pm

Re: LC 8.1 dp 1 breaking changes?

Post by Ledigimate » Wed Jun 15, 2016 7:40 pm

Thanks Ali :D
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

Post Reply

Return to “Bug Triage”