compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

JVM fatal error with 0.3.0 and 0.3.1 on AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)

Open softwarehangar7 opened this issue 4 years ago • 8 comments

When I run the wizard project changing the Compose plugin to 0.3.0 or 0.3.1, it works the first time. Running a second time gives me a JVM fatal error.

hs_err_pid23096.log hs_err_pid22284.log

Running the 0.2.0-build132, gives me the following message: SkIcuLoader: datafile missing: C:\Program Files\AdoptOpenJDK\jdk-11.0.10.9-hotspot\bin\icudtl.dat. But still runs fine.

softwarehangar7 avatar Feb 28 '21 23:02 softwarehangar7

Will software or OpenGL renderer help?

olonho avatar Mar 01 '21 08:03 olonho

Yes. Forcing SKIKO_RENDER_API="SOFTWARE" or "OPENGL" works fine.

softwarehangar7 avatar Mar 01 '21 09:03 softwarehangar7

Could you please give your PC specification? OS version: ? Graphics card: ? Graphics card driver version: ?

Rsedaikin avatar Mar 03 '21 09:03 Rsedaikin

Edition Windows 10 Pro Version 20H2 Installed on ‎25/‎02/‎2021 OS build 19042.804 Experience Windows Feature Experience Pack 120.2212.551.0

Dell Precision 7510 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz 2.71 GHz 16.0 GB

It has two graphic adapters. I don't know which one is using.

  • Intel(R) HD Graphics 530 (25.20.100.6472)
  • NVIDIA Quadro M2000M (24.21.14.1163)

Any tips on how to find out?

softwarehangar7 avatar Mar 04 '21 16:03 softwarehangar7

Could you please check if the example from skiko works? To build skiko you need to run in terminal ./gradlew publishToMavenLocal from skiko/skiko directory. To run the example (rendering clocks) you need to run in terminal ./gradlew run from skiko/samples/SkijaInjectSample directory. For more info on how to build skiko, please read the manual on the skiko github repository.

Rsedaikin avatar Mar 09 '21 07:03 Rsedaikin

Ok. I will try this weekend

softwarehangar7 avatar Mar 18 '21 15:03 softwarehangar7

There are some gradle errors when I try to build Skiko. [Fatal Error] org.gradle.kotlin.kotlin-dsl.gradle.plugin-1.3.6.pom:19:10: Already seen doctype

The same for plugins-1.3.6.pom and kotlin-sam-with-receiver-1.3.72

softwarehangar7 avatar Mar 21 '21 12:03 softwarehangar7

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

okushnikov avatar Aug 26 '24 17:08 okushnikov