Skip to content

[13.2.1] Crash when running Debug version detached on iOS #451

@emsa23

Description

@emsa23

Hello,

when running on iOS with debugger attached everything works as expected - when disconnecting the debugger and launching application from icon the Application crashes on startup. Happens on all iOS versions and hardware I have tested with but does not happen with simulator.

Thanks,
/Magnus

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4330536960
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   1021ec000-1021f8000 [   48K] r-x/r-x SM=COW  /var/containers/Bundle/Application/C8BB9EF2-2A39-4F00-9F8C-D19551E446A4/Runner.app/Runner
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [979]

Triggered by Thread:  0

Thread 0 Crashed:
0   libswiftCore.dylib            	       0x18ea4d5d4 swift_getObjectType + 40
1   health                        	       0x103309eb0 static SwiftHealthPlugin.register(with:) + 108
2   health                        	       0x10330a0c8 @objc static SwiftHealthPlugin.register(with:) + 56
3   health                        	       0x1032c0048 +[HealthPlugin registerWithRegistrar:] + 72
4   Runner.debug.dylib            	       0x102abc23c +[GeneratedPluginRegistrant registerWithRegistry:] + 572
5   Runner.debug.dylib            	       0x102abc644 AppDelegate.application(_:didFinishLaunchingWithOptions:) + 532
6   Runner.debug.dylib            	       0x102abc9e4 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 220

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions