User Tag List

Results 1 to 7 of 7

Thread: [CRASH] ForEach loop with Groups/Qualifiers (256.31)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation [CRASH] ForEach loop with Groups/Qualifiers (256.31)

    I have an event like:

    On ForEach Loop "loop"
    + Group1 is overlapping Group2
    + Foreach: Group1 is part of group "objects"
    + Fixed value of Group1 = LoopFV("ForEach", "loop")

    This crashes on iOS runtime, but works e.g. on Flash runtime.

    In Xcode I get multiple EXC_BAD_ACCESS e.g. in ObjectSelection.m, CRunForEach.m, etc.

    Here's an example mfa showing only this issue. (btw, I have no idea why the mfa got this huge in filesize, even though I don't have anything but 6 objects and 4 events in it!?)

    MMF build 256.31
    Xcode 4.6
    iPad 1 with iOS 5.1.1

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any comments on this? Is it possible to fix this crash to a future build?

  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)
    I found the crash and I'm working with Francois on fixing it

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Excellent... thanks Anders and Francois.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm trying my example mfa with the latest build (257.6), and it doesn't crash anymore, however now the event #4 (that caused the crash in previous beta) is not triggered at all. You can see this in the example mfa as, when ran on device, the string object doesn't change to "update" when the foreach loop with qualifier overlap is checked.

  6. #6
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    I found the bug, it was a stupid mistake in the 'object is part of group' condition.
    I will send the fix with PM.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MJK's Avatar
    Join Date
    Jun 2006
    Location
    Espoo, Finland
    Posts
    1,162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Anders, this fix seems to be working now! (fingers crossed )

Similar Threads

  1. Question about ForEach and looping in groups
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th June 2013, 02:21 PM
  2. How to 'stop' a ForEach loop?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 20th April 2013, 02:27 PM
  3. Want to do same loop with ForEach
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th April 2012, 09:48 PM
  4. 2 Questions about groups/qualifiers
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 10th July 2011, 06:19 PM
  5. [CRASH] ForEach object crash on recursive loop
    By LB in forum Extension Development
    Replies: 0
    Last Post: 1st May 2011, 01:23 AM

Posting Permissions

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