Re: How do decipher an exception in the log file
Re: How do decipher an exception in the log file
- Subject: Re: How do decipher an exception in the log file
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Tue, 18 Jul 2023 11:36:51 -0500
Look in the second line. It’s cratering within setLegacyModelView of your view
controller.
Then in the 3rd, it’s saying that the index value of the array is invalid, it’s
9223372036854775807.
So, it’s trying to set the view and the index is clearly the result of a bad
pointer. Gotta run or we could say why.
GL.
> On Jul 18, 2023, at 11:28 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> Does anybody know how I could decipher the following entries in the log file?
> More precisely, is there a way I can determine the location in the code where
> the exception occurred?
>
> Thanks a lot in advance.
>
> G.
>
> 2023-07-17 13:13:23.650173+0200 0xff744 Default 0x1144e1
> 2670 0 legacyScreenSaver: (ScreenSaver) [com.apple.ScreenSaver:Modules]
> -[ScreenSaverView setScreenSaverModule:] -- Setting module “ArtSaver” for
> view: 0x7fe349028000
> 2023-07-17 13:13:23.650194+0200 0xff744 Default 0x1144e1
> 2670 0 legacyScreenSaver: [com.apple.ScreenSaver:Modules]
> -[LegacyViewController setLegacyModuleView:] -- inView Size: {114, 66}
> 2023-07-17 13:13:23.656894+0200 0xff744 Default 0x1144e1
> 2670 0 legacyScreenSaver: (ExceptionHandling) NSExceptionHandler has
> recorded the following exception:
> NSRangeException -- *** -[__NSArrayM objectAtIndexedSubscript:]: index
> 9223372036854775807 beyond bounds [0 .. 0]
> Stack trace: 0x7ff80775142b 0x7ff807d053ca 0x7ff807ba19a1 0x1006871a5
> 0x7ff80ac5c3e6 0x7ff80ac65c6c 0x10001a411 0x10001bcc6 0x7ff807ba8377
> 0x7ff807ba820e 0x10001b990 0x7ff807937033 0x7ff807944c60 0x7ff807937033
> 0x7ff807943fcf 0x7ff807943c07 0x7ff807bf3205 0x7ff807bb2f2f
> 0x7ff807bb1f31 0x7ff81162ddad 0x7ff81162dbbe 0x7ff81162d918
> 0x7ff80ac465d0 0x7ff80ac4547a 0x7ff80f981486 0x7ff80f981221
> 0x7ff80f981408 0x7ff80f96ea61 0x7ff80ac37ae8 0x7ff80ac0bd02
> 0x7ff80782a851 0x7ff80782a1f7 0x7ff808a5f58d 0x7ff81549f43b
> 0x7ff81549f03f 0x7ff81549f80a 0x7ffa26eee05f 0x7ff808ac2e54 0x7ff80777e41f
> 2023-07-17 13:13:23.657093+0200 0xff744 Error 0x1144e1
> 2670 0 legacyScreenSaver: [com.apple.ScreenSaver:Modules]
> -[LegacyExtensionManager exceptionHandler:shouldHandleException:mask:] --
> Module: ArtSaver threw an uncaught exception: NSRangeException, reason: ***
> -[__NSArrayM objectAtIndexedSubscript:]: index 9223372036854775807 beyond
> bounds [0 .. 0].
> 2023-07-17 13:13:23.657278+0200 0xff744 Error 0x1144e1
> 2670 0 legacyScreenSaver: [com.apple.ScreenSaver:Modules]
> -[LegacyExtensionManager processExtensionRequest:replyInfo:]_block_invoke --
> Module: ArtSaver (ArtSaver) failed to load. Exception: NSRangeException,
> reason: *** -[__NSArrayM objectAtIndexedSubscript:]: index
> 9223372036854775807 beyond bounds [0 .. 0]
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden