User Tag List

Results 1 to 5 of 5

Thread: NSRangeException Crash on iOS 13

  1. #1
    Clicker Fusion 2.5
    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)
    tk22's Avatar
    Join Date
    Dec 2014
    Posts
    92
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Exclamation NSRangeException Crash on iOS 13

    @Fernando I have been getting this crash and I am not quite sure what is causing I deleted all the events in the frame and it would still crash. I am thinking it could be an object or something that is causing the crash. I am using Build R292.22 this is the log:

    Code:
    2020-07-29 11:00:58.471359+0300 هو هي هم[14407:267097] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[OS_dispatch_data getBytes:range:]: range {6301491854482237773, 1} exceeds data length 3690404'
    *** First throw call stack:
    (
    	0   CoreFoundation                      0x00007fff23e3cf0e __exceptionPreprocess + 350
    	1   libobjc.A.dylib                     0x00007fff50ba89b2 objc_exception_throw + 48
    	2   Foundation                          0x00007fff25aea6c2 __34-[_NSDispatchData getBytes:range:]_block_invoke + 0
    	3                           0x0000000106d87eaf -[CFile readUnsignedByte] + 127
    	4                           0x0000000106d86c84 -[CFile readAShort] + 36
    	5                           0x0000000106cbe1bd -[CImage preload:] + 77
    	6                           0x0000000106cc42e8 -[CImageBank load] + 536
    	7                           0x0000000106caf029 -[CRunFrame loadFullFrame:] + 2649
    	8                           0x0000000106ca8d1a -[CRunApp startTheFrame] + 186
    	9                           0x0000000106ca818d -[CRunApp playApplication:] + 605
    	10                          0x0000000106cb7333 -[CRunView timerEntry] + 2307
    	11  Foundation                          0x00007fff2595952e __NSFireTimer + 72
    	12  CoreFoundation                      0x00007fff23da14b4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    	13  CoreFoundation                      0x00007fff23da114e __CFRunLoopDoTimer + 1038
    	14  CoreFoundation                      0x00007fff23da07aa __CFRunLoopDoTimers + 282
    	15  CoreFoundation                      0x00007fff23d9b3fe __CFRunLoopRun + 1950
    	16  CoreFoundation                      0x00007fff23d9a944 CFRunLoopRunSpecific + 404
    	17  GraphicsServices                    0x00007fff38ba6c1a GSEventRunModal + 139
    	18  UIKitCore                           0x00007fff48c8b9ec UIApplicationMain + 1605
    	19                          0x0000000106c9d0db main + 91
    	20  libdyld.dylib                       0x00007fff51a231fd start + 1
    )
    libc++abi.dylib: terminating with uncaught exception of type NSException
    (lldb)

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,697
    Mentioned
    247 Post(s)
    Tagged
    3 Thread(s)
    This log means the crash happens when the runtime reads the images, which is weird. Is your entire Fusion up-to-date? If you've installed or reinstalled the iOS exporter after installing the patch of the build 292.22, reinstall the build 292.22.

  3. #3
    Clicker Fusion 2.5
    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)
    tk22's Avatar
    Join Date
    Dec 2014
    Posts
    92
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yves View Post
    This log means the crash happens when the runtime reads the images, which is weird. Is your entire Fusion up-to-date? If you've installed or reinstalled the iOS exporter after installing the patch of the build 292.22, reinstall the build 292.22.
    Yes it is up to date. Your answer helped me solve the issue! so I have removed active objects until I found the one that caused the crash. Can the Images of active objects be the cause of the crash? because it seems so or I might have solved it by coincidence
    Anyways thank you!

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,697
    Mentioned
    247 Post(s)
    Tagged
    3 Thread(s)
    An image shouldn't cause a crash. Could you post a little MFA with this image please if you can reproduce the crash? Thanks!

  5. #5
    Clicker Fusion 2.5
    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)
    tk22's Avatar
    Join Date
    Dec 2014
    Posts
    92
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Will share if I manage to reproduce it

Similar Threads

  1. Replies: 0
    Last Post: 9th August 2019, 10:31 AM
  2. [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
  3. 'Terminating app due to NSRangeException'
    By MJK in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 28th April 2012, 07:57 AM
  4. [CRASH] Memory Object Runtime Crash with Allocate(
    By LB in forum Extension Development
    Replies: 8
    Last Post: 4th September 2011, 09:04 AM
  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
  •