nokiatech / heif

High Efficiency Image File Format
Other
1.74k stars 247 forks source link

when i use java api to transfer a heic to jpg, i get a java core dump,and java thread is killed #92

Open sunlightyxy opened 3 years ago

sunlightyxy commented 3 years ago

core message:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fc2dcf44206, pid=1, tid=0x00007fc2dc471700

JRE version: OpenJDK Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08) Java VM: OpenJDK 64-Bit Server VM (25.202-b08 mixed mode linux-amd64 compressed oops) Problematic frame: C [libheifjni.so+0x50206] HEIF::FourCC::operator==(HEIF::FourCC const&) const+0x10

Core dump written. Default location: //core or core.1

An error report file with more information is saved as: //hs_err_pid1.log

If you would like to submit a bug report, please visit: http://bugreport.java.com/bugreport/crash.jsp The crash happened outside the Java Virtual Machine in native code. See problematic frame for where to report the bug.

i want to use gdb debug core file,but error : Missing separate debuginfo for the main executable file

Try: yum --enablerepo='debug' install /usr/lib/debug/.build-id/82/f5c5694a293ebb527d8f76149be9d8c423fd7a Core was generated by `xxxxxxMy Service'. Program terminated with signal 11, Segmentation fault.

0 0x00007f67d8f8aab7 in ?? ()

"/home/core/core.java.1.1603678052" is a core file. Please specify an executable to debug.

How should I debug? Do any of you have this problem?I'm sure this kind of problem only happens to specific images!

sunlightyxy commented 3 years ago

@nokiatech @lassehe @jhippela ,thanks