SDK 1.13.1b1 - please test!

Hey,

I'm seeing a new crash with both 1.13 and the 1.13.1b1 posted above. I haven't yet tried to create a small reproducer but it happens when calling playdate.sound.sequence:stop(). (This is in the context of my music box app.

I'm not sure how useful it is, but here is the crash report I get from the simulator.

{"app_name":"Playdate Simulator","timestamp":"2023-02-15 23:32:00.00 +0100","app_version":"1.13.1-dev.149539","slice_uuid":"9ae716a5-487e-3327-a476-845a32d58509","build_version":"149539","platform":1,"bundleID":"date.play.simulator","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.1 (21G217)","incident_id":"C92A3F11-9493-4FC1-9E97-04BA89C20C06","name":"Playdate Simulator"}
{
  "uptime" : 2100000,
  "procLaunch" : "2023-02-15 23:31:51.2083 +0100",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,4",
  "procStartAbsTime" : 52356927633477,
  "coalitionID" : 170206,
  "osVersion" : {
    "train" : "macOS 12.6.1",
    "build" : "21G217",
    "releaseType" : "User"
  },
  "captureTime" : "2023-02-15 23:32:00.2658 +0100",
  "incident" : "C92A3F11-9493-4FC1-9E97-04BA89C20C06",
  "bug_type" : "309",
  "pid" : 72459,
  "procExitAbsTime" : 52357144449074,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "Playdate Simulator",
  "procPath" : "\/private\/var\/folders\/*\/Playdate Simulator.app\/Contents\/MacOS\/Playdate Simulator",
  "bundleInfo" : {"CFBundleShortVersionString":"1.13.1-dev.149539","CFBundleVersion":"149539","CFBundleIdentifier":"date.play.simulator"},
  "storeInfo" : {"deviceIdentifierForVendor":"B8317F63-221D-5CD8-B447-CB3BF5DB0FD2","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "date.play.simulator",
  "crashReporterKey" : "D736E0EA-A0AF-AACA-6C50-C978B08FB8AA",
  "wakeTime" : 119123,
  "sleepWakeUUID" : "6E609F93-0563-449C-9141-552A4328AFD8",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":18603381,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":16},{"value":105553124591648},{"value":1},{"value":10612802497821570431},{"value":10612802502204666111},{"value":14757395258967641293},{"value":10},{"value":0},{"value":49},{"value":2502176768},{"value":134},{"value":328},{"value":8349136512},{"value":0},{"value":6},{"value":4383131008,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4383131232,"symbolLocation":224,"symbol":"_main_thread"},{"value":4374640542},{"value":8282972160,"symbolLocation":4032,"symbol":"StructLocks"},{"value":4806713432},{"value":724631765},{"value":8325267456,"symbolLocation":416,"symbol":"_CFXNotificationPost.samples"},{"value":8325267456,"symbolLocation":416,"symbol":"_CFXNotificationPost.samples"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6837993184},"cpsr":{"value":1073745920},"fp":{"value":6094444912},"sp":{"value":6094444880},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6837775768,"matchesCrashFrame":1},"far":{"value":4830380036}},"queue":"com.apple.main-thread","frames":[{"imageOffset":40344,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":28384,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":500544,"symbol":"abort","symbolLocation":168,"imageIndex":2},{"imageOffset":497492,"symbol":"__assert_rtn","symbolLocation":272,"imageIndex":2},{"imageOffset":1886136,"symbol":"lua_processInputEvents.cold.1","symbolLocation":40,"imageIndex":3},{"imageOffset":544796,"symbol":"lua_processInputEvents","symbolLocation":756,"imageIndex":3},{"imageOffset":569248,"symbol":"updateLua","symbolLocation":248,"imageIndex":3},{"imageOffset":570136,"symbol":"pd_update","symbolLocation":464,"imageIndex":3},{"imageOffset":905292,"symbol":"-[PCPlaydateSimulator update]","symbolLocation":508,"imageIndex":3},{"imageOffset":544612,"symbol":"__NSThreadPerformPerform","symbolLocation":212,"imageIndex":4},{"imageOffset":544660,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":28,"imageIndex":5},{"imageOffset":544480,"symbol":"__CFRunLoopDoSource0","symbolLocation":208,"imageIndex":5},{"imageOffset":543712,"symbol":"__CFRunLoopDoSources0","symbolLocation":268,"imageIndex":5},{"imageOffset":537952,"symbol":"__CFRunLoopRun","symbolLocation":828,"imageIndex":5},{"imageOffset":535172,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":5},{"imageOffset":205624,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":6},{"imageOffset":204740,"symbol":"ReceiveNextEventCommon","symbolLocation":324,"imageIndex":6},{"imageOffset":204392,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":6},{"imageOffset":267548,"symbol":"_DPSNextEvent","symbolLocation":860,"imageIndex":7},{"imageOffset":261652,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1328,"imageIndex":7},{"imageOffset":204768,"symbol":"-[NSApplication run]","symbolLocation":596,"imageIndex":7},{"imageOffset":14076,"symbol":"NSApplicationMain","symbolLocation":1132,"imageIndex":7},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":8}]},{"id":18603405,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":18603406,"queue":"com.apple.root.default-qos","frames":[{"imageOffset":31776,"symbol":"kevent","symbolLocation":8,"imageIndex":0},{"imageOffset":177388,"symbol":"__36-[PDDeviceConnection watchForDevice]_block_invoke","symbolLocation":256,"imageIndex":3},{"imageOffset":9712,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":9},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":9},{"imageOffset":29384,"symbol":"_dispatch_queue_override_invoke","symbolLocation":784,"imageIndex":9},{"imageOffset":88296,"symbol":"_dispatch_root_queue_drain","symbolLocation":396,"imageIndex":9},{"imageOffset":90372,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":9},{"imageOffset":13092,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":1},{"imageOffset":8320,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":1}]},{"id":18603414,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":18603435,"frames":[{"imageOffset":40624,"symbol":"poll","symbolLocation":8,"imageIndex":0},{"imageOffset":39116,"symbol":"serialport_blocking_read_until","symbolLocation":116,"imageIndex":3},{"imageOffset":178064,"symbol":"-[PDDeviceConnection readLine]","symbolLocation":56,"imageIndex":3},{"imageOffset":178252,"symbol":"-[PDDeviceConnection readThread]","symbolLocation":108,"imageIndex":3},{"imageOffset":378316,"symbol":"__NSThread__start__","symbolLocation":808,"imageIndex":4},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":18603438,"name":"AMCP Logging Spool","frames":[{"imageOffset":6380,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":125484,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":10},{"imageOffset":10156,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":10},{"imageOffset":9164,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)","symbolLocation":96,"imageIndex":10},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":18603468,"name":"com.apple.audio.toolbox.AUScheduledParameterRefresher","frames":[{"imageOffset":6380,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":125484,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":10},{"imageOffset":10156,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":10},{"imageOffset":9164,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)","symbolLocation":96,"imageIndex":10},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":18603535,"queue":"com.apple.root.default-qos","frames":[{"imageOffset":6380,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":18256,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":9},{"imageOffset":19960,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":9},{"imageOffset":852088,"symbol":"-[AppDelegate crashes:shouldProcessErrorReport:]","symbolLocation":396,"imageIndex":3},{"imageOffset":1633992,"symbol":"-[MSACCrashes shouldProcessErrorReport:]","symbolLocation":108,"imageIndex":3},{"imageOffset":1619592,"symbol":"-[MSACCrashes processCrashReports]","symbolLocation":1516,"imageIndex":3},{"imageOffset":1617636,"symbol":"__42-[MSACCrashes startDelayedCrashProcessing]_block_invoke_3","symbolLocation":32,"imageIndex":3},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":9},{"imageOffset":23092,"symbol":"_dispatch_once_callout","symbolLocation":32,"imageIndex":9},{"imageOffset":1617544,"symbol":"__42-[MSACCrashes startDelayedCrashProcessing]_block_invoke","symbolLocation":344,"imageIndex":3},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":9},{"imageOffset":30320,"symbol":"_dispatch_continuation_pop","symbolLocation":500,"imageIndex":9},{"imageOffset":108768,"symbol":"_dispatch_source_invoke","symbolLocation":1596,"imageIndex":9},{"imageOffset":29096,"symbol":"_dispatch_queue_override_invoke","symbolLocation":496,"imageIndex":9},{"imageOffset":88296,"symbol":"_dispatch_root_queue_drain","symbolLocation":396,"imageIndex":9},{"imageOffset":90372,"symbol":"_dispatch_worker_thread2","symbolLocation":164,"imageIndex":9},{"imageOffset":13092,"symbol":"_pthread_wqthread","symbolLocation":228,"imageIndex":1},{"imageOffset":8320,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":1}]},{"id":18603536,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":18603537,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":18603538,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":18603540,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":545296,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":5},{"imageOffset":538304,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":5},{"imageOffset":535172,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":5},{"imageOffset":1761536,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":7},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":18603589,"frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":1742668,"symbol":"exception_server_thread","symbolLocation":180,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":18603671,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":3360416,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":104,"imageIndex":11},{"imageOffset":1842096,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3336,"imageIndex":11},{"imageOffset":1837232,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":100,"imageIndex":11},{"imageOffset":3721904,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":11},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6837735424,
    "size" : 229376,
    "uuid" : "dbf55fdd-2b9b-3701-93b6-7a3ce359bd0e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6837964800,
    "size" : 53248,
    "uuid" : "63c4eef9-69a5-38b1-996e-8d31b66a051d",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6836682752,
    "size" : 532480,
    "uuid" : "b25d2080-bb9e-38d6-8236-9cef4b2f11a3",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4372430848,
    "CFBundleShortVersionString" : "1.13.1-dev.149539",
    "CFBundleIdentifier" : "date.play.simulator",
    "size" : 2506752,
    "uuid" : "9ae716a5-487e-3327-a476-845a32d58509",
    "path" : "\/private\/var\/folders\/*\/Playdate Simulator.app\/Contents\/MacOS\/Playdate Simulator",
    "name" : "Playdate Simulator",
    "CFBundleVersion" : "149539"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6854033408,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 4136960,
    "uuid" : "8bbf8f9b-0034-34f0-a2c5-13c31941632d",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6838288384,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5533696,
    "uuid" : "fc3c193d-0cdb-3569-9f0e-bd2507ca1dbb",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6985695232,
    "CFBundleShortVersionString" : "2.1.1",
    "CFBundleIdentifier" : "com.apple.HIToolbox",
    "size" : 3358720,
    "uuid" : "aaf900bd-bfb6-3af0-a8d3-e24bbe1d57f5",
    "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox",
    "name" : "HIToolbox"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6884069376,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15437824,
    "uuid" : "5ece5db5-a167-3ab1-a1cf-af442beecea6",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4382638080,
    "size" : 393216,
    "uuid" : "24d09537-e51b-350e-b59e-181c9d94d291",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6836125696,
    "size" : 290816,
    "uuid" : "b3c7a004-1069-3171-b630-2c386a8b399c",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6983069696,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.audio.caulk",
    "size" : 159744,
    "uuid" : "fbaaa1ec-abbe-3c0d-a491-0dc66ee9d8ce",
    "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
    "name" : "caulk"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6865117184,
    "CFBundleShortVersionString" : "5.0",
    "CFBundleIdentifier" : "com.apple.audio.CoreAudio",
    "size" : 7487488,
    "uuid" : "01e2a2bb-2115-3015-9744-c0dc512bb554",
    "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio",
    "name" : "CoreAudio",
    "CFBundleVersion" : "5.0"
  }
],
  "sharedCache" : {
  "base" : 6834667520,
  "size" : 3144728576,
  "uuid" : "7cf73f63-0640-33ec-8444-138d9834ecb5"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=1.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.9G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nCG backing stores                 4864K        8 \nCG image                           208K       10 \nColorSync                          624K       27 \nCoreAnimation                     9024K       86 \nCoreGraphics                        32K        2 \nCoreServices                        80K        1 \nCoreUI image data                 1696K       23 \nFoundation                          64K        2 \nKernel Alloc Once                   32K        1 \nMALLOC                           337.6M       86 \nMALLOC guard page                  288K       15 \nMALLOC_MEDIUM (reserved)           1.2G       10         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  192K        3 \nSTACK GUARD                       56.2M       14 \nStack                             14.9M       14 \nVM_ALLOCATE                        416K       22 \n__AUTH                            2565K      310 \n__AUTH_CONST                      20.1M      503 \n__CTF                               756        1 \n__DATA                            15.9M      500 \n__DATA_CONST                      18.2M      516 \n__DATA_DIRTY                      1753K      214 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       583.4M       12 \n__OBJC_CONST                      3493K      281 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3168K        1 \n__TEXT                           496.6M      534 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nlibnetwork                         128K        8 \nmapped file                      220.1M      147 \nshared memory                     1504K       22 \n===========                     =======  ======= \nTOTAL                              3.4G     3380 \nTOTAL, minus reserved VM space     1.8G     3380 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60356660bbe37970735c5624",
      "factorPackIds" : {

      },
      "deploymentId" : 240000027
    },
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000026
    }
  ],
  "experiments" : [

  ]
}
}