Fixed
Status Update
Comments
ya...@google.com <ya...@google.com> #2
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f9fc21e4671, pid=23356, tid=19328
#
# JRE version: OpenJDK Runtime Environment (21.0.3) (build 21.0.3+-12282718-b509.11)
# Java VM: OpenJDK 64-Bit Server VM (21.0.3+-12282718-b509.11, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libfreetype.so.6+0x84671]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/USER/core.23356)
#
# If you would like to submit a bug report, please visit:
# https://youtrack.jetbrains.com/issues/JBR
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- S U M M A R Y ------------
Command Line: -XX:ErrorFile=/home/USER/java_error_in_studio_%p.log -XX:HeapDumpPath=/home/USER/java_error_in_studio_.hprof -Xms256m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:+IgnoreUnrecognizedVMOptions -XX:MaxJavaStackTraceDepth=10000 -ea -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -XX:CICompilerCount=2 -XX:ReservedCodeCacheSize=512m -XX:+UnlockDiagnosticVMOptions -XX:TieredOldPercentage=100000 -Dsun.tools.attach.tmp.only=true -Dawt.lock.fair=true -Xmx8192m -Djb.vmOptionsFile=/home/USER/.config/Google/AndroidStudioPreview2024.2/studio64.vmoptions -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Didea.vendor.name=Google -Didea.paths.selector=AndroidStudioPreview2024.2 -Djna.boot.library.path=/home/USER/androidStudio/android-studio-2024.2.1.4-linux/android-studio/lib/jna/amd64 -Dpty4j.preferred.native.folder=/home/USER/androidStudio/android-studio-2024.2.1.4-linux/android-studio/lib/pty4j -Djna.nosys=true -Djna.noclasspath=true -Dintellij.platform.runtime.repository.path=/home/USER/androidStudio/android-studio-2024.2.1.4-linux/android-studio/modules/module-descriptors.jar -Didea.platform.prefix=AndroidStudio -XX:FlightRecorderOptions=stackdepth=256 --add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED -Djava.security.manager=allow -Dij.startup.error.report.url=https://issuetracker.google.com/issues/new?component=192708 -Dsplash=true -Daether.connector.resumeDownloads=false --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.net.dns=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED --add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED -Xbootclasspath/a:/home/USER/androidStudio/android-studio-2024.2.1.4-linux/android-studio/lib/nio-fs.jar:/home/USER/androidStudio/android-studio-2024.2.1.4-linux/android-studio/lib/nio-fs.jar -Dawt.toolkit.name=XToolkit com.android.tools.idea.MainWrapper
Host: Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz, 12 cores, 31G, Ubuntu 18.04.6 LTS
Time: Fri Sep 27 15:27:09 2024 CST elapsed time: 563.639211 seconds (0d 0h 9m 23s)
--------------- T H R E A D ---------------
Current thread (0x00007f9ee8f55e60): JavaThread "ApplicationImpl pooled thread 21" [_thread_in_native, id=19328, stack(0x00007f9e9726b000,0x00007f9e9736c000) (1028K)]
Stack: [0x00007f9e9726b000,0x00007f9e9736c000], sp=0x00007f9e97367898, free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libfreetype.so.6+0x84671]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j android.graphics.Typeface.nativeCreateFromArray([JJII)J+0
j android.graphics.Typeface.createFromFamilies(Ljava/lang/String;[Landroid/graphics/fonts/FontFamily;)Landroid/graphics/Typeface;+36
j android.graphics.Typeface.initSystemDefaultTypefaces(Ljava/util/Map;Ljava/util/List;Ljava/util/Map;)V+63
j android.graphics.fonts.SystemFonts.buildSystemTypefaces(Landroid/text/FontConfig;Ljava/util/Map;)Ljava/util/Map;+14
j android.graphics.Typeface.loadPreinstalledSystemFontMap()V+11
j com.android.layoutlib.bridge.Bridge.init(Ljava/util/Map;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;Lcom/android/ide/common/rendering/api/ILayoutLog;)Z+176
j com.android.tools.idea.layoutlib.LayoutLibrary.init(Ljava/util/Map;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/util/Map;Lcom/android/ide/common/rendering/api/ILayoutLog;)Z+15
j com.android.tools.idea.layoutlib.LayoutLibraryLoader.loadImpl(Lcom/android/sdklib/IAndroidTarget;Ljava/util/Map;)Lcom/android/tools/idea/layoutlib/LayoutLibrary;+425
j com.android.tools.idea.layoutlib.LayoutLibraryLoader.load(Lcom/android/sdklib/IAndroidTarget;Ljava/util/Map;Ljava/util/function/Supplier;)Lcom/android/tools/idea/layoutlib/LayoutLibrary;+98
j com.android.tools.sdk.AndroidTargetData.getLayoutLibrary(Ljava/util/function/Consumer;Ljava/util/function/Supplier;)Lcom/android/tools/idea/layoutlib/LayoutLibrary;+100
j com.android.tools.sdk.AndroidTargetData.getLayoutLibrary(Ljava/util/function/Consumer;Ljava/util/function/Supplier;)Lcom/android/tools/idea/layoutlib/LayoutLibrary;+59
j com.android.tools.sdk.LayoutlibFactory.getLayoutLibrary(Lcom/android/sdklib/IAndroidTarget;Lcom/android/tools/sdk/AndroidPlatform;Lcom/android/tools/layoutlib/LayoutlibContext;)Lcom/android/tools/idea/layoutlib/LayoutLibrary;+48
j com.android.tools.rendering.RenderService$RenderTaskBuilder.lambda$build$1(Lcom/intellij/openapi/util/CheckedDisposable;Lcom/android/tools/rendering/tracking/StackTraceCapture;Lcom/android/tools/rendering/tracking/RenderTaskAllocationTracker;)Lcom/android/tools/rendering/RenderTask;+128
j com.android.tools.rendering.RenderService$RenderTaskBuilder$$Lambda+0x000000080397add8.get()Ljava/lang/Object;+16
j java.util.concurrent.CompletableFuture$AsyncSupply.run()V+37 java.base@21.0.3
J 90978 c1 com.intellij.util.concurrency.ContextRunnable.run()V (61 bytes) @ 0x00007fa03a2c3cb4 [0x00007fa03a2c3c00+0x00000000000000b4]
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@21.0.3
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@21.0.3
j java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run()Ljava/lang/Void;+23 java.base@21.0.3
j java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run()Ljava/lang/Object;+1 java.base@21.0.3
J 12125 c1 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; java.base@21.0.3 (17 bytes) @ 0x00007fa0362b398c [0x00007fa0362b38e0+0x00000000000000ac]
j java.util.concurrent.Executors$PrivilegedThreadFactory$1.run()V+15 java.base@21.0.3
j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@21.0.3
j java.lang.Thread.run()V+19 java.base@21.0.3
v ~StubRoutines::call_stub 0x00007fa044beccc6
di...@google.com <di...@google.com>
t1...@gmail.com <t1...@gmail.com> #3
Comment has been deleted.
bm...@gmail.com <bm...@gmail.com> #4
Same issue here on leap 15.6...
gi...@gmail.com <gi...@gmail.com> #5
I have installed ANdroid Studio LadyBug Patch 2 the most recent one but I still get the issue (with consequently Android Studio crash) whenever i put just a Text(text = "Some text") compose function inside the Compose preview function! Any news to solve this problem?
zi...@gmail.com <zi...@gmail.com> #6
Same issue here - log file attached
ci...@gmail.com <ci...@gmail.com> #7
Host: AMD Ryzen 9 5900X 12-Core Processor, 24 cores, 31G, Ubuntu 20.04.6 LTS
Time: Fri Nov 8 19:13:30 2024 EET elapsed time: 9725.181413 seconds (0d 2h 42m 5s)
--------------- T H R E A D ---------------
Current thread (0x0000558901c2e490): JavaThread "Layoutlib Render Thread" daemon [_thread_in_native, id=22815, stack(0x00007faa5f9d4000,0x00007faa5fad5000) (1028K)]
Time: Fri Nov 8 19:13:30 2024 EET elapsed time: 9725.181413 seconds (0d 2h 42m 5s)
--------------- T H R E A D ---------------
Current thread (0x0000558901c2e490): JavaThread "Layoutlib Render Thread" daemon [_thread_in_native, id=22815, stack(0x00007faa5f9d4000,0x00007faa5fad5000) (1028K)]
ci...@gmail.com <ci...@gmail.com> #8
Android Studio Ladybug | 2024.2.1 Patch 2
Build #AI-242.23339.11.2421.12550806, built on October 24, 2024
Runtime version: 21.0.3+-12282718-b509.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Arctic Fox, same PC, was OK.
If delete all 'layout' .xml files Android Studio start. (no layouts)
if add any .xml - crash.
Build #AI-242.23339.11.2421.12550806, built on October 24, 2024
Runtime version: 21.0.3+-12282718-b509.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Arctic Fox, same PC, was OK.
If delete all 'layout' .xml files Android Studio start. (no layouts)
if add any .xml - crash.
n....@gmail.com <n....@gmail.com> #9
it works just after upgrading ubuntu to 22 and glib with it to version 2.35. After upgrade, I can edit layouts finally.
ch...@opera.com <ch...@opera.com> #10
Same issue here, please help fix it
jg...@google.com <jg...@google.com> #11
The issue has been fixed in Android Studio Meerkat, with the fix being backported to Android Studio Ladybug Feature Drop Beta 1
an...@google.com <an...@google.com> #12
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Beta 1
- Android Gradle Plugin 8.8.0-beta01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
bh...@gmail.com <bh...@gmail.com> #13
Same issue. Please fix this, I really need to see the preview! I"m on 2024.2.1 Patch 3, built Nov 22 2024.
Android Studio Ladybug | 2024.2.1 Patch 3
Build #AI-242.23339.11.2421.12700392, built on November 22, 2024
Runtime version: 21.0.3+-12282718-b509.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 5.4.0-150-generic
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
idea.plugin.protoeditor (242.23339.11)
IdeaVIM (0.57)
com.thoughtworks.gauge (242.22855.128)
com.github.copilot (1.5.29.7524)
Current Desktop: X-Cinnamon
Android Studio Ladybug | 2024.2.1 Patch 3
Build #AI-242.23339.11.2421.12700392, built on November 22, 2024
Runtime version: 21.0.3+-12282718-b509.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 5.4.0-150-generic
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
idea.plugin.protoeditor (242.23339.11)
IdeaVIM (0.57)
com.thoughtworks.gauge (242.22855.128)
com.github.copilot (1.5.29.7524)
Current Desktop: X-Cinnamon
bu...@gmail.com <bu...@gmail.com> #14
> Android Studio Ladybug Feature Drop | 2024.2.2 Beta 1
This fixed the issue for me.
Hope we get a stable release soon.
This fixed the issue for me.
Hope we get a stable release soon.
su...@gmail.com <su...@gmail.com> #15
I got the same issue when using Android Plugin 243.22562.218 and Android Design Tools 243.22562.218 on IntelliJ IDEA 2024.3.1.1.
My ldd version is ldd (Debian GLIBC 2.36-9+deb12u4) 2.36
My ldd version is ldd (Debian GLIBC 2.36-9+deb12u4) 2.36
su...@gmail.com <su...@gmail.com> #16
Could anyone tell me what code changes fixed this issue?
jg...@google.com <jg...@google.com> #17
The issue was with the rendering engine native libraries, and was fixed by a new release of those libraries, namely layoutlib_jni.so
and libandroid_runtime.so
for linux.
it...@googlemail.com <it...@googlemail.com> #18
Opensuse Leap 15.6 here: I tried and re-tried with more freetype fonts and tools installed, to no avail.
Very annoying, especially the fact that it does not occur on win11 which I have on my notebook.
Description
Two crashes from libfreetype.so originally reported in YouTrack