Hello,
JVM crashes when trying to convert attached .doc document to PDF (aspose-words-17.7-jdk16.jar).
Attached crashing_issue.zip (8.8 KB) zip file contains:
- crashing_issue.doc
- hs_err_pid3584.log
using following code to replicate the issue:
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import com.aspose.words.Document;
public class SimpleTest {
public static void main(String[] args) throws Exception {
Document doc = new Document(new FileInputStream(new File("crashing_issue.doc")));
FileOutputStream fileOutputStream = new FileOutputStream(new File("crashing_issue.pdf"));
doc.save(fileOutputStream, com.aspose.words.SaveFormat.PDF);
fileOutputStream.close();
}
}
crash error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x74e3c54f, pid=3584, tid=5960
#
# JRE version: 6.0_32-b05
# Java VM: Java HotSpot(TM) Client VM (20.7-b02 mixed mode windows-x86 )
# Problematic frame:
# C [KERNELBASE.dll+0xc54f]
#
# An error report file with more information is saved as:
# D:\work\it\client\trunk\aspose-conversion-server\hs_err_pid3584.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Thank you,
Denis