User Tag List

Results 1 to 3 of 3

Thread: [BUG 257-9] Destroying an Active Picture after loading using selector crashes

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [BUG 257-9] Destroying an Active Picture after loading using selector crashes

    Just noticed a problem with latest iOS Beta 257-9 (from 257-12 MMF release):
    If I load an image into an Active Picture using the selector, then destroy the Active Picture (eg by going to the next frame), the destroy code gets an EXC Bad Access error (at least on my iPod touch 4G and in iPhone 5.1 simulator - probably fine on iPad due to different popover code)

    I think this is because when the selector is dismissed it releases picker rather than imageSelector in CRunkcpica.m (in didFinishPickingMediaWithInfo: around line 620)
    Swapping picker for imageSelector seems to fix it (although I think it needs an autorelease rather than just a release?)

    I can upload an example should you need it.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anders, Francois, Yves - Do you need an example?

  3. #3
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    You are correct. The variable should have been 'imageSelector' instead of 'picker'.
    Fixed for next release.

Similar Threads

  1. Active Picture by File Selector?
    By StingRay in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 31st March 2015, 07:28 PM
  2. Loading an image into active picture object at runtime crashes iOS app
    By tom79 in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 6th November 2013, 10:11 PM
  3. [BUG 257-9] Active Picture crashes when detroyed after cancelling Selector on iPad
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 27th May 2013, 11:30 PM
  4. [bug rc7] summary (Active Picture, destroying obj)
    By StingRay in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 23rd March 2013, 08:23 AM
  5. BUG: Active Picture > New Picture from Selector doesn't wait for image - Beta9
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 27th January 2013, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •