JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.33k stars 1.18k forks source link

`./gradlew :shared:runDebugExecutableMacosArm64` failed on MacOS, finished with non-zero exit value 133 #3939

Closed eligarfzzz closed 2 months ago

eligarfzzz commented 1 year ago

Describe the bug building chat example successed with :desktopApp:run, but fail with :shared:runDebugExecutableMacosArm64 I haven't modified any code yet

Affected platforms

Versions

To Reproduce

  1. Run ./gradlew :shared:runDebugExecutableMacosArm64
bl@192 chat % ./gradlew :shared:runDebugExecutableMacosArm64

> Configure project :shared
w: The Default Kotlin Hierarchy Template was not applied to 'project ':shared'':
Explicit .dependsOn() edges were configured for the following source sets:
[iosArm64Main, iosMain, iosSimulatorArm64Main, iosX64Main, macosArm64Main, macosMain, macosX64Main]

Consider removing dependsOn-calls or disabling the default template by adding
    'kotlin.mpp.applyDefaultHierarchyTemplate=false'
to your gradle.properties

Learn more about hierarchy templates: https://kotl.in/hierarchy-template

> Task :shared:runDebugExecutableMacosArm64 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:runDebugExecutableMacosArm64'.
> Process 'command '/Volumes/nvmessd/download/compose-multiplatform-master/examples/chat/shared/build/bin/macosArm64/debugExecutable/shared.kexe'' finished with non-zero exit value 133

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 840ms
5 actionable tasks: 2 executed, 3 up-to-date

run shared.kexe directly

bl@192 ~ % '/Volumes/nvmessd/download/compose-multiplatform-master/examples/chat/shared/build/bin/macosArm64/debugExecutable/shared.kexe'
zsh: trace trap  
pjBooms commented 1 year ago

Thank you for your bug report! I have reproduced it and I am looking into it.

pjBooms commented 1 year ago

It is the same bug as -- #3900. It crashes on execution of the following function:

@Composable
internal actual fun rememberTextFieldOverscrollEffect(): OverscrollEffect? = null
okushnikov commented 3 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.