set imageData crashing on mac

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
CenturyMan1979
Posts: 86
Joined: Tue May 15, 2012 5:56 pm
Location: Minneapolis, MN

set imageData crashing on mac

Post by CenturyMan1979 » Mon Mar 03, 2014 6:36 pm

Hey All,

Does anyone else notice livecode (6.5.2 Build 3014) crashing when trying to set the imageData of an image to itself on mac? It does not seem to happen with every image which is the other weird part. Here is the line of code that is causing the application to crash,

Code: Select all

set the imagedata of image id tShortID to the imagedata of image id tShortID
Is this not a supported method for reducing the image size anymore?

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 257
Joined: Mon Mar 01, 2010 7:13 pm
Location: London, UK
Contact:

Re: set imageData crashing on mac

Post by thatkeith » Mon Mar 03, 2014 7:41 pm

That should work! I used pretty much the same thing myself just a couple of hours ago:

Code: Select all

set the imageData of me to the imageData of me
Perhaps a sanity check on the tShortID variable contents?
Senior Lecturer, LCC (University of the Arts London)
Technical Editor, MacUser (1996-2015)
360 VR media specialist

CenturyMan1979
Posts: 86
Joined: Tue May 15, 2012 5:56 pm
Location: Minneapolis, MN

Re: set imageData crashing on mac

Post by CenturyMan1979 » Tue Mar 04, 2014 4:44 pm

Looks like there was a current bug with this issue,
Bug 11462 - Failing to set image data to the image data of self
And in the notes about this they put,
your bug report has been addressed and the issue you raised is fixed. We fixed this bug in release: LiveCode 6.6.0 DP 1.
So hopefully this issue will be fixed when 6.6.0 releases. Anyone know the release schedule is for 6.6.0?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6873
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: set imageData crashing on mac

Post by FourthWorld » Tue Mar 04, 2014 4:58 pm

6.6.0 DP1 is available now:
http://downloads.livecode.com/livecode/
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: set imageData crashing on mac

Post by BvG » Tue Mar 04, 2014 7:55 pm

Don't forget that DP means "developer preview" and is what other companies would call a beta release. A proper release can be expected within some weeks.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply

Return to “Talking LiveCode”