-
Type:
Bug
-
Status: Resolved
-
Priority:
P2
-
Resolution: Fixed
-
Affects Version/s: openjdk8u232, 12, 13
-
Fix Version/s: 12
-
Component/s: client-libs
-
Subcomponent:
-
Resolved In Build:b29
-
CPU:generic
-
OS:generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8217673 | 13 | Philip Race | P2 | Resolved | Fixed | b05 |
JDK-8218350 | 12.0.2 | Philip Race | P2 | Resolved | Fixed | b01 |
JDK-8218302 | 12.0.1 | Philip Race | P2 | Resolved | Fixed | b06 |
JDK-8217932 | 11.0.4-oracle | Philip Race | P2 | Resolved | Fixed | b01 |
JDK-8218001 | 11.0.3-oracle | Philip Race | P2 | Closed | Fixed | b05 |
JDK-8219226 | 11.0.3 | Philip Race | P2 | Closed | Fixed | master |
JDK-8232542 | openjdk8u242 | Philip Race | P2 | Resolved | Fixed | team |
JDK-8230867 | openjdk8u232 | Philip Race | P2 | Resolved | Fixed | b06 |
JDK-8232503 | openjdk7u | Philip Race | P2 | Resolved | Fixed | master |
api/javax_swing/SwingUtilities/other.html
test crashes on linuxaarch64 .
It seems that for some reason a buffer overrun occurs in CopyBW2Grey8 .
( src/java.desktop/share/native/libfontmanager/freetypeScaler.c ).
I added output to the coding of freetypeScaler.c CopyBW2Grey8, this shows why the crash occurs . The pointer src8 goes over the allowed src image size.
Crash is at :
# C [libfontmanager.so+0xb86c] CopyBW2Grey8+0x164
We notice the crash on linuxaarch64 (but similar crashes can be seen on Solaris Sparc).
Further investigation shows that the linuxaarch64 crash was seen on a SLES15 (Suse Linux 15) machine. But with linux ppc64le and linux x86_64 on SLES15, the crash occurs too so it seems to be a SLES15 related issue .
A small standalone java program is attached that shows the issue.
- backported by
-
JDK-8217673 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8217932 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8218302 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8218350 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8230867 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8232503 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8232542 crash in freetypeScaler.c CopyBW2Grey8
-
- Resolved
-
-
JDK-8218001 crash in freetypeScaler.c CopyBW2Grey8
-
- Closed
-
-
JDK-8219226 crash in freetypeScaler.c CopyBW2Grey8
-
- Closed
-
- relates to
-
JDK-8214002 Cannot use italic font style if the font has embedded bitmap
-
- Resolved
-
-
JDK-8217768 SIGSEV in Java_sun_font_FreetypeFontScaler_getGlyphMetricsNative+0x17
-
- Resolved
-