Android and Flutter uses a lot of CPU and makes system freeze in Arch Linux

Details
So I have Arch Linux with AwesomeWM and i installed a flutter/android app development environment as explained here. The problem is that sometimes when I run flutter run, it freezes my system and I have to hard restart my system.
My system has a 8GB RAM and a Core i7- 8th gen CPU. I am wondering if it's the flutter SDK that causes this problem or it's just the gradle or something else? I tried the same project on windows and I did not have this issue. I also run the flutter app for web platform and I did not have this issue. It's only android/flutter which causes my system to freeze.

@Mohammadreza99A
I use manjaro (arch based) and works smoothly (better than ubuntu for example)
and my laptop is more potato than yours

neofetch
██████████████████  ████████   yakforward@yoga720
██████████████████  ████████   ------------------
██████████████████  ████████   OS: Manjaro Linux x86_64
██████████████████  ████████   Host: 80X6 Lenovo YOGA 720-13IKB
████████            ████████   Kernel: 5.10.42-1-MANJARO
████████  ████████  ████████   Uptime: 1 day, 22 mins
████████  ████████  ████████   Packages: 1184 (pacman), 11 (flatpak), 4 (snap)
████████  ████████  ████████   Shell: zsh 5.8
████████  ████████  ████████   Resolution: 1920x1080
████████  ████████  ████████   DE: GNOME 3.38.4
████████  ████████  ████████   WM: Mutter
████████  ████████  ████████   WM Theme: Matcha-dark-sea
████████  ████████  ████████   Theme: Matcha-dark-sea [GTK2/3]
████████  ████████  ████████   Icons: Papirus-Dark-Maia [GTK2/3]
                               Terminal: gnome-terminal
                               CPU: Intel i5-7200U (4) @ 3.100GHz
                               GPU: Intel HD Graphics 620
                               Memory: 2823MiB / 7682MiB

the issue might depend from the unofficial install in the link
I recommend to wipe it and to it the official way
if you experience issue that way
you may try my way as plan B

francesco's way
dart
dl  from https://dart.dev/tools/sdk/archive
ex Downloads/dartsdk-linux-x64-release.zip
mv dart-sdk development
echo "export PATH=/$HOME/development/dart-sdk/bin:$PATH" >> ~/.bashrc
echo "export PATH=/$HOME/.pub-cache/bin:$PATH" >> ~/.bashrc
source ~/.bashrc

flutter
dart pub global activate fvm
fvm global stable
echo "export PATH=/$HOME/fvm/default/bin/:$PATH" >> ~/.bashrc

sudo pacman -S ninja
sudo pacman -S clang
sudo pacman -S cmake
sudo pacman -S pkgconf
sudo pacman -S gtk3

you may also need
sudo pacman -S libmtp
sudo pacman -S android-udev

the java installation in the article you linked seems well done

@Mohammadreza99A  Please try the solutions provided by @iapicca, If you still face the issue feel free to revert back with the exact steps to reproduce the issue along with the output of flutter doctor -v to better address the issue.

@Mohammadreza99A
I use manjaro (arch based) and works smoothly (better than ubuntu for example)
and my laptop is more potato than yours
neofetch
the issue might depend from the unofficial install in the link
I recommend to wipe it and to it the official way
if you are still experiencing issue, you may try my way as plan B
francesco's way
the java installation in the article you linked seems well done

What do you mean by java installation? You mean android sdk and android platform and all of those stuffs?

@Mohammadreza99A
I use manjaro (arch based) and works smoothly (better than ubuntu for example)
and my laptop is more potato than yours
neofetch
the issue might depend from the unofficial install in the link
I recommend to wipe it and to it the official way
if you are still experiencing issue, you may try my way as plan B
francesco's way
the java installation in the article you linked seems well done

What do you mean by java installation? You mean android sdk and android platform and all of those stuffs?

@Mohammadreza99A
forget java for now...

step 1
wipe the unofficial installation of flutter you pulled from the article you linked
(anyway doesn't seem to work so isn't a big loss)

step 2
install flutter following the official link I linked above

steb 2.1
if something goes wrong thy my way (at least on my machine works)

step 3
if the installation is still broken provide the info requested above and I would add the log of flutter run -v

@Mohammadreza99A
I use manjaro (arch based) and works smoothly (better than ubuntu for example)
and my laptop is more potato than yours
neofetch
the issue might depend from the unofficial install in the link
I recommend to wipe it and to it the official way
if you are still experiencing issue, you may try my way as plan B
francesco's way
the java installation in the article you linked seems well done

What do you mean by java installation? You mean android sdk and android platform and all of those stuffs?

@Mohammadreza99A
forget java for now...

step 1
wipe the unofficial installation of flutter you pulled from the article you linked (anyway doesn't seem to work so isn't a big loss)

step 2
install flutter following the official docs I linked above

steb 2.1
if something goes wrong then you may want to try my way (at least on my machine works), but you don't have to

step 3
if the installation is still broken provide the info requested above and I would add the logs from flutter run -v

I installed the official way and I tested. The problem is always there. Sometimes it takes really long to compile and run the programmer on android emulator device and it freezes the system. It's really frustrating and it's not easy to take a output and share it with you. Most of the time it gets stuck on assembleDebug part. looks like that for the next month I have to work on windows for flutter development. I have to mention that i don't have this problem when I run flutter app in web or linux env.

I installed the official way and I tested. The problem is always there. Sometimes it takes really long to compile and run the programmer on android emulator device and it freezes the system.

 I don't recommend not to use an emulator with so few ram

Most of the time it gets stuck on assembleDebug part. looks like that for the next month I have to work on windows for flutter development. I have to mention that i don't have this problem when I run flutter app in web or linux env.

so the problem is android only, got it.

It's really frustrating and it's not easy to take a output and share it with you.

I'm not sure what could possibly be the difficulty of sharing logs, but I'll try to help you
connect to your machine a PHYSICAL android device
and run in your terminal (not in vscode and super not in android studio)
flutter doctor -v
mkdir issue86101
cd issue86101
flutter create counter
flutter run -v

please post the output of these commands,
if the logs are to verbose consider attaching as .txt file

I installed the official way and I tested. The problem is always there. Sometimes it takes really long to compile and run the programmer on android emulator device and it freezes the system.

 I don't recommend not to use an emulator with so few ram

Most of the time it gets stuck on assembleDebug part. looks like that for the next month I have to work on windows for flutter development. I have to mention that i don't have this problem when I run flutter app in web or linux env.

so the problem is android only, got it.

It's really frustrating and it's not easy to take a output and share it with you.

I'm not sure what could possibly be the difficulty of sharing logs, but I'll try to help you
connect to your machine a PHYSICAL android device
and run in your terminal (not in vscode and super not in android studio)
flutter doctor -v
mkdir issue86101
cd issue86101
flutter create counter
flutter run -v

please post the output of these commands,
if the logs are to verbose consider attaching as .txt file

I got all these things done. It ran just fine for the first time but as I said, the freezing happens when I run flutter run for bigger projects. I think the problem is really related to android setup and maybe gradle. I forgot to mention that I have upgraded my memory today to 16 gb. SO the emulator should work with out problem and on windows I don't have this problem.
Here is the output of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 4.2)
[✓] Android Studio
[✓] Connected device (2 available)

• No issues found!

and here is the output of flutter run -v :
[  +47 ms] executing: uname -m
[  +23 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +4 ms] executing: [/home/mohammadreza/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] executing: [/home/mohammadreza/Development/flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[   +8 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] 2.2.3
[   +4 ms] executing: [/home/mohammadreza/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/mohammadreza/Development/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +56 ms] executing: [/home/mohammadreza/Development/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +34 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.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[  +41 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb devices -l
[  +26 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_arm model:sdk_gphone_x86_arm device:generic_x86_arm transport_id:15
[   +4 ms] /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +21 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' 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.
[  +55 ms] Skipping pub get: version match.
[  +82 ms] Generating /home/mohammadreza/Development/issue86101/counter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +37 ms] ro.hardware = ranchu
[   +8 ms] Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +15 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +4 ms] complete
[   +2 ms] Launching lib/main.dart on sdk gphone x86 arm in debug mode...
[   +3 ms] /home/mohammadreza/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/mohammadreza/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/mohammadreza/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.NQJHDK/flutter_tool.MPHFQY/app.dill --packages /home/mohammadreza/Development/issue86101/counter/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +8 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +9 ms] <- compile package:counter/main.dart
[  +16 ms] --------- beginning of kernel
           07-10 22:21:09.181 I/init    (    0): Untracked pid 6156 received signal 1
[   +9 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb version
[  +19 ms] Android Debug Bridge version 1.0.41
           Version 31.0.2-7242960
           Installed as /home/mohammadreza/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb start-server
[   +5 ms] Building APK
[  +13 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] Using gradle from /home/mohammadreza/Development/issue86101/counter/android/gradlew.
[   +8 ms] executing: /opt/android-studio/jre/bin/java -version
[  +64 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
           OpenJDK 64-Bit Server VM (build 11.0.8+0-b944-6842174, mixed mode)
[   +1 ms] executing: [/home/mohammadreza/Development/issue86101/counter/android/] /home/mohammadreza/Development/issue86101/counter/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/home/mohammadreza/Development/issue86101/counter/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +152 ms] Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip
[+22136 ms] ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[        ] Unzipping /home/mohammadreza/.gradle/wrapper/dists/gradle-6.7-all/cuy9mc7upwgwgeb72wkcrupxe/gradle-6.7-all.zip to /home/mohammadreza/.gradle/wrapper/dists/gradle-6.7-all/cuy9mc7upwgwgeb72wkcrupxe
[+1897 ms] Set executable permissions for: /home/mohammadreza/.gradle/wrapper/dists/gradle-6.7-all/cuy9mc7upwgwgeb72wkcrupxe/gradle-6.7/bin/gradle
[ +377 ms] Welcome to Gradle 6.7!
[        ] Here are the highlights of this release:
[        ]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[        ] For more details see https://docs.gradle.org/6.7/release-notes.html
[  +94 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+45500 ms] File /home/mohammadreza/.android/repositories.cfg could not be loaded.
[ +399 ms] Checking the license for package Android SDK Build-Tools 29.0.2 in /home/mohammadreza/Android/Sdk/licenses
[        ] License for package Android SDK Build-Tools 29.0.2 accepted.
[        ] Preparing "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)".
[+8099 ms] "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" ready.
[        ] Installing Android SDK Build-Tools 29.0.2 in /home/mohammadreza/Android/Sdk/build-tools/29.0.2
[        ] "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" complete.
[ +199 ms] "Install Android SDK Build-Tools 29.0.2 (revision: 29.0.2)" finished.
[+3700 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +69 ms] executing: uname -m
[        ] [  +42 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +6 ms] executing: [/home/mohammadreza/Development/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
[        ] [        ] f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [        ] executing: [/home/mohammadreza/Development/flutter/] git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [  +35 ms] Exit code 0 from: git tag --points-at f4abaa0735eba4dfd8f33f73363911d63931fe03
[        ] [        ] 2.2.3
[        ] [   +5 ms] executing: [/home/mohammadreza/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/mohammadreza/Development/flutter/] git ls-remote --get-url origin
[        ] [   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +62 ms] executing: [/home/mohammadreza/Development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +48 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.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [ +138 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +4 ms] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' 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.
[        ] [        ] 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.
[        ] [  +62 ms] Initializing file store
[        ] [  +30 ms] Skipping target: gen_localizations
[        ] [   +6 ms] kernel_snapshot: Starting due to {}
[        ] [  +12 ms] /home/mohammadreza/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/mohammadreza/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/mohammadreza/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /home/mohammadreza/Development/issue86101/counter/.dart_tool/package_config.json --output-dill /home/mohammadreza/Development/issue86101/counter/.dart_tool/flutter_build/7ff31a44e5f3de9bb0b9f59718ded4b3/app.dill --depfile /home/mohammadreza/Development/issue86101/counter/.dart_tool/flutter_build/7ff31a44e5f3de9bb0b9f59718ded4b3/kernel_snapshot.d package:counter/main.dart
[+11191 ms] [+12184 ms] kernel_snapshot: Complete
[ +700 ms] [ +648 ms] debug_android_application: Starting due to {}
[ +199 ms] [ +175 ms] debug_android_application: Complete
[ +500 ms] [ +536 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +4 ms] build succeeded.
[        ] [   +9 ms] "flutter assemble" took 13,835ms.
[ +199 ms] [ +156 ms] ensureAnalyticsSent: 153ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +199 ms] > Task :app:packLibsflutterBuildDebug
[   +1 ms] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[   +3 ms] > Task :app:generateDebugBuildConfig
[+2294 ms] > Task :app:checkDebugAarMetadata
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[  +99 ms] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +199 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[+1099 ms] > Task :app:createDebugCompatibleScreenManifests
[        ] > Task :app:extractDeepLinksDebug
[        ] > Task :app:mergeDebugResources
[ +199 ms] > Task :app:processDebugMainManifest
[ +299 ms] > Task :app:processDebugManifest
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:javaPreCompileDebug
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[ +699 ms] > Task :app:compressDebugAssets
[+3999 ms] > Task :app:checkDebugDuplicateClasses
[ +600 ms] > Task :app:mergeDebugJniLibFolders
[ +100 ms] > Task :app:desugarDebugFileDependencies
[+1599 ms] > Task :app:mergeDebugNativeLibs
[+14999 ms] > Task :app:stripDebugDebugSymbols
[   +2 ms] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[ +899 ms] > Task :app:mergeExtDexDebug
[ +698 ms] > Task :app:validateSigningDebug
[        ] > Task :app:processDebugManifestForPackage
[ +498 ms] > Task :app:processDebugResources
[+7700 ms] > Task :app:compileDebugKotlin
[+1800 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[ +200 ms] > Task :app:dexBuilderDebug
[ +199 ms] > Task :app:mergeDebugJavaResource
[ +599 ms] > Task :app:mergeDexDebug
[+2600 ms] > Task :app:packageDebug
[  +99 ms] > Task :app:assembleDebug
[        ] 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.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 2m 17s
[        ] 32 actionable tasks: 31 executed, 1 up-to-date
[ +438 ms] Running Gradle task 'assembleDebug'... (completed in 137.6s)
[  +63 ms] calculateSha: LocalDirectory: '/home/mohammadreza/Development/issue86101/counter/build/app/outputs/flutter-apk'/app.apk
[ +715 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +3 ms] executing: /home/mohammadreza/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/mohammadreza/Development/issue86101/counter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +16 ms] Exit code 0 from: /home/mohammadreza/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/mohammadreza/Development/issue86101/counter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.counter" (Raw: "com.example.counter")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="counter" (Raw: "counter")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.counter.MainActivity" (Raw: "com.example.counter.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +6 ms] Stopping app 'app.apk' on sdk gphone x86 arm.
[        ] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.counter
[ +149 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.counter
[  +82 ms] Installing APK.
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 install -t -r /home/mohammadreza/Development/issue86101/counter/build/app/outputs/flutter-apk/app.apk
[+2900 ms] Performing Streamed Install
           Success
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 2,900ms)
[   +2 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell echo -n 7181c07d02b387adc79cbf65da999c4e8f2a7bbc > /data/local/tmp/sky.com.example.counter.sha1
[  +78 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[ +782 ms] --------- beginning of kernel
           07-10 22:23:36.284 D/logd    (    0): logdr: UID=2000 GID=2000 PID=6239 n tail=1 logMask=99 pid=0 start=0ns timeout=0ns
[  +11 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.counter/com.example.counter.MainActivity
[ +278 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.counter/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[+2620 ms] Observatory URL on device: http://<IP_ADDRESS>:45191/wVFthEDqHg8=/
[   +1 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:45191
[  +12 ms] 42813
[        ] Forwarded host port 42813 to device port 45191 for Observatory
[   +7 ms] Caching compiled dill
[  +53 ms] Connecting to service protocol: http://<IP_ADDRESS>:42813/wVFthEDqHg8=/
[ +350 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:42813/wVFthEDqHg8=/.
[ +198 ms] DDS is listening at http://<IP_ADDRESS>:39547/l-xYWNbg2bI=/.
[ +104 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:42813/wVFthEDqHg8=/
[  +36 ms] DevFS: Creating new filesystem on the device (null)
[  +78 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.counter/code_cache/counterPEISTW/counter/)
[   +3 ms] Updating assets
[ +145 ms] Syncing files to device sdk gphone x86 arm...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:counter/main.dart 1ce51d60-e749-472e-b46c-dcd2e00dd27d
[        ] <- 1ce51d60-e749-472e-b46c-dcd2e00dd27d
[ +132 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device sdk gphone x86 arm... (completed in 138ms)
[        ] Synced 0.0MB.
[        ] <- accept
[  +59 ms] Connected to _flutterView/0xe7e49020.
[   +4 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on sdk gphone x86 arm is available at: http://<IP_ADDRESS>:39547/l-xYWNbg2bI=/
[+65736 ms] Application finished.
[   +2 ms] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[  +12 ms] Exit code 0 from: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[        ] emulator-5554 tcp:42813 tcp:45191
[        ] executing: /home/mohammadreza/Android/Sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:42813

the freezing happens when I run flutter run for bigger projects.

@Mohammadreza99A
if so the issue is likely to depend from your code rather than flutter,
can you provide a minimal reproducible code sample (not your production code or snippets)
that causes the freezing you are referring to

the freezing happens when I run flutter run for bigger projects.

@Mohammadreza99A
if so the issue is likely to depend from your code rather than flutter,
can you provide a minimal reproducible code sample (not your production code or snippets)
that causes the freezing you are referring to

Take this example:
https://github.com/serenader2014/flutter_carousel_slider/tree/master/example
The first time I ran flutter run, everything was fine. But the second time it freezed my system and after hard reboot, the third time was good. It's super weird.

HI @Mohammadreza99A

The first time I ran flutter run, everything was fine. But the second time it freezed my system and after hard reboot, the third time was good. It's super weird.

Can you please provide your flutter doctor -v with verbose and a minimal complete reproducible code sample without using third-party packages, and expected results vs actual results.
Thank you

HI @Mohammadreza99A

The first time I ran flutter run, everything was fine. But the second time it freezed my system and after hard reboot, the third time was good. It's super weird.

Can you please provide your flutter doctor -v with verbose and a minimal complete reproducible code sample without using third-party packages, and expected results vs actual results.
Thank you

The result is up there. I tried to output the flutter run -v to a file but it freezed my system and after hard reboot the file wasn't there. This is really frustrating to work with. Could your team search to see what is the cause of the problem? I am not the only one who has this problem. Refer to this reddit post.

@Mohammadreza99A
I use manjaro (arch based) and works smoothly (better than ubuntu for example)
and my laptop is more potato than yours

Hi @Mohammadreza99A
I don't have Manjaro currently on my Linux laptop, can you please try without AwesomeWM, it might be freezing the app

@Mohammadreza99A
I use manjaro (arch based) and works smoothly (better than ubuntu for example)
and my laptop is more potato than yours

Hi @Mohammadreza99A
I don't have Manjaro currently on my Linux laptop, can you please try without AwesomeWM, it might be freezing the app

Do you realize that Manjaro is based on Arch? If you see the Reddit post I sent you you will see that there is someone who has the same issue as me on Manjaro. I tried on OpenBox and I have the same problem.

Hi @Mohammadreza99A
I don't have Manjaro currently on my Linux laptop, can you please try without AwesomeWM, it might be freezing the app

I tried on OpenBox and I have the same issue. I changed my java from 1.8 to 16 and the issue is still there. I don't know what to do anymore. I have tried every possible solution that I could have taught of as a computer science bachelor student.

@Mohammadreza99A

Do you realize that Manjaro is based on Arch?

yes as I mentioned here

If you see the Reddit post I sent you you will see that there is someone who has the same issue as me on Manjaro.

this doesn't really make the issue reproducible

I tried on OpenBox and I have the same problem.

your desktop environment of choice is unrelated the issue

I changed my java from 1.8 to 16 and the issue is still there.

the only java version supported is the one shipped with android studio,
please don't use a different to reproduce the issue
[  +64 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.8" 2020-07-14

I have tried every possible solution

as you mentioned

the freezing happens when I run flutter run for bigger projects.

could you provide the information requested here

@Mohammadreza99A
if so the issue is likely to depend from your code rather than flutter,
can you provide a minimal reproducible code sample (not your production code or snippets)
that causes the freezing you are referring to

@Mohammadreza99A

Do you realize that Manjaro is based on Arch?

yes as I mentioned here

If you see the Reddit post I sent you you will see that there is someone who has the same issue as me on Manjaro.

this doesn't really make the issue more reproducible

I tried on OpenBox and I have the same problem.

your desktop environment of choice is unrelated the issue

I changed my java from 1.8 to 16 and the issue is still there.

the only java version supported is the one shipped with android studio,  please don't use a different to reproduce the issue

[  +64 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.8" 2020-07-14

I have tried every possible solution

as you mentioned

the freezing happens when I run flutter run for bigger projects.

I recommend these steps to reproduce the issue

wipe current installation
install flutter following this
install java via android studio (official source, no sandboxes or else)
clone flutter gallery
provide you updated flutter doctor -v (not just flutter doctor)
provide you full flutter run -v logs for flutter gallery running on physical device

So I had to reinstall my Arch Linux because I upgraded my SSD. After re-installing my OS, I installed flutter in official way but this time I also set a swap partition (swap to file) for my system and until now I don't have any problem with flutter. I tested my old application and also flutter gallery. Could you tell me if you have any sort of swap in your system?
I checked to see how much swap is used when I am running the flutter app and after verification with free -h , I can see that at least 2.5 Gb is in swap and I think it's because if that that I don't have the previous problems anymore.

Hi @Mohammadreza99A
Given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you


Evaluate the byte/string/encoding situation

Should core be thinking and dealing in terms of bytes?
Is encoding between client A, core, and other scenarios well thought out and correct?
There are some weird interactions between windows and ipad

This could be a prod wipe candidate if there are significant changes as a result of this investigation

We have:

CStrings
OsStr
Client Strings
Rust Strings
???

é crashes the windows client


MatTextField/AutoComplete: Style and Class should affect TextField

After hitting this problem and remembering #240 i think setting the Style property on MatAutoComplete should affect the MatTextField inside it.
Otherwise there is no way to really customize the input field.
Same goes for MatTextField itself. I think it is of no use the style the DIVs that wrap the controls

After hitting this problem and remembering #240 i think setting the Style property on MatAutoComplete should affect the MatTextField inside it.
Otherwise there is no way to really customize the input field.
Same goes for MatTextField itself. I think it is of no use the style the DIVs that wrap the controls

I disagree. If there's only going to be a single component where style and classes can be affected, it needs to be the outer most element - that way using CSS selectors (specifically child selectors, you can style the container and anything inside it (e.g. .my-class > input {...}. Another option is to have multiple style/class attributes, one for each element used in DOM.


add zed editor and clangd settings

Set up @hedron_compile_commands to generate compile_commands.json
for use with clangd. Add configuration files for Zed and an example
.clangd file.
The LSP configuration needs to be defined in Zed settings (not Zed
project settings).
Change-Id: Id9e349ed503f497d8f3a2893852fb3c3472a9aa3

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 45.52%. Comparing base (eb9de71) to head (fb9dc31).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   45.52%   45.52%
=======================================
  Files          15       15
  Lines         123      123
  Branches        2        2
=======================================
  Hits           56       56
  Misses         66       66
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Rename check function ('boolean' -> 'bool')

Fixes an issue with older build tools that fail when keywords reserved in earlier ES specs are used.
Issue described in #4726.

:+1:


added sRGB <-> Lab conversion

maps sRGB to linear RGB before conversion to XYZ (it follows this wikipedia page)
includes a test for back and forth conversion stability
removed old rgb2lab function which had several issues. In particular, a commit introduced an important regression by ignoring the input.

Thanks. Looks okay from the surface.


SRC_VERTEX is empty in vertex shader

Operating system or device - Godot version:
KDE neon 5.10 64-bit (GPU: AMD Radeon R9 285/380) - Godot custom build from master on the 16th of June
Issue description:
To test this, I made this setup:

Obviously black is not the expected output.
Steps to reproduce:
Just remake the setup shown above: A sphere with the shown shader applied to it.
Link to minimal example project
Note that you may encounter another bug: the shader material seems to not be applied upon reloading a project, even though it is set in the properties. Just reapply it for a short term fix (Though an actual fix would be nice :wink:) - Edit: This seems to be related to #9234

SRC_VERTEX is gone, use VERTEX instead.


Conditional bitmask request

We need  to be able to create a rule that allows to match an attribute with a bitwise map, so (say) sync only objects that had UserAccountControl with bit 2 not set (enabled accounts)

I'll have a look at implementing this in the next version.

Fabulous - thanks so much  :-)

From: Søren Granfeldt<EMAIL_ADDRESS>Sent: 20 December 2019 15:31
To: sorengranfeldt/mre
Cc: Kevin; Author
Subject: Re: [sorengranfeldt/mre] Conditional bitmask request (#18)
I'll have a look at implementing this in the next version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sorengranfeldt/mre/issues/18?email_source=notifications&email_token=AMWF2PEQH6TPEA5XNVTNQADQZTQMJA5CNFSM4IGJ377KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHNHH2Y#issuecomment-567964651, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMWF2PABFUUNJ2LK5VBLGZ3QZTQMJANCNFSM4IGJ377A.

Included in latest version just released - https://github.com/sorengranfeldt/mre/releases/tag/<IP_ADDRESS>

This is awesome - thanks so much  :-)
Kevin

From: Søren Granfeldt<EMAIL_ADDRESS>Sent: 31 December 2019 07:47
To: sorengranfeldt/mre
Cc: Kevin; Author
Subject: Re: [sorengranfeldt/mre] Conditional bitmask request (#18)
Included in latest version just released - https://github.com/sorengranfeldt/mre/releases/tag/<IP_ADDRESS>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sorengranfeldt/mre/issues/18?email_source=notifications&email_token=AMWF2PC4UPBU6HABOLGBESTQ3L2JJA5CNFSM4IGJ377KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH33STY#issuecomment-569882959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMWF2PHYRX42G5QKOQIVDZ3Q3L2JJANCNFSM4IGJ377A.


Upgrade scroll-into-view-if-needed to 2.2.7 to fix bugs

Hi! Awesome that you're using scroll-into-view-if-needed! 🎉
Since v2.1.5 the following bugs have been fixed:

don't hide content behind scrollbars.
scrollMode: if-needed still works when the window is scrolled to the bottom.
Mobile Safari bugs (iPhone X I am looking at you!) got squashed.
Desktop Safari bug when document.scrollingElement = body is fixed.
Border widths shouldn't prevent elements from scrolling fully into view.

thanks!


Create CONTRIBUTING.md

Brief description
Setting guidelines for repository contributors
Developer Certificate of Origin

[x] I certify that these changes according to the Developer Certificate of Origin 1.1 as described at https://developercertificate.org/.

Further details
This will need some more discussion and additional commits. Refer issue #68
https://help.github.com/articles/setting-guidelines-for-repository-contributors/

Adding this would be great. I think a copy paste of the section in the readme would be a good starting place.

Great, thank you!


AppHost and ServiceDefaults templates need specific icons

The new project templates for AppHost and ServiceDefaults projects are currently re-using the icon made for the empty Aspire app template. We should get new icon variants made for the new templates.

Do we have an ask to the design team for getting those icons already?


Support for Arduino library and ESP-NN

Several users are requesting ESP-NN support in Arduino:
https://forum.edgeimpulse.com/t/i-am-gettting-error-whiile-compiling-arduino-code/5382
And from a student at UCLA:
While the above fix solves the compilation error our classification accuracies are very low.

Edge impulse now have enabled support for ESP boards but only one version of board is fully supported ESP-EYE platform, for all other esp32 platforms we need to remove ESP-NN support
to get good performance on esp32 we have to use ESP NN module , but unfortunately we have to wait for Edge impulse to enable this for our platform. This is currently affecting our deployments and we would love to hear back on a possible fix or an estimated time by which this support will be enabled.

It got merged today. Internal repo PR #5025. Should be deployed to prod already.

In production.


[Feat][C++] Support List Data Type, use list<float> as example

Proposed changes
This pull request aims to support List data type in GraphAr C++ and add related unit-test

Support List data type by add a child_ to DataType class, implement by nested other logical data type.
In high level reader, support read list property  in Vertex/Edge.
yaml example:

property:
  - name: feature
  - data_type: list<float>
  - is_primary: false

NB: since BooleanArray and StringArray'method are not align to NumericalArray, so we only support list<int32> list<int64>, list<float> and list<double> at present.
Types of changes
What types of changes does your code introduce to GraphAr?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
close issue #287
related to #169

hi，@lixueclaire , Do you want to give this a review?

hi，@lixueclaire , Do you want to give this a review?

OK, I'll have a look right now.


Found segmentation fault in Pillow

Pillow on  main [?] via 🐍 v3.13.0rc2 (pytest-sprint)
❯ pytest
==================================================================== test session starts ====================================================================
platform darwin -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
--------------------------------------------------------------------
Pillow 11.0.0.dev0
Python 3.13.0rc2 experimental free-threading build (v3.13.0rc2:ec610069637, Sep  6 2024, 18:09:25) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
--------------------------------------------------------------------
Python executable is /Users/maryannewachter/.virtualenvs/pytest-sprint/bin/python
Environment Python files loaded from /Users/maryannewachter/.virtualenvs/pytest-sprint
System Python files loaded from /Library/Frameworks/PythonT.framework/Versions/3.13
--------------------------------------------------------------------
Python Pillow modules loaded from /Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/PIL
Binary Pillow modules loaded from /Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/PIL
--------------------------------------------------------------------
--- PIL CORE support ok, compiled for 11.0.0.dev0
--- TKINTER support ok, loaded 8.6
--- FREETYPE2 support ok, loaded 2.13.3
--- LITTLECMS2 support ok, loaded 2.16
--- WEBP support ok, loaded 1.4.0
--- JPEG support ok, compiled for libjpeg-turbo 3.0.4
--- OPENJPEG (JPEG2000) support ok, loaded 2.5.2
--- ZLIB (PNG/ZIP) support ok, loaded 1.2.12
--- LIBTIFF support ok, loaded 4.7.0
*** RAQM (Bidirectional Text) support not installed
*** LIBIMAGEQUANT (Quantization method) support not installed
--- XCB (X protocol) support ok
--------------------------------------------------------------------

rootdir: /Users/maryannewachter/workspaces/Pillow
configfile: pyproject.toml
testpaths: Tests
plugins: freethreaded-0.1.0, repeat-0.9.3, timeout-2.3.1, xdist-3.6.1
collected 4595 items / 5 skipped

Tests/oss-fuzz/test_fuzzers.py ...................................................................................................................... [  2%]
..................................................................................................................................................... [  5%]
..................................................................................................................................................... [  9%]
..................................................................................................................................................... [ 12%]
..................................................................................................................................................... [ 15%]
..................................................................................................................................................... [ 18%]
..................................................................................................................................................... [ 22%]
.........................Fatal Python error: Segmentation fault

zsh: segmentation fault  pytest
(base)

  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000176a57000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Current thread 0x0000000175a4b000 (most recent call first):
  File "/Users/maryannewachter/workspaces/Pillow/Tests/oss-fuzz/test_fuzzers.py", line 64 in test_fuzz_fonts
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/python.py", line 159 in pytest_pyfunc_call
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/python.py", line 1627 in runtest
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 68 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000174a3f000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000173a33000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000172a27000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000171a1b000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000170a0f000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x000000016fa03000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x000000016e9f7000 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 394 in wait_for
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 764 in _wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 729 in wait
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 67 in get_one_result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 58 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/thread.py", line 92 in _worker
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 992 in run
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1041 in _bootstrap_inner
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 1012 in _bootstrap

Thread 0x0000000206ce8f40 (most recent call first):
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/threading.py", line 359 in wait
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/_base.py", line 451 in result
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/_base.py", line 317 in _result_or_cancel
  File "/Library/Frameworks/PythonT.framework/Versions/3.13/lib/python3.13t/concurrent/futures/_base.py", line 619 in result_iterator
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest_freethreaded/plugin.py", line 81 in pytest_runtest_call
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/runner.py", line 242 in <lambda>
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/runner.py", line 341 in from_call
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/runner.py", line 241 in call_and_report
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/runner.py", line 132 in runtestprotocol
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/main.py", line 362 in pytest_runtestloop
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/main.py", line 337 in _main
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/main.py", line 283 in wrap_session
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/main.py", line 330 in pytest_cmdline_main
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/config/__init__.py", line 175 in main
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/_pytest/config/__init__.py", line 201 in console_main
  File "/Users/maryannewachter/.virtualenvs/pytest-sprint/lib/python3.13t/site-packages/pytest/__main__.py", line 9 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Extension modules: PIL._imaging, PIL._imagingmath, PIL._webp, PIL._imagingft, PIL._imagingcms, PIL._imagingmorph (total: 6)
zsh: segmentation fault  python3 -X dev -m pytest
(base)

Please can you run again with Python in debug mode.

Tried with the following after rebuilding with debug (still failing on the fuzzing tests, though I see #10 got past this point)
PYTHON_GIL=0 python -m pytest -x -vvvv --iterations=100 --log-level=DEBUG

Output system/test configuration:
=========================================== test session starts ===========================================
platform darwin -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0 -- /Users/maryannewachter/.virtualenvs/pytest-debugger/bin/python3
cachedir: .pytest_cache
--------------------------------------------------------------------
Pillow 11.0.0.dev0
Python 3.13.0rc2 experimental free-threading build (main, Oct  2 2024, 21:27:11) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
--------------------------------------------------------------------
Python executable is /Users/maryannewachter/.virtualenvs/pytest-debugger/bin/python3
Environment Python files loaded from /Users/maryannewachter/.virtualenvs/pytest-debugger
System Python files loaded from /usr/local
--------------------------------------------------------------------
Python Pillow modules loaded from /Users/maryannewachter/.virtualenvs/pytest-debugger/lib/python3.13t/site-packages/PIL
Binary Pillow modules loaded from /Users/maryannewachter/.virtualenvs/pytest-debugger/lib/python3.13t/site-packages/PIL
--------------------------------------------------------------------
--- PIL CORE support ok, compiled for 11.0.0.dev0
*** TKINTER support not installed
--- FREETYPE2 support ok, loaded 2.13.3
--- LITTLECMS2 support ok, loaded 2.16
--- WEBP support ok, loaded 1.4.0
--- JPEG support ok, compiled for libjpeg-turbo 3.0.4
--- OPENJPEG (JPEG2000) support ok, loaded 2.5.2
--- ZLIB (PNG/ZIP) support ok, loaded 1.2.12
--- LIBTIFF support ok, loaded 4.7.0
*** RAQM (Bidirectional Text) support not installed
*** LIBIMAGEQUANT (Quantization method) support not installed
--- XCB (X protocol) support ok
--------------------------------------------------------------------

rootdir: /Users/maryannewachter/workspaces/Pillow
configfile: pyproject.toml
testpaths: Tests
plugins: freethreaded-0.1.0
collected 4636 items / 3 skipped

Segfault occurrence:
Tests/oss-fuzz/test_fuzzers.py::test_fuzz_fonts[Tests/fonts/FreeMono.ttf] PASSED                    [ 22%]
Tests/oss-fuzz/test_fuzzers.py::test_fuzz_fonts[Tests/fonts/ter-x20b.pcf] Fatal Python error: Segmentation fault

Thread 0x000000017788f000 (most recent call first):
  File "/Users/maryannewachter/Downloads/Python-3.13.0rc2/Lib/threading.py", line 359 in wait
  File "/Users/maryannewachter/Downloads/Python-3.13.0rc2/Lib/threading.py", line 394 in wait_for
  File "/Users/maryannewachter/Downloads/Python-3.13.0rc2/Lib/threading.py", line 764 in zsh: segmentation fault  PYTHON_GIL=0 python3 -m pytest -x -vvvv --iterations=100 --log-level=DEBUG
(base)

My system:
$ uname -a
Darwin Maryannes-MBP-2.attlocal.net 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64

Here's a C traceback:
Tests/oss-fuzz/test_fuzzers.py ..........................Process 65718 stopped
* thread #4, stop reason = EXC_BAD_ACCESS (code=1, address=0x1a)
    frame #0: 0x00000001009089b8 libfreetype.6.dylib`FT_Done_Face + 68
libfreetype.6.dylib`FT_Done_Face:
->  0x1009089b8 <+68>: ldr    x9, [x1, #0x10]
    0x1009089bc <+72>: cmp    x9, x19
    0x1009089c0 <+76>: b.eq   0x1009089d4    ; <+96>
    0x1009089c4 <+80>: ldr    x1, [x1, #0x8]
Target 0: (python) stopped.
(lldb) bt
* thread #4, stop reason = EXC_BAD_ACCESS (code=1, address=0x1a)
  * frame #0: 0x00000001009089b8 libfreetype.6.dylib`FT_Done_Face + 68
    frame #1: 0x00000001006f497c _imagingft.cpython-313t-darwin.so`font_dealloc + 28
    frame #2: 0x0000000100a76e28 libpython3.13t.dylib`_PyObject_SetManagedDict + 1408
    frame #3: 0x0000000100a76fdc libpython3.13t.dylib`PyObject_ClearManagedDict + 16
    frame #4: 0x0000000100ac5340 libpython3.13t.dylib`subtype_dealloc + 668
    frame #5: 0x0000000100b97924 libpython3.13t.dylib`_PyFrame_ClearLocals + 112
    frame #6: 0x0000000100b97b38 libpython3.13t.dylib`_PyFrame_ClearExceptCode + 428
    frame #7: 0x0000000100b6c1e4 libpython3.13t.dylib`_PyEval_FrameClearAndPop + 148
    frame #8: 0x0000000100b67b44 libpython3.13t.dylib`_PyEval_EvalFrameDefault + 48388
    frame #9: 0x0000000100a21e7c libpython3.13t.dylib`_PyObject_VectorcallDictTstate + 140
    frame #10: 0x0000000100a230cc libpython3.13t.dylib`_PyObject_Call_Prepend + 160
    frame #11: 0x0000000100ac6748 libpython3.13t.dylib`slot_tp_call + 124
    frame #12: 0x0000000100a22084 libpython3.13t.dylib`_PyObject_MakeTpCall + 324
    frame #13: 0x0000000100b5fc0c libpython3.13t.dylib`_PyEval_EvalFrameDefault + 15820
    frame #14: 0x0000000100a25684 libpython3.13t.dylib`method_vectorcall + 328
    frame #15: 0x0000000100c50f58 libpython3.13t.dylib`thread_run + 128
    frame #16: 0x0000000100be6b4c libpython3.13t.dylib`pythread_wrapper + 28
    frame #17: 0x0000000183b65f94 libsystem_pthread.dylib`_pthread_start + 136

It looks like a spawned thread is trying to deallocated an object that wraps a freetype font, and that's seg faulting.
I think freetype2 is supposed to be thread-safe, I wonder what the issue is.

It looks like freetype internals are corrupt:
* thread #8, stop reason = EXC_BAD_ACCESS (code=1, address=0x16)
    frame #0: 0x00000001016a50e0 libfreetype.6.dylib`FT_Done_Face [inlined] FT_List_Find(list=0x00006000012ec220, data=0x0000000141808200) at ftutil.c:255:17 [opt]
   252 	    cur = list->head;
   253 	    while ( cur )
   254 	    {
-> 255 	      if ( cur->data == data )
   256 	        return cur;
   257
   258 	      cur = cur->next;
Target 0: (python) stopped.
warning: libfreetype.6.dylib was compiled with optimization - stepping may behave oddly; variables may not be available.
(lldb) p cur->data
error: Couldn't apply expression side effects : Couldn't dematerialize a result variable: couldn't read its memory
(lldb) p cur
(FT_ListNode) 0x0000000000000006

Here's the relevant part of the Freetype2 docs:
https://freetype.org/freetype2/docs/reference/ft2-face_creation.html#ft_face
In particular, this:

An FT_Face object can only be safely used from one thread at a time. Similarly, creation and destruction of FT_Face with the same FT_Library object can only be done from one thread at a time.

So Pillow needs to enforce that, or add some locking. I'll open an issue against Pillow with these details.

Neat (and thanks)! How did you generate the C traceback? I was surprised I didn't get more information than what I showed above building python with ./configure --with-pydebug --disable-gil, so I was wondering if I was missing some additional flags at runtime.

I was running python under lldb. CPython might in principle be able to print a C traceback but in practice it doesn't and you need a C debugger and libraries with debug symbols to be able to get a meaningful C traceback.

https://github.com/python-pillow/Pillow/issues/8454 has now been resolved in Pillow main by https://github.com/python-pillow/Pillow/pull/8496


[Bug] Zooming out while entering abstraction class causes the overlay to stay present

Current behavior:
After creating a new node, if you zoom out and enter the abstraction type, the "NewNode" overlay stays present after zooming back in.
Expected behaviour:
The overlay is not present after zooming back in and says the new abstraction type.
Steps to reproduce:

Create a new node
Zoom out until the overlays appear with your cursor still on the abstraction type text box
Enter an abstraction type and press enter
Zoom back in

Fixed in v1.9.0.

Fixed in v1.9.0.

Fixed in v1.9.0.

Fixed in v1.9.0.


bot.php

Pull Request Process

Ensure any install or build dependencies are removed before the end of the layer when doing a
build.
Update the README.md with details of changes to the interface, this includes new environment
variables, exposed ports, useful file locations and container parameters.
Increase the version numbers in any examples files and the README.md to the new version that this
Pull Request would represent.
You may merge the Pull Request in once you have the sign-off of two other developers, or if you
do not have permission to do that, you may request the second reviewer to merge it for you.

don't make pull request for trash edits

Sorry bro
On Friday, April 23, 2021, Krutik Raut @.***> wrote:

Closed #7 https://github.com/reboot13-git/telegram-bot/pull/7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reboot13-git/telegram-bot/pull/7#event-4636656108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATZWZN3L7VUTMAXGFKZPELTTKFSTVANCNFSM43OHY6IA
.

Wont happen
On Friday, April 23, 2021, Krutik Raut @.***> wrote:

don't make pull request for trash edits
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reboot13-git/telegram-bot/pull/7#issuecomment-825627866,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATZWZN3L7VUTMAXGFKZPELTTKFSTVANCNFSM43OHY6IA
.


Feature Request: add Letterboxd score on Google Knowledge Graph

When searching for a movie on Google, their Knowledge Graph sometimes shows the Letterboxd score and sometimes doesn't. I'd like the extension to force show the score always.

vs

Added in latest release, v3.15.1 currently available in Chrome and Firefox
It's been added as a new option because I didn't want the google.com permission that this feature requires to be mandatory for all users.


Add editorconfig to prevent issues, then IDE is configured differently per developer

More info - here: http://editorconfig.org

What kind of issues?

Possible issues:
different newline ending
default charset
indentation
indent style (normal and special files, like package.json)

couple of notes on .editorconfig:
.editorconfig would override any other settings you have on IDE.
need to turn on .editorconfig usage in webstorm settings.
can target file types, files, exclude files, can have more than one config(supports hierarchy/folders).
It seems that issues appear after screwing up default settings.
I am not sure what's the point of forcing settings through .editorconfig. We could achieve minor code style unification with this, but making a config to define these code styles that works for everyone is kind of hard, since I do not think that we can force global settings - f.e. 4 spaces indentation on all files, because . json files has 2 spaces by default and I think that automated tools would output with 2 spaces indentation. I am pretty sure we could find other exceptions.
Other scenario would be to have poor config, which has basic defaults that should not be touched in the first place.
Lets discuss this during meeting, perhaps there is something important that I do not understand at this point.

Situation: big project, lots of team members, different IDE
Problem: how to setup everything for each team member + if team decides to change rules, how to sync settings without any effort?
Solution: add editorconfig file.
Is it a real problem? Like in grainger, we already have lot of developers and they are using 3-4 different IDE (webstorm, VS, sublime, codekit)
What about forcing global settings for every file?
You don't have to force global settings, you can define settings per file format.
Like, if you want to add special config for a package.json file, you just have to add: http://prntscr.com/99a1in
I think, essential things are:
charset
indent style
indent sizes
newlines
end of lines
We should agree on rules and add them to config.

Added .editorconfig file to branch: release-1.0.1
Do not forget to enable editorconfig in webstorm.

@VaclovasV define editor settings.


fix: upgrade to fix spring vulnerability (#1377)

fixes #1377.
Fix spring vulnerability.

:+1:

@tkrop is it necessary to upgrade Kotlin version to fix the vulnerability?

@vadeg unfortunately it does not work without upgrading Kotline - see #1378. However, upgrading Kotlin also seems not to work.

closed in favor of #1378.


Site to upload new libraries

instead of forking, commiting and send pull request, can you make a simple form where we can upload new libraries?
Or integration with android-arsenal at compile time ;)

you can send an e-mail with the xml too :D
or copy and pasting it as issue.

<?xml version="1.0" encoding="utf-8"?>

<resources>
	<string name="define_int_qslide"></string>
	<!-- Author section -->
	<string name="library_qslide_author">LG Developers</string>
	<string name="library_qslide_authorWebsite">http://developer.lge.com/</string>
	<!-- Library section -->
	<string name="library_qslide_libraryName">QSlide</string>
	<string name="library_qslide_libraryDescription">LG QSlide is the feature on LG smartphones to provide an application with multi-tasking using floating window and quick execution using Notification bar.</string>
	<string name="library_qslide_libraryWebsite">http://developer.lge.com/MOBILE_HELP/index.jsp?topic=%2Flge.mobilesdk.LGQSlide.api%2Fhtml%2FDeveloping%2FDeveloping%2FDeveloping+with+LG+QSlide+SDK.htm</string>
	<string name="library_qslide_libraryVersion"></string>
	<!-- OpenSource section -->
	<string name="library_qslide_isOpenSource">false</string>
	<!-- License section -->
	<string name="library_qslide_licenseId">apache_2_0</string>
	<!-- Custom variables section -->
</resources>

<?xml version="1.0" encoding="utf-8"?>

<resources>
	<string name="define_libphonenumber"></string>
	<!-- Author section -->
	<string name="library_libphonenumber_author">Google</string>
	<string name="library_libphonenumber_authorWebsite">http://google.com</string>
	<!-- Library section -->
	<string name="library_libphonenumber_libraryName">LibPhoneNumber</string>
	<string name="library_libphonenumber_libraryDescription">Google\'s common Java, C++ and Javascript library for parsing, formatting, storing and validating international phone numbers. The Java version is optimized for running on smartphones, and is used by the Android framework since 4.0 (Ice Cream Sandwich)</string>
	<string name="library_libphonenumber_libraryWebsite">http://libphonenumber.googlecode.com/svn/trunk/javascript/i18n/phonenumbers/demo-compiled.html</string>
	<string name="library_libphonenumber_libraryVersion">7.0.1</string>
	<!-- OpenSource section -->
	<string name="library_libphonenumber_isOpenSource">true</string>
	<string name="library_libphonenumber_repositoryLink">https://github.com/googlei18n/libphonenumber</string>
	<!-- ClassPath for autoDetect section -->
	<string name="library_libphonenumber_classPath">com.google.i18n.phonenumbers</string>
	<!-- License section -->
	<string name="library_libphonenumber_licenseId">apache_2_0</string>
	<!-- Custom variables section -->
</resources>

<?xml version="1.0" encoding="utf-8"?>

<resources>
	<string name="define_materialicons"></string>
	<!-- Author section -->
	<string name="library_materialicons_author">Anton Malinskiy</string>
	<string name="library_materialicons_authorWebsite">http://malinskiy.com/</string>
	<!-- Library section -->
	<string name="library_materialicons_libraryName">Material Icons</string>
	<string name="library_materialicons_libraryDescription">android-material-icons allows you to include any of the Material Design 1.0.1 icons by Google packed by Sergey Kupletsky in your texts, your ActionBar, and even in your EditTexts. Icons are infinitely scalable, and customizable with shadows and everything you can do on texts.</string>
	<string name="library_materialicons_libraryWebsite"></string>
	<string name="library_materialicons_libraryVersion">1.0.1</string>
	<!-- OpenSource section -->
	<string name="library_materialicons_isOpenSource">true</string>
	<string name="library_materialicons_repositoryLink">https://github.com/Malinskiy/android-material-icons</string>
	<!-- ClassPath for autoDetect section -->
	<string name="library_materialicons_classPath">com.malinskiy.materialicons</string>
	<!-- License section -->
	<string name="library_materialicons_licenseId">apache_2_0</string>
	<!-- Custom variables section -->
</resources>

<?xml version="1.0" encoding="utf-8"?>

<resources>
	<string name="define_int_qcircledesigntemplate"></string>
	<!-- Author section -->
	<string name="library_qcircledesigntemplate_author">LG Developers</string>
	<string name="library_qcircledesigntemplate_authorWebsite">http://developer.lge.com/</string>
	<!-- Library section -->
	<string name="library_qcircledesigntemplate_libraryName">QCircleDesignTemplate</string>
	<string name="library_qcircledesigntemplate_libraryDescription">The LG QCircle design template library provides the layout designs and basic UI elements through API, enabling developers to save time designing and using repetitive tasks. The LG QCircle design template library provides various circle layouts and receives QuickCircle broadcast intents, adjusts layout position, and handles back button operation.</string>
	<string name="library_qcircledesigntemplate_libraryWebsite">https://github.com/LGDeveloper/QCircle-Design-Template/wiki</string>
	<string name="library_qcircledesigntemplate_libraryVersion"></string>
	<!-- OpenSource section -->
	<string name="library_qcircledesigntemplate_isOpenSource">true</string>
	<string name="library_qcircledesigntemplate_repositoryLink">https://github.com/LGDeveloper/QCircle-Design-Template</string>
	<!-- ClassPath for autoDetect section -->
	<string name="library_qcircledesigntemplate_classPath">com.lge.qcircle.template</string>
	<!-- License section -->
	<string name="library_qcircledesigntemplate_licenseId">apache_2_0</string>
	<!-- Custom variables section -->
</resources>

thanks i'll add them ;)


Wagtail & other issues: Trouble with icons and fields inside Wagtail

I end up with a bunch of typos and missing letters because the icons are overprinting the fields inside Wagtail. What can I do to avoid this? Is it a browser issue or something?

@Schlachtmeyer hmm maybe a browser issue, can you try using chrome

Did using Chrome fix this issue, @Schlachtmeyer?

Haven't tried it yet but I will!


"bounceforcerandom" doesn't work

It doesn't work

found it, it is set to math.floor, not math.random

925f4403a87a7784307166fa848e07553f055fce


more convenient input

Would like to be able to input information easier than having a bunch of long questions asked of me. Consider something like.
Enter your guess word:
great
Enter wordle color codes
g for in the correct position (green)
y for in the word (yellow)
x for not in the word (grey)
example: xgxyy
rather unfortunate that grey and green both start with g...

I updated the interface. See the attached screenshot.

works great!


Email documentation

This documents the work from:

https://github.com/openmicroscopy/openmicroscopy/pull/3542
https://github.com/openmicroscopy/openmicroscopy/pull/3434

and aims to document all the various components (user, dev, sysadmin) for the OMERO.mail subsystem.

--no-rebase

At a glance, this looks pretty good.

Otherwise looks good

Is this good to merge @joshmoore @manics ?

If you and Josh are happy then merge.

I'll fix the highlighting when I do the rest of the what's new etc updates.


[Laravel] How to use _all mapping?

It seems that mappings from config are passed directly to properties of Elastic mapper. But how to set _all map? that is on higher level of map document?

Fixed in v0.9.9. just update your version

'indices' => [
	'my_index_1' => [
	    "aliases" => [
	        "my_index"
	    ],
	    'settings' => [
	        "number_of_shards" => 1,
	        "number_of_replicas" => 0,
	    ],
	    'mappings' => [
	          "_all" => [ "enabled" => true ],
                  "properties" => [
                      'posts' => [
                           'title' => [
                               'type' => 'string'
                           ]
                      ]
	          ]
	    ]
	]
]

thank you


js/public/Utilities.h's UniqueChars typedef not being picked up

Not 100% sure if this is a bindgen bug or a rust-mozjs/etc/bindings.sh bug, but @emilio asked me to file.
The typedef here isn't being picked up by bindgen: http://searchfox.org/mozilla-central/rev/b38dbd1378cea4ae83bbc8a834cdccd02bbc5347/js/public/Utility.h#587
Which results in this error in the generated bindings code:
bash-4.3$ LIBCLANG_PATH=~/src/llvm/obj/lib LD_LIBRARY_PATH=~/src/llvm/obj/lib cargo test --features debugmozjs
   Compiling js v0.1.3 (file:///home/fitzgen/src/rust-mozjs)
src/jsapi_linux_64_debug.rs:8784:55: 8784:66 error: type name `UniqueChars` is undefined or not in scope [E0412]
src/jsapi_linux_64_debug.rs:8784     pub fn JS_GetDefaultLocale(cx: *mut JSContext) -> UniqueChars;

In the meantime, I'm going to hide the JS_GetDefaultLocale function, because it isn't used in rust-mozjs...

This was due to etc/bindings.sh not having -match Utility.h so the typedef wasn't getting pulled in.


Fixing index param

It takes strings, not numbers.

Yep, Visual Studio reported it as specifying the wrong type.  Now with all the PR's I made that you've merged in, everything finally compiles in VS now.