Simulator Messages for testing iMessage Extensions crashes switching between users

Originator:apontious
Number:rdar://43469006 Date Originated:8/18/2018
Status:Open Resolved:
Product:Developer Tools Product Version:9.4.1
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary: Running an iMessage Extension from Xcode in the Simulator, you can't switch between users without a crash.

Steps to Reproduce:
- Open Xcode 9.4.1 or any Xcode 10 beta.
- Run an iMessage Extension project such as the one you can download from https://developer.apple.com/documentation/messages/building_an_imessage_extension or the one you build from scratch from https://www.techotopia.com/index.php/An_iOS_10_Interactive_Message_App_Tutorial
- Use the extension with one of the test iMessage users to send a custom message to the other user
- Switch to the other user

Expected Results:
- Switching to the other user works without error, and you can test that the iMessage extension works properly

Actual Results:
- The iMessage extension crashes during the switch, making it impossible to test.

libsystem_kernel.dylib`mach_msg_trap:
    0x10daae200 <+0>:  movq   %rcx, %r10
    0x10daae203 <+3>:  movl   $0x100001f, %eax          ; imm = 0x100001F 
    0x10daae208 <+8>:  syscall 
->  0x10daae20a <+10>: retq   
    0x10daae20b <+11>: nop    

Thread 1: signal SIGKILL

Version/Build:
- Xcode 9.4.1 or Xcode 10 beta 6

Configuration:
- macOS 10.13.6

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!