don't skip docker SHA collection on RHEL containers

Fixes https://github.com/adoptium/temurin-build/issues/3786 https://github.com/adoptium/ci-jenkins-pipelines/issues/1022
While we don't pull the container build image from an external location on RHEL/s390x, we should still collect the SHA for inclusion in the SBoM.
(Note: It gets into the SBoM via the -e parameter passed in from the pipeline when the container is started which sets BUILDIMAGESHA which is then stored in metadata/docker.txt by sbin/prepareWorkspace.sh which is read by sbin/build.sh, into buildimagesha which is then added to the SBoM by sbin/build.sh)

run tests

pipeline-build-check failure seems to have been this:
Suppressed: jenkins.util.io.CompositeIOException: Unable to remove directory E:\Jenkins\workspace\temp\workspace\build\src\build\windows-x86_64-normal-server-release\jdk\gensrc\java\nio with directory contents: [E:\Jenkins\workspace\temp\workspace\build\src\build\windows-x86_64-normal-server-release\jdk\gensrc\java\nio\_the..] on build-ibmcloud-win2022-x64-1 in https://ci.adoptium.net/job/build-scripts-pr-tester/job/build-test/job/jobs/job/jdk8u/job/jdk8u-windows-x64-temurin/160/console so unrelated to this PR. @steelhead31 Did you have to remediate something similar on one of these boxes recently?

pipeline-build-check failure seems to have been this: Suppressed: jenkins.util.io.CompositeIOException: Unable to remove directory E:\Jenkins\workspace\temp\workspace\build\src\build\windows-x86_64-normal-server-release\jdk\gensrc\java\nio with directory contents: [E:\Jenkins\workspace\temp\workspace\build\src\build\windows-x86_64-normal-server-release\jdk\gensrc\java\nio\_the..] on build-ibmcloud-win2022-x64-1 in https://ci.adoptium.net/job/build-scripts-pr-tester/job/build-test/job/jobs/job/jdk8u/job/jdk8u-windows-x64-temurin/160/console so unrelated to this PR. @steelhead31 Did you have to remediate something similar on one of these boxes recently?

Yup, the workspace.../temp directory had an invalid security setting, and couldn't be deleted,  it had to be forced away. This occurred again during the recent release, but I haven't had time to have another look, and currently I cant get on to the box to investigate further. I think, that the folder is being created or modified under cygwin, and something is going awry with the ownership.

Yup, the workspace.../temp directory had an invalid security setting, and couldn't be deleted,  it had to be forced away. This occurred again during the recent release, but I haven't had time to have another look, and currently I cant get on to the box to investigate further.

Marked offline for now.

@sxa remind me how to restart the pipeline-build-check?

run tests

@sxa remind me how to restart the pipeline-build-check?

It's triggered by a "run tests" comment from an authorised user like the one above (I expect you're authorised!) - it's not mandatory or run by default.


[Suggestion] Would you like to move this project to the doccano organization?

Hello, @afparsons
First of all, I really appreciate your project. It makes easier to programmatically manipulate doccano.
I have a suggestion. Would you like to move this project to the doccano organization? If you accept it, I'll invite you to the organization and the doccano-client team and then give you the role on the team.
It would be much appreciated if you could consider the suggestion.

Hi @Hironsan ,
This is flattering; thank you for the invite.
I do think it makes sense to move this project under the umbrella of the doccano organization. After all, users will probably expect doccano-related projects to be attached to the organization, and I didn't expect this repository to offer a permanent solution in the first place.
Have you moved a GitHub project before? I've not done so, so I am not really sure about the next steps. There's probably a more elegant solution than just starting a new repository, and copy/pasting code, right?

Hi @afparsons ,
I just invited you to the organization.

Have you moved a GitHub project before?

Yes. GitHub provides the feature to transfer a repository. This is the easiest way.

Transferring a repository owned by your personal account

After transferring the repository, I will create doccano-client team and add you to it.
Thanks.

@afparsons , ping.

what needs to happen to close this one 🙈 as it would be really nice to get this in the main project 👍

Hi @kuraga , @harmw , and @Hironsan !
I'm sorry, I find GitHub's notifications difficult to work with and so a lot disappears into the void. I'll move this right now.

Oops, I let @Hironsan's organizational invite expire, so they will need to re-inivite me to the organization.
@Hironsan Could you please invite me again? I promise to accept and transfer the repository this time :smile:
@kuraga, @harmw it might be a few moments. Sorry about the wait.

Hello @afparsons
I just re-invite you to the organization.

I have transferred repository ownership to doccano.

:÷1:

Thank you!


Optional Windows MSI post-install auto launch

WANT:

Optionally have the MSI installer with a "installtion complete, click here to launch the app" thingie.

WONDERING:

What should the default be?
Inclined for minimalistic and when opting in, the thingie shows up with a [x] checked checkbox that will launch the application on exiting the installer.

Clean, user-friendly, implementation probably depends on #14.

So, if I understand you correctly, there's some sort of post-install script run as part of the installer on Windows, which we could use to do all the venv / packaged wheels stuff..? This would be totally awesome... or have I misunderstood what this could potentially be..?

