Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter build --release crashes 3.7.0 #119220

Closed
SunlightBro opened this issue Jan 26, 2023 · 27 comments
Closed

flutter build --release crashes 3.7.0 #119220

SunlightBro opened this issue Jan 26, 2023 · 27 comments
Assignees
Labels
a: build Building flutter applications with the tool c: crash Stack traces logged to the console dependency: dart Dart team may need to help us r: fixed Issue is closed as already fixed in a newer version tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@SunlightBro
Copy link

SunlightBro commented Jan 26, 2023

Steps to Reproduce

Building a debug app works
flutter build apk --debug --flavor dev -t lib/main.dart

Running Gradle task 'assembleDevDebug'...                          33.5s
✓  Built build/app/outputs/flutter-apk/app-dev-debug.apk.

But building for release crashes
flutter build apk --release --flavor dev -t lib/main.dart

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xc
version=2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "macos_x64"
pid=61474, thread=-1, isolate_group=isolate(0x7fec27808200), isolate=(nil)(0x0)
os=macos, arch=x64, comp=yes, sim=no
isolate_instructions=0, vm_instructions=0

Before with Flutter 3.3.10 --release build successful.

This is a App in released in production for Android and iOS

Logs

Logs
💪 Building with sound null safety 💪

Expected to find fonts for (packages/cupertino_icons/CupertinoIcons, MaterialIcons, WuerthIcon), but found (MaterialIcons, WuerthIcon). This usually means you are referring to font families in an IconData class but not including them in the assets section of your pubspec.yaml, are missing the package that would include them, or are missing "uses-material-design: true".

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xc
version=2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "macos_arm"
pid=59850, thread=-1, isolate_group=isolate(0x7fe1b801b400), isolate=(nil)(0x0)
os=macos, arch=arm, comp=no, sim=no
isolate_instructions=0, vm_instructions=0
  pc 0x000000010139e2ad fp 0x0000000306bfe100 dart::FlowGraphTypePropagator::VisitValue(dart::Value*)+0x3d
  pc 0x000000010139dee7 fp 0x0000000306bfe150 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0xd7
  pc 0x000000010139dfc3 fp 0x0000000306bfe1a0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
  pc 0x000000010139d5a2 fp 0x0000000306bfe620 dart::FlowGraphTypePropagator::Propagate()+0x32
  pc 0x000000010139d538 fp 0x0000000306bfe740 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x58
  pc 0x00000001013b5662 fp 0x0000000306bfe760 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
  pc 0x00000001013b4250 fp 0x0000000306bfe830 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x00000001013b447a fp 0x0000000306bfe860 dart::CompilerPass::RunInliningPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0x3a
  pc 0x00000001013630fb fp 0x0000000306bfed70 dart::CallSiteInliner::TryInliningImpl(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0x100b
  pc 0x00000001013577d6 fp 0x0000000306bfee10 dart::CallSiteInliner::TryInlining(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0xf6
  pc 0x00000001013662db fp 0x0000000306bfef00 dart::CallSiteInliner::InlineStaticCalls()+0x56b
  pc 0x000000010135d3df fp 0x0000000306bff020 dart::CallSiteInliner::InlineCalls()+0x24f
  pc 0x000000010135d031 fp 0x0000000306bff120 dart::FlowGraphInliner::Inline()+0x1e1
  pc 0x00000001013b55d2 fp 0x0000000306bff190 dart::CompilerPass_Inlining::DoBody(dart::CompilerPassState*) const+0x52
  pc 0x00000001013b4250 fp 0x0000000306bff260 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x00000001013b4739 fp 0x0000000306bff290 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0xa9
  pc 0x0000000101286bf9 fp 0x0000000306bff960 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x5c9
  pc 0x00000001012876fd fp 0x0000000306bfffe0 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x31d
  pc 0x00000001012824f6 fp 0x0000000306c000f0 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x176
  pc 0x000000010127fd81 fp 0x0000000306c00190 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf1
  pc 0x000000010127a054 fp 0x0000000306c001f0 dart::Precompiler::Iterate()+0x94
  pc 0x0000000101274b19 fp 0x0000000306c00940 dart::Precompiler::DoCompileAll()+0x1489
  pc 0x000000010127360b fp 0x0000000306c00da0 dart::Precompiler::CompileAll()+0xbb
  pc 0x0000000101468ab8 fp 0x0000000306c00f10 Dart_Precompile+0x248
  pc 0x0000000100fc2f4b fp 0x0000000306c010a0 dart::bin::main(int, char**)+0x9ab
  pc 0x0000000201b4f310 fp 0x0000000306c01340 Unknown symbol
-- End of DumpStackTrace
=== Crash occurred when compiling package:photodoc/model/dto/project_dto.dart_ProjectDto_ProjectDto.init in AOT mode in TypePropagation pass
*** BEGIN CFG
TypePropagation
==== package:photodoc/model/dto/project_dto.dart__$_ProjectDto@1727099614__$_ProjectDto@1727099614. (Constructor)
B0[graph]:0 {
      v0 <- Constant(#-1) T{_Smi}
      v1 <- Constant(#) T{_OneByteString}
      v2 <- Constant(#false) T{bool}
      v3 <- Constant(#null) T{Null?}
      v4 <- Constant(#_ImmutableList len:0)
      v5 <- Constant(#_ImmutableList len:0)
      v6 <- Constant(#_ImmutableList len:0)
      v7 <- Constant(#_ImmutableList len:0)
      v8 <- Constant(#true)
      v5 <- Constant(#<optimized out>)
}
B3[function entry]:2 {
      v6 <- Parameter(0) T{_$_ProjectDto}
      v7 <- SpecialParameter(ArgDescriptor)
}
    StoreField(v6 . id = v0 <int64>)
    StoreField(v6 . name = v1)
    StoreField(v6 . eventStoreId = v1)
    StoreField(v6 . deleted = v2)
    StoreField(v6 . lastUpdatedByUser = v3)
    StoreField(v6 . createdDate = v3)
    StoreField(v6 . createdBy = v3)
    StoreField(v6 . company = v3)
    StoreField(v6 . address = v3)
    StoreField(v6 . customer = v3)
    StoreField(v6 . distanceToCurrentUser = v1)
    StoreField(v6 . number = v1)
    StoreField(v6 . isSynchronizeEnabled = v8)
    StoreField(v6 . isNewProject = v2)
    StoreField(v6 . isOffline = v2)
    StoreField(v6 . _images@1727099614 = v4)
    StoreField(v6 . _tags@1727099614 = v5)
    StoreField(v6 . _reports@1727099614 = v6)
    StoreField(v6 . _participants@1727099614 = v7)
    Return:470(v3)
*** END CFG
Dart snapshot generator failed with exit code -6

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xc
version=2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "macos_simarm64"
pid=59851, thread=-1, isolate_group=isolate(0x7fd545008200), isolate=(nil)(0x0)
os=macos, arch=arm64, comp=yes, sim=yes
isolate_instructions=0, vm_instructions=0
  pc 0x000000010490b1cd fp 0x000000030d841140 dart::FlowGraphTypePropagator::VisitValue(dart::Value*)+0x3d
  pc 0x000000010490ae07 fp 0x000000030d841190 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0xd7
  pc 0x000000010490aee3 fp 0x000000030d8411e0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
  pc 0x000000010490a4c2 fp 0x000000030d841660 dart::FlowGraphTypePropagator::Propagate()+0x32
  pc 0x000000010490a458 fp 0x000000030d841780 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x58
  pc 0x0000000104922c12 fp 0x000000030d8417a0 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
  pc 0x0000000104921800 fp 0x000000030d841870 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x0000000104921a2a fp 0x000000030d8418a0 dart::CompilerPass::RunInliningPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0x3a
  pc 0x00000001048d0393 fp 0x000000030d841db0 dart::CallSiteInliner::TryInliningImpl(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0x1073
  pc 0x00000001048c48f6 fp 0x000000030d841e50 dart::CallSiteInliner::TryInlining(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0xf6
  pc 0x00000001048d36eb fp 0x000000030d841f40 dart::CallSiteInliner::InlineStaticCalls()+0x56b
  pc 0x00000001048ca64f fp 0x000000030d842060 dart::CallSiteInliner::InlineCalls()+0x24f
  pc 0x00000001048ca2a1 fp 0x000000030d842160 dart::FlowGraphInliner::Inline()+0x1e1
  pc 0x0000000104922b82 fp 0x000000030d8421d0 dart::CompilerPass_Inlining::DoBody(dart::CompilerPassState*) const+0x52
  pc 0x0000000104921800 fp 0x000000030d8422a0 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x0000000104921ce9 fp 0x000000030d8422d0 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0xa9
  pc 0x00000001047f9fa1 fp 0x000000030d8429a0 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x611
  pc 0x00000001047faa9a fp 0x000000030d843020 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x31a
  pc 0x00000001047f4e56 fp 0x000000030d843130 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x176
  pc 0x00000001047f2181 fp 0x000000030d8431d0 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf1
  pc 0x00000001047eb60b fp 0x000000030d843230 dart::Precompiler::Iterate()+0xab
  pc 0x00000001047e59e9 fp 0x000000030d843980 dart::Precompiler::DoCompileAll()+0x1489
  pc 0x00000001047e44db fp 0x000000030d843de0 dart::Precompiler::CompileAll()+0xbb
  pc 0x00000001049d8828 fp 0x000000030d843f50 Dart_Precompile+0x248
  pc 0x000000010450ff4b fp 0x000000030d8440e0 dart::bin::main(int, char**)+0x9ab
  pc 0x0000000205245310 fp 0x000000030d844380 Unknown symbol
-- End of DumpStackTrace
=== Crash occurred when compiling package:photodoc/model/dto/project_dto.dart_ProjectDto_ProjectDto.init in AOT mode in TypePropagation pass
*** BEGIN CFG
TypePropagation
==== package:photodoc/model/dto/project_dto.dart__$_ProjectDto@1727099614__$_ProjectDto@1727099614. (Constructor)
B0[graph]:0 {
      v0 <- Constant(#-1) T{_Smi}
      v1 <- Constant(#) T{_OneByteString}
      v2 <- Constant(#false) T{bool}
      v3 <- Constant(#null) T{Null?}
      v4 <- Constant(#_ImmutableList len:0)
      v5 <- Constant(#_ImmutableList len:0)
      v6 <- Constant(#_ImmutableList len:0)
      v7 <- Constant(#_ImmutableList len:0)
      v8 <- Constant(#true)
      v5 <- Constant(#<optimized out>)
}
B3[function entry]:2 {
      v6 <- Parameter(0) T{_$_ProjectDto}
      v7 <- SpecialParameter(ArgDescriptor)
}
    StoreField(v6 . id = v0 <int64>)
    StoreField(v6 . name = v1)
    StoreField(v6 . eventStoreId = v1)
    StoreField(v6 . deleted = v2)
    StoreField(v6 . lastUpdatedByUser = v3)
    StoreField(v6 . createdDate = v3)
    StoreField(v6 . createdBy = v3)
    StoreField(v6 . company = v3)
    StoreField(v6 . address = v3)
    StoreField(v6 . customer = v3)
    StoreField(v6 . distanceToCurrentUser = v1)
    StoreField(v6 . number = v1)
    StoreField(v6 . isSynchronizeEnabled = v8)
    StoreField(v6 . isNewProject = v2)
    StoreField(v6 . isOffline = v2)
    StoreField(v6 . _images@1727099614 = v4)
    StoreField(v6 . _tags@1727099614 = v5)
    StoreField(v6 . _reports@1727099614 = v6)
    StoreField(v6 . _participants@1727099614 = v7)
    Return:470(v3)
*** END CFG
Dart snapshot generator failed with exit code -6

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xc
version=2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "macos_x64"
pid=59853, thread=-1, isolate_group=isolate(0x7fa106024e00), isolate=(nil)(0x0)
os=macos, arch=x64, comp=yes, sim=no
isolate_instructions=0, vm_instructions=0
  pc 0x0000000102cc627d fp 0x0000000309e04150 dart::FlowGraphTypePropagator::VisitValue(dart::Value*)+0x3d
  pc 0x0000000102cc5eb7 fp 0x0000000309e041a0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0xd7
  pc 0x0000000102cc5f93 fp 0x0000000309e041f0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
  pc 0x0000000102cc5572 fp 0x0000000309e04670 dart::FlowGraphTypePropagator::Propagate()+0x32
  pc 0x0000000102cc5508 fp 0x0000000309e04790 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x58
  pc 0x0000000102cddcc2 fp 0x0000000309e047b0 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
  pc 0x0000000102cdc8b0 fp 0x0000000309e04880 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x0000000102cdcada fp 0x0000000309e048b0 dart::CompilerPass::RunInliningPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0x3a
  pc 0x0000000102c8b533 fp 0x0000000309e04dc0 dart::CallSiteInliner::TryInliningImpl(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0x1073
  pc 0x0000000102c7fa96 fp 0x0000000309e04e60 dart::CallSiteInliner::TryInlining(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0xf6
  pc 0x0000000102c8e88b fp 0x0000000309e04f50 dart::CallSiteInliner::InlineStaticCalls()+0x56b
  pc 0x0000000102c857ef fp 0x0000000309e05070 dart::CallSiteInliner::InlineCalls()+0x24f
  pc 0x0000000102c85441 fp 0x0000000309e05170 dart::FlowGraphInliner::Inline()+0x1e1
  pc 0x0000000102cddc32 fp 0x0000000309e051e0 dart::CompilerPass_Inlining::DoBody(dart::CompilerPassState*) const+0x52
  pc 0x0000000102cdc8b0 fp 0x0000000309e052b0 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x0000000102cdcd99 fp 0x0000000309e052e0 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0xa9
  pc 0x0000000102babbc1 fp 0x0000000309e059b0 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x611
  pc 0x0000000102bac6ba fp 0x0000000309e06030 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x31a
  pc 0x0000000102ba6a76 fp 0x0000000309e06140 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x176
  pc 0x0000000102ba3da1 fp 0x0000000309e061e0 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf1
  pc 0x0000000102b9d22b fp 0x0000000309e06240 dart::Precompiler::Iterate()+0xab
  pc 0x0000000102b97609 fp 0x0000000309e06990 dart::Precompiler::DoCompileAll()+0x1489
  pc 0x0000000102b960fb fp 0x0000000309e06df0 dart::Precompiler::CompileAll()+0xbb
  pc 0x0000000102d96808 fp 0x0000000309e06f60 Dart_Precompile+0x248
  pc 0x00000001028d0f4b fp 0x0000000309e070f0 dart::bin::main(int, char**)+0x9ab
  pc 0x0000000203447310 fp 0x0000000309e07390 Unknown symbol
-- End of DumpStackTrace
=== Crash occurred when compiling package:photodoc/model/dto/project_dto.dart_ProjectDto_ProjectDto.init in AOT mode in TypePropagation pass
*** BEGIN CFG
TypePropagation
==== package:photodoc/model/dto/project_dto.dart__$_ProjectDto@1727099614__$_ProjectDto@1727099614. (Constructor)
B0[graph]:0 {
      v0 <- Constant(#-1) T{_Smi}
      v1 <- Constant(#) T{_OneByteString}
      v2 <- Constant(#false) T{bool}
      v3 <- Constant(#null) T{Null?}
      v4 <- Constant(#_ImmutableList len:0)
      v5 <- Constant(#_ImmutableList len:0)
      v6 <- Constant(#_ImmutableList len:0)
      v7 <- Constant(#_ImmutableList len:0)
      v8 <- Constant(#true)
      v5 <- Constant(#<optimized out>)
}
B3[function entry]:2 {
      v6 <- Parameter(0) T{_$_ProjectDto}
      v7 <- SpecialParameter(ArgDescriptor)
}
    StoreField(v6 . id = v0 <int64>)
    StoreField(v6 . name = v1)
    StoreField(v6 . eventStoreId = v1)
    StoreField(v6 . deleted = v2)
    StoreField(v6 . lastUpdatedByUser = v3)
    StoreField(v6 . createdDate = v3)
    StoreField(v6 . createdBy = v3)
    StoreField(v6 . company = v3)
    StoreField(v6 . address = v3)
    StoreField(v6 . customer = v3)
    StoreField(v6 . distanceToCurrentUser = v1)
    StoreField(v6 . number = v1)
    StoreField(v6 . isSynchronizeEnabled = v8)
    StoreField(v6 . isNewProject = v2)
    StoreField(v6 . isOffline = v2)
    StoreField(v6 . _images@1727099614 = v4)
    StoreField(v6 . _tags@1727099614 = v5)
    StoreField(v6 . _reports@1727099614 = v6)
    StoreField(v6 . _participants@1727099614 = v7)
    Return:470(v3)
*** END CFG
Dart snapshot generator failed with exit code -6
Target android_aot_release_android-arm failed: Exception: AOT snapshotter exited with code -6
Target android_aot_release_android-arm64 failed: Exception: AOT snapshotter exited with code -6
Target android_aot_release_android-x64 failed: Exception: AOT snapshotter exited with code -6


FAILURE: Build failed with an exception.

* Where:
Script '/Users/sunbro/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1151

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDevRelease'.
> Process 'command '/Users/sunbro/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 37s

[✓] Flutter (Channel stable, 3.7.0, on macOS 13.1 22C65 darwin-arm64, locale en-DE)
    • Flutter version 3.7.0 on channel stable at /Users/sunbro/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (2 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/sunbro/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/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.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.3345.108

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 109.0.5414.119

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

• No issues found!
@pansitwattana
Copy link

I also got this crash. Do you use Equatable or bloc package?

@mraleph
Copy link
Member

mraleph commented Jan 26, 2023

@alexmarkov could you take a look?

@stjfk
Copy link

stjfk commented Jan 26, 2023

I also get a crash in profile mode after upgrading to 3.7.0. debug works but profile does not.
I tried flutter clean, flutter pub cache repair, flutter pub get, dart pub get...

CRASH

===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xc
version=2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "macos_simarm64"
pid=73972, thread=259, isolate_group=isolate(0x7f8750829600), isolate=(nil)(0x0)
os=macos, arch=arm64, comp=yes, sim=yes
isolate_instructions=0, vm_instructions=0
  pc 0x0000000100e57aed fp 0x0000000306249040 dart::FlowGraphTypePropagator::VisitValue(dart::Value*)+0x3d
  pc 0x0000000100e57727 fp 0x0000000306249090 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0xd7
  pc 0x0000000100e57803 fp 0x00000003062490e0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
  pc 0x0000000100e56de2 fp 0x0000000306249560 dart::FlowGraphTypePropagator::Propagate()+0x32
  pc 0x0000000100e56d78 fp 0x0000000306249680 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x58
  pc 0x0000000100e6f4f2 fp 0x00000003062496a0 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
  pc 0x0000000100e6e0e0 fp 0x0000000306249770 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x0000000100e6e30a fp 0x00000003062497a0 dart::CompilerPass::RunInliningPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0x3a
  pc 0x0000000100e1bbb3 fp 0x0000000306249cb0 dart::CallSiteInliner::TryInliningImpl(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0x1073
  pc 0x0000000100e10116 fp 0x0000000306249d50 dart::CallSiteInliner::TryInlining(dart::Function const&, dart::Array const&, dart::InlinedCallData*, bool)+0xf6
  pc 0x0000000100e1eebb fp 0x0000000306249e40 dart::CallSiteInliner::InlineStaticCalls()+0x56b
  pc 0x0000000100e15e6f fp 0x0000000306249f60 dart::CallSiteInliner::InlineCalls()+0x24f
  pc 0x0000000100e15ac1 fp 0x000000030624a060 dart::FlowGraphInliner::Inline()+0x1e1
  pc 0x0000000100e6f462 fp 0x000000030624a0d0 dart::CompilerPass_Inlining::DoBody(dart::CompilerPassState*) const+0x52
  pc 0x0000000100e6e0e0 fp 0x000000030624a1a0 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x1b0
  pc 0x0000000100e6e5c9 fp 0x000000030624a1d0 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0xa9
  pc 0x0000000100d45b31 fp 0x000000030624a8a0 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x611
  pc 0x0000000100d4662a fp 0x000000030624af20 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x31a
  pc 0x0000000100d40a66 fp 0x000000030624b030 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x176
  pc 0x0000000100d3daa1 fp 0x000000030624b0d0 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf1
  pc 0x0000000100d3776b fp 0x000000030624b130 dart::Precompiler::Iterate()+0xab
  pc 0x0000000100d317e9 fp 0x000000030624b880 dart::Precompiler::DoCompileAll()+0x1489
  pc 0x0000000100d302db fp 0x000000030624bce0 dart::Precompiler::CompileAll()+0xbb
  pc 0x0000000100f29b88 fp 0x000000030624be50 Dart_Precompile+0x248
  pc 0x00000001009cbf4b fp 0x000000030624bfe0 dart::bin::main(int, char**)+0x9ab
  pc 0x0000000201791310 fp 0x000000030624c280 Unknown symbol
-- End of DumpStackTrace
=== Crash occurred when compiling package:test123/test123.dart_Test123_init_tema in AOT mode in TypePropagation pass
*** BEGIN CFG
TypePropagation
==== package:test123/themes/temas.dart_Tema_Tema.ack (Constructor)
B0[graph]:0 {
      v0 <- Constant(#Instance of 'Color')
      v1 <- Constant(#null)
      v2 <- Constant(#Instance of 'Color')
      v3 <- Constant(#Instance of 'Color')
      v4 <- Constant(#Instance of 'Color')
      v5 <- Constant(#Instance of 'Color')
      v6 <- Constant(#Instance of 'Color')
      v7 <- Constant(#Instance of 'Color')
      v8 <- Constant(#Instance of 'Brightness')
      v9 <- Constant(#Instance of 'Color')
      v10 <- Constant(#Instance of 'Color')
      v11 <- Constant(#Instance of 'Color')
      v12 <- Constant(#Instance of 'Color')
      v13 <- Constant(#Instance of 'Color')
      v14 <- Constant(#Instance of 'Color')
      v15 <- Constant(#false)
      v16 <- Constant(#Instance of 'Color')
      v17 <- Constant(#1.0)
      v18 <- Constant(#Instance of 'Color')
      v19 <- Constant(#Instance of 'Color')
      v20 <- Constant(#Instance of 'Color')
      v3 <- Constant(#<optimized out>)
      v6 <- Constant(#Instance of 'Color')
      v7 <- Constant(#Instance of 'Color')
}
B2[function entry]:2 {
      v4 <- Parameter(0) T{Tema}
      v5 <- SpecialParameter(ArgDescriptor)
}
    DebugStepCheck:780()
    StoreField(v4 . brightness = v8)
    StoreField(v4 . statusTextDark = v15)
    StoreField(v4 . fabc = v15, NoStoreBarrier)
    StoreField(v4 . kou = v15)
    StoreField(v4 . opacity = v17 <double>)
    StoreField(v4 . imageBg = v1, NoStoreBarrier)
    StoreField(v4 . bodyBg = v5)
    StoreField(v4 . popupBg = v5)
    StoreField(v4 . bottomBarBg = v5)
    StoreField(v4 . fabBg = v11)
    StoreField(v4 . fabText = v9)
    StoreField(v4 . appBarBg = v0)
    StoreField(v4 . appBarGr = v1)
    StoreField(v4 . appBarText = v3)
    StoreField(v4 . appBarLink = v2)
    StoreField(v4 . entryBg = v11)
    StoreField(v4 . contentText = v9)
    StoreField(v4 . author = v4)
    StoreField(v4 . link = v16)
    StoreField(v4 . primaryText = v3, NoStoreBarrier)
    StoreField(v4 . info = v14)
    StoreField(v4 . border = v7)
    StoreField(v4 . dhBorder = v10)
    StoreField(v4 . eo = v12)
    StoreField(v4 . eoActive = v13)
    StoreField(v4 . topicUnread = v13)
    StoreField(v4 . topicUnreadBadgeBg = v13)
    StoreField(v4 . topicUnreadBadge = v3)
    StoreField(v4 . inputBg = v3)
    StoreField(v4 . hat = v6, NoStoreBarrier)
    StoreField(v4 . panelActionBg = v18)
    StoreField(v4 . passive = v7, NoStoreBarrier)
    StoreField(v4 . bodyIcon = v6)
    StoreField(v4 . notif = v13)
    StoreField(v4 . notifText = v3, NoStoreBarrier)
    StoreField(v4 . entryGrBg = v3)
    StoreField(v4 . zebr1 = v19)
    StoreField(v4 . zebr2 = v20)
    DebugStepCheck:784()
    Return:786(v1)
*** END CFG
Dart snapshot generator failed with exit code -6
Target android_aot_profile_android-arm64 failed: Exception: AOT snapshotter exited with code -6
FAILURE: Build failed with an exception.
Where:
Script '/Users/knr/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1151
What went wrong:
Execution failed for task ':app:compileFlutterBuildProfile'.
> Process 'command '/Users/knr/development/flutter/bin/flutter'' finished with non-zero exit value 1

Exception

> Exception: Gradle task assembleProfile failed with exit code 1
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:408:9)
<asynchronous suspension>
#2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:184:5)
<asynchronous suspension>
#3      AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:574:7)
<asynchronous suspension>
#4      FlutterDevice.runCold (package:flutter_tools/src/resident_runner.dart:518:33)
<asynchronous suspension>
#5      ColdRunner.run (package:flutter_tools/src/run_cold.dart:57:28)
<asynchronous suspension>
#6      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:715:27)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     main (package:flutter_tools/executable.dart:91:3)
<asynchronous suspension>

Flutter Doctor

[✓] Flutter (Channel stable, 3.7.0, on macOS 13.0 22A380 darwin-arm64)
    • Flutter version 3.7.0 on channel stable at /Users/knr/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (2 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/knr/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/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 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/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)

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

[✓] Connected device (4 available)

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

Plugins

  plugin_platform_interface: ^2.1.2
  cupertino_icons: ^1.0.4
  internet_connection_checker: ^1.0.0+1
  dio: ^4.0.6
  flutter_html: ^3.0.0-alpha.6
  html: ^0.15.1
  custom_refresh_indicator: ^2.0.1
  share: ^2.0.4
  font_awesome_flutter: ^10.3.0
  url_launcher: ^6.1.7
  shared_preferences: ^2.0.17
  get: ^4.6.5
  webview_flutter: ^3.0.4
  webview_cookie_manager: ^2.0.6
  flutter_inappwebview: ^5.7.2+3
  http: ^0.13.5
  fl_chart: ^0.55.2
  circular_countdown_timer: ^0.2.3
  pull_to_refresh: ^2.0.0
  system_info: ^1.0.1
  #flutterfire_cli: ^0.2.7
  firebase_core: ^2.4.1
  cloud_firestore: ^4.3.1
  firebase_app_installations: ^0.2.1+8
  parse_server_sdk: ^3.1.11
  onesignal_flutter: ^3.5.0
  google_mobile_ads: ^2.3.0
  flutter_colorpicker: ^1.0.3
  path_provider: ^2.0.11
  uni_links: ^0.5.1
  wakelock: ^0.6.2
  move_to_background: ^1.0.2
  google_fonts: ^3.0.1
  screenshot: ^1.2.3
  image_gallery_saver: ^1.7.1
  image_picker: ^0.8.6
  image_cropper: ^3.0.1

@SunlightBro
Copy link
Author

iOS fails as well
flutter build ipa --release --flavor dev -t lib/main.dart --no-codesign --verbose

iOS build Log
                     [  +10 ms] Initializing file store
                     [   +8 ms] Done initializing file store
                     [  +29 ms] release_unpack_ios: Starting due to {InvalidatedReasonKind.outputMissing: The following outputs were missing:
                     /Users/sunbro/Library/Developer/Xcode/DerivedData/Runner-gliykhxxfbrjpravfguoxkrpwkll/Build/Intermediates.noindex/ArchiveIntermediates/dev/BuildProductsPath/Rel
                     ease-dev-iphoneos/Flutter.framework/Flutter}
                     [  +53 ms] Skipping lipo for non-fat file
                     /Users/sunbro/Library/Developer/Xcode/DerivedData/Runner-gliykhxxfbrjpravfguoxkrpwkll/Build/Intermediates.noindex/ArchiveIntermediates/dev/BuildProductsPath/Rel
                     ease-dev-iphoneos/Flutter.framework/Flutter
                     [  +48 ms] Skipping target: gen_localizations
                     [   +1 ms] Skipping target: gen_dart_plugin_registrant
                     [        ] release_unpack_ios: Complete
                     [ +582 ms] Skipping target: kernel_snapshot
                     [   +4 ms] aot_assembly_release: Starting due to {}
                     [   +2 ms] targetingApplePlatform = true
                     [        ] extractAppleDebugSymbols = true
                     [        ] Will strip AOT snapshot manually after build and dSYM generation.
                     [        ] executing: /Users/sunbro/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot_arm64 --deterministic --snapshot_kind=app-aot-assembly
                     --assembly=/Users/sunbro/dev/photodoc-mobile/.dart_tool/flutter_build/7df00ee5fd99b362e8884457990d574f/arm64/snapshot_assembly.S
                     /Users/sunbro/dev/photodoc-mobile/.dart_tool/flutter_build/7df00ee5fd99b362e8884457990d574f/app.dill
                     [   +1 ms] Persisting file store
                     [   +7 ms] Done persisting file store
                     [   +4 ms] "flutter assemble" took 9,008ms.
                     [        ] Running 0 shutdown hooks
                     [        ] Shutdown hooks complete
                     [        ] exiting with code 1
                     error: [+8196 ms] ===== CRASH =====
                     [        ] si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0xc
                     [        ] version=2.19.0 (stable) (Mon Jan 23 11:29:09 2023 -0800) on "macos_simarm64"
                     [        ] pid=76699, thread=-1, isolate_group=isolate(0x7fe41d81b400), isolate=(nil)(0x0)
                     [        ] os=macos, arch=arm64, comp=no, sim=yes
                     [        ] isolate_instructions=0, vm_instructions=0
                     [        ]   pc 0x0000000104c1f5ad fp 0x000000030db5bb00 dart::FlowGraphTypePropagator::VisitValue(dart::Value*)+0x3d
                     [        ]   pc 0x0000000104c1f1e7 fp 0x000000030db5bb50 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0xd7
                     [        ]   pc 0x0000000104c1f2c3 fp 0x000000030db5bba0 dart::FlowGraphTypePropagator::PropagateRecursive(dart::BlockEntryInstr*)+0x1b3
                     [        ]   pc 0x0000000104c1e8a2 fp 0x000000030db5c020 dart::FlowGraphTypePropagator::Propagate()+0x32
                     [        ]   pc 0x0000000104c1e844 fp 0x000000030db5c0f0 dart::FlowGraphTypePropagator::Propagate(dart::FlowGraph*)+0x34
                     [        ]   pc 0x0000000104c36c32 fp 0x000000030db5c110 dart::CompilerPass_TypePropagation::DoBody(dart::CompilerPassState*) const+0x22
                     [        ]   pc 0x0000000104c3584d fp 0x000000030db5c1a0 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x18d
                     [        ]   pc 0x0000000104c35a4a fp 0x000000030db5c1d0 dart::CompilerPass::RunInliningPipeline(dart::CompilerPass::PipelineMode,
                     dart::CompilerPassState*)+0x3a
                     [        ]   pc 0x0000000104be4abb fp 0x000000030db5c6e0 dart::CallSiteInliner::TryInliningImpl(dart::Function const&, dart::Array const&,
                     dart::InlinedCallData*, bool)+0x100b
                     [        ]   pc 0x0000000104bd9216 fp 0x000000030db5c780 dart::CallSiteInliner::TryInlining(dart::Function const&, dart::Array const&, dart::InlinedCallData*,
                     bool)+0xf6
                     [        ]   pc 0x0000000104be7dbb fp 0x000000030db5c870 dart::CallSiteInliner::InlineStaticCalls()+0x56b
                     [        ]   pc 0x0000000104bdee1f fp 0x000000030db5c990 dart::CallSiteInliner::InlineCalls()+0x24f
                     [        ]   pc 0x0000000104bdea71 fp 0x000000030db5ca90 dart::FlowGraphInliner::Inline()+0x1e1
                     [        ]   pc 0x0000000104c36ba2 fp 0x000000030db5cb00 dart::CompilerPass_Inlining::DoBody(dart::CompilerPassState*) const+0x52
                     [        ]   pc 0x0000000104c3584d fp 0x000000030db5cb90 dart::CompilerPass::Run(dart::CompilerPassState*) const+0x18d
                     [        ]   pc 0x0000000104c35d09 fp 0x000000030db5cbc0 dart::CompilerPass::RunPipeline(dart::CompilerPass::PipelineMode, dart::CompilerPassState*)+0xa9
                     [        ]   pc 0x0000000104b1254c fp 0x000000030db5d230 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0x55c
                     [        ]   pc 0x0000000104b1301d fp 0x000000030db5d8b0 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&,
                     bool)+0x31d
                     [        ]   pc 0x0000000104b0df6d fp 0x000000030db5d970 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function
                     const&)+0x11d
                     [        ]   pc 0x0000000104b0b891 fp 0x000000030db5da10 dart::Precompiler::ProcessFunction(dart::Function const&)+0xf1
                     [        ]   pc 0x0000000104b05b64 fp 0x000000030db5da70 dart::Precompiler::Iterate()+0x94
                     [        ]   pc 0x0000000104b00629 fp 0x000000030db5e1c0 dart::Precompiler::DoCompileAll()+0x1489
                     [        ]   pc 0x0000000104aff11b fp 0x000000030db5e620 dart::Precompiler::CompileAll()+0xbb
                     [        ]   pc 0x0000000104ce98ec fp 0x000000030db5e740 Dart_Precompile+0x21c
                     [        ]   pc 0x0000000104846f4b fp 0x000000030db5e8d0 dart::bin::main(int, char**)+0x9ab
                     [        ]   pc 0x0000000205249310 fp 0x000000030db5eb70 Unknown symbol
                     [        ] -- End of DumpStackTrace
                     [        ] === Crash occurred when compiling package:photodoc/model/dto/project_dto.dart_ProjectDto_ProjectDto.init in AOT mode in TypePropagation pass
                     [        ] *** BEGIN CFG
                     [        ] TypePropagation
                     [        ] ==== package:photodoc/model/dto/project_dto.dart__$_ProjectDto@1521099614__$_ProjectDto@1521099614. (Constructor)
                     [        ] B0[graph]:0 {
                     [        ]       v0 <- Constant(#-1) T{_Smi}
                     [        ]       v1 <- Constant(#) T{_OneByteString}
                     [        ]       v2 <- Constant(#false) T{bool}
                     [        ]       v3 <- Constant(#null) T{Null?}
                     [        ]       v4 <- Constant(#_ImmutableList len:0)
                     [        ]       v5 <- Constant(#_ImmutableList len:0)
                     [        ]       v6 <- Constant(#_ImmutableList len:0)
                     [        ]       v7 <- Constant(#_ImmutableList len:0)
                     [        ]       v8 <- Constant(#true)
                     [        ]       v5 <- Constant(#<optimized out>)
                     [        ] }
                     [        ] B3[function entry]:2 {
                     [        ]       v6 <- Parameter(0) T{_$_ProjectDto}
                     [        ]       v7 <- SpecialParameter(ArgDescriptor)
                     [        ] }
                     [        ]     StoreField(v6 . id = v0 <int64>)
                     [        ]     StoreField(v6 . name = v1)
                     [        ]     StoreField(v6 . eventStoreId = v1)
                     [        ]     StoreField(v6 . deleted = v2)
                     [        ]     StoreField(v6 . lastUpdatedByUser = v3)
                     [        ]     StoreField(v6 . createdDate = v3)
                     [        ]     StoreField(v6 . createdBy = v3)
                     [        ]     StoreField(v6 . company = v3)
                     [        ]     StoreField(v6 . address = v3)
                     [        ]     StoreField(v6 . customer = v3)
                     [        ]     StoreField(v6 . distanceToCurrentUser = v1)
                     [        ]     StoreField(v6 . number = v1)
                     [        ]     StoreField(v6 . isSynchronizeEnabled = v8)
                     [        ]     StoreField(v6 . isNewProject = v2)
                     [        ]     StoreField(v6 . isOffline = v2)
                     [        ]     StoreField(v6 . _images@1521099614 = v4)
                     [        ]     StoreField(v6 . _tags@1521099614 = v5)
                     [        ]     StoreField(v6 . _reports@1521099614 = v6)
                     [        ]     StoreField(v6 . _participants@1521099614 = v7)
                     [        ]     Return:470(v3)
                     [        ] *** END CFG
                     [        ] Dart snapshot generator failed with exit code -6
                     [   +6 ms] Target aot_assembly_release failed: Exception: AOT snapshotter exited with code -6
                                #0      AotAssemblyBase.build (package:flutter_tools/src/build_system/targets/ios.dart:111:7)
                                <asynchronous suspension>
                                #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:847:9)
                                <asynchronous suspension>
                                #2      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
                                <asynchronous suspension>
                                #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:785:32)
                                <asynchronous suspension>
                                #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:614:16)
                                <asynchronous suspension>
                                #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:337:32)
                                <asynchronous suspension>
                                #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
                                <asynchronous suspension>
                                #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                                <asynchronous suspension>
                                #8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
                                <asynchronous suspension>
                                #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
                                <asynchronous suspension>
                                #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                                <asynchronous suspension>
                                #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
                                <asynchronous suspension>
                                #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
                                <asynchronous suspension>
                                #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                                <asynchronous suspension>
                                #14     main (package:flutter_tools/executable.dart:91:3)
                                <asynchronous suspension>

                     [   +1 ms] 
                                #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
                                #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:354:7)
                                <asynchronous suspension>
                                #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
                                <asynchronous suspension>
                                #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                                <asynchronous suspension>
                                #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
                                <asynchronous suspension>
                                #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
                                <asynchronous suspension>
                                #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                                <asynchronous suspension>
                                #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
                                <asynchronous suspension>
                                #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
                                <asynchronous suspension>
                                #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
                                <asynchronous suspension>
                                #10     main (package:flutter_tools/executable.dart:91:3)
                                <asynchronous suspension>
                     Failed to package /Users/sunbro/dev/photodoc-mobile.


                     Result bundle written to path:
                        /var/folders/z_/rrj624w13dq9fdqq2rp4s41h0000gn/T/flutter_tools.hKxhG2/flutter_ios_build_temp_dirO8wl1A/temporary_xcresult_bundle


                     ** ARCHIVE FAILED **


                     The following build commands failed:
                        PhaseScriptExecution Run\ Script
                        /Users/sunbro/Library/Developer/Xcode/DerivedData/Runner-gliykhxxfbrjpravfguoxkrpwkll/Build/Intermediates.noindex/ArchiveIntermediates/dev/IntermediateBuildFil
                        esPath/Runner.build/Release-dev-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh (in target 'Runner' from project 'Runner')
                     (1 failure)
[+1736 ms] Running Xcode build... (completed in 29.9s)
[        ] Xcode archive done.                                         29.9s

@exaby73 exaby73 added the in triage Presently being triaged by the triage team label Jan 26, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 26, 2023

@SunlightBro Is this reproducible with the default Flutter app for you? Trying on my M1 Macbook Air, I cannot reproduce this crash

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 26, 2023
@SunlightBro
Copy link
Author

No definitly happening during archiving of plugins, still searching on how to reproduce in an Minimal example 🔍

This the pubspec.lock for now

pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  _fe_analyzer_shared:
    dependency: transitive
    description:
      name: _fe_analyzer_shared
      sha256: "0c80aeab9bc807ab10022cd3b2f4cf2ecdf231949dc1ddd9442406a003f19201"
      url: "https://pub.dev"
    source: hosted
    version: "52.0.0"
  align_positioned:
    dependency: "direct main"
    description:
      name: align_positioned
      sha256: eca633a4f1a070b6fd1a013272b91bfebc986325c3de6fd575691c0697e70fb3
      url: "https://pub.dev"
    source: hosted
    version: "3.0.0"
  analyzer:
    dependency: transitive
    description:
      name: analyzer
      sha256: cd8ee83568a77f3ae6b913a36093a1c9b1264e7cb7f834d9ddd2311dade9c1f4
      url: "https://pub.dev"
    source: hosted
    version: "5.4.0"
  args:
    dependency: transitive
    description:
      name: args
      sha256: "139d809800a412ebb26a3892da228b2d0ba36f0ef5d9a82166e5e52ec8d61611"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.2"
  async:
    dependency: transitive
    description:
      name: async
      sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
      url: "https://pub.dev"
    source: hosted
    version: "2.10.0"
  async_redux:
    dependency: "direct main"
    description:
      name: async_redux
      sha256: de3744310b6d5c8bd3c608b9ebe507f43fb653d7e4f7deef166bf438af95caf3
      url: "https://pub.dev"
    source: hosted
    version: "18.0.2"
  better_open_file:
    dependency: "direct main"
    description:
      name: better_open_file
      sha256: aa67d9bc38160401e48023833f93c789b4e2b1c0eb8b6643bd5816d0c1c65dbd
      url: "https://pub.dev"
    source: hosted
    version: "3.6.4"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  build:
    dependency: transitive
    description:
      name: build
      sha256: "3fbda25365741f8251b39f3917fb3c8e286a96fd068a5a242e11c2012d495777"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.1"
  build_config:
    dependency: transitive
    description:
      name: build_config
      sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  build_daemon:
    dependency: transitive
    description:
      name: build_daemon
      sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  build_resolvers:
    dependency: transitive
    description:
      name: build_resolvers
      sha256: "7c35a3a7868626257d8aee47b51c26b9dba11eaddf3431117ed2744951416aab"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  build_runner:
    dependency: "direct dev"
    description:
      name: build_runner
      sha256: b0a8a7b8a76c493e85f1b84bffa0588859a06197863dba8c9036b15581fd9727
      url: "https://pub.dev"
    source: hosted
    version: "2.3.3"
  build_runner_core:
    dependency: transitive
    description:
      name: build_runner_core
      sha256: "14febe0f5bac5ae474117a36099b4de6f1dbc52df6c5e55534b3da9591bf4292"
      url: "https://pub.dev"
    source: hosted
    version: "7.2.7"
  built_collection:
    dependency: transitive
    description:
      name: built_collection
      sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
      url: "https://pub.dev"
    source: hosted
    version: "5.1.1"
  built_value:
    dependency: transitive
    description:
      name: built_value
      sha256: "169565c8ad06adb760c3645bf71f00bff161b00002cace266cad42c5d22a7725"
      url: "https://pub.dev"
    source: hosted
    version: "8.4.3"
  cached_network_image:
    dependency: "direct main"
    description:
      name: cached_network_image
      sha256: fd3d0dc1d451f9a252b32d95d3f0c3c487bc41a75eba2e6097cb0b9c71491b15
      url: "https://pub.dev"
    source: hosted
    version: "3.2.3"
  cached_network_image_platform_interface:
    dependency: transitive
    description:
      name: cached_network_image_platform_interface
      sha256: bb2b8403b4ccdc60ef5f25c70dead1f3d32d24b9d6117cfc087f496b178594a7
      url: "https://pub.dev"
    source: hosted
    version: "2.0.0"
  cached_network_image_web:
    dependency: transitive
    description:
      name: cached_network_image_web
      sha256: b8eb814ebfcb4dea049680f8c1ffb2df399e4d03bf7a352c775e26fa06e02fa0
      url: "https://pub.dev"
    source: hosted
    version: "1.0.2"
  camera:
    dependency: "direct main"
    description:
      name: camera
      sha256: "045e7739f9362f3c01d5c7187ac7e2ba9e2bc9f2ae6470ecdcc5e34d060ed81c"
      url: "https://pub.dev"
    source: hosted
    version: "0.10.2+1"
  camera_android:
    dependency: "direct overridden"
    description:
      path: "packages/camera/camera_android"
      ref: e1a4dba770da9bc3cf9f858bac6837083f8b9059
      resolved-ref: e1a4dba770da9bc3cf9f858bac6837083f8b9059
      url: "https://github.com/bottlepay/plugins.git"
    source: git
    version: "0.10.0+1"
  camera_avfoundation:
    dependency: transitive
    description:
      name: camera_avfoundation
      sha256: eeda6a7947b1f7c47395c4459342d1e6866014186449e141a251f0549aba0c8b
      url: "https://pub.dev"
    source: hosted
    version: "0.9.10+2"
  camera_platform_interface:
    dependency: transitive
    description:
      name: camera_platform_interface
      sha256: "0eedd642d905ca24f1c483fe9ea0d0e7287b86a402845c28d24df28cc7b0ee6e"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.4"
  camera_web:
    dependency: transitive
    description:
      name: camera_web
      sha256: "496de93c5d462738ce991dbfe91fb19026f115ed36406700a20a380fb0018299"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.1+1"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  checked_yaml:
    dependency: transitive
    description:
      name: checked_yaml
      sha256: "3d1505d91afa809d177efd4eed5bb0eb65805097a1463abdd2add076effae311"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.2"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  code_builder:
    dependency: transitive
    description:
      name: code_builder
      sha256: "0d43dd1288fd145de1ecc9a3948ad4a6d5a82f0a14c4fdd0892260787d975cbe"
      url: "https://pub.dev"
    source: hosted
    version: "4.4.0"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
      url: "https://pub.dev"
    source: hosted
    version: "1.17.0"
  connectivity_plus:
    dependency: "direct main"
    description:
      name: connectivity_plus
      sha256: "745ebcccb1ef73768386154428a55250bc8d44059c19fd27aecda2a6dc013a22"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  connectivity_plus_platform_interface:
    dependency: transitive
    description:
      name: connectivity_plus_platform_interface
      sha256: b8795b9238bf83b64375f63492034cb3d8e222af4d9ce59dda085edf038fa06f
      url: "https://pub.dev"
    source: hosted
    version: "1.2.3"
  convert:
    dependency: transitive
    description:
      name: convert
      sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.1"
  cross_file:
    dependency: transitive
    description:
      name: cross_file
      sha256: f71079978789bc2fe78d79227f1f8cfe195b31bbd8db2399b0d15a4b96fb843b
      url: "https://pub.dev"
    source: hosted
    version: "0.3.3+2"
  crypto:
    dependency: transitive
    description:
      name: crypto
      sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  dart_style:
    dependency: transitive
    description:
      name: dart_style
      sha256: "7a03456c3490394c8e7665890333e91ae8a49be43542b616e414449ac358acd4"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.4"
  dartx:
    dependency: "direct main"
    description:
      name: dartx
      sha256: "45d7176701f16c5a5e00a4798791c1964bc231491b879369c818dd9a9c764871"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  dbus:
    dependency: transitive
    description:
      name: dbus
      sha256: "6f07cba3f7b3448d42d015bfd3d53fe12e5b36da2423f23838efc1d5fb31a263"
      url: "https://pub.dev"
    source: hosted
    version: "0.7.8"
  dio:
    dependency: "direct main"
    description:
      name: dio
      sha256: "7d328c4d898a61efc3cd93655a0955858e29a0aa647f0f9e02d59b3bb275e2e8"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.6"
  exif:
    dependency: "direct main"
    description:
      name: exif
      sha256: "542fd8dd8eda3dff65be415f38370541aecf9eb3663e0679d9da4689f6b16c8f"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.2"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  fast_immutable_collections:
    dependency: transitive
    description:
      name: fast_immutable_collections
      sha256: "2c09d0e573cf2a2a67e9f57621da0706fed2b537ce4b7bf72575a88d3a5dc90c"
      url: "https://pub.dev"
    source: hosted
    version: "8.1.1"
  ffi:
    dependency: transitive
    description:
      name: ffi
      sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  file:
    dependency: transitive
    description:
      name: file
      sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d"
      url: "https://pub.dev"
    source: hosted
    version: "6.1.4"
  fixnum:
    dependency: transitive
    description:
      name: fixnum
      sha256: "04be3e934c52e082558cc9ee21f42f5c1cd7a1262f4c63cd0357c08d5bba81ec"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.1"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_blurhash:
    dependency: transitive
    description:
      name: flutter_blurhash
      sha256: "05001537bd3fac7644fa6558b09ec8c0a3f2eba78c0765f88912882b1331a5c6"
      url: "https://pub.dev"
    source: hosted
    version: "0.7.0"
  flutter_cache_manager:
    dependency: transitive
    description:
      name: flutter_cache_manager
      sha256: "32cd900555219333326a2d0653aaaf8671264c29befa65bbd9856d204a4c9fb3"
      url: "https://pub.dev"
    source: hosted
    version: "3.3.0"
  flutter_google_places:
    dependency: "direct main"
    description:
      name: flutter_google_places
      sha256: e9fb23ceacdc7359aa759627550146f7fd3ae6c067d16f39f3c50d8feebf4809
      url: "https://pub.dev"
    source: hosted
    version: "0.3.0"
  flutter_image_compress:
    dependency: "direct main"
    description:
      name: flutter_image_compress
      sha256: "37f1b26399098e5f97b74c1483f534855e7dff68ead6ddaccf747029fb03f29f"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.3"
  flutter_inappwebview:
    dependency: "direct main"
    description:
      name: flutter_inappwebview
      sha256: f73505c792cf083d5566e1a94002311be497d984b5607f25be36d685cf6361cf
      url: "https://pub.dev"
    source: hosted
    version: "5.7.2+3"
  flutter_linkify:
    dependency: "direct main"
    description:
      name: flutter_linkify
      sha256: c89fe74de985ec22f23d3538d2249add085a4f37ac1c29fd79e1a207efb81d63
      url: "https://pub.dev"
    source: hosted
    version: "5.0.2"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  flutter_local_notifications:
    dependency: "direct main"
    description:
      name: flutter_local_notifications
      sha256: f222919a34545931e47b06000836b5101baeffb0e6eb5a4691d2d42851740dd9
      url: "https://pub.dev"
    source: hosted
    version: "12.0.4"
  flutter_local_notifications_linux:
    dependency: transitive
    description:
      name: flutter_local_notifications_linux
      sha256: "3c6d6db334f609a92be0c0915f40871ec56f5d2adf01e77ae364162c587c0ca8"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.0"
  flutter_local_notifications_platform_interface:
    dependency: transitive
    description:
      name: flutter_local_notifications_platform_interface
      sha256: "5ec1feac5f7f7d9266759488bc5f76416152baba9aa1b26fe572246caa00d1ab"
      url: "https://pub.dev"
    source: hosted
    version: "6.0.0"
  flutter_localizations:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_plugin_android_lifecycle:
    dependency: transitive
    description:
      name: flutter_plugin_android_lifecycle
      sha256: "60fc7b78455b94e6de2333d2f95196d32cf5c22f4b0b0520a628804cb463503b"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.7"
  flutter_secure_storage:
    dependency: "direct main"
    description:
      name: flutter_secure_storage
      sha256: f2afec1f1762c040a349ea2a588e32f442da5d0db3494a52a929a97c9e550bc5
      url: "https://pub.dev"
    source: hosted
    version: "7.0.1"
  flutter_secure_storage_linux:
    dependency: transitive
    description:
      name: flutter_secure_storage_linux
      sha256: "736436adaf91552433823f51ce22e098c2f0551db06b6596f58597a25b8ea797"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.2"
  flutter_secure_storage_macos:
    dependency: transitive
    description:
      name: flutter_secure_storage_macos
      sha256: ff0768a6700ea1d9620e03518e2e25eac86a8bd07ca3556e9617bfa5ace4bd00
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  flutter_secure_storage_platform_interface:
    dependency: transitive
    description:
      name: flutter_secure_storage_platform_interface
      sha256: b3773190e385a3c8a382007893d678ae95462b3c2279e987b55d140d3b0cb81b
      url: "https://pub.dev"
    source: hosted
    version: "1.0.1"
  flutter_secure_storage_web:
    dependency: transitive
    description:
      name: flutter_secure_storage_web
      sha256: "42938e70d4b872e856e678c423cc0e9065d7d294f45bc41fc1981a4eb4beaffe"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  flutter_secure_storage_windows:
    dependency: transitive
    description:
      name: flutter_secure_storage_windows
      sha256: ca89c8059cf439985aa83c59619b3674c7ef6cc2e86943d169a7369d6a69cab5
      url: "https://pub.dev"
    source: hosted
    version: "1.1.3"
  flutter_svg:
    dependency: "direct main"
    description:
      name: flutter_svg
      sha256: "6ff9fa12892ae074092de2fa6a9938fb21dbabfdaa2ff57dc697ff912fc8d4b2"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.6"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  freezed:
    dependency: "direct dev"
    description:
      name: freezed
      sha256: e819441678f1679b719008ff2ff0ef045d66eed9f9ec81166ca0d9b02a187454
      url: "https://pub.dev"
    source: hosted
    version: "2.3.2"
  freezed_annotation:
    dependency: "direct main"
    description:
      name: freezed_annotation
      sha256: aeac15850ef1b38ee368d4c53ba9a847e900bb2c53a4db3f6881cbb3cb684338
      url: "https://pub.dev"
    source: hosted
    version: "2.2.0"
  frontend_server_client:
    dependency: transitive
    description:
      name: frontend_server_client
      sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612"
      url: "https://pub.dev"
    source: hosted
    version: "3.2.0"
  geolocator:
    dependency: "direct main"
    description:
      name: geolocator
      sha256: "5c23f3613f50586c0bbb2b8f970240ae66b3bd992088cf60dd5ee2e6f7dde3a8"
      url: "https://pub.dev"
    source: hosted
    version: "9.0.2"
  geolocator_android:
    dependency: transitive
    description:
      name: geolocator_android
      sha256: da306508bc9b67d8179ff6ea04d5a8714fa219b10c7fc8519eb0359c576670f4
      url: "https://pub.dev"
    source: hosted
    version: "4.1.6"
  geolocator_apple:
    dependency: transitive
    description:
      name: geolocator_apple
      sha256: "567cf6d9879b4c33b2bd8bbfff0995e75c62a14f87b1480c8522c5dca5d3b166"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.3"
  geolocator_platform_interface:
    dependency: transitive
    description:
      name: geolocator_platform_interface
      sha256: af4d69231452f9620718588f41acc4cb58312368716bfff2e92e770b46ce6386
      url: "https://pub.dev"
    source: hosted
    version: "4.0.7"
  geolocator_web:
    dependency: transitive
    description:
      name: geolocator_web
      sha256: f68a122da48fcfff68bbc9846bb0b74ef651afe84a1b1f6ec20939de4d6860e1
      url: "https://pub.dev"
    source: hosted
    version: "2.1.6"
  geolocator_windows:
    dependency: transitive
    description:
      name: geolocator_windows
      sha256: f5911c88e23f48b598dd506c7c19eff0e001645bdc03bb6fecb9f4549208354d
      url: "https://pub.dev"
    source: hosted
    version: "0.1.1"
  glob:
    dependency: transitive
    description:
      name: glob
      sha256: "4515b5b6ddb505ebdd242a5f2cc5d22d3d6a80013789debfbda7777f47ea308c"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  go_router:
    dependency: "direct main"
    description:
      name: go_router
      sha256: f611d4396469c46db1c61e934a86e2a590ce02de2a6050d01f677879ce151f4a
      url: "https://pub.dev"
    source: hosted
    version: "6.0.1"
  google_api_headers:
    dependency: transitive
    description:
      name: google_api_headers
      sha256: ac6f4e27e35c9eb4fbe8ce4ce7380e651d3a7bee3ad4c2ff30e67aaa73f005d3
      url: "https://pub.dev"
    source: hosted
    version: "1.5.0+1"
  google_maps_flutter:
    dependency: "direct main"
    description:
      name: google_maps_flutter
      sha256: "0c6b72b4b1e0f6204973e2b40868a75fe6380725d498f215cd7e35ed920d1c57"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.3"
  google_maps_flutter_android:
    dependency: transitive
    description:
      name: google_maps_flutter_android
      sha256: "701761b234579b4cfc0f6ae0791e2bb7184b31207b0d716e536b6d1a190dc143"
      url: "https://pub.dev"
    source: hosted
    version: "2.4.3"
  google_maps_flutter_ios:
    dependency: transitive
    description:
      name: google_maps_flutter_ios
      sha256: "33bbca8d4148ed373251ea2ec2344fdc63009926b6d6be71a0854fd42409b1ba"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.13"
  google_maps_flutter_platform_interface:
    dependency: transitive
    description:
      name: google_maps_flutter_platform_interface
      sha256: "0967430c25240836b794d42336bd4c61f0e78e9fd33d1365fa9316bb36b6b410"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.5"
  google_maps_webservice:
    dependency: transitive
    description:
      name: google_maps_webservice
      sha256: d0ae4e4508afd74a3f051565261a3cdbae59db29448f9b6e6beb5674545e1eb7
      url: "https://pub.dev"
    source: hosted
    version: "0.0.20-nullsafety.5"
  graphs:
    dependency: transitive
    description:
      name: graphs
      sha256: f9e130f3259f52d26f0cfc0e964513796dafed572fa52e45d2f8d6ca14db39b2
      url: "https://pub.dev"
    source: hosted
    version: "2.2.0"
  http:
    dependency: transitive
    description:
      name: http
      sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482"
      url: "https://pub.dev"
    source: hosted
    version: "0.13.5"
  http_multi_server:
    dependency: transitive
    description:
      name: http_multi_server
      sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
      url: "https://pub.dev"
    source: hosted
    version: "3.2.1"
  http_parser:
    dependency: "direct main"
    description:
      name: http_parser
      sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.2"
  image_gallery_saver:
    dependency: "direct main"
    description:
      name: image_gallery_saver
      sha256: be812580c7a320d3bf583af89cac6b376f170d48000aca75215a73285a3223a0
      url: "https://pub.dev"
    source: hosted
    version: "1.7.1"
  image_picker:
    dependency: "direct main"
    description:
      name: image_picker
      sha256: f98d76672d309c8b7030c323b3394669e122d52b307d2bbd8d06bd70f5b2aabe
      url: "https://pub.dev"
    source: hosted
    version: "0.8.6+1"
  image_picker_android:
    dependency: transitive
    description:
      name: image_picker_android
      sha256: b1cbfec0f5aef427a18eb573f5445af8c9c568626bf3388553e40c263d3f7368
      url: "https://pub.dev"
    source: hosted
    version: "0.8.5+5"
  image_picker_for_web:
    dependency: transitive
    description:
      name: image_picker_for_web
      sha256: "7d319fb74955ca46d9bf7011497860e3923bb67feebcf068f489311065863899"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.10"
  image_picker_ios:
    dependency: transitive
    description:
      name: image_picker_ios
      sha256: "39c013200046d14c58b71dc4fa3d00e425fc9c699d589136cd3ca018727c0493"
      url: "https://pub.dev"
    source: hosted
    version: "0.8.6+6"
  image_picker_platform_interface:
    dependency: transitive
    description:
      name: image_picker_platform_interface
      sha256: "7cef2f28f4f2fef99180f636c3d446b4ccbafd6ba0fad2adc9a80c4040f656b8"
      url: "https://pub.dev"
    source: hosted
    version: "2.6.2"
  intl:
    dependency: transitive
    description:
      name: intl
      sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91"
      url: "https://pub.dev"
    source: hosted
    version: "0.17.0"
  io:
    dependency: transitive
    description:
      name: io
      sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.4"
  js:
    dependency: transitive
    description:
      name: js
      sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
      url: "https://pub.dev"
    source: hosted
    version: "0.6.5"
  json_annotation:
    dependency: "direct main"
    description:
      name: json_annotation
      sha256: c33da08e136c3df0190bd5bbe51ae1df4a7d96e7954d1d7249fea2968a72d317
      url: "https://pub.dev"
    source: hosted
    version: "4.8.0"
  json_serializable:
    dependency: "direct dev"
    description:
      name: json_serializable
      sha256: "040088d9eb2337f3a51ddabe35261e2fea1c351e3dd29d755ed1290b6b700a75"
      url: "https://pub.dev"
    source: hosted
    version: "6.6.0"
  linkify:
    dependency: transitive
    description:
      name: linkify
      sha256: bdfbdafec6cdc9cd0ebb333a868cafc046714ad508e48be8095208c54691d959
      url: "https://pub.dev"
    source: hosted
    version: "4.1.0"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  logging:
    dependency: transitive
    description:
      name: logging
      sha256: c0bbfe94d46aedf9b8b3e695cf3bd48c8e14b35e3b2c639e0aa7755d589ba946
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
      url: "https://pub.dev"
    source: hosted
    version: "0.12.13"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
      url: "https://pub.dev"
    source: hosted
    version: "0.2.0"
  matrix4_transform:
    dependency: transitive
    description:
      name: matrix4_transform
      sha256: "6ddeaa2c0e1f5c3f3a197f552377570b3e54fa0b8bf48507728a216fc0fd78a6"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
      url: "https://pub.dev"
    source: hosted
    version: "1.8.0"
  mime:
    dependency: transitive
    description:
      name: mime
      sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
      url: "https://pub.dev"
    source: hosted
    version: "1.0.4"
  native_device_orientation:
    dependency: "direct main"
    description:
      name: native_device_orientation
      sha256: "7d2fa1a1420b7b4ac3317760ffd063b86704679fb4f1796644581da4a6356ccc"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.4"
  nm:
    dependency: transitive
    description:
      name: nm
      sha256: "2c9aae4127bdc8993206464fcc063611e0e36e72018696cd9631023a31b24254"
      url: "https://pub.dev"
    source: hosted
    version: "0.5.0"
  octo_image:
    dependency: transitive
    description:
      name: octo_image
      sha256: "107f3ed1330006a3bea63615e81cf637433f5135a52466c7caa0e7152bca9143"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.2"
  package_config:
    dependency: transitive
    description:
      name: package_config
      sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  package_info_plus:
    dependency: "direct main"
    description:
      name: package_info_plus
      sha256: f619162573096d428ccde2e33f92e05b5a179cd6f0e3120c1005f181bee8ed16
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  package_info_plus_platform_interface:
    dependency: transitive
    description:
      name: package_info_plus_platform_interface
      sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.1"
  path:
    dependency: transitive
    description:
      name: path
      sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
      url: "https://pub.dev"
    source: hosted
    version: "1.8.2"
  path_drawing:
    dependency: transitive
    description:
      name: path_drawing
      sha256: bbb1934c0cbb03091af082a6389ca2080345291ef07a5fa6d6e078ba8682f977
      url: "https://pub.dev"
    source: hosted
    version: "1.0.1"
  path_parsing:
    dependency: transitive
    description:
      name: path_parsing
      sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf
      url: "https://pub.dev"
    source: hosted
    version: "1.0.1"
  path_provider:
    dependency: transitive
    description:
      name: path_provider
      sha256: dcea5feb97d8abf90cab9e9030b497fb7c3cbf26b7a1fe9e3ef7dcb0a1ddec95
      url: "https://pub.dev"
    source: hosted
    version: "2.0.12"
  path_provider_android:
    dependency: transitive
    description:
      name: path_provider_android
      sha256: a776c088d671b27f6e3aa8881d64b87b3e80201c64e8869b811325de7a76c15e
      url: "https://pub.dev"
    source: hosted
    version: "2.0.22"
  path_provider_foundation:
    dependency: transitive
    description:
      name: path_provider_foundation
      sha256: "62a68e7e1c6c459f9289859e2fae58290c981ce21d1697faf54910fe1faa4c74"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  path_provider_linux:
    dependency: transitive
    description:
      name: path_provider_linux
      sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379
      url: "https://pub.dev"
    source: hosted
    version: "2.1.7"
  path_provider_platform_interface:
    dependency: transitive
    description:
      name: path_provider_platform_interface
      sha256: f0abc8ebd7253741f05488b4813d936b4d07c6bae3e86148a09e342ee4b08e76
      url: "https://pub.dev"
    source: hosted
    version: "2.0.5"
  path_provider_windows:
    dependency: transitive
    description:
      name: path_provider_windows
      sha256: bcabbe399d4042b8ee687e17548d5d3f527255253b4a639f5f8d2094a9c2b45c
      url: "https://pub.dev"
    source: hosted
    version: "2.1.3"
  pedantic:
    dependency: transitive
    description:
      name: pedantic
      sha256: "67fc27ed9639506c856c840ccce7594d0bdcd91bc8d53d6e52359449a1d50602"
      url: "https://pub.dev"
    source: hosted
    version: "1.11.1"
  petitparser:
    dependency: transitive
    description:
      name: petitparser
      sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4"
      url: "https://pub.dev"
    source: hosted
    version: "5.1.0"
  platform:
    dependency: transitive
    description:
      name: platform
      sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  plugin_platform_interface:
    dependency: transitive
    description:
      name: plugin_platform_interface
      sha256: dbf0f707c78beedc9200146ad3cb0ab4d5da13c246336987be6940f026500d3a
      url: "https://pub.dev"
    source: hosted
    version: "2.1.3"
  pool:
    dependency: transitive
    description:
      name: pool
      sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
      url: "https://pub.dev"
    source: hosted
    version: "1.5.1"
  process:
    dependency: transitive
    description:
      name: process
      sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09"
      url: "https://pub.dev"
    source: hosted
    version: "4.2.4"
  pub_semver:
    dependency: transitive
    description:
      name: pub_semver
      sha256: "307de764d305289ff24ad257ad5c5793ce56d04947599ad68b3baa124105fc17"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.3"
  pubspec_parse:
    dependency: transitive
    description:
      name: pubspec_parse
      sha256: "75f6614d6dde2dc68948dffbaa4fe5dae32cd700eb9fb763fe11dfb45a3c4d0a"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  quiver:
    dependency: transitive
    description:
      name: quiver
      sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47
      url: "https://pub.dev"
    source: hosted
    version: "3.2.1"
  rich_text_controller:
    dependency: "direct main"
    description:
      name: rich_text_controller
      sha256: bb804fd4789a4dc4ab67fb1d4338481e5309c1175c2497cfe8d33e1a6de71370
      url: "https://pub.dev"
    source: hosted
    version: "1.4.0"
  rxdart:
    dependency: transitive
    description:
      name: rxdart
      sha256: "2ef8b4e91cb3b55d155e0e34eeae0ac7107974e451495c955ac04ddee8cc21fd"
      url: "https://pub.dev"
    source: hosted
    version: "0.26.0"
  sentry:
    dependency: transitive
    description:
      name: sentry
      sha256: c64db3444237ff747c5a68f5214897bcb078de248785d0d816e3c55ab94dd71d
      url: "https://pub.dev"
    source: hosted
    version: "6.19.0"
  sentry_dio:
    dependency: "direct main"
    description:
      name: sentry_dio
      sha256: "827eb85799a5c68d4a6bc4ac4f52c7759e2f1bef9e2513b5d16066cfeafc18f1"
      url: "https://pub.dev"
    source: hosted
    version: "6.19.0"
  sentry_flutter:
    dependency: "direct main"
    description:
      name: sentry_flutter
      sha256: a76cf5180d571535fb8fc3bf10358ab385d78134fcf652d0e03ba7741525ab09
      url: "https://pub.dev"
    source: hosted
    version: "6.19.0"
  share_plus:
    dependency: "direct main"
    description:
      name: share_plus
      sha256: f582d5741930f3ad1bf0211d358eddc0508cc346e5b4b248bd1e569c995ebb7a
      url: "https://pub.dev"
    source: hosted
    version: "4.5.3"
  share_plus_linux:
    dependency: transitive
    description:
      name: share_plus_linux
      sha256: dc32bf9f1151b9864bb86a997c61a487967a08f2e0b4feaa9a10538712224da4
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  share_plus_macos:
    dependency: transitive
    description:
      name: share_plus_macos
      sha256: "44daa946f2845045ecd7abb3569b61cd9a55ae9cc4cbec9895b2067b270697ae"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  share_plus_platform_interface:
    dependency: transitive
    description:
      name: share_plus_platform_interface
      sha256: "82ddd4ab9260c295e6e39612d4ff00390b9a7a21f1bb1da771e2f232d80ab8a1"
      url: "https://pub.dev"
    source: hosted
    version: "3.2.0"
  share_plus_web:
    dependency: transitive
    description:
      name: share_plus_web
      sha256: eaef05fa8548b372253e772837dd1fbe4ce3aca30ea330765c945d7d4f7c9935
      url: "https://pub.dev"
    source: hosted
    version: "3.1.0"
  share_plus_windows:
    dependency: transitive
    description:
      name: share_plus_windows
      sha256: "3a21515ae7d46988d42130cd53294849e280a5de6ace24bae6912a1bffd757d4"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  shelf:
    dependency: transitive
    description:
      name: shelf
      sha256: c24a96135a2ccd62c64b69315a14adc5c3419df63b4d7c05832a346fdb73682c
      url: "https://pub.dev"
    source: hosted
    version: "1.4.0"
  shelf_web_socket:
    dependency: transitive
    description:
      name: shelf_web_socket
      sha256: a988c0e8d8ffbdb8a28aa7ec8e449c260f3deb808781fe1284d22c5bba7156e8
      url: "https://pub.dev"
    source: hosted
    version: "1.0.3"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_gen:
    dependency: transitive
    description:
      name: source_gen
      sha256: "2d79738b6bbf38a43920e2b8d189e9a3ce6cc201f4b8fc76be5e4fe377b1c38d"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.6"
  source_helper:
    dependency: transitive
    description:
      name: source_helper
      sha256: "3b67aade1d52416149c633ba1bb36df44d97c6b51830c2198e934e3fca87ca1f"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.3"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
      url: "https://pub.dev"
    source: hosted
    version: "1.9.1"
  sprintf:
    dependency: transitive
    description:
      name: sprintf
      sha256: ec76d38910b6f1c854ce1353c62d37e7ef82b53dc5ab048c25400d35970776d1
      url: "https://pub.dev"
    source: hosted
    version: "6.0.2"
  sqflite:
    dependency: transitive
    description:
      name: sqflite
      sha256: "067ab48dbc66bae05e18073a604443baa35957101bd3905b94f65e764c6d0688"
      url: "https://pub.dev"
    source: hosted
    version: "2.2.3"
  sqflite_common:
    dependency: transitive
    description:
      name: sqflite_common
      sha256: b2ed22d1d62c944ec0dac5cc687ae99cb3331c3ebe146d726ed24704634b5ccd
      url: "https://pub.dev"
    source: hosted
    version: "2.4.1"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
      url: "https://pub.dev"
    source: hosted
    version: "1.11.0"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  stream_transform:
    dependency: transitive
    description:
      name: stream_transform
      sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  synchronized:
    dependency: transitive
    description:
      name: synchronized
      sha256: "33b31b6beb98100bf9add464a36a8dd03eb10c7a8cf15aeec535e9b054aaf04b"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
      url: "https://pub.dev"
    source: hosted
    version: "0.4.16"
  time:
    dependency: transitive
    description:
      name: time
      sha256: "83427e11d9072e038364a5e4da559e85869b227cf699a541be0da74f14140124"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.3"
  time_machine:
    dependency: "direct main"
    description:
      name: time_machine
      sha256: b39511bf66cc8553d86c1242c43dbf67a17c594d5d7124727c1fdbf331e3989d
      url: "https://pub.dev"
    source: hosted
    version: "0.9.17"
  timezone:
    dependency: transitive
    description:
      name: timezone
      sha256: "24c8fcdd49a805d95777a39064862133ff816ebfffe0ceff110fb5960e557964"
      url: "https://pub.dev"
    source: hosted
    version: "0.9.1"
  timing:
    dependency: transitive
    description:
      name: timing
      sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.1"
  typed_data:
    dependency: transitive
    description:
      name: typed_data
      sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  url_launcher:
    dependency: "direct main"
    description:
      name: url_launcher
      sha256: "698fa0b4392effdc73e9e184403b627362eb5fbf904483ac9defbb1c2191d809"
      url: "https://pub.dev"
    source: hosted
    version: "6.1.8"
  url_launcher_android:
    dependency: transitive
    description:
      name: url_launcher_android
      sha256: "3e2f6dfd2c7d9cd123296cab8ef66cfc2c1a13f5845f42c7a0f365690a8a7dd1"
      url: "https://pub.dev"
    source: hosted
    version: "6.0.23"
  url_launcher_ios:
    dependency: transitive
    description:
      name: url_launcher_ios
      sha256: bb328b24d3bccc20bdf1024a0990ac4f869d57663660de9c936fb8c043edefe3
      url: "https://pub.dev"
    source: hosted
    version: "6.0.18"
  url_launcher_linux:
    dependency: transitive
    description:
      name: url_launcher_linux
      sha256: "318c42cba924e18180c029be69caf0a1a710191b9ec49bb42b5998fdcccee3cc"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  url_launcher_macos:
    dependency: transitive
    description:
      name: url_launcher_macos
      sha256: "41988b55570df53b3dd2a7fc90c76756a963de6a8c5f8e113330cb35992e2094"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.2"
  url_launcher_platform_interface:
    dependency: transitive
    description:
      name: url_launcher_platform_interface
      sha256: "4eae912628763eb48fc214522e58e942fd16ce195407dbf45638239523c759a6"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  url_launcher_web:
    dependency: transitive
    description:
      name: url_launcher_web
      sha256: "44d79408ce9f07052095ef1f9a693c258d6373dc3944249374e30eff7219ccb0"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.14"
  url_launcher_windows:
    dependency: transitive
    description:
      name: url_launcher_windows
      sha256: b6217370f8eb1fd85c8890c539f5a639a01ab209a36db82c921ebeacefc7a615
      url: "https://pub.dev"
    source: hosted
    version: "3.0.3"
  uuid:
    dependency: transitive
    description:
      name: uuid
      sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.7"
  value_layout_builder:
    dependency: "direct main"
    description:
      name: value_layout_builder
      sha256: "98202ec1807e94ac72725b7f0d15027afde513c55c69ff3f41bcfccb950831bc"
      url: "https://pub.dev"
    source: hosted
    version: "0.3.1"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  watcher:
    dependency: transitive
    description:
      name: watcher
      sha256: "6a7f46926b01ce81bfc339da6a7f20afbe7733eff9846f6d6a5466aa4c6667c0"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.2"
  weak_map:
    dependency: transitive
    description:
      name: weak_map
      sha256: "10b77d47f1a010bb15a91c828adc90c669b38bf3d97ad3910587adbf6d267b2b"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  web_socket_channel:
    dependency: transitive
    description:
      name: web_socket_channel
      sha256: ca49c0bc209c687b887f30527fb6a9d80040b072cc2990f34b9bec3e7663101b
      url: "https://pub.dev"
    source: hosted
    version: "2.3.0"
  win32:
    dependency: transitive
    description:
      name: win32
      sha256: c9ebe7ee4ab0c2194e65d3a07d8c54c5d00bb001b76081c4a04cdb8448b59e46
      url: "https://pub.dev"
    source: hosted
    version: "3.1.3"
  xdg_directories:
    dependency: transitive
    description:
      name: xdg_directories
      sha256: bd512f03919aac5f1313eb8249f223bacf4927031bf60b02601f81f687689e86
      url: "https://pub.dev"
    source: hosted
    version: "0.2.0+3"
  xml:
    dependency: transitive
    description:
      name: xml
      sha256: "979ee37d622dec6365e2efa4d906c37470995871fe9ae080d967e192d88286b5"
      url: "https://pub.dev"
    source: hosted
    version: "6.2.2"
  yaml:
    dependency: transitive
    description:
      name: yaml
      sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.1"
sdks:
  dart: ">=2.18.0 <4.0.0"
  flutter: ">=3.3.0"

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 26, 2023
@stjfk
Copy link

stjfk commented Jan 26, 2023

@SunlightBro Is this reproducible with the default Flutter app for you? Trying on my M1 Macbook Air, I cannot reproduce this crash

default app works (profile mode) on my macbook air m1.

@exaby73
Copy link
Member

exaby73 commented Jan 26, 2023

This might be an issue with a plugin you're using but I do not have the tools to symbolize the stack trace. @alexmarkov If you could symbolize, please do as it would help to track down if this is indeed some kind of plugin issue

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 26, 2023
@SunlightBro
Copy link
Author

SunlightBro commented Jan 26, 2023

First of all, the culprit is a @freezed class with a special factory init() constructor that is used in multiple places!
So it's not some plugin or something, but pure dart and
it can't find the constructor Type in AOT mode, in JIT it works just fine!

Will update when I found a minimal reproducible example.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 26, 2023
@alexmarkov
Copy link
Contributor

@SunlightBro Thank you for reporting this bug. Could you post the source code for $_ProjectDto class from package:photodoc/model/dto/project_dto.dart?

@SunlightBro
Copy link
Author

It's a freezed class so here are all 3, sorry for all the imports it's a big project.

project_dto.dart
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:photodoc/apis/wuerthprojectsapispec/model/company_company.dart';
import 'package:photodoc/apis/wuerthprojectsapispec/model/image_image.dart';
import 'package:photodoc/apis/wuerthprojectsapispec/model/report_report.dart';
import 'package:photodoc/apis/wuerthprojectsapispec/model/user_participant.dart';
import 'package:photodoc/model/dto/address_dto.dart';
import 'package:photodoc/model/dto/contact_dto.dart';
import 'package:photodoc/model/dto/tag_dto.dart';
import 'package:photodoc/model/dto/user_dto.dart';
import 'package:photodoc/utils/const.dart' as k;
import 'package:photodoc/utils/date_time_converter.dart';
import 'package:photodoc/utils/typedefs.dart';
import 'package:time_machine/time_machine.dart';

part 'project_dto.freezed.dart';
part 'project_dto.g.dart';

@freezed
class ProjectDto with _$ProjectDto {
  factory ProjectDto({
    @Default(k.invalidId) int id,
    @Default('') String name,
    @Default('') String eventStoreId,
    @Default(false) bool deleted,
    @PassDateTimeConverter() OffsetDateTime? lastUpdatedByUser,
    @PassDateTimeConverter() OffsetDateTime? createdDate,
    @Default(<ImageImage>[]) ImageList images,
    @Default(null) UserDto? createdBy,
    @Default(null) CompanyCompany? company,
    @Default(null) AddressDto? address,
    @Default(<TagDto>[]) TagList tags,
    @Default(<ReportReport>[]) ReportList reports,
    @Default(null) ContactDto? customer,
    @Default('') String distanceToCurrentUser,
    @Default(<UserParticipant>[]) ParticipantList participants,
    @Default('') String number,
    @Default(true) bool isSynchronizeEnabled,
    @Default(false) bool isNewProject,
    @Default(false) bool isOffline,
  }) = _ProjectDto;

  factory ProjectDto.fromJson(Map<String, dynamic> json) => _$ProjectDtoFromJson(json);

  factory ProjectDto.init() => ProjectDto(id: k.invalidId);
}
project_dto.freezed.dart
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'project_dto.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
    'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods');

ProjectDto _$ProjectDtoFromJson(Map<String, dynamic> json) {
  return _ProjectDto.fromJson(json);
}

/// @nodoc
mixin _$ProjectDto {
  int get id => throw _privateConstructorUsedError;
  String get name => throw _privateConstructorUsedError;
  String get eventStoreId => throw _privateConstructorUsedError;
  bool get deleted => throw _privateConstructorUsedError;
  @PassDateTimeConverter()
  OffsetDateTime? get lastUpdatedByUser => throw _privateConstructorUsedError;
  @PassDateTimeConverter()
  OffsetDateTime? get createdDate => throw _privateConstructorUsedError;
  List<ImageImage> get images => throw _privateConstructorUsedError;
  UserDto? get createdBy => throw _privateConstructorUsedError;
  CompanyCompany? get company => throw _privateConstructorUsedError;
  AddressDto? get address => throw _privateConstructorUsedError;
  List<TagDto> get tags => throw _privateConstructorUsedError;
  List<ReportReport> get reports => throw _privateConstructorUsedError;
  ContactDto? get customer => throw _privateConstructorUsedError;
  String get distanceToCurrentUser => throw _privateConstructorUsedError;
  List<UserParticipant> get participants => throw _privateConstructorUsedError;
  String get number => throw _privateConstructorUsedError;
  bool get isSynchronizeEnabled => throw _privateConstructorUsedError;
  bool get isNewProject => throw _privateConstructorUsedError;
  bool get isOffline => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $ProjectDtoCopyWith<ProjectDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $ProjectDtoCopyWith<$Res> {
  factory $ProjectDtoCopyWith(
          ProjectDto value, $Res Function(ProjectDto) then) =
      _$ProjectDtoCopyWithImpl<$Res, ProjectDto>;
  @useResult
  $Res call(
      {int id,
      String name,
      String eventStoreId,
      bool deleted,
      @PassDateTimeConverter() OffsetDateTime? lastUpdatedByUser,
      @PassDateTimeConverter() OffsetDateTime? createdDate,
      List<ImageImage> images,
      UserDto? createdBy,
      CompanyCompany? company,
      AddressDto? address,
      List<TagDto> tags,
      List<ReportReport> reports,
      ContactDto? customer,
      String distanceToCurrentUser,
      List<UserParticipant> participants,
      String number,
      bool isSynchronizeEnabled,
      bool isNewProject,
      bool isOffline});

  $UserDtoCopyWith<$Res>? get createdBy;
  $CompanyCompanyCopyWith<$Res>? get company;
  $AddressDtoCopyWith<$Res>? get address;
  $ContactDtoCopyWith<$Res>? get customer;
}

/// @nodoc
class _$ProjectDtoCopyWithImpl<$Res, $Val extends ProjectDto>
    implements $ProjectDtoCopyWith<$Res> {
  _$ProjectDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? id = null,
    Object? name = null,
    Object? eventStoreId = null,
    Object? deleted = null,
    Object? lastUpdatedByUser = freezed,
    Object? createdDate = freezed,
    Object? images = null,
    Object? createdBy = freezed,
    Object? company = freezed,
    Object? address = freezed,
    Object? tags = null,
    Object? reports = null,
    Object? customer = freezed,
    Object? distanceToCurrentUser = null,
    Object? participants = null,
    Object? number = null,
    Object? isSynchronizeEnabled = null,
    Object? isNewProject = null,
    Object? isOffline = null,
  }) {
    return _then(_value.copyWith(
      id: null == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int,
      name: null == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String,
      eventStoreId: null == eventStoreId
          ? _value.eventStoreId
          : eventStoreId // ignore: cast_nullable_to_non_nullable
              as String,
      deleted: null == deleted
          ? _value.deleted
          : deleted // ignore: cast_nullable_to_non_nullable
              as bool,
      lastUpdatedByUser: freezed == lastUpdatedByUser
          ? _value.lastUpdatedByUser
          : lastUpdatedByUser // ignore: cast_nullable_to_non_nullable
              as OffsetDateTime?,
      createdDate: freezed == createdDate
          ? _value.createdDate
          : createdDate // ignore: cast_nullable_to_non_nullable
              as OffsetDateTime?,
      images: null == images
          ? _value.images
          : images // ignore: cast_nullable_to_non_nullable
              as List<ImageImage>,
      createdBy: freezed == createdBy
          ? _value.createdBy
          : createdBy // ignore: cast_nullable_to_non_nullable
              as UserDto?,
      company: freezed == company
          ? _value.company
          : company // ignore: cast_nullable_to_non_nullable
              as CompanyCompany?,
      address: freezed == address
          ? _value.address
          : address // ignore: cast_nullable_to_non_nullable
              as AddressDto?,
      tags: null == tags
          ? _value.tags
          : tags // ignore: cast_nullable_to_non_nullable
              as List<TagDto>,
      reports: null == reports
          ? _value.reports
          : reports // ignore: cast_nullable_to_non_nullable
              as List<ReportReport>,
      customer: freezed == customer
          ? _value.customer
          : customer // ignore: cast_nullable_to_non_nullable
              as ContactDto?,
      distanceToCurrentUser: null == distanceToCurrentUser
          ? _value.distanceToCurrentUser
          : distanceToCurrentUser // ignore: cast_nullable_to_non_nullable
              as String,
      participants: null == participants
          ? _value.participants
          : participants // ignore: cast_nullable_to_non_nullable
              as List<UserParticipant>,
      number: null == number
          ? _value.number
          : number // ignore: cast_nullable_to_non_nullable
              as String,
      isSynchronizeEnabled: null == isSynchronizeEnabled
          ? _value.isSynchronizeEnabled
          : isSynchronizeEnabled // ignore: cast_nullable_to_non_nullable
              as bool,
      isNewProject: null == isNewProject
          ? _value.isNewProject
          : isNewProject // ignore: cast_nullable_to_non_nullable
              as bool,
      isOffline: null == isOffline
          ? _value.isOffline
          : isOffline // ignore: cast_nullable_to_non_nullable
              as bool,
    ) as $Val);
  }

  @override
  @pragma('vm:prefer-inline')
  $UserDtoCopyWith<$Res>? get createdBy {
    if (_value.createdBy == null) {
      return null;
    }

    return $UserDtoCopyWith<$Res>(_value.createdBy!, (value) {
      return _then(_value.copyWith(createdBy: value) as $Val);
    });
  }

  @override
  @pragma('vm:prefer-inline')
  $CompanyCompanyCopyWith<$Res>? get company {
    if (_value.company == null) {
      return null;
    }

    return $CompanyCompanyCopyWith<$Res>(_value.company!, (value) {
      return _then(_value.copyWith(company: value) as $Val);
    });
  }

  @override
  @pragma('vm:prefer-inline')
  $AddressDtoCopyWith<$Res>? get address {
    if (_value.address == null) {
      return null;
    }

    return $AddressDtoCopyWith<$Res>(_value.address!, (value) {
      return _then(_value.copyWith(address: value) as $Val);
    });
  }

  @override
  @pragma('vm:prefer-inline')
  $ContactDtoCopyWith<$Res>? get customer {
    if (_value.customer == null) {
      return null;
    }

    return $ContactDtoCopyWith<$Res>(_value.customer!, (value) {
      return _then(_value.copyWith(customer: value) as $Val);
    });
  }
}

/// @nodoc
abstract class _$$_ProjectDtoCopyWith<$Res>
    implements $ProjectDtoCopyWith<$Res> {
  factory _$$_ProjectDtoCopyWith(
          _$_ProjectDto value, $Res Function(_$_ProjectDto) then) =
      __$$_ProjectDtoCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {int id,
      String name,
      String eventStoreId,
      bool deleted,
      @PassDateTimeConverter() OffsetDateTime? lastUpdatedByUser,
      @PassDateTimeConverter() OffsetDateTime? createdDate,
      List<ImageImage> images,
      UserDto? createdBy,
      CompanyCompany? company,
      AddressDto? address,
      List<TagDto> tags,
      List<ReportReport> reports,
      ContactDto? customer,
      String distanceToCurrentUser,
      List<UserParticipant> participants,
      String number,
      bool isSynchronizeEnabled,
      bool isNewProject,
      bool isOffline});

  @override
  $UserDtoCopyWith<$Res>? get createdBy;
  @override
  $CompanyCompanyCopyWith<$Res>? get company;
  @override
  $AddressDtoCopyWith<$Res>? get address;
  @override
  $ContactDtoCopyWith<$Res>? get customer;
}

/// @nodoc
class __$$_ProjectDtoCopyWithImpl<$Res>
    extends _$ProjectDtoCopyWithImpl<$Res, _$_ProjectDto>
    implements _$$_ProjectDtoCopyWith<$Res> {
  __$$_ProjectDtoCopyWithImpl(
      _$_ProjectDto _value, $Res Function(_$_ProjectDto) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? id = null,
    Object? name = null,
    Object? eventStoreId = null,
    Object? deleted = null,
    Object? lastUpdatedByUser = freezed,
    Object? createdDate = freezed,
    Object? images = null,
    Object? createdBy = freezed,
    Object? company = freezed,
    Object? address = freezed,
    Object? tags = null,
    Object? reports = null,
    Object? customer = freezed,
    Object? distanceToCurrentUser = null,
    Object? participants = null,
    Object? number = null,
    Object? isSynchronizeEnabled = null,
    Object? isNewProject = null,
    Object? isOffline = null,
  }) {
    return _then(_$_ProjectDto(
      id: null == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int,
      name: null == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String,
      eventStoreId: null == eventStoreId
          ? _value.eventStoreId
          : eventStoreId // ignore: cast_nullable_to_non_nullable
              as String,
      deleted: null == deleted
          ? _value.deleted
          : deleted // ignore: cast_nullable_to_non_nullable
              as bool,
      lastUpdatedByUser: freezed == lastUpdatedByUser
          ? _value.lastUpdatedByUser
          : lastUpdatedByUser // ignore: cast_nullable_to_non_nullable
              as OffsetDateTime?,
      createdDate: freezed == createdDate
          ? _value.createdDate
          : createdDate // ignore: cast_nullable_to_non_nullable
              as OffsetDateTime?,
      images: null == images
          ? _value._images
          : images // ignore: cast_nullable_to_non_nullable
              as List<ImageImage>,
      createdBy: freezed == createdBy
          ? _value.createdBy
          : createdBy // ignore: cast_nullable_to_non_nullable
              as UserDto?,
      company: freezed == company
          ? _value.company
          : company // ignore: cast_nullable_to_non_nullable
              as CompanyCompany?,
      address: freezed == address
          ? _value.address
          : address // ignore: cast_nullable_to_non_nullable
              as AddressDto?,
      tags: null == tags
          ? _value._tags
          : tags // ignore: cast_nullable_to_non_nullable
              as List<TagDto>,
      reports: null == reports
          ? _value._reports
          : reports // ignore: cast_nullable_to_non_nullable
              as List<ReportReport>,
      customer: freezed == customer
          ? _value.customer
          : customer // ignore: cast_nullable_to_non_nullable
              as ContactDto?,
      distanceToCurrentUser: null == distanceToCurrentUser
          ? _value.distanceToCurrentUser
          : distanceToCurrentUser // ignore: cast_nullable_to_non_nullable
              as String,
      participants: null == participants
          ? _value._participants
          : participants // ignore: cast_nullable_to_non_nullable
              as List<UserParticipant>,
      number: null == number
          ? _value.number
          : number // ignore: cast_nullable_to_non_nullable
              as String,
      isSynchronizeEnabled: null == isSynchronizeEnabled
          ? _value.isSynchronizeEnabled
          : isSynchronizeEnabled // ignore: cast_nullable_to_non_nullable
              as bool,
      isNewProject: null == isNewProject
          ? _value.isNewProject
          : isNewProject // ignore: cast_nullable_to_non_nullable
              as bool,
      isOffline: null == isOffline
          ? _value.isOffline
          : isOffline // ignore: cast_nullable_to_non_nullable
              as bool,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$_ProjectDto implements _ProjectDto {
  _$_ProjectDto(
      {this.id = k.invalidId,
      this.name = '',
      this.eventStoreId = '',
      this.deleted = false,
      @PassDateTimeConverter() this.lastUpdatedByUser,
      @PassDateTimeConverter() this.createdDate,
      final List<ImageImage> images = const <ImageImage>[],
      this.createdBy = null,
      this.company = null,
      this.address = null,
      final List<TagDto> tags = const <TagDto>[],
      final List<ReportReport> reports = const <ReportReport>[],
      this.customer = null,
      this.distanceToCurrentUser = '',
      final List<UserParticipant> participants = const <UserParticipant>[],
      this.number = '',
      this.isSynchronizeEnabled = true,
      this.isNewProject = false,
      this.isOffline = false})
      : _images = images,
        _tags = tags,
        _reports = reports,
        _participants = participants;

  factory _$_ProjectDto.fromJson(Map<String, dynamic> json) =>
      _$$_ProjectDtoFromJson(json);

  @override
  @JsonKey()
  final int id;
  @override
  @JsonKey()
  final String name;
  @override
  @JsonKey()
  final String eventStoreId;
  @override
  @JsonKey()
  final bool deleted;
  @override
  @PassDateTimeConverter()
  final OffsetDateTime? lastUpdatedByUser;
  @override
  @PassDateTimeConverter()
  final OffsetDateTime? createdDate;
  final List<ImageImage> _images;
  @override
  @JsonKey()
  List<ImageImage> get images {
    if (_images is EqualUnmodifiableListView) return _images;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_images);
  }

  @override
  @JsonKey()
  final UserDto? createdBy;
  @override
  @JsonKey()
  final CompanyCompany? company;
  @override
  @JsonKey()
  final AddressDto? address;
  final List<TagDto> _tags;
  @override
  @JsonKey()
  List<TagDto> get tags {
    if (_tags is EqualUnmodifiableListView) return _tags;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_tags);
  }

  final List<ReportReport> _reports;
  @override
  @JsonKey()
  List<ReportReport> get reports {
    if (_reports is EqualUnmodifiableListView) return _reports;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_reports);
  }

  @override
  @JsonKey()
  final ContactDto? customer;
  @override
  @JsonKey()
  final String distanceToCurrentUser;
  final List<UserParticipant> _participants;
  @override
  @JsonKey()
  List<UserParticipant> get participants {
    if (_participants is EqualUnmodifiableListView) return _participants;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_participants);
  }

  @override
  @JsonKey()
  final String number;
  @override
  @JsonKey()
  final bool isSynchronizeEnabled;
  @override
  @JsonKey()
  final bool isNewProject;
  @override
  @JsonKey()
  final bool isOffline;

  @override
  String toString() {
    return 'ProjectDto(id: $id, name: $name, eventStoreId: $eventStoreId, deleted: $deleted, lastUpdatedByUser: $lastUpdatedByUser, createdDate: $createdDate, images: $images, createdBy: $createdBy, company: $company, address: $address, tags: $tags, reports: $reports, customer: $customer, distanceToCurrentUser: $distanceToCurrentUser, participants: $participants, number: $number, isSynchronizeEnabled: $isSynchronizeEnabled, isNewProject: $isNewProject, isOffline: $isOffline)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_ProjectDto &&
            (identical(other.id, id) || other.id == id) &&
            (identical(other.name, name) || other.name == name) &&
            (identical(other.eventStoreId, eventStoreId) ||
                other.eventStoreId == eventStoreId) &&
            (identical(other.deleted, deleted) || other.deleted == deleted) &&
            (identical(other.lastUpdatedByUser, lastUpdatedByUser) ||
                other.lastUpdatedByUser == lastUpdatedByUser) &&
            (identical(other.createdDate, createdDate) ||
                other.createdDate == createdDate) &&
            const DeepCollectionEquality().equals(other._images, _images) &&
            (identical(other.createdBy, createdBy) ||
                other.createdBy == createdBy) &&
            (identical(other.company, company) || other.company == company) &&
            (identical(other.address, address) || other.address == address) &&
            const DeepCollectionEquality().equals(other._tags, _tags) &&
            const DeepCollectionEquality().equals(other._reports, _reports) &&
            (identical(other.customer, customer) ||
                other.customer == customer) &&
            (identical(other.distanceToCurrentUser, distanceToCurrentUser) ||
                other.distanceToCurrentUser == distanceToCurrentUser) &&
            const DeepCollectionEquality()
                .equals(other._participants, _participants) &&
            (identical(other.number, number) || other.number == number) &&
            (identical(other.isSynchronizeEnabled, isSynchronizeEnabled) ||
                other.isSynchronizeEnabled == isSynchronizeEnabled) &&
            (identical(other.isNewProject, isNewProject) ||
                other.isNewProject == isNewProject) &&
            (identical(other.isOffline, isOffline) ||
                other.isOffline == isOffline));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hashAll([
        runtimeType,
        id,
        name,
        eventStoreId,
        deleted,
        lastUpdatedByUser,
        createdDate,
        const DeepCollectionEquality().hash(_images),
        createdBy,
        company,
        address,
        const DeepCollectionEquality().hash(_tags),
        const DeepCollectionEquality().hash(_reports),
        customer,
        distanceToCurrentUser,
        const DeepCollectionEquality().hash(_participants),
        number,
        isSynchronizeEnabled,
        isNewProject,
        isOffline
      ]);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$_ProjectDtoCopyWith<_$_ProjectDto> get copyWith =>
      __$$_ProjectDtoCopyWithImpl<_$_ProjectDto>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$_ProjectDtoToJson(
      this,
    );
  }
}

abstract class _ProjectDto implements ProjectDto {
  factory _ProjectDto(
      {final int id,
      final String name,
      final String eventStoreId,
      final bool deleted,
      @PassDateTimeConverter() final OffsetDateTime? lastUpdatedByUser,
      @PassDateTimeConverter() final OffsetDateTime? createdDate,
      final List<ImageImage> images,
      final UserDto? createdBy,
      final CompanyCompany? company,
      final AddressDto? address,
      final List<TagDto> tags,
      final List<ReportReport> reports,
      final ContactDto? customer,
      final String distanceToCurrentUser,
      final List<UserParticipant> participants,
      final String number,
      final bool isSynchronizeEnabled,
      final bool isNewProject,
      final bool isOffline}) = _$_ProjectDto;

  factory _ProjectDto.fromJson(Map<String, dynamic> json) =
      _$_ProjectDto.fromJson;

  @override
  int get id;
  @override
  String get name;
  @override
  String get eventStoreId;
  @override
  bool get deleted;
  @override
  @PassDateTimeConverter()
  OffsetDateTime? get lastUpdatedByUser;
  @override
  @PassDateTimeConverter()
  OffsetDateTime? get createdDate;
  @override
  List<ImageImage> get images;
  @override
  UserDto? get createdBy;
  @override
  CompanyCompany? get company;
  @override
  AddressDto? get address;
  @override
  List<TagDto> get tags;
  @override
  List<ReportReport> get reports;
  @override
  ContactDto? get customer;
  @override
  String get distanceToCurrentUser;
  @override
  List<UserParticipant> get participants;
  @override
  String get number;
  @override
  bool get isSynchronizeEnabled;
  @override
  bool get isNewProject;
  @override
  bool get isOffline;
  @override
  @JsonKey(ignore: true)
  _$$_ProjectDtoCopyWith<_$_ProjectDto> get copyWith =>
      throw _privateConstructorUsedError;
}
project_dto.g.dart
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'project_dto.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_$_ProjectDto _$$_ProjectDtoFromJson(Map<String, dynamic> json) =>
    _$_ProjectDto(
      id: json['id'] as int? ?? k.invalidId,
      name: json['name'] as String? ?? '',
      eventStoreId: json['eventStoreId'] as String? ?? '',
      deleted: json['deleted'] as bool? ?? false,
      lastUpdatedByUser: const PassDateTimeConverter()
          .fromJson(json['lastUpdatedByUser'] as String?),
      createdDate: const PassDateTimeConverter()
          .fromJson(json['createdDate'] as String?),
      images: (json['images'] as List<dynamic>?)
              ?.map((e) => ImageImage.fromJson(e as Map<String, dynamic>))
              .toList() ??
          const <ImageImage>[],
      createdBy: json['createdBy'] == null
          ? null
          : UserDto.fromJson(json['createdBy'] as Map<String, dynamic>),
      company: json['company'] == null
          ? null
          : CompanyCompany.fromJson(json['company'] as Map<String, dynamic>),
      address: json['address'] == null
          ? null
          : AddressDto.fromJson(json['address'] as Map<String, dynamic>),
      tags: (json['tags'] as List<dynamic>?)
              ?.map((e) => TagDto.fromJson(e as Map<String, dynamic>))
              .toList() ??
          const <TagDto>[],
      reports: (json['reports'] as List<dynamic>?)
              ?.map((e) => ReportReport.fromJson(e as Map<String, dynamic>))
              .toList() ??
          const <ReportReport>[],
      customer: json['customer'] == null
          ? null
          : ContactDto.fromJson(json['customer'] as Map<String, dynamic>),
      distanceToCurrentUser: json['distanceToCurrentUser'] as String? ?? '',
      participants: (json['participants'] as List<dynamic>?)
              ?.map((e) => UserParticipant.fromJson(e as Map<String, dynamic>))
              .toList() ??
          const <UserParticipant>[],
      number: json['number'] as String? ?? '',
      isSynchronizeEnabled: json['isSynchronizeEnabled'] as bool? ?? true,
      isNewProject: json['isNewProject'] as bool? ?? false,
      isOffline: json['isOffline'] as bool? ?? false,
    );

Map<String, dynamic> _$$_ProjectDtoToJson(_$_ProjectDto instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'eventStoreId': instance.eventStoreId,
      'deleted': instance.deleted,
      'lastUpdatedByUser':
          const PassDateTimeConverter().toJson(instance.lastUpdatedByUser),
      'createdDate': const PassDateTimeConverter().toJson(instance.createdDate),
      'images': instance.images.map((e) => e.toJson()).toList(),
      'createdBy': instance.createdBy?.toJson(),
      'company': instance.company?.toJson(),
      'address': instance.address?.toJson(),
      'tags': instance.tags.map((e) => e.toJson()).toList(),
      'reports': instance.reports.map((e) => e.toJson()).toList(),
      'customer': instance.customer?.toJson(),
      'distanceToCurrentUser': instance.distanceToCurrentUser,
      'participants': instance.participants.map((e) => e.toJson()).toList(),
      'number': instance.number,
      'isSynchronizeEnabled': instance.isSynchronizeEnabled,
      'isNewProject': instance.isNewProject,
      'isOffline': instance.isOffline,
    };

@exaby73
Copy link
Member

exaby73 commented Jan 27, 2023

@SunlightBro Are you using the init constructor using contructor tear-off? If so, there might be a related issue #118368

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 27, 2023
@SunlightBro
Copy link
Author

SunlightBro commented Jan 27, 2023

No I don't use tear-off for:

// ...
  factory ProjectDto.init() => ProjectDto(id: k.invalidId);
}

but when I replace the named ProjectDto.init() everywhere with ProjectDto(id: k.invalidId) then I can compile AOT.

Important the app can build and runs fine in JIT debug mode, it's only the AOT compiler that crashes.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 27, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 27, 2023

Interesting. Could you isolate the issue into a code sample and share it?

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 27, 2023
@SunlightBro
Copy link
Author

So far still searching for a way to Isolate ...
Is there any way for me to get a more detailed log, then
flutter build apk --release --verbose ?

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 27, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 27, 2023

You could try flutter build apk -vv (--release is default for build commands)

@exaby73 exaby73 added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 27, 2023
@mraleph
Copy link
Member

mraleph commented Jan 27, 2023

FWIW I see that IL graph printed on crash is subtly wrong, through I am not sure how we arrived in this situation or whether this is what is causing the crash - though it is highly likely. It contains multiple clashing SSA indices (e.g. two v6 and two v7 SSA variables). The crash occurs during type propagation which uses SSA indices to index into auxiliary arrays, so maybe it is connected - but might also be a red herring.

The bug is likely connected to inlining of _$_ProjectDto constructor into the caller. It might be rather challenging to reduce without knowing how to read compiler IL.

@exaby73 exaby73 added c: crash Stack traces logged to the console tool Affects the "flutter" command-line tool. See also t: labels. dependency: dart Dart team may need to help us labels Jan 27, 2023
@exaby73 exaby73 added a: build Building flutter applications with the tool and removed in triage Presently being triaged by the triage team labels Jan 27, 2023
@exaby73
Copy link
Member

exaby73 commented Jan 27, 2023

I have labeled the issue for more visibility. Hopefully @SunlightBro you can provide a code sample that reproduces this issue so that it's easier to debug :)

@SunlightBro
Copy link
Author

SunlightBro commented Jan 27, 2023

Ok this is super weird and still can't reproduce it in a small repo ...

But I use this import with k in a lot of files all over the app
import 'package:photodoc/utils/const.dart' as k;

It is enough to use as c; in project_dto.dart instead, run build_runner again, and it AOT compiles again.

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 27, 2023
@alexmarkov
Copy link
Contributor

I was able to reproduce the problem and will proceed with the investigation.

Smallish standalone repro
class OffsetDateTime {}
class ImageImage {}
class UserDto {}
class CompanyCompany {}
class AddressDto {}
class TagDto {}
class ReportReport {}
class ContactDto {}
class UserParticipant {}

const int invalidId = 42;

class ProjectDto with _$ProjectDto {
  factory ProjectDto({
    int id,
    String name,
    String eventStoreId,
    bool deleted,
    OffsetDateTime? lastUpdatedByUser,
    OffsetDateTime? createdDate,
    List<ImageImage> images,
    UserDto? createdBy,
    CompanyCompany? company,
    AddressDto? address,
    List<TagDto> tags,
    List<ReportReport> reports,
    ContactDto? customer,
    String distanceToCurrentUser,
    List<UserParticipant> participants,
    String number,
    bool isSynchronizeEnabled,
    bool isNewProject,
    bool isOffline,
  }) = _ProjectDto;

  @pragma('vm:never-inline')
  factory ProjectDto.init() => ProjectDto(id: invalidId);
}

abstract class _ProjectDto implements ProjectDto {
  factory _ProjectDto(
      {final int id,
      final String name,
      final String eventStoreId,
      final bool deleted,
      final OffsetDateTime? lastUpdatedByUser,
      final OffsetDateTime? createdDate,
      final List<ImageImage> images,
      final UserDto? createdBy,
      final CompanyCompany? company,
      final AddressDto? address,
      final List<TagDto> tags,
      final List<ReportReport> reports,
      final ContactDto? customer,
      final String distanceToCurrentUser,
      final List<UserParticipant> participants,
      final String number,
      final bool isSynchronizeEnabled,
      final bool isNewProject,
      final bool isOffline}) = _$_ProjectDto;

  @override
  int get id;
  @override
  String get name;
  @override
  String get eventStoreId;
  @override
  bool get deleted;
  @override
  OffsetDateTime? get lastUpdatedByUser;
  @override
  OffsetDateTime? get createdDate;
  @override
  List<ImageImage> get images;
  @override
  UserDto? get createdBy;
  @override
  CompanyCompany? get company;
  @override
  AddressDto? get address;
  @override
  List<TagDto> get tags;
  @override
  List<ReportReport> get reports;
  @override
  ContactDto? get customer;
  @override
  String get distanceToCurrentUser;
  @override
  List<UserParticipant> get participants;
  @override
  String get number;
  @override
  bool get isSynchronizeEnabled;
  @override
  bool get isNewProject;
  @override
  bool get isOffline;
}

class _$_ProjectDto implements _ProjectDto {
  @pragma('vm:prefer-inline')
  _$_ProjectDto(
      {this.id = invalidId,
      this.name = '',
      this.eventStoreId = '',
      this.deleted = false,
      this.lastUpdatedByUser,
      this.createdDate,
      final List<ImageImage> images = const <ImageImage>[],
      this.createdBy = null,
      this.company = null,
      this.address = null,
      final List<TagDto> tags = const <TagDto>[],
      final List<ReportReport> reports = const <ReportReport>[],
      this.customer = null,
      this.distanceToCurrentUser = '',
      final List<UserParticipant> participants = const <UserParticipant>[],
      this.number = '',
      this.isSynchronizeEnabled = true,
      this.isNewProject = false,
      this.isOffline = false})
      : _images = images,
        _tags = tags,
        _reports = reports,
        _participants = participants;

  @override
  final int id;
  @override
  final String name;
  @override
  final String eventStoreId;
  @override
  final bool deleted;
  @override
  final OffsetDateTime? lastUpdatedByUser;
  @override
  final OffsetDateTime? createdDate;
  final List<ImageImage> _images;
  @override
  List<ImageImage> get images {
    return _images;
  }

  @override
  final UserDto? createdBy;
  @override
  final CompanyCompany? company;
  @override
  final AddressDto? address;
  final List<TagDto> _tags;
  @override
  List<TagDto> get tags {
    return _tags;
  }

  final List<ReportReport> _reports;
  @override
  List<ReportReport> get reports {
    return _reports;
  }

  @override
  final ContactDto? customer;
  @override
  final String distanceToCurrentUser;
  final List<UserParticipant> _participants;
  @override
  List<UserParticipant> get participants {
    return _participants;
  }

  @override
  final String number;
  @override
  final bool isSynchronizeEnabled;
  @override
  final bool isNewProject;
  @override
  final bool isOffline;

  @override
  String toString() {
    return 'ProjectDto(id: $id, name: $name, eventStoreId: $eventStoreId, deleted: $deleted, lastUpdatedByUser: $lastUpdatedByUser, createdDate: $createdDate, images: $images, createdBy: $createdBy, company: $company, address: $address, tags: $tags, reports: $reports, customer: $customer, distanceToCurrentUser: $distanceToCurrentUser, participants: $participants, number: $number, isSynchronizeEnabled: $isSynchronizeEnabled, isNewProject: $isNewProject, isOffline: $isOffline)';
  }
}

mixin _$ProjectDto {
  int get id => throw 'error';
  String get name => throw 'error';
  String get eventStoreId => throw 'error';
  bool get deleted => throw 'error';
  OffsetDateTime? get lastUpdatedByUser => throw 'error';
  OffsetDateTime? get createdDate => throw 'error';
  List<ImageImage> get images => throw 'error';
  UserDto? get createdBy => throw 'error';
  CompanyCompany? get company => throw 'error';
  AddressDto? get address => throw 'error';
  List<TagDto> get tags => throw 'error';
  List<ReportReport> get reports => throw 'error';
  ContactDto? get customer => throw 'error';
  String get distanceToCurrentUser => throw 'error';
  List<UserParticipant> get participants => throw 'error';
  String get number => throw 'error';
  bool get isSynchronizeEnabled => throw 'error';
  bool get isNewProject => throw 'error';
  bool get isOffline => throw 'error';
}

main() {
  print(ProjectDto(id: 10,
    name: 'name',
    eventStoreId: 'eventStoreId',
    deleted: true,
    lastUpdatedByUser: OffsetDateTime(),
    createdDate: OffsetDateTime(),
    images: [ImageImage()],
    createdBy: UserDto(),
    company: CompanyCompany(),
    address: AddressDto(),
    tags: [TagDto()],
    reports: [ReportReport()],
    customer: ContactDto(),
    distanceToCurrentUser: 'distanceToCurrentUser',
    participants: [UserParticipant()],
    number: 'number',
    isSynchronizeEnabled: false,
    isNewProject: true,
    isOffline: true,
  ));
  print(ProjectDto.init());
}

@alexmarkov alexmarkov self-assigned this Jan 27, 2023
@alexmarkov
Copy link
Contributor

Fix is on the way: https://dart-review.googlesource.com/c/sdk/+/280041.

@mdddj
Copy link

mdddj commented Jan 30, 2023

The same problem may be caused by the 'freezed' package

copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Jan 31, 2023
When building SSA form for callee graph during inlining, numbering of
SSA values starts with the number of SSA values in the caller graph.
However, parameter stubs may contain constants which are already added
to the callee graph and occupy certain range of SSA numbers. If that
number is larger than number of SSA values in the caller graph, then
numbers, already assigned to constants, can be incorrectly reused
during SSA construction.

The fix is to adjust number of SSA values in the callee graph
before parameter stubs are created, and then use current number of
SSA values as a starting point when building SSA.

TEST=runtime/tests/vm/dart/regress_flutter119220_test.dart
Fixes flutter/flutter#119220

Change-Id: I7efd52e626b63bf64fb47861ec210b291911ef28
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280041
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
@alexmarkov
Copy link
Contributor

The fix rolled into Flutter (master channel) in 6f9a896.

@adamkoch
Copy link

adamkoch commented Feb 1, 2023

Do we know if this be hotfixed to stable channel?

@alexmarkov
Copy link
Contributor

@adamkoch You can follow dart-lang/sdk#51223 for the status of the cherry-pick to stable. Once fix lands on the stable branch, it is going to be included into the next hotfix release.

@adamkoch
Copy link

adamkoch commented Feb 1, 2023

Great, thank you!

@exaby73 exaby73 added the r: fixed Issue is closed as already fixed in a newer version label Feb 2, 2023
copybara-service bot pushed a commit to dart-lang/sdk that referenced this issue Feb 3, 2023
When building SSA form for callee graph during inlining, numbering of
SSA values starts with the number of SSA values in the caller graph.
However, parameter stubs may contain constants which are already added
to the callee graph and occupy certain range of SSA numbers. If that
number is larger than number of SSA values in the caller graph, then
numbers, already assigned to constants, can be incorrectly reused
during SSA construction.

The fix is to adjust number of SSA values in the callee graph
before parameter stubs are created, and then use current number of
SSA values as a starting point when building SSA.

TEST=runtime/tests/vm/dart/regress_flutter119220_test.dart
Issue flutter/flutter#119220
Fixes #51223

Cherry-pick: https://dart-review.googlesource.com/c/sdk/+/280041
Change-Id: Ibe948e6c544792337dae3e6ec0889cc42875fc75
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280240
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
@github-actions
Copy link

github-actions bot commented Mar 3, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: build Building flutter applications with the tool c: crash Stack traces logged to the console dependency: dart Dart team may need to help us r: fixed Issue is closed as already fixed in a newer version tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests

8 participants