Hi,

Thank you for the report, I apologise for the late reply.

To reproduce this issue we need to get a list of fonts installed on the live 
machine. 
The crash happens inside harfbuzz library:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  ~RuntimeStub::nep_invoker_blob 0x00007fb1963a59e8
j  
java.lang.invoke.LambdaForm$MH+0x000000002d7a7800.invoke(Ljava/lang/Object;JFJJJIIIIIFFIIJJ)V+38
 [email protected]
j  
java.lang.invoke.LambdaForm$MH+0x000000002d803000.invokeExact_MT(Ljava/lang/Object;JFJJJIIIIIFFIIJJLjava/lang/Object;)V+49
 [email protected]
j  
jdk.internal.foreign.abi.DowncallStub+0x000000002d7a7c00.invoke(Ljava/lang/foreign/SegmentAllocator;Ljava/lang/foreign/MemorySegment;FLjava/lang/foreign/MemorySegment;Ljava/lang/foreign/MemorySegment;Ljava/lang/foreign/MemorySegment;IIIIIFFIILjava/lang/foreign/MemorySegment;Ljava/lang/foreign/MemorySegment;)V+317
 [email protected]
j  
java.lang.invoke.LambdaForm$DMH+0x000000002d7a8400.invokeStaticInit(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;FLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;IIIIIFFIILjava/lang/Object;Ljava/lang/Object;)V+42
 [email protected]
j  
java.lang.invoke.LambdaForm$MH+0x000000002d7a9c00.invoke(Ljava/lang/Object;FLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;IIIIIFFIILjava/lang/Object;Ljava/lang/Object;)V+75
 [email protected]
j  
java.lang.invoke.LambdaForm$MH+0x000000002d802800.invokeExact_MT(Ljava/lang/Object;FLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;IIIIIFFIILjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V+46
 [email protected]
j  
sun.font.HBShaper.lambda$shape$0(Ljava/awt/geom/Point2D$Float;[F[CFLjava/lang/foreign/MemorySegment;IIIIII)V+79
 [email protected]
j  sun.font.HBShaper$$Lambda+0x000000002d7c13a0.run()V+44 [email protected]
j  
jdk.internal.vm.ScopedValueContainer.runWithoutScope(Ljava/lang/Runnable;)V+21 
[email protected]
j  jdk.internal.vm.ScopedValueContainer.run(Ljava/lang/Runnable;)V+7 
[email protected]
j  
java.lang.ScopedValue$Carrier.runWith(Ljava/lang/ScopedValue$Snapshot;Ljava/lang/Runnable;)V+9
 [email protected]
j  java.lang.ScopedValue$Carrier.run(Ljava/lang/Runnable;)V+29 [email protected]
j  
sun.font.HBShaper.shape(Lsun/font/Font2D;Lsun/font/FontStrike;F[FLjava/lang/foreign/MemorySegment;[CLsun/font/GlyphLayout$GVData;IIIILjava/awt/geom/Point2D$Float;II)V+48
 [email protected]
j  
sun.font.SunLayoutEngine.layout(Lsun/font/FontStrikeDesc;[FFIILsun/font/TextRecord;ILjava/awt/geom/Point2D$Float;Lsun/font/GlyphLayout$GVData;)V+75
 [email protected]
j  sun.font.GlyphLayout$EngineRecord.layout()V+102 [email protected]
j  
sun.font.GlyphLayout.layout(Ljava/awt/Font;Ljava/awt/font/FontRenderContext;[CIIILsun/font/StandardGlyph

nep_invoker_blob hides code used to call harfbuzz. I believe the issue
is that one of the fonts may have an issue causing the harfbuzz crash.

Best Regards, 
 Vladimir.

** Changed in: openjdk-25 (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- OpenJDK 25.0.2 SEGV
+ OpenJDK 25.0.2 SEGV in harfbuzz library on Ubuntu 22.04

** Changed in: openjdk-25 (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155650

Title:
  OpenJDK 25.0.2 SEGV in harfbuzz library on Ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-25/+bug/2155650/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to