(after having clarified @ntoll's note in a previous meeting)
SELF-THOUGHT:

Let's try to address this sooner, rather than later.
Moving to NEXT.

SELF-NOTE:

Ran a quick experiment with no (partial?) success: got the GUI to show a "launch after install" but launching did not go through. Did not investigate further.

POTENTIALLY USEFUL RESOURCES for further investigation:

https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
https://stackoverflow.com/questions/31305483/switches-in-wixshellexectarget
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Passing-command-line-arguments-to-an-app-launched-after-setup-td1366362.html
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-command-line-at-the-end-of-installation-td2269109.html
https://blogs.blackmarble.co.uk/rfennell/2013/02/25/running-an-external-command-line-tool-as-part-of-a-wix-install/

PROGRESS NOTE:

The recipe in the first link above failed (that was my first attempt).
Changing the <CustomAction> to the one in the second linked resource made it work:

        <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch {{ cookiecutter.app_name }}" />
        <Property Id="WixShellExecTarget" Value="[#{{ cookiecutter.app_name }}.vbs]" />
        <CustomAction Id="LaunchApplication"
                      Impersonate="yes"
                      FileKey="filC896A503FA45D448D320D55E417CFB95"
                      ExeCommand="-m {{ cookiecutter.launch_module }}"
                      Return="asyncNoWait"
                      />

Unfortunatelly, getting the pythonw.exe file ID did not work "magically" with [#pythonw.exe]... In my successul attempt, I hard coded the value onto the .wxs file.
NEXT:

Figure out a nice way of getting the necessary file ID to properly generate the WiX input file.

CLOSING:

Albeit somewhat limited, the just merged PR #148 serves Mu Editor's use case very nicely.
(would be nice to support auto-launch without license and license without auto-launch -- future work?)


Dart snapshot generator failed with exit code -1073741819

I am getting these errors when build release apk using this command flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi.
Dart snapshot generator failed with exit code -1073741819

FAILURE: Build failed with an exception.

* Where:

Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

* What went wrong:

Execution failed for task ':app:compileFlutterBuildRelease'.

> Process 'command 'C:\flutter\bin\flutter.bat'' 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 10s
Running Gradle task 'assembleRelease'...                           11.9s
Gradle task assembleRelease failed with exit code 1

I have tried flutter build apk --debug and there is no issue.
I have tried flutter run --verbose and there is not Issue.
I have tried flutter build apk --target-platform android-arm and got same error
Flutter doctor -v output
[√] Flutter (Channel master, 1.22.0-10.0.pre.380, on Microsoft Windows [Version 10.0.10240], locale
    en-US)
    • Flutter version 1.22.0-10.0.pre.380 at C:\flutter
    • Framework revision ec40df9576 (28 hours ago), 2020-09-25 21:27:22 -0700
    • Engine revision 3a73d073c8
    • Dart version 2.11.0 (build 2.11.0-161.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Android\sdk
    • Platform android-29, build-tools 28.0.3
    • ANDROID_SDK_ROOT = C:\Android\sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
    • All Android licenses accepted.

[!] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[√] VS Code (version 1.49.2)
    • VS Code at C:\Users\XXX\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.1

[√] Connected device (1 available)
    • Infinix X650C (mobile) • 047253298E001135 • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

flutter.gradle in 904 line
project.exec {
            logging.captureStandardError LogLevel.ERROR
            executable flutterExecutable.absolutePath
            workingDir sourceDir
            if (localEngine != null) {
                args "--local-engine", localEngine
                args "--local-engine-src-path", localEngineSrcPath
            }
            if (verbose) {
                args "--verbose"
            } else {
                args "--quiet"
            }
            args "assemble"
            args "--depfile", "${intermediateDir}/flutter_build.d"
            args "--output", "${intermediateDir}"
            if (performanceMeasurementFile != null) {
                args "--performance-measurement-file=${performanceMeasurementFile}"
            }
            if (!fastStart || buildMode != "debug") {
                args "-dTargetFile=${targetPath}"
            } else {
                args "-dTargetFile=${Paths.get(flutterRoot.absolutePath, "examples", "splash", "lib", "main.dart")}"
            }
            args "-dTargetPlatform=android"
            args "-dBuildMode=${buildMode}"
            if (trackWidgetCreation != null) {
                args "-dTrackWidgetCreation=${trackWidgetCreation}"
            }
            if (splitDebugInfo != null) {
                args "-dSplitDebugInfo=${splitDebugInfo}"
            }
            if (treeShakeIcons == true) {
                args "-dTreeShakeIcons=true"
            }
            if (dartObfuscation == true) {
                args "-dDartObfuscation=true"
            }
            if (dartDefines != null) {
                args "--DartDefines=${dartDefines}"
            }
            if (bundleSkSLPath != null) {
                args "-iBundleSkSLPath=${bundleSkSLPath}"
            }
            if (codeSizeDirectory != null) {
                args "-dCodeSizeDirectory=${codeSizeDirectory}"
            }
            if (extraGenSnapshotOptions != null) {
                args "--ExtraGenSnapshotOptions=${extraGenSnapshotOptions}"
            }
            if (extraFrontEndOptions != null) {
                args "--ExtraFrontEndOptions=${extraFrontEndOptions}"
            }
            args ruleNames
        }

I had the same problem a few days ago. But after upgrading flutter and changed minSDKVersion to 21 the problem is solved. But I'm getting the same error again. I didn’t make any changes.
Dependencies I used.
  fluttertoast: ^7.0.2
  http: ^0.12.2
  shared_preferences: ^0.5.8
  email_validator: '^1.0.0'
  image_picker: ^0.6.7+7
  firebase_core: ^0.5.0
  firebase_storage: ^4.0.0
  shimmer: ^1.1.1
  flutter_money_formatter: ^0.8.3
  url_launcher: ^5.0.5
  photo_view: ^0.10.2
  store_redirect: ^1.0.2
  share: ^0.6.5+1
  cached_network_image: ^2.3.2+1

I tried to build (In release mode) a Hello World app, but I got same error.

I am also getting the same error while building apk file
D:\flutter\bin\flutter.bat --no-color build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/characters-1.1.0-nullsafety.3/lib/src/grapheme_clusters/breaks.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/context.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/path_exception.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/path_map.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/path_set.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.3/lib/src/utils.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.3/lib/src/empty_unmodifiable_set.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/characters.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/internal_style.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/parsed_path.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style/posix.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style/url.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style/windows.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/utils.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
FAILURE: Build failed with an exception.

Where:
Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896

What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command 'D:\flutter\bin\flutter.bat'' 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 26s
Running Gradle task 'assembleRelease'...                           27.5s
Gradle task assembleRelease failed with exit code 1
Process finished with exit code 1

I am also getting  the same error while building apk file
D:\flutter\bin\flutter.bat --no-color build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/characters-1.1.0-nullsafety.3/lib/src/grapheme_clusters/breaks.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/context.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/path_exception.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/path_map.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/path_set.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2018, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.3/lib/src/utils.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/collection-1.15.0-nullsafety.3/lib/src/empty_unmodifiable_set.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/characters.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/internal_style.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/parsed_path.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style/posix.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style/url.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/style/windows.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
^
/C:/Users/Anil/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.0-nullsafety.1/lib/src/utils.dart:1:1: Error: The specified language version is too high. The highest supported language version is 2.9.
// Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
^
FAILURE: Build failed with an exception.

Where:
Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896

What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command 'D:\flutter\bin\flutter.bat'' 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 26s
Running Gradle task 'assembleRelease'...                           27.5s
Gradle task assembleRelease failed with exit code 1
Process finished with exit code 1

same problem

➜   flutter build apk --profile
../../third_party/dart/runtime/vm/compiler/intrinsifier.cc: 118: error: expected: !function.HasUnboxedReturnValue()
version=2.10.1 (stable) (Tue Oct 6 10:54:20 2020 +0200) on "macos_x64"
pid=5933, thread=775, isolate_group=isolate(0x7fa33c008200), isolate=isolate(0x7fa33c00ce00)
isolate_instructions=0, vm_instructions=0
  pc 0x000000010d7453eb fp 0x00007ffee2b7f2f0 Dart_DumpNativeStackTrace+0x4b
  pc 0x000000010d08fe31 fp 0x00007ffee2b7f3d0 dart::Assert::Fail(char const*, ...)+0x91
  pc 0x000000010d6f97c1 fp 0x00007ffee2b7f840 dart::compiler::Intrinsifier::Intrinsify(dart::ParsedFunction const&, dart::FlowGraphCompiler*)+0x13461
  pc 0x000000010d4f7cd1 fp 0x00007ffee2b7f9c0 dart::FunctionEntryInstr::EmitNativeCode(dart::FlowGraphCompiler*)+0x871
  pc 0x000000010d4ec667 fp 0x00007ffee2b7fb90 dart::FlowGraphCompiler::CompileGraph()+0x9a7
  pc 0x000000010d4a1a3d fp 0x00007ffee2b80230 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0xd3d
  pc 0x000000010d4a0a44 fp 0x00007ffee2b803f0 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x774
  pc 0x000000010d49f436 fp 0x00007ffee2b804a0 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x216
  pc 0x000000010d489397 fp 0x00007ffee2b805c0 dart::Precompiler::Iterate()+0x347
  pc 0x000000010d46a5d1 fp 0x00007ffee2b80960 dart::Precompiler::DoCompileAll()+0x52b1
  pc 0x000000010d4651be fp 0x00007ffee2b80e10 dart::Precompiler::CompileAll()+0x20fe
  pc 0x000000010d087418 fp 0x00007ffee2b815f0 dart::bin::main(int, char**)+0x6398
  pc 0x00007fff70c71cc9 fp 0x00007ffee2b81608 start+0x1
-- End of DumpStackTrace
Dart snapshot generator failed with exit code -6
../../third_party/dart/runtime/vm/compiler/intrinsifier.cc: 118: error: expected: !function.HasUnboxedReturnValue()
version=2.10.1 (stable) (Tue Oct 6 10:54:20 2020 +0200) on "macos_simarm64"
pid=5934, thread=775, isolate_group=isolate(0x7fc910824200), isolate=isolate(0x7fc910824e00)
isolate_instructions=0, vm_instructions=0
  pc 0x000000010859286b fp 0x00007ffee7d31600 Dart_DumpNativeStackTrace+0x4b
  pc 0x0000000107ede951 fp 0x00007ffee7d316e0 dart::Assert::Fail(char const*, ...)+0x91
  pc 0x0000000108547e39 fp 0x00007ffee7d31820 dart::compiler::Intrinsifier::Intrinsify(dart::ParsedFunction const&, dart::FlowGraphCompiler*)+0xe309
  pc 0x00000001083536af fp 0x00007ffee7d319b0 dart::FunctionEntryInstr::EmitNativeCode(dart::FlowGraphCompiler*)+0x4ef
  pc 0x00000001083487a7 fp 0x00007ffee7d31b90 dart::FlowGraphCompiler::CompileGraph()+0x987
  pc 0x00000001083022c1 fp 0x00007ffee7d32230 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0xd41
  pc 0x00000001083012c4 fp 0x00007ffee7d323f0 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x774
  pc 0x00000001082ffcb6 fp 0x00007ffee7d324a0 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x216
  pc 0x00000001082e9b57 fp 0x00007ffee7d325c0 dart::Precompiler::Iterate()+0x347
  pc 0x00000001082cad91 fp 0x00007ffee7d32960 dart::Precompiler::DoCompileAll()+0x52b1
  pc 0x00000001082c597e fp 0x00007ffee7d32e10 dart::Precompiler::CompileAll()+0x20fe
  pc 0x0000000107ed5f38 fp 0x00007ffee7d335f0 dart::bin::main(int, char**)+0x6398
  pc 0x00007fff70c71cc9 fp 0x00007ffee7d33600 start+0x1
-- End of DumpStackTrace
Dart snapshot generator failed with exit code -6
../../third_party/dart/runtime/vm/compiler/intrinsifier.cc: 118: error: expected: !function.HasUnboxedReturnValue()
version=2.10.1 (stable) (Tue Oct 6 10:54:20 2020 +0200) on "macos_simarm"
pid=5932, thread=775, isolate_group=isolate(0x7fe9f980a800), isolate=isolate(0x7fe9f980ec00)
isolate_instructions=0, vm_instructions=0
  pc 0x0000000108a13a3b fp 0x00007ffee7899650 Dart_DumpNativeStackTrace+0x4b
  pc 0x0000000108376ba1 fp 0x00007ffee7899730 dart::Assert::Fail(char const*, ...)+0x91
  pc 0x00000001089ccf45 fp 0x00007ffee7899810 dart::compiler::Intrinsifier::Intrinsify(dart::ParsedFunction const&, dart::FlowGraphCompiler*)+0x9755
  pc 0x00000001087dd3e8 fp 0x00007ffee7899980 dart::FunctionEntryInstr::EmitNativeCode(dart::FlowGraphCompiler*)+0x3b8
  pc 0x00000001087d2cf7 fp 0x00007ffee7899b50 dart::FlowGraphCompiler::CompileGraph()+0x977
  pc 0x000000010878a8a1 fp 0x00007ffee789a1f0 dart::PrecompileParsedFunctionHelper::Compile(dart::CompilationPipeline*)+0xd41
  pc 0x00000001087898a4 fp 0x00007ffee789a3b0 dart::PrecompileFunctionHelper(dart::Precompiler*, dart::CompilationPipeline*, dart::Function const&, bool)+0x774
  pc 0x0000000108788266 fp 0x00007ffee789a460 dart::Precompiler::CompileFunction(dart::Precompiler*, dart::Thread*, dart::Zone*, dart::Function const&)+0x216
  pc 0x00000001087721a7 fp 0x00007ffee789a580 dart::Precompiler::Iterate()+0x347
  pc 0x0000000108753381 fp 0x00007ffee789a920 dart::Precompiler::DoCompileAll()+0x52b1
  pc 0x000000010874df6e fp 0x00007ffee789add0 dart::Precompiler::CompileAll()+0x20fe
  pc 0x000000010836e188 fp 0x00007ffee789b5b0 dart::bin::main(int, char**)+0x6398
  pc 0x00007fff70c71cc9 fp 0x00007ffee789b5c0 start+0x1
-- End of DumpStackTrace
Dart snapshot generator failed with exit code -6

FAILURE: Build failed with an exception.

* Where:
Script '/Users/swifter/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 904

* What went wrong:
Execution failed for task ':app:compileFlutterBuildProfile'.
> Process 'command '/Users/swifter/development/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 22s
Running Gradle task 'assembleProfile'...
Running Gradle task 'assembleProfile'... Done                      23.4s
Gradle task assembleProfile failed with exit code 1
➜   dart --version
Dart SDK version: 2.10.1 (stable) (Tue Oct 6 10:54:20 2020 +0200) on "macos_x64"

Same issue
D:\flutter\fhive>flutter build apk --split-per-abi

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

../../third_party/dart/runtime\vm/compiler/backend/il.h: 1048: error: unreachable code
../../third_party/dart/runtime\vm/compiler/backend/il.h: 1048: error: unreachable code
Dart snapshot generator failed with exit code -1073740791
Dart snapshot generator failed with exit code -1073740791

FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\flutter\bin\flutter.bat'' 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 31s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      32.3s
Gradle task assembleRelease failed with exit code 1

Note that error Dart snapshot generator failed with exit code is just a generic indication that AOT compilation failed. It may be caused by plenty of different reasons including various compiler crashes. Some of the compiler crashes listed here in the comments might be already fixed, so it's worth trying the latest version of Flutter.
Consider filing separate issues for each particular error preceding Dart snapshot generator failed with exit code message (when building with -v option for verbose output), and please provide the reproducible example and output of flutter doctor -v so we could debug these problems. Without that information we might not be able to help.

Is there any way to send the reproducible source code securely outside github to you @alexmarkov ? My app haven't go public yet so I couldn't send it here and pretty unsure which part is causing the problem (have tried to isolate but unsuccessful).
Also, while this issue is happening on Windows (I've reported in #94850), the same app also is fail to build in linux platform on latest stable. I suspect that the issue is the same on both platform. Last successful build for this app in release mode is on flutter 2.1.3
flutter doctor -v output
[✓] Flutter (Channel stable, 2.8.0, on Ubuntu 20.04.3 LTS 5.11.0-41-generic,
    locale en_US.UTF-8)
    • Flutter version 2.8.0 at /home/satrio125/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (14 hours ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/satrio125/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /snap/android-studio/current/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /snap/android-studio/115/android-studio
    • Flutter plugin version 60.1.2
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] Android Studio
    • Android Studio at /snap/android-studio/current/android-studio
    • 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
    • android-studio-dir = /snap/android-studio/current/android-studio
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • SM A515F (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API
      30)
    • Chrome (web)      • chrome             • web-javascript • Google Chrome
      96.0.4664.93

• No issues found!

Build log flutter build apk --release -vv
[ +121 ms] 💪 Building with sound null safety 💪
[  +35 ms] Running Gradle task 'assembleRelease'...
[   +7 ms] Using gradle from /home/satrio125/AndroidStudioProjects/sahabat_agro/android/gradlew.
[  +35 ms] executing: /snap/android-studio/current/android-studio/jre/bin/java -version
[ +311 ms] Exit code 0 from: /snap/android-studio/current/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[        ] executing: [/home/satrio125/AndroidStudioProjects/sahabat_agro/android/] /home/satrio125/AndroidStudioProjects/sahabat_agro/android/gradlew -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64
-Ptarget=lib/main.dart -Pbase-application-name=android.app.Application -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=true assembleRelease
[+4423 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
[   +7 ms] Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
[   +1 ms] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
[   +1 ms] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
[  +11 ms] Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
[+3372 ms] > Task :app:compileFlutterBuildRelease
[   +3 ms] [ +118 ms] executing: uname -m
[        ] [  +56 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +9 ms] executing: [/home/satrio125/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +7 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] cf4400006550b70f28e4b4af815151d1e74846c6
[        ] [        ] executing: [/home/satrio125/snap/flutter/common/flutter/] git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[        ] [  +20 ms] Exit code 0 from: git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[   +1 ms] [        ] 2.8.0
[        ] [  +12 ms] executing: [/home/satrio125/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/satrio125/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +2 ms] [   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +95 ms] executing: [/home/satrio125/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +85 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [ +212 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [ +101 ms] Initializing file store
[        ] [  +62 ms] Skipping target: gen_localizations
[        ] [  +33 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/package_config_subset}
[   +2 ms] [  +68 ms] Found plugin emoji_picker_flutter at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/emoji_picker_flutter-1.0.7/
[        ] [  +13 ms] Found plugin firebase_core at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.10.0/
[        ] [   +4 ms] Found plugin firebase_core_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.2.0/
[        ] [   +2 ms] Found plugin firebase_messaging at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.1.0/
[        ] [   +3 ms] Found plugin firebase_messaging_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.1.0/
[        ] [   +6 ms] Found plugin flutter_plugin_android_lifecycle at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.4/
[   +3 ms] [   +1 ms] Found plugin flutter_secure_storage at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-4.2.1/
[        ] [   +4 ms] Found plugin google_maps_flutter at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.9/
[        ] [   +6 ms] Found plugin image_picker at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.4+1/
[        ] [   +1 ms] Found plugin image_picker_for_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.4/
[        ] [   +3 ms] Found plugin location at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.3.0/
[        ] [   +2 ms] Found plugin location_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/location_web-3.1.1/
[        ] [   +7 ms] Found plugin path_provider at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.4/
[        ] [   +1 ms] Found plugin path_provider_linux at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.0/
[        ] [   +1 ms] Found plugin path_provider_macos at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/
[        ] [   +1 ms] Found plugin path_provider_windows at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[        ] [   +8 ms] Found plugin share_plus at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus-3.0.1/
[        ] [   +2 ms] Found plugin share_plus_macos at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_macos-2.0.2/
[        ] [   +2 ms] Found plugin share_plus_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/share_plus_web-2.0.4/
[        ] [   +1 ms] Found plugin shared_preferences at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.7/
[        ] [   +1 ms] Found plugin shared_preferences_linux at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[        ] [   +1 ms] Found plugin shared_preferences_macos at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[        ] [   +1 ms] Found plugin shared_preferences_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[        ] [   +1 ms] Found plugin shared_preferences_windows at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[        ] [   +1 ms] Found plugin sqflite at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.0+4/
[        ] [   +6 ms] Found plugin url_launcher at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.10/
[        ] [   +1 ms] Found plugin url_launcher_linux at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.2/
[        ] [   +1 ms] Found plugin url_launcher_macos at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.2/
[        ] [   +1 ms] Found plugin url_launcher_web at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[        ] [        ] Found plugin url_launcher_windows at /home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[        ] [  +50 ms] gen_dart_plugin_registrant: Complete
[        ] [   +2 ms] kernel_snapshot: Starting due to {}
[        ] [  +23 ms] /home/satrio125/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/ --target=flutter --no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=true --aot --tfa
--packages /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/package_config.json --output-dill /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill
--depfile /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/kernel_snapshot.d /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/generated_main.dart
[+49455 ms] [+49950 ms] kernel_snapshot: Complete
[ +999 ms] [+1034 ms] android_aot_release_android-arm: Starting due to {}
[        ] [  +11 ms] executing: /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot --deterministic --snapshot_kind=app-aot-elf
--elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/armeabi-v7a/app.so --strip --no-sim-use-hardfp --no-use-integer-division
/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill
[   +1 ms] [        ] aot_android_asset_bundle: Starting due to {}
[        ] [  +19 ms] android_aot_release_android-arm64: Starting due to {}
[        ] [        ] executing: /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm64-release/linux-x64/gen_snapshot --deterministic --snapshot_kind=app-aot-elf
--elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/arm64-v8a/app.so --strip
/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill
[   +1 ms] [        ] android_aot_release_android-x64: Starting due to {}
[        ] [        ] executing: /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-x64-release/linux-x64/gen_snapshot --deterministic --snapshot_kind=app-aot-elf
--elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/x86_64/app.so --strip
/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill
[ +195 ms] [ +184 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +200 ms] [ +143 ms] Running command: /home/satrio125/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/const_finder.dart.snapshot --kernel-file
/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill --class-library-uri package:flutter/src/widgets/icon_data.dart --class-name IconData
[+4900 ms] [+4954 ms] Running font-subset: /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/font-subset
/home/satrio125/AndroidStudioProjects/sahabat_agro/build/app/intermediates/flutter/release/flutter_assets/packages/flutter_feather_icons/fonts/feather.ttf
/home/satrio125/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_feather_icons-2.0.0+1/fonts/feather.ttf, using codepoints 59776 59796 59801 59906 59777 59689 59853 59744 59683 59875 59811 59715 59802 59813
59883 59856 59888 59739 59861 59836 59791 59743 59672 59832 59691 59919
[   +1 ms] [   +3 ms] Running font-subset: /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/font-subset
/home/satrio125/AndroidStudioProjects/sahabat_agro/build/app/intermediates/flutter/release/flutter_assets/fonts/MaterialIcons-Regular.otf
/home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.otf, using codepoints 57402 58945 58529 57946 57820 58280 58236 57906 57998 58727 58332 57490 57491 57706 57496 58372 58370 61257
58530 61465 58873 62842 58447 57948 61464<PHONE_NUMBER>8 57785 58198 57415 61214 61728 62834 63045 58876 58877 57685 58737 62764<PHONE_NUMBER>05 58771 63023
[   +1 ms] [  +40 ms] aot_android_asset_bundle: Complete
[+11706 ms] [+11696 ms] ===== CRASH =====
[        ] [   +5 ms] si_signo=Segmentation fault(11), si_code=1, si_addr=(nil)
[ +388 ms] [ +395 ms] Dart snapshot generator failed with exit code -6
[ +600 ms] [ +592 ms] ===== CRASH =====
[   +1 ms] [        ] si_signo=Segmentation fault(11), si_code=1, si_addr=(nil)
[ +397 ms] [ +369 ms] Dart snapshot generator failed with exit code -6
[ +800 ms] [ +810 ms] ===== CRASH =====
[        ] [        ] si_signo=Segmentation fault(11), si_code=1, si_addr=(nil)
[ +299 ms] [ +282 ms] Dart snapshot generator failed with exit code -6
[        ] [   +1 ms] Persisting file store
[        ] [  +33 ms] Done persisting file store
[ +101 ms] [  +61 ms] Target android_aot_release_android-arm failed: Exception: AOT snapshotter exited with code -6
[        ]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:257:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #6      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #7      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #16     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[        ] [   +1 ms] Target android_aot_release_android-x64 failed: Exception: AOT snapshotter exited with code -6
[        ]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:257:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #6      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[   +3 ms]            <asynchronous suspension>
[        ]            #7      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[   +2 ms]            #13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[  +10 ms]            <asynchronous suspension>
[        ]            #16     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[   +3 ms] [   +1 ms] Target android_aot_release_android-arm64 failed: Exception: AOT snapshotter exited with code -6
[        ]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:257:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[   +7 ms]            #6      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[   +7 ms]            <asynchronous suspension>
[        ]            #7      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #8      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[   +2 ms]            #12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #13     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[   +1 ms]            #14     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[   +4 ms]            #15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #16     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[  +37 ms] [  +55 ms] "flutter assemble" took 71,312ms.
[        ] [  +62 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140: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:288: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:236:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62: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:94:3)
[        ]            <asynchronous suspension>
[ +195 ms] [ +152 ms] ensureAnalyticsSent: 147ms
[        ] [  +15 ms] Running shutdown hooks
[        ] [   +3 ms] Shutdown hooks complete
[   +3 ms] [   +1 ms] exiting with code 1
[ +194 ms] > Task :app:compileFlutterBuildRelease FAILED
[ +200 ms] FAILURE: Build failed with an exception.
[   +1 ms] * Where:
[        ] Script '/home/satrio125/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1070
[        ] * What went wrong:
[   +1 ms] Execution failed for task ':app:compileFlutterBuildRelease'.
[        ] > Process 'command '/home/satrio125/snap/flutter/common/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.
[   +2 ms] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 1m 18s
[   +6 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[   +2 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[   +2 ms] 1 actionable task: 1 executed
[ +384 ms] Running Gradle task 'assembleRelease'... (completed in 79.4s)
[  +10 ms] "flutter apk" took 86,645ms.
[   +8 ms] Gradle task assembleRelease 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:400:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:179:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:108:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

@satrio1256 Unfortunately we cannot debug problems that require looking at proprietary code (https://github.com/flutter/flutter/wiki/Issue-hygiene#provide-reduced-test-cases).
In order to figure out which part of the program caused compiler to crash you can run gen_snapshot directly (as printed in the verbose output after executing:) with --trace-compiler flag:
/home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot --trace-compiler --deterministic --snapshot_kind=app-aot-elf --elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/armeabi-v7a/app.so --strip --no-sim-use-hardfp --no-use-integer-division /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill

Hope this helps to narrow down the problem and create a small reproducible example. Also, it could be useful to run gen_snapshot under gdb (gdb --args ....) and printing stack trace when it crashes (bt).

Got it.. After running the command with --trace-compiler the issue is found when running code similar to this over flutter bloc:
However, I could not replicate it on hello world app unless I copy most of the code from my app.
Both Linux and Windows build stuck on the same line
class TutorialBloc extends Bloc<TutorialEvents, TutorialStates> {
  final TutorialServiceProvider serviceProvider;

  TutorialBloc({required this.serviceProvider}) : super(TutorialInitState());

  @override
  Stream<TutorialStates> mapEventToState(TutorialEvents event) async* {
    // Successfull build when code below is commented out
    switch (event.action) {
      default:
        yield TutorialInitState();
    }
  }
}

@satrio1256 I wasn't able to reproduce the crash with the snippet you provided. It could be that some important details are missing. I would suggest to start with the full code and the cut parts of mapEventToState and everything used from that method as long as crash still reproduces. You can also try to stub/mock all classes used from mapEventToState and see if crash still appears. The resulting code doesn't have to work, but it should be syntactically correct and crash the compiler.

Also, I could not run the snapshot under gdb, can you help me with the full command?

Make sure gdb is installed on your linux machine (sudo apt-get install gdb if apt works for you).
The full gdb command would be
gdb --args /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot --trace-compiler --deterministic --snapshot_kind=app-aot-elf --elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/armeabi-v7a/app.so --strip --no-sim-use-hardfp --no-use-integer-division /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill

Once gdb has started, you can use the following commands to run gen_snapshot and print stack trace when it crashes:
r
bt

Okay, I've run it inside gdb and here is the bt command output:
--> 'package:sahabat_agro/bloc/homepage/events.dart_HomepageAction_toString' entry: 0x7ffff4787fe0 size: 78 time: 296 us
Precompiling optimized function: 'package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState' @ token 472, size 168
--> 'package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState' entry: 0x7ffff4788040 size: 232 time: 1347 us
Precompiling optimized function: 'package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState__async_op' @ token 507, size 133

Thread 1 "gen_snapshot" received signal SIGSEGV, Segmentation fault.
0x00000000005b8ea5 in ?? ()
(gdb) bt
#0  0x00000000005b8ea5 in ?? ()
#1  0x00000000005b8cf4 in ?? ()
#2  0x0000000000664afd in ?? ()
#3  0x0000000000663c35 in ?? ()
#4  0x0000000000664340 in ?? ()
#5  0x0000000000587cbb in ?? ()
#6  0x0000000000588a81 in ?? ()
#7  0x0000000000584765 in ?? ()
#8  0x0000000000581ebf in ?? ()
#9  0x000000000057cd4b in ?? ()
#10 0x0000000000572cea in ?? ()
#11 0x0000000000571c69 in ?? ()
#12 0x00000000006fbd36 in ?? ()
#13 0x000000000034014a in ?? ()
#14 0x00007ffff7c6f0b3 in __libc_start_main (main=0x340d40, argc=7, argv=0x7fffffffd8f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd8e8) at ../csu/libc-start.c:308
#15 0x000000000033f5ca in _start ()

However, I'm still unable to reproduce the code outside my main app since mapEventToState is actually an override method from flutter bloc.
Will add more info here if I'm able to reproduce it outside my main app

The gen_snapshot stack trace doesn't seem to match Flutter 2.8.0 (cf44000065), the version from https://github.com/flutter/flutter/issues/66765#issuecomment-989792651.
Could you run
/home/satrio125/snap/flutter/bin/flutter doctor -v
/home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot --version
md5sum /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot

before running the same gen_snapshot under gdb?

If I provide you an app.dill file, can you debug it from there?

Yes, we could. However, note that app.dill file contains a high-level (AST) representation of your application and can be easily decoded back to Dart source code.

Here you go, directory is a bit different but the error still the same
$ /home/satrio125/snap/flutter/common/flutter/bin/flutter doctor -v
[✓] Flutter (Channel stable, 2.8.0, on Ubuntu 20.04.3 LTS 5.11.0-41-generic, locale en_US.UTF-8)
    • Flutter version 2.8.0 at /home/satrio125/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (6 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/satrio125/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /snap/android-studio/current/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /snap/android-studio/115/android-studio
    • Flutter plugin version 63.0.1
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] Android Studio
    • Android Studio at /snap/android-studio/current/android-studio
    • 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
    • android-studio-dir = /snap/android-studio/current/android-studio
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • SM A515F (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 96.0.4664.93

• No issues found!

$ /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot --version
Dart SDK version: 2.15.0 (stable) (Fri Dec 3 14:23:23 2021 +0100) on "linux_arm"

md5sum /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot
325bcf27477eb96413b9404335e31ffb  /home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-arm-release/linux-x64/gen_snapshot

/home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-x64-release/linux-x64/gen_snapshot --deterministic --trace-compiler --snapshot_kind=app-aot-elf --elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/x86_64/app.so --strip /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill

--> 'package:sahabat_agro/bloc/homepage/events.dart_HomepageAction_toString' entry: 0x7ffff4910a10 size: 78 time: 381 us
Precompiling optimized function: 'package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState' @ token 472, size 168
--> 'package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState' entry: 0x7ffff4910a70 size: 232 time: 1715 us
Precompiling optimized function: 'package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState__async_op' @ token 507, size 133

Thread 1 "gen_snapshot" received signal SIGSEGV, Segmentation fault.
0x00000000005b8ea5 in ?? ()
(gdb) bt
#0  0x00000000005b8ea5 in ?? ()
#1  0x00000000005b8cf4 in ?? ()
#2  0x0000000000664afd in ?? ()
#3  0x0000000000663c35 in ?? ()
#4  0x0000000000664340 in ?? ()
#5  0x0000000000587cbb in ?? ()
#6  0x0000000000588a81 in ?? ()
#7  0x0000000000584765 in ?? ()
#8  0x0000000000581ebf in ?? ()
#9  0x000000000057cd4b in ?? ()
#10 0x0000000000572cea in ?? ()
#11 0x0000000000571c69 in ?? ()
--Type <RET> for more, q to quit, c to continue without paging--c
#12 0x00000000006fbd36 in ?? ()
#13 0x000000000034014a in ?? ()
#14 0x00007ffff7c6f0b3 in __libc_start_main (main=0x340d40, argc=7, argv=0x7fffffffd8f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd8e8) at ../csu/libc-start.c:308
#15 0x000000000033f5ca in _start ()

Thank you, @satrio1256 !
Now I can decode top of the stack trace:
ConstantPropagator::EliminateRedundantBranches
ConstantPropagator::OptimizeBranches
CompilerPass_OptimizeBranches::DoBody

This crash happened while compiler has been optimizing redundant branches (it has been looking for conditional branches with both true and false outcomes leading to the same place).
Could you post the source code just for the TutorialBloc.mapEventToState method? You can try to remove as much code from mapEventToState as possible as long as compiler still crashes.
After that, could you please run
/home/satrio125/snap/flutter/common/flutter/bin/cache/artifacts/engine/android-x64-release/linux-x64/gen_snapshot --compiler-passes=[OptimizeBranches --print-flow-graph --print-flow-graph-filter=TutorialBloc_mapEventToState__async_op --deterministic --snapshot_kind=app-aot-elf --elf=/home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/x86_64/app.so --strip /home/satrio125/AndroidStudioProjects/sahabat_agro/.dart_tool/flutter_build/f0ef419189f0e5c533d7e6feb79a1792/app.dill

and post the output here? That should print the internal representation of TutorialBloc.mapEventToState method right before the optimization pass which crashed.

Here is the content of TutorialBloc.mapEventToState method:
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:sahabat_agro/bloc/dashboard/tutorial/events_tutorial.dart'; // Events_Tutorial
import 'package:sahabat_agro/bloc/dashboard/tutorial/states_tutorial.dart'; // States_Tutorial
import 'package:sahabat_agro/services/dashboard/tutorial_services.dart'; // Tutorial_Services

class TutorialBloc extends Bloc<TutorialEvents, TutorialStates> {
  final TutorialServiceProvider serviceProvider;

  TutorialBloc({required this.serviceProvider}) : super(TutorialInitState());

  @override
  Stream<TutorialStates> mapEventToState(TutorialEvents event) async* {
    switch (event.action) {
      default:
        yield TutorialInitState();
    }
  }
}

//
// Events_Tutorial
//
enum TutorialAction {
  dummyData
}

class TutorialEvents {
  final TutorialAction action;

  const TutorialEvents({required this.action});
}

//
// States_Tutorial
//
abstract class TutorialStates {}
class TutorialInitState extends TutorialStates {}
class TutorialLoading extends TutorialStates {}
class TutorialLoaded extends TutorialStates {}

//
// Tutorial_Services
//
import 'package:sahabat_agro/services/base_service.dart';

abstract class TutorialAction {
  Future<String> getTutorial();
}

class TutorialServiceProvider extends BaseService implements TutorialAction {
  @override
  Future<String> getTutorial() {
    // TODO: implement getSponsored
    throw UnimplementedError();
  }
}

And here is the log for the command you requested
*** BEGIN CFG
Before OptimizeBranches
==== package:sahabat_agro/bloc/dashboard/tutorial/bloc_tutorial.dart_TutorialBloc_mapEventToState__async_op (ClosureFunction)
B0[graph]:0 {
      v0 <- Constant(#null) T{Null?}
      v1 <- Constant(#<optimized out>) T{_OneByteString}
      v60 <- Constant(#1) [1, 1] T{_Smi}
      v84 <- Constant(#0) [0, 0] T{_Smi}
      v93 <- Constant(#Attempt to execute code removed by Dart AOT compiler (TFA)) T{_OneByteString}
      v96 <- Constant(#2) [2, 2] T{_Smi}
      v101 <- Constant(#3) [3, 3] T{_Smi}
}
B1[function entry]:2 {
      v54 <- SpecialParameter(ArgDescriptor) T{_ImmutableList}
}
    v56 <- LoadField(v54 . ArgumentsDescriptor.positional_count {final}) [0,<PHONE_NUMBER>] T{_Smi}
    v58 <- LoadField(v54 . ArgumentsDescriptor.count {final}) [0,<PHONE_NUMBER>] T{_Smi}
    v61 <- BinarySmiOp:4(- [tr], v58, v60) [-1,<PHONE_NUMBER>] T{_Smi}
    v63 <- LoadIndexedUnsafe(rbp[v61 + 16]) T{*?}
    Branch if RelationalOp:6(<=, v60, v61) T{bool} goto (2, 3)
B2[target]:12
    v94 <- LoadIndexedUnsafe(rbp[v61 + 8]) T{*?}
    Branch if RelationalOp:20(<=, v96, v61) T{bool} goto (5, 6)
B5[target]:26
    v99 <- LoadIndexedUnsafe(rbp[v61 + 0]) T{*?}
    Branch if RelationalOp:36(<=, v101, v61) T{bool} goto (8, 9)
B8[target]:42
    v104 <- LoadIndexedUnsafe(rbp[v61 + -8]) T{*?}
    goto:52 B11
B9[target]:44
    goto:46 B7
B6[target]:28
    goto:30 B4
B3[target]:14
    goto:18 B4
B4[join]:16 pred(B3, B6) {
      v68 <- phi(v0, v94) alive T{*?}
}
    goto:34 B7
B7[join]:32 pred(B4, B9) {
      v70 <- phi(v68, v94) alive T{*?}
      v72 <- phi(v0, v99) alive T{*?}
}
    goto:50 B11
B11[join]:48 pred(B7, B8) {
      v74 <- phi(v70, v94) alive T{*?}
      v76 <- phi(v72, v99) alive T{*?}
      v78 <- phi(v0, v104) alive T{*?}
}
    v80 <- LoadField(v63 . Closure.context {final}) T{Context}
    CheckStackOverflow:58(stack=0, loop=0)
    v82 <- LoadField(v80 . :await_jump_var) T{int?}
    Branch if StrictCompare:146(===, v82, v84) goto (24, 25)
B24[target]:150
    v87 <- AllocateContext:60(num_variables=1) T{Context}
    StoreInstanceField(v87 . Context.parent = v80)
    StoreInstanceField(v80 . :saved_try_context_var0 = v87)
    goto:64 B12
B12[join try_idx 0]:62 pred(B24)
    StoreInstanceField(v80 . :saved_try_context_var1 = v87)
    goto:70 B14
B14[join try_idx 1]:68 pred(B12)
    Throw:74(v93)
B25[target try_idx 1]:152
    v85 <- LoadField(v80 . :await_ctx_var) T{*?}
    Branch if StrictCompare:106(===, v76, v0) goto (19, 20)
B19[target try_idx 1]:110
B20[target try_idx 1]:112
    v114 <- Redefinition(v76 ^ T{*}) T{*}
    ReThrow:114(v114 T{*}, v78)
B15[target catch try_idx 0 catch_try_idx 1] {
      v25 <- Parameter(0) T{*?}
      v26 <- Parameter(1) T{*?}
      v27 <- Parameter(2) T{*?}
      v28 <- Parameter(3) T{*?}
      v29 <- Parameter(4) T{*?}
      v30 <- Parameter(5) T{*?}
      v31 <- Parameter(6) T{*?}
      v32 <- SpecialParameter(Exception) T{*}
      v33 <- SpecialParameter(StackTrace) T{*?}
      v34 <- Parameter(9) T{*?}
      v35 <- Parameter(10) T{*?}
      v36 <- Parameter(11) T{*?}
      v37 <- Parameter(12) T{*?}
}
    v38 <- LoadField(v25 . Closure.context {final}) T{Context}
    v40 <- LoadField(v38 . :saved_try_context_var1) T{*?}
    v42 <- LoadField(v40 . Context.parent {final}) T{Context?}
    v44 <- LoadField(v42 . :controller) T{_AsyncStarStreamController<TutorialStates>??}
    v108 <- CheckNull:120(v44, NoSuchMethodError) T{_AsyncStarStreamController<TutorialStates>?}
    v46 <- StaticCall:122( addError<0> v108 T{_AsyncStarStreamController<TutorialStates>?}, v32, v33, using unchecked entrypoint, result_type = T{*?}) T{void?}
    goto:128 B13
B13[join]:126 pred(B15)
    v50 <- LoadField(v42 T{Context?} . :controller) T{_AsyncStarStreamController<TutorialStates>??}
    v110 <- CheckNull:130(v50, NoSuchMethodError) T{_AsyncStarStreamController<TutorialStates>?}
    v52 <- StaticCall:132( close<0> v110 T{_AsyncStarStreamController<TutorialStates>?}, using unchecked entrypoint, result_type = T{*?}) T{*?}
    Return:144(v0)
B23[target catch try_idx -1 catch_try_idx 0] {
      v2 <- Parameter(0) T{*?}
      v3 <- Parameter(1) T{*?}
      v4 <- Parameter(2) T{*?}
      v5 <- Parameter(3) T{*?}
      v6 <- Parameter(4) T{*?}
      v7 <- Parameter(5) T{*?}
      v8 <- Parameter(6) T{*?}
      v9 <- SpecialParameter(Exception) T{*}
      v10 <- SpecialParameter(StackTrace) T{*?}
      v11 <- Parameter(9) T{*?}
      v12 <- Parameter(10) T{*?}
      v13 <- Parameter(11) T{*?}
      v14 <- Parameter(12) T{*?}
}
    v15 <- LoadField(v2 . Closure.context {final}) T{Context}
    v17 <- LoadField(v15 . :saved_try_context_var0) T{*?}
    v19 <- LoadField(v17 . Context.parent {final}) T{Context?}
    v21 <- LoadField(v19 . :controller) T{_AsyncStarStreamController<TutorialStates>??}
    v106 <- CheckNull:138(v21, NoSuchMethodError) T{_AsyncStarStreamController<TutorialStates>?}
    v23 <- StaticCall:140( close<0> v106 T{_AsyncStarStreamController<TutorialStates>?}, using unchecked entrypoint, result_type = T{*?}) T{*?}
    ReThrow:142(v9, v10)
*** END CFG

Thread 1 "gen_snapshot" received signal SIGSEGV, Segmentation fault.
0x00000000005b8ea5 in ?? ()

Thank you, @satrio1256. Here is a standalone reproduction:
class TutorialBloc {
  TutorialBloc();

  Stream<TutorialStates> mapEventToState(TutorialEvents event) async* {
    switch (event.action) {
      default:
        yield TutorialInitState();
    }
  }
}

enum TutorialAction { dummyData }

class TutorialEvents {
  final TutorialAction action;
  const TutorialEvents(this.action);
}

abstract class TutorialStates {}

class TutorialInitState extends TutorialStates {}

List<dynamic> l = [TutorialBloc()];

void main() async {
  if (l.length > 1) {
    l[0].mapEventToState(42);
  }
}

Possible fix: https://dart-review.googlesource.com/c/sdk/+/224220.
Please note that this will fix only the crash reported by @satrio1256. Other crashes mentioned in this issue are likely caused by different bugs.

That was really quick!
Thank you @alexmarkov, will wait until it is merged to main branch :smile:

The fix was rolled into Flutter in 5087f2de4ca677231d6e89929ef05312cd97847d.


Typo in workshop ContinuousDeployment.md

In the AL-GO workshop, in ContinuousDeployment.md, there is a typo.
In the following section there is a typo. It says 'This will generate an Aothorization context for the environment' whilst it should say 'This will generate an Authorization context for the environment'

I will try to fix it myself and make my own PR for it

I created a PR and it can be found here: https://github.com/microsoft/AL-Go/pull/855


Set default value for repository.

Use the current repo if no value is specified.
With this change, the following is supported to download a release from the current repository.
- uses: robinraju/release-downloader@main
  with:
    latest: true
    fileName: "foo.zip"

excellent, thank you!


Add iter_cow_from

Similar to iter_from, it would be useful to have iter_cow_from for mutating a range of indices.

Context for where this would be useful in Lighthouse:

https://github.com/sigp/lighthouse/pull/6496/files#r1883342890


Add ABI checking test for Distributed

We did once accidentally break ABI and it caused all kinds of trouble in undoing it since it was rather late.
We should have ABI testing, which this PR adds.
Resolves rdar://106067256

I prepared a digester dump using: ``
However struggle to figure out this error:
/Users/ktoso/code/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/bin/swift-api-digester -target arm64-apple-macosx10.13 -diagnose-sdk -module Distributed -o /Users/ktoso/code/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/test-macosx-arm64/api-digester/Output/stability-distributed-abi.test.tmp.tmp/changes.txt -module-cache-path /Users/ktoso/code/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/test-macosx-arm64/api-digester/Output/stability-distributed-abi.test.tmp.tmp/module-cache -sdk /Users/ktoso/code/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/test-macosx-arm64/api-digester/Output/stability-distributed-abi.test.tmp.tmp/dummy.sdk -abi -avoid-location

<unknown>:0: warning: no such sysroot directory: '/Users/ktoso/code/swift-project/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/test-macosx-arm64/api-digester/Output/stability-distributed-abi.test.tmp.tmp/dummy.sdk'
<unknown>:0: warning: using sysroot for 'dummy' but targeting 'MacOSX'
<unknown>:0: error: cannot load underlying module for 'Darwin'
Failed to load module: Distributed

Does this ring any bells?

Superseded by https://github.com/apple/swift/pull/71911


[Vue warn]: failed to compile template:

In my local enviroment with wampserver 3.0 ,the project is normal. but when I deployed the project to the vps, I saw this being given, exactly in http://xxxx/admin/post/1/edit.
I am not very familiar with vue 2.0, I found some information here, but I wonder why I am local all normal, the edit page on the show.
Hope you could help me,tanks a lot

@kylesean What is the error you're receiving?

@austintoddj Sorry，as you can see this:

Interesting. @talvbansal Any idea on this?

@austintoddj This is caused by the vue component for markdown editor

Hey guys this is really weird, Nothing has changed as far as canvas and the media manager is concerned, are you sure that all the pages resources are being downloaded?
Is there anything else you can provide us with to help diagnose the issue here?

@talvbansal That's all ,so I deleted the entire project, and then re-installed, the problem is gone. I guess it should be with the cache or the integrity of the static resources.But it's so weird, it sometimes happens again.

@kylesean That is very odd to be happening. If you ever discover the source of this, please let us know on here. If this issue is resolved enough for you to continue using the application, please close the issue out. Thanks again for bringing this to our attention!


feat(explorer): add background to search suggestions

Fixes #4068

why don't you just add the backdrop-blur bg-neutral-100 dark:bg-neutral-10 class in line 165 in apps/ui-kit/src/lib/components/molecules/search/Search.tsx and fix all of them? now, it doesn't have a background, so adding this can resolve the issue in all the search bars with suggestions 💡

To be able to make the suggestions background as we want. Like this the search bar looks like it has the same background blur as the navbar, which makes it seem more unified in my opnion

why don't you just add the backdrop-blur bg-neutral-100 dark:bg-neutral-10 class in line 165 in apps/ui-kit/src/lib/components/molecules/search/Search.tsx and fix all of them? now, it doesn't have a background, so adding this can resolve the issue in all the search bars with suggestions 💡

To be able to make the suggestions background as we want. Like this the search bar looks like it has the same background blur as the navbar, which makes it seem more unified in my opnion

honestly, it makes more sense to me that all the search bars have the same style for the suggestions, but it's ok


accumulation of lysosomal storage material

From Monika:
What MP term do I use if the authors state that accumulation of lysosomal storage material is seen in certain parts of the brain?
(see genotype MGI:3759418).
I wonder if we could have some sort of lysosomal storage term? I’m seeing that accumulation of lysosomal storage material is annotated to all sorts of things…from the different brain regions to abnormal lysosome morphology or physiology and we are not being very consistent in how we annotate lysosomal storage. Maybe something Sue and you could discuss to see if we could have a new term?

Check annotations under lysosomal protein accumulation MP:0005059
lysosomal_protein_accum2020-12-07.txt

add synonym
accumulation of lysosomal storage material
review annotations add location specific children, consider if the child is relevant for disease, how many annotations to that tissue, stay with broader tissue, does accumulation only in that tissue with a specific mutation


Gh 948

I have added a catch of Runtime errors in the app initialisation and logged them as errors before rethrowing


too many pages created due to author names with commas

for example,
the page highlights/book/Abundance: The Future Is Better Than You Think
has this metadata:
type:: Book
last_sync:: 2022-08-19T06:00:10.749Z
author:: Diamandis, Peter H.;Kotler, Steven
alias:: Abundance - Highlights
title:: highlights/book/Abundance: The Future Is Better Than You Think
source-book-ids:: c09ed53e1147551a70d5e4de53802532100ac485f3914c5be09f5f85

when I go to "all pages", in logseq, i see this:

looks like all the comma characters cause a new page to be created.
The same also happens with single-author books, for example
author:: Vance, Ashlee
alias:: Elon Musk - Highlights

this will create a page "Vance", and one "Ashlee"

I was thinking about this one earlier. Are you okay with author pages being created with correct names (that would be my preference) or would you like the option to store them as a string w/o links?

I don't understand the question but author pages with correct names sounds great. I would not try to rearrange names, but just honor the syntax which kindle uses, which is ";" separates between names and "," is part of text and can be ignored.
So it would be pages like "Vance, Ashlee", "Diamandis, Peter H" and "Kotler, Steven" ?  Is there a tradeoff or downside in doing this ?

No downside, I just prefer names without the comma. I'll add an option so that I can remove the comma but have it default to the order that Kindle has it.
Thanks for the feedback!

I tried the new "Author First Name First" option, but it doesn't change anything for me. I even tried restarting logseq. After every re-import of highlights, the authors appear exactly in the book page medatadata as they did before.  Anyway, i think this problem is orthogonal to whether first name comes first or not, as it is caused by the "," in the authors, and lack of [[ ]] around metadata values with whitespace
after checking https://docs.logseq.com/#/page/term%2Fproperties and doing some of my own experimentation, it looks like instead of formatting like so:
author:: Diamandis, Peter H.;Kotler, Steven

it should instead be:
author:: [[Diamandis, Peter H.]], [[Kotler, Steven]]

i looked at your code changes, and it seems you already worked on something along these lines. but a new import does not have any effect. it still generates the old/incorrect syntax for me.
(i have plugin 1.16.7)

hmm.. it seems like if i delete all the highlight pages, and then re-import everything, it works as expected.
IOW. the exported pages are only truly refreshed if they are manually deleted first ?

Not sure why that's the case, I'm telling logseq to update the property on every import: https://github.com/theBenForce/logseq-plugin-my-highlights/blob/main/src/actions/syncBookHighlights.ts#L26


Shrink entire Taskbar

I have a 32:9 monitor, I use fancy zones so that I have a 16:9 window in the middle of my screen and 4 more smaller 16:9 windows on each side of the main window. I would like to be able to shrink the entire taskbar, so that it is only as wide a the 16:9 window
Thanks for the awesome software!

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Mastenode pages rough implementation

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
Rough implementation of Masternode pages
Which issue(s) does this PR fixes?:

Fixes #56
Screenshot

Codecov Report

Merging #83 (e46d2c1) into main (70f3ccf) will increase coverage by 12.56%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##             main      #83       +/-   ##
===========================================
+ Coverage   75.29%   87.86%   +12.56%
===========================================
  Files          13       16        +3
  Lines         170      206       +36
  Branches       27       32        +5
===========================================
+ Hits          128      181       +53
+ Misses         42       25       -17

Impacted Files
Coverage Δ

src/components/shared/Loader.tsx
100.00% <100.00%> (ø)

src/pages/masternodes.tsx
100.00% <100.00%> (ø)

src/pages/prices.tsx
100.00% <0.00%> (ø)

src/layouts/contexts/WhaleContext.tsx
82.60% <0.00%> (+8.69%)
:arrow_up:

src/layouts/contexts/api/NetworkQuery.tsx
85.71% <0.00%> (+30.95%)
:arrow_up:

src/pages/_app.tsx
100.00% <0.00%> (+40.00%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 70f3ccf...e46d2c1. Read the comment docs.

i'm thinking about the masternode listing information
perhaps
| masternodeid | status | amount| accumulated profit |


SUBMARINE-965. Users should not have the privilege to create experiments in different namespaces

What is this PR for?
In our multi-tenant architecture, users only can create experiments in their namespaces, but the Submarine workbench enables users to specify namespaces.

This patch aims to
What type of PR is it?
[Bug Fix]
Todos

Remove the function public void setNamespace(String namespace) in ExperimentMeta.java
Update experiment RESTful API (remove the field "namespace" in the JSON file)
Add a test case to make sure whether the experiment is in the namespace specified by ENV_NAMESPACE.

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-965
How should this be tested?
Test1

Step1: Use submarine-operator to create a submarine service in the namespace "submarine-user-test"
Step2: Create an experiment, and check whether the experiment is in the namespace "submarine-user-test" rather than "default".

Test2

Remove the field "namespace" in the Submarine workbench

Screenshots (if appropriate)

Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

@pingsutw Can you help me review this PR? Thanks!

@pingsutw Thank you for your review. I have added the assertion to ExperimentRestApiTest.java. In addition, I updated the TODO in this pull request description.
The integration test is very slow in "apache/submarine"; thus, I use the CI result of "kevin85421/hadoop-submarine" to ensure the correctness of this patch.
https://github.com/kevin85421/hadoop-submarine/actions/runs/1113309003

@kevin85421 I am confused about running mvn install -DskipTests again. I think it will take more time in the integration test.

@KUAN-HSUN-LI The command mvn install -DskipTests is used to upload the latest package to the local repository. To elaborate, the module submarine-test has a dependency submarine-server-core, and thus we need to upload the latest package. On the other hand, without the command, maven will repost errors.
For more details, you can check these two pull requests.
https://github.com/apache/submarine/pull/695/files
https://github.com/apache/submarine/pull/683/files
Thanks!

@kevin85421 Thanks for your reply!
At first, I had mentioned this problem therefore I saved the dependency in the cache. I wished it will use the latest dependency but it didn't work as I expect. For the reason to reduce the CI time and stable tests, I think it is useful to build the submarine in the e2e and k8s jobs.
(i.e. build -> submarine-e2e  =>  submarine-e2e  and  build -> submarine-k8s  =>  submarine-k8s )