Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Program crashes after leaving it running for 5 - 20 minutes

    Help
    4
    6
    350
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gameboy
      Gameboy F last edited by Gameboy

      I'm not sure if this is a bug or a mistake with my coding however I can't find any thing that could cause this issue. When it crashes it says an error has occurred and then I get taken back to the switch home screen. Any help would be very appreciated

      ID: NXKSUVQD51 - This code no longer crashes as it has been fixed
      Status: Live

      pianofire 1 Reply Last reply Reply Quote 0
      • pianofire
        pianofire Fuze Team @Gameboy last edited by

        @Gameboy Well there is definitely a memory leak. You can see it dropping over time. I doubt very much that this is your fault.

        1 Reply Last reply Reply Quote 1
        • pianofire
          pianofire Fuze Team last edited by

          So I think that this is a known problem that should be fixed in the next patch. However I need to investigate further as the workaround I had does not seem to work in this case. Anyway if you comment out lines 151, 177 and 178 ( the clock display) the problem goes away (and so does the clock)

          https://fuzearena.com/forum/topic/938/clock-in-a-loop

          waldron Gameboy 2 Replies Last reply Reply Quote 2
          • waldron
            waldron F @pianofire last edited by

            @pianofire i had the same issue when i put a clock in my game, when i took it out fine again

            1 Reply Last reply Reply Quote 0
            • Gameboy
              Gameboy F @pianofire last edited by

              @pianofire thank you so much! I just tested and it’s not crashing anymore :)

              1 Reply Last reply Reply Quote 1
              • M
                Mechanical last edited by Mechanical

                I have had the same problem, if I left my program running it crashed after 2 min.

                For me it was a for loop that counted infinitely from 0 to 60.

                After I converted the for loop into a normal loop and made "I" a global variable the crash was fixed. It didn't occur again. So I think it's about some loops what's causing these crashes

                the fact that a timer is causing these issues got my attention, because I tried sort of the same with my project but I used a For Loop to time my actions. And I think I have read something about timers being inconsistent in accuracy.

                My guess would be that time isnt synced to the interpreter or sort of that. But I'm no Pro or Dev, just my 2 cents

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post