Skip to content

[BUG] Crash when trying to open another app #751

@OJddJO

Description

@OJddJO

Describe the bug

When LiveContainer is already on an app and I try to launch another app using an app clip, LiveContainer just crashes. Got this error:

-[__NSArrayM longLongValue]: unrecognized selector sent to instance 0x12f71e820
Call stack: (
	0   CoreFoundation                      0x00000001965a00cc AE3C9338-0166-397A-9643-356B14F6EE58 + 1155276
	1   libobjc.A.dylib                     0x0000000193a39abc objc_exception_throw + 88
	2   CoreFoundation                      0x000000019660a4c0 AE3C9338-0166-397A-9643-356B14F6EE58 + 1590464
	3   CoreFoundation                      0x00000001964b48bc AE3C9338-0166-397A-9643-356B14F6EE58 + 190652
	4   CoreFoundation                      0x00000001964b4940 _CF_forwarding_prep_0 + 96
	5   LiveContainerShared                 0x000000010505e978 +[LCSharedUtils isLCSchemeInUse:] + 148
	6   TweakLoader.dylib                   0x0000000107b656ec LCShowSwitchAppConfirmation + 268
	7   TweakLoader.dylib                   0x0000000107b672a4 handleLiveContainerLaunch + 1468
	8   TweakLoader.dylib                   0x0000000107b68610 -[UIScene(LiveContainerHook) hook_scene:didReceiveActions:fromTransitionContext:] + 1456
	9   UIKitCore                           0x0000000198ef0100 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 1491200
	10  UIKitCore                           0x0000000198eefb7c 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 1489788
	11  UIKitCore                           0x0000000198eef9f4 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 1489396
	12  UIKitCore                           0x00000001990483e0 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 2900960
	13  FrontBoardServices                  0x00000001b0a0c094 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 147604
	14  FrontBoardServices                  0x00000001b0a076fc 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 128764
	15  FrontBoardServices                  0x00000001b0a0bdc0 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 146880
	16  FrontBoardServices                  0x00000001b0a0eca0 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 158880
	17  FrontBoardServices                  0x00000001b0a06d38 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 126264
	18  FrontBoardServices                  0x00000001b0a0ebcc 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 158668
	19  FrontBoardServices                  0x00000001b0a0ea40 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 158272
	20  libdispatch.dylib                   0x000000019e43c584 B62778F7-5827-3A7B-A96D-A24F7BE95416 + 112004
	21  libdispatch.dylib                   0x000000019e427ab0 B62778F7-5827-3A7B-A96D-A24F7BE95416 + 27312
	22  FrontBoardServices                  0x00000001b0a068ac 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 125100
	23  FrontBoardServices                  0x00000001b0a06748 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 124744
	24  FrontBoardServices                  0x00000001b0a067b0 1D4F7BF8-CA62-3218-A074-9187A2D191AE + 124848
	25  CoreFoundation                      0x000000019649592c AE3C9338-0166-397A-9643-356B14F6EE58 + 63788
	26  CoreFoundation                      0x0000000196495744 AE3C9338-0166-397A-9643-356B14F6EE58 + 63300
	27  CoreFoundation                      0x00000001964955a0 AE3C9338-0166-397A-9643-356B14F6EE58 + 62880
	28  CoreFoundation                      0x0000000196495f20 AE3C9338-0166-397A-9643-356B14F6EE58 + 65312
	29  CoreFoundation                      0x0000000196497adc CFRunLoopRunSpecific + 572
	30  GraphicsServices                    0x00000001e32bd454 GSEventRunModal + 168
	31  UIKitCore                           0x0000000198eb9274 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 1266292
	32  UIKitCore                           0x0000000198e84a28 UIApplicationMain + 336
	33  Spotify                             0x00000001117c5168 Spotify + 381288
	34  LiveContainerShared                 0x0000000105064e5c LiveContainerMain + 7860
	35  dyld                                0x00000001bcf29f08 CD2E758D-E1A2-3B92-AAE7-75D38F66EC54 + 257800
)

Instructions to reproduce

  • Open an app in LiverContainer
  • Open another app using app clip
  • LiveContainer crashes

What version of LiveContainer and iOS are you using?

LiveContainer3.6.0 iOS18.6

Other info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions