User Tag List

Results 1 to 9 of 9

Thread: MMF Crash

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MMF Crash

    I have different crashes when i modify a specific event in the event-list editor. I can reproduce those easily. I think it's because the expression I modify is nearly "too complex".

    Here is the expression after modification :
    "SELECT R.Id,R.Nom, R.Faction, R.Coût, R.Skin, R.Description, R.Constitution, R.Force, R.Agilité, R.Intelligence, R.Dextérité, R.Plaine, R.Sable, R.Neige, R.Forêt, R.Eau, R.Eau_Profonde, R.Terre, R.Roc, R.Construction, R.Marais FROM Races AS R WHERE R.Nom='"+listGetAt$( "String Parser 2", 2)+"'"

    I can provide the source code or any further explanation if this helps.
    EDIT : The crash gives an error-message like "instruction at 0x7c 920f29 uses memory index 0x00000000. Memory cannot be read"

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Crash

    Is there a reason you're not using "*" for the select? You seem to have a vast amount of columns there - how many more are there?

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Crash

    Though i select most of the columns of this table, there are a few i don't need in this request. I could use "SELECT *" but one of the columns is some text which might be pretty long. Here's the whole list : Id Nom Faction Coût Niveauminimum Skin Description Constitution Force Agilité Intelligence Dextérité Plaine Sable Neige Forêt Eau Eau_Profonde Terre Roc Construction Marais

    Anyway, MMF2 doesn't like my expression...

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Crash

    I actually misunderstood the problem at first, I thought the event was causing your application to crash. I'm not sure why that expression in particular would cause problems - I've had longer ones myself, and most of it is just a string that shouldn't cause problems. I'd be tempted to say it was the special characters doing it, but as MMF2 is originally French I would have thought that it would support them, so it's unlikely that's the problem either.

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: MMF Crash

    It would be interesting to see if selecting all the columns crashed also and I wonder if the crash could be related to String Parser 2?

    Edit -- Ah I did a DavidN ... Its crashing in the event editor and not when you run MMF -- Most likely Yves or Francois would need to check it out then.

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: MMF Crash

    I can't say any more without you providing more details, but ensure you are using Build 244 of Multimedia Fusion.
    .:::.Joshtek.:::.

  7. #7
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Crash

    I'm using last build.

    Expressions using many " or ' or , seam to cause problem, I think I get "Expression too complex" errors more often when using such expressions.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: MMF Crash

    Your expression is not that long, and it is only one string. Can you sedn me your application and tell me how to crash it?

  9. #9
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MMF Crash

    I was able to reduce my app to a single event and still get the crash : http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=42631&page=0#Po st42631

Similar Threads

  1. [CRASH] Google Play Crash Report: java.lang.NullPointerException
    By tom79 in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 1st August 2013, 04:08 AM
  2. [CRASH] Memory Object Runtime Crash with Allocate(
    By LB in forum Extension Development
    Replies: 8
    Last Post: 4th September 2011, 09:04 AM
  3. [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
  •