Skip to content

[macOS][m1] App crashes in release mode upon app launch #100348

Closed
@TabooSun

Description

@TabooSun

Since the Flutter macOS Apple Chip support is ready, I went and tried it. However, it doesn't work for me if I build the app for release.

Steps to Reproduce

  1. Create a new project with flutter create
  2. Run flutter build macos
  3. Open the built app in build/macos/Build/Products/Release/<appname>.app

Expected results: The app does not crash

Actual results: The app crashes

Report collected from Console.app
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               playground [5945]
Path:                  /Users/USER/Documents/*/playground.app/Contents/MacOS/playground
Identifier:            com.example.playground
Version:               1.0.0 (1)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-03-18 11:53:17.7752 +0800
OS Version:            macOS 12.3 (21E230)
Report Version:        12
Anonymous UUID:        14779CBC-35D9-D9B0-2944-25C223FA7672


Time Awake Since Boot: 1500 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1b9e14db8 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1b9e49ee0 pthread_kill + 288
2   libsystem_c.dylib             	       0x1b9d84340 abort + 168
3   FlutterMacOS                  	       0x106a4ac08 0x1069f0000 + 371720
4   FlutterMacOS                  	       0x106a4abf8 0x1069f0000 + 371704
5   FlutterMacOS                  	       0x1071cff14 0x1069f0000 + 8257300
6   FlutterMacOS                  	       0x1071ce8cc 0x1069f0000 + 8251596
7   FlutterMacOS                  	       0x1071cdf28 0x1069f0000 + 8249128
8   FlutterMacOS                  	       0x1071d05b4 0x1069f0000 + 8258996
9   FlutterMacOS                  	       0x10704a6a8 0x1069f0000 + 6661800
10  FlutterMacOS                  	       0x1071f8bd8 0x1069f0000 + 8424408
11  FlutterMacOS                  	       0x1071e553c 0x1069f0000 + 8344892
12  FlutterMacOS                  	       0x1069fc864 0x1069f0000 + 51300
13  FlutterMacOS                  	       0x106a138b8 0x1069f0000 + 145592
14  FlutterMacOS                  	       0x106a1361c 0x1069f0000 + 144924
15  AppKit                        	       0x1bcbace2c -[NSViewController _sendViewWillAppear] + 48
16  AppKit                        	       0x1bcbaccb8 -[NSViewController _windowWillOrderOnScreen] + 104
17  AppKit                        	       0x1bd3071b0 -[NSView _windowWillOrderOnScreen] + 80
18  AppKit                        	       0x1bd307234 -[NSView _windowWillOrderOnScreen] + 212
19  AppKit                        	       0x1bcbacb0c -[NSWindow _doWindowWillBeVisibleAsSheet:] + 64
20  AppKit                        	       0x1bcbab49c -[NSWindow _reallyDoOrderWindowAboveOrBelow:relativeTo:findKey:forCounter:force:isModal:] + 1232
21  AppKit                        	       0x1bcbaabb0 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 132
22  AppKit                        	       0x1bcba9b9c -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 324
23  AppKit                        	       0x1bca50dc4 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 1584
24  AppKit                        	       0x1bca44eac loadNib + 416
25  AppKit                        	       0x1bca443dc +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 800
26  AppKit                        	       0x1bca43fe0 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 220
27  AppKit                        	       0x1bca43db0 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 388
28  AppKit                        	       0x1bca35b7c NSApplicationMain + 576
29  playground                    	       0x104e839a0 main + 12 (AppDelegate.swift:5)
30  dyld                          	       0x1050d9088 start + 516

Thread 1:
0   libsystem_pthread.dylib       	       0x1b9e45078 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x1b9e45078 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x1b9e45078 start_wqthread + 0

Thread 4:: io.flutter.ui
0   libsystem_kernel.dylib        	       0x1b9e0c8d0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1b9e0cd40 mach_msg + 76
2   CoreFoundation                	       0x1b9f16c1c __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1b9f150cc __CFRunLoopRun + 1180
4   CoreFoundation                	       0x1b9f14490 CFRunLoopRunSpecific + 600
5   FlutterMacOS                  	       0x106a56500 0x1069f0000 + 419072
6   FlutterMacOS                  	       0x106a4d8fc 0x1069f0000 + 383228
7   FlutterMacOS                  	       0x106a55200 0x1069f0000 + 414208
8   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
9   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 5:: io.flutter.raster
0   libsystem_kernel.dylib        	       0x1b9e0c8d0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1b9e0cd40 mach_msg + 76
2   CoreFoundation                	       0x1b9f16c1c __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1b9f150cc __CFRunLoopRun + 1180
4   CoreFoundation                	       0x1b9f14490 CFRunLoopRunSpecific + 600
5   FlutterMacOS                  	       0x106a56500 0x1069f0000 + 419072
6   FlutterMacOS                  	       0x106a4d8fc 0x1069f0000 + 383228
7   FlutterMacOS                  	       0x106a55200 0x1069f0000 + 414208
8   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
9   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 6:: io.flutter.io
0   libsystem_kernel.dylib        	       0x1b9e0c8d0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x1b9e0cd40 mach_msg + 76
2   CoreFoundation                	       0x1b9f16c1c __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1b9f150cc __CFRunLoopRun + 1180
4   CoreFoundation                	       0x1b9f14490 CFRunLoopRunSpecific + 600
5   FlutterMacOS                  	       0x106a56500 0x1069f0000 + 419072
6   FlutterMacOS                  	       0x106a4d8fc 0x1069f0000 + 383228
7   FlutterMacOS                  	       0x106a55200 0x1069f0000 + 414208
8   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
9   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 7:: io.worker.1
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 8:: io.worker.2
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 9:: io.worker.3
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 10:: io.worker.4
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 11:: io.worker.5
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 12:: io.worker.6
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 13:: io.worker.7
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 14:: io.worker.8
0   libsystem_kernel.dylib        	       0x1b9e10290 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b9e4a83c _pthread_cond_wait + 1236
2   FlutterMacOS                  	       0x106a1d220 0x1069f0000 + 184864
3   FlutterMacOS                  	       0x106a4740c 0x1069f0000 + 357388
4   FlutterMacOS                  	       0x106a48160 0x1069f0000 + 360800
5   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
6   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8

Thread 15:: dart:io EventHandler
0   libsystem_kernel.dylib        	       0x1b9e12c40 kevent + 8
1   FlutterMacOS                  	       0x10719a990 0x1069f0000 + 8038800
2   FlutterMacOS                  	       0x1071c27e4 0x1069f0000 + 8202212
3   libsystem_pthread.dylib       	       0x1b9e4a26c _pthread_start + 148
4   libsystem_pthread.dylib       	       0x1b9e4508c thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x000000016af7c348   x5: 0x0000000000000021   x6: 0x0000000000000000   x7: 0x00000000000005a0
    x8: 0x425d7881f67a6c94   x9: 0x425d7880f36ea914  x10: 0x0000000000000002  x11: 0x00000000fffffffd
   x12: 0x0000010000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
   x16: 0x0000000000000148  x17: 0x0000000213cb7640  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x000000010514c580  x21: 0x0000000000000103  x22: 0x000000010514c660  x23: 0x0000000000000000
   x24: 0x00000001074d36d0  x25: 0x00000001074d3760  x26: 0x00006000038951d8  x27: 0x0000600003895200
   x28: 0x1fffffffffffffff   fp: 0x000000016af7c370   lr: 0x00000001b9e49ee0
    sp: 0x000000016af7c350   pc: 0x00000001b9e14db8 cpsr: 0x40001000
   far: 0x0000000106998000  esr: 0x56000080  Address size fault

Binary Images:
       0x1b9e0b000 -        0x1b9e42fff libsystem_kernel.dylib (*) <1d7b3b8e-75a1-34ea-aa52-9f7c23155c55> /usr/lib/system/libsystem_kernel.dylib
       0x1b9e43000 -        0x1b9e4ffff libsystem_pthread.dylib (*) <cee8bc77-6923-34d9-89a3-6f8f7279605e> /usr/lib/system/libsystem_pthread.dylib
       0x1b9d0a000 -        0x1b9d8bfff libsystem_c.dylib (*) <fd566a15-42d8-314a-a99a-b59237ddf5bc> /usr/lib/system/libsystem_c.dylib
       0x1069f0000 -        0x1074cffff io.flutter.flutter-macos (1.0) <9681b310-70f1-34e4-ae10-038b68e081ec> /Users/USER/Documents/*/playground.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/FlutterMacOS
       0x1bca32000 -        0x1bd8e9fff com.apple.AppKit (6.9) <465b9570-6646-31ea-a082-ab0dfa538966> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x104e80000 -        0x104e83fff com.example.playground (1.0.0) <76ef00c5-1659-37ff-8188-3171623d77e9> /Users/USER/Documents/*/playground.app/Contents/MacOS/playground
       0x1050d4000 -        0x105133fff dyld (*) <fbb89662-e6f2-3434-b542-f75185ac5e74> /usr/lib/dyld
       0x1b9e92000 -        0x1ba3d7fff com.apple.CoreFoundation (6.9) <8e1809ff-f5b1-3d9e-be15-f2e7b1d8ce51> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 4
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=923.3M resident=0K(0%) swapped_out_or_unallocated=923.3M(100%)
Writable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
ColorSync                          528K       23 
CoreGraphics                        16K        1 
Foundation                          16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           242.3M       37 
MALLOC guard page                  192K       11 
MALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.2M       16 
Stack                             16.5M       16 
VM_ALLOCATE                        624K        5 
__AUTH                            2158K      216 
__AUTH_CONST                      13.4M      382 
__DATA                             9.9M      374 
__DATA_CONST                      14.2M      389 
__DATA_DIRTY                      1262K      150 
__FONT_DATA                          4K        1 
__LINKEDIT                       584.9M        6 
__OBJC_CONST                      2367K      183 
__OBJC_RO                         82.9M        1 
__OBJC_RW                         3152K        1 
__TEXT                           338.5M      403 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      143.1M       18 
shared memory                      848K       13 
===========                     =======  ======= 
TOTAL                              2.3G     2256 
TOTAL, minus reserved VM space     1.5G     2256 



-----------
Full Report
-----------

{"app_name":"playground","timestamp":"2022-03-18 11:53:17.00 +0800","app_version":"1.0.0","slice_uuid":"76ef00c5-1659-37ff-8188-3171623d77e9","build_version":"1","platform":1,"bundleID":"com.example.playground","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3 (21E230)","incident_id":"78BCBB93-CBBF-4B0D-99E8-97A841904288","name":"playground"}
{
  "uptime" : 1500,
  "procLaunch" : "2022-03-18 11:53:17.6213 +0800",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "procStartAbsTime" : 37330845361,
  "coalitionID" : 1346,
  "osVersion" : {
    "train" : "macOS 12.3",
    "build" : "21E230",
    "releaseType" : "User"
  },
  "captureTime" : "2022-03-18 11:53:17.7752 +0800",
  "incident" : "78BCBB93-CBBF-4B0D-99E8-97A841904288",
  "bug_type" : "309",
  "pid" : 5945,
  "procExitAbsTime" : 37334412926,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "playground",
  "procPath" : "\/Users\/USER\/Documents\/*\/playground.app\/Contents\/MacOS\/playground",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.example.playground"},
  "storeInfo" : {"deviceIdentifierForVendor":"69779C74-ABF6-576B-9C69-B4D111A5CE3F","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.example.playground",
  "crashReporterKey" : "14779CBC-35D9-D9B0-2944-25C223FA7672",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"libsystem_c.dylib":["abort() called"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":4},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":39847,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":6089589576},{"value":33},{"value":0},{"value":1440},{"value":4782110878918667412},{"value":4782110874572597524},{"value":2},{"value":4294967293},{"value":1099511627776},{"value":0},{"value":0},{"value":0},{"value":328},{"value":8922035776},{"value":0},{"value":6},{"value":4380214656,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4380214880,"symbolLocation":224,"symbol":"_main_thread"},{"value":0},{"value":4417468112},{"value":4417468256},{"value":105553175597528},{"value":105553175597568},{"value":2305843009213693951}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7413735136},"cpsr":{"value":1073745920},"fp":{"value":6089589616},"sp":{"value":6089589584},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7413517752,"matchesCrashFrame":1},"far":{"value":4405690368}},"queue":"com.apple.main-thread","frames":[{"imageOffset":40376,"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":371720,"imageIndex":3},{"imageOffset":371704,"imageIndex":3},{"imageOffset":8257300,"imageIndex":3},{"imageOffset":8251596,"imageIndex":3},{"imageOffset":8249128,"imageIndex":3},{"imageOffset":8258996,"imageIndex":3},{"imageOffset":6661800,"imageIndex":3},{"imageOffset":8424408,"imageIndex":3},{"imageOffset":8344892,"imageIndex":3},{"imageOffset":51300,"imageIndex":3},{"imageOffset":145592,"imageIndex":3},{"imageOffset":144924,"imageIndex":3},{"imageOffset":1551916,"symbol":"-[NSViewController _sendViewWillAppear]","symbolLocation":48,"imageIndex":4},{"imageOffset":1551544,"symbol":"-[NSViewController _windowWillOrderOnScreen]","symbolLocation":104,"imageIndex":4},{"imageOffset":9261488,"symbol":"-[NSView _windowWillOrderOnScreen]","symbolLocation":80,"imageIndex":4},{"imageOffset":9261620,"symbol":"-[NSView _windowWillOrderOnScreen]","symbolLocation":212,"imageIndex":4},{"imageOffset":1551116,"symbol":"-[NSWindow _doWindowWillBeVisibleAsSheet:]","symbolLocation":64,"imageIndex":4},{"imageOffset":1545372,"symbol":"-[NSWindow _reallyDoOrderWindowAboveOrBelow:relativeTo:findKey:forCounter:force:isModal:]","symbolLocation":1232,"imageIndex":4},{"imageOffset":1543088,"symbol":"-[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:]","symbolLocation":132,"imageIndex":4},{"imageOffset":1538972,"symbol":"-[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:]","symbolLocation":324,"imageIndex":4},{"imageOffset":126404,"symbol":"-[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:]","symbolLocation":1584,"imageIndex":4},{"imageOffset":77484,"symbol":"loadNib","symbolLocation":416,"imageIndex":4},{"imageOffset":74716,"symbol":"+[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:]","symbolLocation":800,"imageIndex":4},{"imageOffset":73696,"symbol":"-[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:]","symbolLocation":220,"imageIndex":4},{"imageOffset":73136,"symbol":"+[NSBundle(NSNibLoading) loadNibNamed:owner:]","symbolLocation":388,"imageIndex":4},{"imageOffset":15228,"symbol":"NSApplicationMain","symbolLocation":576,"imageIndex":4},{"imageOffset":14752,"sourceLine":5,"sourceFile":"AppDelegate.swift","symbol":"main","imageIndex":5,"symbolLocation":12},{"imageOffset":20616,"symbol":"start","symbolLocation":516,"imageIndex":6}]},{"id":39861,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":39862,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":39870,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":39877,"name":"io.flutter.ui","frames":[{"imageOffset":6352,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7488,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":543772,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":7},{"imageOffset":536780,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":7},{"imageOffset":533648,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"imageOffset":419072,"imageIndex":3},{"imageOffset":383228,"imageIndex":3},{"imageOffset":414208,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39878,"name":"io.flutter.raster","frames":[{"imageOffset":6352,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7488,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":543772,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":7},{"imageOffset":536780,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":7},{"imageOffset":533648,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"imageOffset":419072,"imageIndex":3},{"imageOffset":383228,"imageIndex":3},{"imageOffset":414208,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39879,"name":"io.flutter.io","frames":[{"imageOffset":6352,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7488,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":543772,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":7},{"imageOffset":536780,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":7},{"imageOffset":533648,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":7},{"imageOffset":419072,"imageIndex":3},{"imageOffset":383228,"imageIndex":3},{"imageOffset":414208,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39880,"name":"io.worker.1","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39881,"name":"io.worker.2","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39882,"name":"io.worker.3","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39883,"name":"io.worker.4","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39884,"name":"io.worker.5","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39885,"name":"io.worker.6","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39886,"name":"io.worker.7","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39887,"name":"io.worker.8","frames":[{"imageOffset":21136,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":184864,"imageIndex":3},{"imageOffset":357388,"imageIndex":3},{"imageOffset":360800,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":39888,"name":"dart:io EventHandler","frames":[{"imageOffset":31808,"symbol":"kevent","symbolLocation":8,"imageIndex":0},{"imageOffset":8038800,"imageIndex":3},{"imageOffset":8202212,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7413477376,
    "size" : 229376,
    "uuid" : "1d7b3b8e-75a1-34ea-aa52-9f7c23155c55",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7413706752,
    "size" : 53248,
    "uuid" : "cee8bc77-6923-34d9-89a3-6f8f7279605e",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7412424704,
    "size" : 532480,
    "uuid" : "fd566a15-42d8-314a-a99a-b59237ddf5bc",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4406050816,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "io.flutter.flutter-macos",
    "size" : 11403264,
    "uuid" : "9681b310-70f1-34e4-ae10-038b68e081ec",
    "path" : "\/Users\/USER\/Documents\/*\/playground.app\/Contents\/Frameworks\/FlutterMacOS.framework\/Versions\/A\/FlutterMacOS",
    "name" : "FlutterMacOS",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7459774464,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15433728,
    "uuid" : "465b9570-6646-31ea-a082-ab0dfa538966",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.40.126"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377280512,
    "CFBundleShortVersionString" : "1.0.0",
    "CFBundleIdentifier" : "com.example.playground",
    "size" : 16384,
    "uuid" : "76ef00c5-1659-37ff-8188-3171623d77e9",
    "path" : "\/Users\/USER\/Documents\/*\/playground.app\/Contents\/MacOS\/playground",
    "name" : "playground",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4379721728,
    "size" : 393216,
    "uuid" : "fbb89662-e6f2-3434-b542-f75185ac5e74",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7414030336,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5529600,
    "uuid" : "8e1809ff-f5b1-3d9e-be15-f2e7b1d8ce51",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1858.112"
  }
],
  "sharedCache" : {
  "base" : 7410417664,
  "size" : 3136438272,
  "uuid" : "00edbaf8-9281-3f26-b94f-e6a315e3a659"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=923.3M resident=0K(0%) swapped_out_or_unallocated=923.3M(100%)\nWritable regions: Total=1.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                          528K       23 \nCoreGraphics                        16K        1 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           242.3M       37 \nMALLOC guard page                  192K       11 \nMALLOC_MEDIUM (reserved)         480.0M        4         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.2M       16 \nStack                             16.5M       16 \nVM_ALLOCATE                        624K        5 \n__AUTH                            2158K      216 \n__AUTH_CONST                      13.4M      382 \n__DATA                             9.9M      374 \n__DATA_CONST                      14.2M      389 \n__DATA_DIRTY                      1262K      150 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       584.9M        6 \n__OBJC_CONST                      2367K      183 \n__OBJC_RO                         82.9M        1 \n__OBJC_RW                         3152K        1 \n__TEXT                           338.5M      403 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      143.1M       18 \nshared memory                      848K       13 \n===========                     =======  ======= \nTOTAL                              2.3G     2256 \nTOTAL, minus reserved VM space     1.5G     2256 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112e14f37f5d11121dcd519",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "62265b250683fd69cdcf0e26"
      },
      "deploymentId" : 240000068
    },
    {
      "rolloutId" : "61301e3a61217b3110231469",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
      },
      "deploymentId" : 240000016
    }
  ],
  "experiments" : [

  ]
}
}
Logs
[✓] Flutter (Channel master, 2.13.0-0.0.pre.138, on macOS 12.3 21E230 darwin-arm, locale zh-Hans-MY)
    • Flutter version 2.13.0-0.0.pre.138 at /Users/taboosun/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3d46ab920b (2 hours ago), 2022-03-17 18:45:21 -0700
    • Engine revision 4ac53a5b86
    • Dart version 2.17.0 (build 2.17.0-216.0.dev)
    • DevTools version 2.11.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/taboosun/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/taboosun/Library/Android/sdk
    • Java binary at: /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8139111/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
    • IntelliJ at /Users/taboosun/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 65.2.4
    • Dart plugin version 213.7227

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
    • IntelliJ at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.7172.25/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Users/taboosun/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.6777.52/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 99.0.4844.74
    ! Error: 神的iPad is not connected. Xcode will continue when 神的iPad is connected. (code -13)
    ! Error: Kah Wai’s iPhone is not connected. Xcode will continue when Kah Wai’s iPhone is connected. (code -13)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: releaseChallenges faced when attempting to productionize an appc: fatal crashCrashes that terminate the processengineflutter/engine repository. See also e: labels.found in release: 2.13Found to occur in 2.13has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-host-armBuilding on an ARM-based platformplatform-macBuilding on or for macOS specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions