aspose.word发生EXCEPTION_ACCESS_VIOLATION异常,导致jvm crash

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffec80d832b, pid=6516, tid=0x00000000000013b4
#
# JRE version: Java(TM) SE Runtime Environment (8.0_351-b10) (build 1.8.0_351-b10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.351-b10 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [WindowsNativeCall_x64.dll+0x832b]
#
# Core dump written. Default location: D:\qiyuesuo\hs_err_pid6516.mdmp
#
# 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.
#

---------------  T H R E A D  ---------------

Current thread (0x00000044ccb65800):  JavaThread "pool-9-thread-1" [_thread_in_native, id=5044, stack(0x00000044f7b30000,0x00000044f7c30000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000044ceffa000

Registers:
RAX=0x00000044e0a8fc84, RBX=0x0000000000000034, RCX=0x00000044e0a8fc80, RDX=0xffffffffee56a380
RSP=0x00000044f7c259e8, RBP=0x0000000000000007, RSI=0x00000044e0a8fc50, RDI=0x00000044f7c25af8
R8 =0x0000000000000004, R9 =0x0000000000000000, R10=0x00000044ceff9fd0, R11=0x00000044e0a8fc50
R12=0x00000044ceff9fd0, R13=0x000000079fff0810, R14=0x000000000000001a, R15=0x0000000000000000
RIP=0x00007ffec80d832b, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x00000044f7c259e8)
0x00000044f7c259e8:   00007ffec80d2592 0000000000000000
0x00000044f7c259f8:   0000000000000000 0000000000000000
0x00000044f7c25a08:   00007ffe003e003c 0000000000000000
0x00000044f7c25a18:   0000000000002d20 0000000000000000
0x00000044f7c25a28:   0000000000000006 00000044f7c2de08
0x00000044f7c25a38:   00000044f7c25b50 0000000000000007
0x00000044f7c25a48:   00007ffec80d316e 0000000000002d20
0x00000044f7c25a58:   0000000000000007 000000000000001a
0x00000044f7c25a68:   0000000000000000 00000044ceff9fd0
0x00000044f7c25a78:   00000044f7c25abc 0000000000000000
0x00000044f7c25a88:   0000000000000000 00000044f7c25b3c
0x00000044f7c25a98:   00000044f7c25ab4 00000044f7c25b38
0x00000044f7c25aa8:   00000044f7c25b50 000000280000001e
0x00000044f7c25ab8:   0000001a000001ec 00000044c9974060
0x00000044f7c25ac8:   00000044c99741e0 00000044c997bb60
0x00000044f7c25ad8:   00000044ceff9fd0 00000044ceff9ff8 

Instructions: (pc=0x00007ffec80d832b)
0x00007ffec80d830b:   00 00 00 00 00 0f 11 41 f0 0f 10 04 11 48 83 c1
0x00007ffec80d831b:   10 49 ff c9 75 ef 49 83 e0 0f 74 0d 4a 8d 04 01
0x00007ffec80d832b:   0f 10 4c 10 f0 0f 11 48 f0 0f 11 41 f0 49 8b c3
0x00007ffec80d833b:   c3 0f 1f 40 00 0f 2b 41 e0 0f 2b 49 f0 0f 18 84 


Register to memory mapping:

RAX=0x00000044e0a8fc84 is an unknown value
RBX=0x0000000000000034 is an unknown value
RCX=0x00000044e0a8fc80 is an unknown value
RDX=0xffffffffee56a380 is an unknown value
RSP=0x00000044f7c259e8 is pointing into the stack for thread: 0x00000044ccb65800
RBP=0x0000000000000007 is an unknown value
RSI=0x00000044e0a8fc50 is an unknown value
RDI=0x00000044f7c25af8 is pointing into the stack for thread: 0x00000044ccb65800
R8 =0x0000000000000004 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x00000044ceff9fd0 is an unknown value
R11=0x00000044e0a8fc50 is an unknown value
R12=0x00000044ceff9fd0 is an unknown value
R13=0x000000079fff0810 is an oop
[I 
 - klass: {type array int}
 - length: 919
R14=0x000000000000001a is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x00000044f7b30000,0x00000044f7c30000],  sp=0x00000044f7c259e8,  free space=982k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [WindowsNativeCall_x64.dll+0x832b]
C  [WindowsNativeCall_x64.dll+0x2592]
C  [WindowsNativeCall_x64.dll+0x316e]
C  [WindowsNativeCall_x64.dll+0x3aae]
C  0x00000044b141d3ec

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 57948  com.aspose.words.WindowsNativeCall.readRegistryStringValues(ILjava/lang/String;)Ljava/util/Map; (0 bytes) @ 0x00000044b141d34f [0x00000044b141d300+0x4f]
J 60757 C1 com.aspose.words.internal.zz9D.zzT(Lcom/aspose/words/internal/zz9Y;)V (43 bytes) @ 0x00000044ae8848c4 [0x00000044ae8845a0+0x324]
J 53071 C2 com.aspose.words.internal.zz9E.zzw8()Ljava/lang/Iterable; (168 bytes) @ 0x00000044b31de40c [0x00000044b31de200+0x20c]
J 54992 C2 com.aspose.words.internal.zzQQ.zzW(Ljava/lang/Iterable;)[Lcom/aspose/words/internal/zzQR; (117 bytes) @ 0x00000044af2134a0 [0x00000044af213200+0x2a0]
J 52511 C1 com.aspose.words.internal.zzRC.zzM7()V (51 bytes) @ 0x00000044ad341e14 [0x00000044ad341b60+0x2b4]
J 52510 C1 com.aspose.words.internal.zzRC.zzM6()[Lcom/aspose/words/internal/zzQR; (9 bytes) @ 0x00000044b200d744 [0x00000044b200d6c0+0x84]
J 38507 C2 com.aspose.words.internal.zzRC.zz1(Ljava/lang/String;)Ljava/util/ArrayList; (119 bytes) @ 0x00000044ad325a08 [0x00000044ad325960+0xa8]
J 51267 C1 com.aspose.words.internal.zzRC.zz2(Ljava/lang/String;)Lcom/aspose/words/internal/zz99; (17 bytes) @ 0x00000044ae30f604 [0x00000044ae30f580+0x84]
J 38509 C2 com.aspose.words.zz8U.zzK(Ljava/lang/String;I)Lcom/aspose/words/internal/zz9A; (104 bytes) @ 0x00000044ad798bfc [0x00000044ad798800+0x3fc]
J 50727 C2 com.aspose.words.internal.zzA7.moveNext()Z (193 bytes) @ 0x00000044af9cac5c [0x00000044af9ca5a0+0x6bc]
J 50802 C2 com.aspose.words.zzYY6.zzX(Ljava/lang/String;Lcom/aspose/words/Font;)V (498 bytes) @ 0x00000044b0174dd4 [0x00000044b0174620+0x7b4]
J 35151 C2 com.aspose.words.zz8M.zzPY(Ljava/lang/String;)V (66 bytes) @ 0x00000044b0679598 [0x00000044b0679480+0x118]
J 39046 C2 com.aspose.words.zz8M.<init>(Lcom/aspose/words/Inline;Lcom/aspose/words/zzYYH;Ljava/lang/String;Lcom/aspose/words/zzYV7;)V (493 bytes) @ 0x00000044b0cea4f0 [0x00000044b0ce8dc0+0x1730]
J 37984 C2 com.aspose.words.zz8L.moveNext()Z (434 bytes) @ 0x00000044b0e8ce74 [0x00000044b0e8a0c0+0x2db4]
J 55660 C2 com.aspose.words.zzZ5P.zzYSN()V (307 bytes) @ 0x00000044b375d07c [0x00000044b375aba0+0x24dc]
J 60428 C1 com.aspose.words.Document.updatePageLayout()V (72 bytes) @ 0x00000044b2537534 [0x00000044b2536fa0+0x594]
J 61218 C1 com.aspose.words.zzZZT.zzY(Lcom/aspose/words/zzYY2;Lcom/aspose/words/zzZLG;)V (103 bytes) @ 0x00000044b40452c4 [0x00000044b4044c40+0x684]
J 65317 C1 com.aspose.words.zzZZT.zzZ(Lcom/aspose/words/zzYY2;)Lcom/aspose/words/SaveOutputParameters; (99 bytes) @ 0x00000044aaa75acc [0x00000044aaa75000+0xacc]
J 65316 C1 com.aspose.words.zzZF5.zzZ(Lcom/aspose/words/zzYY2;)Lcom/aspose/words/SaveOutputParameters; (54 bytes) @ 0x00000044ad54bbb4 [0x00000044ad54b880+0x334]
j  com.aspose.words.Document.zzZ(Lcom/aspose/words/zzYY2;Lcom/aspose/words/SaveOptions;)Lcom/aspose/words/SaveOutputParameters;+104
j  com.aspose.words.Document.zzZ(Lcom/aspose/words/internal/zz4K;Ljava/lang/String;Lcom/aspose/words/SaveOptions;)Lcom/aspose/words/SaveOutputParameters;+193
J 65185 C1 com.aspose.words.Document.zzZ(Lcom/aspose/words/internal/zz4K;Lcom/aspose/words/SaveOptions;)Lcom/aspose/words/SaveOutputParameters; (29 bytes) @ 0x00000044ad06166c [0x00000044ad0614a0+0x1cc]
v  ~StubRoutines::call_stub

Other Threads:
  0x00000044c4552800 VMThread [stack: 0x00000044c5050000,0x00000044c5150000] [id=4532]
  0x00000044c4604000 WatcherThread [stack: 0x00000044c59b0000,0x00000044c5ab0000] [id=7616]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

heap address: 0x00000006c0000000, size: 4096 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x00000007c0000000

Heap:
 PSYoungGen      total 980480K, used 875675K [0x000000076ab00000, 0x00000007a9900000, 0x00000007c0000000)
  eden space 935936K, 93% used [0x000000076ab00000,0x00000007a0226cb0,0x00000007a3d00000)
  from space 44544K, 0% used [0x00000007a6d80000,0x00000007a6d80000,0x00000007a9900000)
  to   space 47104K, 0% used [0x00000007a3d00000,0x00000007a3d00000,0x00000007a6b00000)
 ParOldGen       total 1253888K, used 266063K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d03d3c70,0x000000070c880000)
 Metaspace       used 209841K, capacity 225905K, committed 226416K, reserved 1251328K
  class space    used 22406K, capacity 25239K, committed 25344K, reserved 1048576K

Card table byte_map: [0x00000044b9b80000,0x00000044ba390000] byte_map_base: 0x00000044b6580000

Marking Bits: (ParMarkBitMap*) 0x0000000059518fd0
 Begin Bits: [0x00000044bacf0000, 0x00000044becf0000)
 End Bits:   [0x00000044becf0000, 0x00000044c2cf0000)

Polling page: 0x00000044aa360000

CodeCache: size=245760Kb used=111299Kb max_used=155749Kb free=134460Kb
 bounds [0x00000044aa7c0000, 0x00000044b4130000, 0x00000044b97c0000]
 total_blobs=24285 nmethods=23280 adapters=916
 compilation: enabled

GC Heap History (10 events):
Event: 9830216.024 GC heap before
{Heap before GC invocations=3392 (full 277):
 PSYoungGen      total 984576K, used 963534K [0x000000076ab00000, 0x00000007a9b80000, 0x00000007c0000000)
  eden space 938496K, 99% used [0x000000076ab00000,0x00000007a3f7df78,0x00000007a3f80000)
  from space 46080K, 54% used [0x00000007a6e80000,0x00000007a86f5b98,0x00000007a9b80000)
  to   space 47104K, 0% used [0x00000007a3f80000,0x00000007a3f80000,0x00000007a6d80000)
 ParOldGen       total 1253888K, used 264182K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d01fdb78,0x000000070c880000)
 Metaspace       used 209972K, capacity 226153K, committed 226416K, reserved 1251328K
  class space    used 22431K, capacity 25283K, committed 25344K, reserved 1048576K
Event: 9830216.053 GC heap after
Heap after GC invocations=3392 (full 277):
 PSYoungGen      total 985600K, used 33484K [0x000000076ab00000, 0x00000007aa000000, 0x00000007c0000000)
  eden space 938496K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007a3f80000)
  from space 47104K, 71% used [0x00000007a3f80000,0x00000007a60330d8,0x00000007a6d80000)
  to   space 49152K, 0% used [0x00000007a7000000,0x00000007a7000000,0x00000007aa000000)
 ParOldGen       total 1253888K, used 264214K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d0205b78,0x000000070c880000)
 Metaspace       used 209972K, capacity 226153K, committed 226416K, reserved 1251328K
  class space    used 22431K, capacity 25283K, committed 25344K, reserved 1048576K
}
Event: 9831082.346 GC heap before
{Heap before GC invocations=3393 (full 277):
 PSYoungGen      total 985600K, used 971967K [0x000000076ab00000, 0x00000007aa000000, 0x00000007c0000000)
  eden space 938496K, 99% used [0x000000076ab00000,0x00000007a3f7ccf8,0x00000007a3f80000)
  from space 47104K, 71% used [0x00000007a3f80000,0x00000007a60330d8,0x00000007a6d80000)
  to   space 49152K, 0% used [0x00000007a7000000,0x00000007a7000000,0x00000007aa000000)
 ParOldGen       total 1253888K, used 264214K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d0205b78,0x000000070c880000)
 Metaspace       used 209976K, capacity 226159K, committed 226416K, reserved 1251328K
  class space    used 22431K, capacity 25284K, committed 25344K, reserved 1048576K
Event: 9831082.378 GC heap after
Heap after GC invocations=3393 (full 277):
 PSYoungGen      total 984576K, used 38767K [0x000000076ab00000, 0x00000007aa700000, 0x00000007c0000000)
  eden space 935424K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007a3c80000)
  from space 49152K, 78% used [0x00000007a7000000,0x00000007a95dbd68,0x00000007aa000000)
  to   space 52736K, 0% used [0x00000007a3c80000,0x00000007a3c80000,0x00000007a7000000)
 ParOldGen       total 1253888K, used 264286K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d0217b78,0x000000070c880000)
 Metaspace       used 209976K, capacity 226159K, committed 226416K, reserved 1251328K
  class space    used 22431K, capacity 25284K, committed 25344K, reserved 1048576K
}
Event: 9832661.334 GC heap before
{Heap before GC invocations=3394 (full 277):
 PSYoungGen      total 984576K, used 974191K [0x000000076ab00000, 0x00000007aa700000, 0x00000007c0000000)
  eden space 935424K, 100% used [0x000000076ab00000,0x00000007a3c80000,0x00000007a3c80000)
  from space 49152K, 78% used [0x00000007a7000000,0x00000007a95dbd68,0x00000007aa000000)
  to   space 52736K, 0% used [0x00000007a3c80000,0x00000007a3c80000,0x00000007a7000000)
 ParOldGen       total 1253888K, used 264286K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d0217b78,0x000000070c880000)
 Metaspace       used 209984K, capacity 226171K, committed 226416K, reserved 1251328K
  class space    used 22432K, capacity 25286K, committed 25344K, reserved 1048576K
Event: 9832661.365 GC heap after
Heap after GC invocations=3394 (full 277):
 PSYoungGen      total 959488K, used 23707K [0x000000076ab00000, 0x00000007a9e00000, 0x00000007c0000000)
  eden space 935424K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007a3c80000)
  from space 24064K, 98% used [0x00000007a3c80000,0x00000007a53a6ff0,0x00000007a5400000)
  to   space 49664K, 0% used [0x00000007a6d80000,0x00000007a6d80000,0x00000007a9e00000)
 ParOldGen       total 1253888K, used 264414K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d02378b8,0x000000070c880000)
 Metaspace       used 209984K, capacity 226171K, committed 226416K, reserved 1251328K
  class space    used 22432K, capacity 25286K, committed 25344K, reserved 1048576K
}
Event: 9833342.775 GC heap before
{Heap before GC invocations=3395 (full 277):
 PSYoungGen      total 959488K, used 446780K [0x000000076ab00000, 0x00000007a9e00000, 0x00000007c0000000)
  eden space 935424K, 45% used [0x000000076ab00000,0x00000007848281d8,0x00000007a3c80000)
  from space 24064K, 98% used [0x00000007a3c80000,0x00000007a53a6ff0,0x00000007a5400000)
  to   space 49664K, 0% used [0x00000007a6d80000,0x00000007a6d80000,0x00000007a9e00000)
 ParOldGen       total 1253888K, used 264414K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d02378b8,0x000000070c880000)
 Metaspace       used 209989K, capacity 226177K, committed 226416K, reserved 1251328K
  class space    used 22433K, capacity 25287K, committed 25344K, reserved 1048576K
Event: 9833342.797 GC heap after
Heap after GC invocations=3395 (full 277):
 PSYoungGen      total 980480K, used 22677K [0x000000076ab00000, 0x00000007a9900000, 0x00000007c0000000)
  eden space 935936K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007a3d00000)
  from space 44544K, 50% used [0x00000007a6d80000,0x00000007a83a5530,0x00000007a9900000)
  to   space 47104K, 0% used [0x00000007a3d00000,0x00000007a3d00000,0x00000007a6b00000)
 ParOldGen       total 1253888K, used 264671K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d0277d18,0x000000070c880000)
 Metaspace       used 209989K, capacity 226177K, committed 226416K, reserved 1251328K
  class space    used 22433K, capacity 25287K, committed 25344K, reserved 1048576K
}
Event: 9833342.797 GC heap before
{Heap before GC invocations=3396 (full 278):
 PSYoungGen      total 980480K, used 22677K [0x000000076ab00000, 0x00000007a9900000, 0x00000007c0000000)
  eden space 935936K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007a3d00000)
  from space 44544K, 50% used [0x00000007a6d80000,0x00000007a83a5530,0x00000007a9900000)
  to   space 47104K, 0% used [0x00000007a3d00000,0x00000007a3d00000,0x00000007a6b00000)
 ParOldGen       total 1253888K, used 264671K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d0277d18,0x000000070c880000)
 Metaspace       used 209989K, capacity 226177K, committed 226416K, reserved 1251328K
  class space    used 22433K, capacity 25287K, committed 25344K, reserved 1048576K
Event: 9833343.338 GC heap after
Heap after GC invocations=3396 (full 278):
 PSYoungGen      total 980480K, used 0K [0x000000076ab00000, 0x00000007a9900000, 0x00000007c0000000)
  eden space 935936K, 0% used [0x000000076ab00000,0x000000076ab00000,0x00000007a3d00000)
  from space 44544K, 0% used [0x00000007a6d80000,0x00000007a6d80000,0x00000007a9900000)
  to   space 47104K, 0% used [0x00000007a3d00000,0x00000007a3d00000,0x00000007a6b00000)
 ParOldGen       total 1253888K, used 266063K [0x00000006c0000000, 0x000000070c880000, 0x000000076ab00000)
  object space 1253888K, 21% used [0x00000006c0000000,0x00000006d03d3c70,0x000000070c880000)
 Metaspace       used 209828K, capacity 225881K, committed 226416K, reserved 1251328K
  class space    used 22404K, capacity 25235K, committed 25344K, reserved 1048576K
}

Dynamic libraries:
0x00007ff7f2c00000 - 0x00007ff7f2c47000 	C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe
0x00007ffed15e0000 - 0x00007ffed178c000 	C:\Windows\SYSTEM32\ntdll.dll
0x00007ffed0ff0000 - 0x00007ffed112e000 	C:\Windows\system32\KERNEL32.DLL
0x00007ffece960000 - 0x00007ffecea75000 	C:\Windows\system32\KERNELBASE.dll
0x00007ffecd180000 - 0x00007ffecd20e000 	C:\Windows\system32\apphelp.dll
0x00007ffeb2300000 - 0x00007ffeb2353000 	C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
0x00007ffecedc0000 - 0x00007ffecee6a000 	C:\Windows\system32\msvcrt.dll
0x00007ffece500000 - 0x00007ffece52e000 	C:\Windows\SYSTEM32\SspiCli.dll
0x00007ffed0d00000 - 0x00007ffed0d54000 	C:\Windows\system32\SHLWAPI.dll
0x00007ffed0860000 - 0x00007ffed09d7000 	C:\Windows\system32\USER32.dll
0x00007ffed06c0000 - 0x00007ffed0854000 	C:\Windows\system32\ole32.dll
0x00007ffeceec0000 - 0x00007ffed03d9000 	C:\Windows\system32\SHELL32.dll
0x00007ffecdf70000 - 0x00007ffecdf91000 	C:\Windows\SYSTEM32\USERENV.dll
0x00007ffed0d60000 - 0x00007ffed0e0a000 	C:\Windows\system32\ADVAPI32.dll
0x00007ffec6530000 - 0x00007ffec654e000 	C:\Windows\SYSTEM32\MPR.dll
0x00007ffed1370000 - 0x00007ffed14b1000 	C:\Windows\system32\RPCRT4.dll
0x00007ffed14c0000 - 0x00007ffed1519000 	C:\Windows\SYSTEM32\sechost.dll
0x00007ffed03e0000 - 0x00007ffed05f1000 	C:\Windows\SYSTEM32\combase.dll
0x00007ffed09f0000 - 0x00007ffed0b41000 	C:\Windows\system32\GDI32.dll
0x00007ffece730000 - 0x00007ffece745000 	C:\Windows\SYSTEM32\profapi.dll
0x00007ffecc860000 - 0x00007ffecc912000 	C:\Windows\SYSTEM32\SHCORE.dll
0x00007ffecc310000 - 0x00007ffecc58a000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17810_none_6240b9c7ecbd0bda\COMCTL32.dll
0x00007ffec7f70000 - 0x00007ffec7f85000 	C:\Program Files\Java\jre1.8.0_351\bin\vcruntime140.dll
0x00007ffec74e0000 - 0x00007ffec74e4000 	C:\Windows\SYSTEM32\api-ms-win-crt-runtime-l1-1-0.dll
0x00007ffec74a0000 - 0x00007ffec74a3000 	C:\Windows\SYSTEM32\api-ms-win-crt-heap-l1-1-0.dll
0x00007ffec7010000 - 0x00007ffec7014000 	C:\Windows\SYSTEM32\api-ms-win-crt-string-l1-1-0.dll
0x00007ffec74c0000 - 0x00007ffec74c4000 	C:\Windows\SYSTEM32\api-ms-win-crt-stdio-l1-1-0.dll
0x00007ffec7000000 - 0x00007ffec7004000 	C:\Windows\SYSTEM32\api-ms-win-crt-convert-l1-1-0.dll
0x00007ffec6da0000 - 0x00007ffec6e92000 	C:\Windows\SYSTEM32\ucrtbase.DLL
0x00007ffeb2260000 - 0x00007ffeb22fb000 	C:\Program Files\Java\jre1.8.0_351\bin\msvcp140.dll
0x00007ffec74b0000 - 0x00007ffec74b3000 	C:\Windows\SYSTEM32\api-ms-win-crt-locale-l1-1-0.dll
0x00007ffec74d0000 - 0x00007ffec74d5000 	C:\Windows\SYSTEM32\api-ms-win-crt-math-l1-1-0.dll
0x00007ffec6f20000 - 0x00007ffec6f23000 	C:\Windows\SYSTEM32\api-ms-win-crt-filesystem-l1-1-0.dll
0x00007ffec6f30000 - 0x00007ffec6f33000 	C:\Windows\SYSTEM32\api-ms-win-crt-time-l1-1-0.dll
0x00007ffec6f10000 - 0x00007ffec6f13000 	C:\Windows\SYSTEM32\api-ms-win-crt-environment-l1-1-0.dll
0x00007ffec6f00000 - 0x00007ffec6f03000 	C:\Windows\SYSTEM32\api-ms-win-crt-utility-l1-1-0.dll
0x0000000058d30000 - 0x0000000059591000 	C:\Program Files\Java\jre1.8.0_351\bin\server\jvm.dll
0x00007ffec6ed0000 - 0x00007ffec6ed9000 	C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffec6fd0000 - 0x00007ffec6ff2000 	C:\Windows\SYSTEM32\WINMM.dll
0x00007ffec8ef0000 - 0x00007ffec8efa000 	C:\Windows\SYSTEM32\VERSION.dll
0x00007ffecee70000 - 0x00007ffecee77000 	C:\Windows\system32\PSAPI.DLL
0x00007ffed1520000 - 0x00007ffed157a000 	C:\Windows\system32\WS2_32.dll
0x00007ffec6ea0000 - 0x00007ffec6eca000 	C:\Windows\SYSTEM32\WINMMBASE.dll
0x00007ffed09e0000 - 0x00007ffed09e9000 	C:\Windows\system32\NSI.dll
0x00007ffece800000 - 0x00007ffece84f000 	C:\Windows\SYSTEM32\cfgmgr32.dll
0x00007ffecd5b0000 - 0x00007ffecd5d8000 	C:\Windows\SYSTEM32\DEVOBJ.dll
0x00007ffec9fe0000 - 0x00007ffec9ff0000 	C:\Program Files\Java\jre1.8.0_351\bin\verify.dll
0x00007ffec46f0000 - 0x00007ffec471b000 	C:\Program Files\Java\jre1.8.0_351\bin\java.dll
0x00007ffec7f50000 - 0x00007ffec7f68000 	C:\Program Files\Java\jre1.8.0_351\bin\zip.dll
0x00007ffecd3c0000 - 0x00007ffecd3cb000 	C:\Windows\SYSTEM32\kernel.appcore.dll
0x00007ffec9bd0000 - 0x00007ffec9bdd000 	C:\Program Files\Java\jre1.8.0_351\bin\management.dll
0x00007ffec7630000 - 0x00007ffec764c000 	C:\Program Files\Java\jre1.8.0_351\bin\net.dll
0x00007ffecdef0000 - 0x00007ffecdf49000 	C:\Windows\system32\mswsock.dll
0x00007ffec58f0000 - 0x00007ffec5905000 	C:\Windows\system32\napinsp.dll
0x00007ffecc670000 - 0x00007ffecc68b000 	C:\Windows\system32\NLAapi.dll
0x00007ffecdd80000 - 0x00007ffecde24000 	C:\Windows\SYSTEM32\DNSAPI.dll
0x00007ffec5950000 - 0x00007ffec595d000 	C:\Windows\System32\winrnr.dll
0x00007ffec6620000 - 0x00007ffec662a000 	C:\Windows\System32\rasadhlp.dll
0x00007ffecbe80000 - 0x00007ffecbeaa000 	C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x00007ffecbc10000 - 0x00007ffecbc1a000 	C:\Windows\SYSTEM32\WINNSI.DLL
0x00007ffecb9c0000 - 0x00007ffecba2b000 	C:\Windows\System32\fwpuclnt.dll
0x00007ffec7560000 - 0x00007ffec7573000 	C:\Program Files\Java\jre1.8.0_351\bin\nio.dll
0x00007ffecb910000 - 0x00007ffecb926000 	C:\Windows\SYSTEM32\dhcpcsvc6.DLL
0x00007ffecb7e0000 - 0x00007ffecb7fa000 	C:\Windows\SYSTEM32\dhcpcsvc.DLL
0x00007ffec3420000 - 0x00007ffec346f000 	C:\Windows\SYSTEM32\pdh.dll
0x00007ffec8a40000 - 0x00007ffec8a4f000 	C:\Windows\System32\perfproc.dll
0x00007ffec38f0000 - 0x00007ffec3914000 	C:\Program Files\Java\jre1.8.0_351\bin\sunec.dll
0x00007ffec82c0000 - 0x00007ffec82cd000 	C:\Program Files\Java\jre1.8.0_351\bin\sunmscapi.dll
0x00007ffecea80000 - 0x00007ffecec5f000 	C:\Windows\system32\CRYPT32.dll
0x00007ffece1c0000 - 0x00007ffece1e5000 	C:\Windows\SYSTEM32\ncrypt.dll
0x00007ffece7e0000 - 0x00007ffece7f1000 	C:\Windows\system32\MSASN1.dll
0x00007ffece1f0000 - 0x00007ffece216000 	C:\Windows\SYSTEM32\bcrypt.dll
0x00007ffece160000 - 0x00007ffece197000 	C:\Windows\SYSTEM32\NTASN1.dll
0x00007ffeb20c0000 - 0x00007ffeb2255000 	C:\Program Files\Java\jre1.8.0_351\bin\awt.dll
0x00007ffed11e0000 - 0x00007ffed12a1000 	C:\Windows\system32\OLEAUT32.dll
0x00007ffeb2070000 - 0x00007ffeb20b9000 	C:\Program Files\Java\jre1.8.0_351\bin\fontmanager.dll
0x00007ffecce80000 - 0x00007ffeccea1000 	C:\Windows\system32\DWMAPI.DLL
0x00007ffec8140000 - 0x00007ffec8181000 	C:\Program Files\Java\jre1.8.0_351\bin\lcms.dll
0x00007ffec80d0000 - 0x00007ffec80f4000 	C:\Windows\Temp\AsposeNative\WindowsNativeCall\1692664314743\WindowsNativeCall_x64.dll
0x00007ffec8050000 - 0x00007ffec8082000 	C:\Program Files\Java\jre1.8.0_351\bin\jpeg.dll
0x00007ffec7ee0000 - 0x00007ffec7f23000 	C:\Program Files\Java\jre1.8.0_351\bin\t2k.dll
0x00007ffec6c10000 - 0x00007ffec6d9a000 	C:\Windows\system32\DBGHELP.DLL


---------------  S Y S T E M  ---------------

OS: Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.17415)

CPU:total 4 (initial active 4) (1 cores per cpu, 1 threads per core) family 6 model 85 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 16776756k(4702352k free), swap 24765116k(10985552k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.351-b10) for windows-amd64 JRE (1.8.0_351-b10), built on Sep 15 2022 02:58:06 by "java_re" with MS VC++ 15.9 (VS2017)

time: Wed Dec 13 16:27:49 2023
timezone: 中国标准时间
elapsed time: 9835478.185262 seconds (113d 20h 4m 38s)

问题应该发生在这个dll里面,我没法复现场景,有不有什么办法修复这个问题。
C:\Windows\Temp\AsposeNative\WindowsNativeCall\1692664314743\WindowsNativeCall_x64.dll

@Lycheng, 正确呈现旧格式的 Word 文档需要 WindowsNativeCall_x64.dll。 您可以尝试使用以下代码禁用此 DLL 的加载:

NativeLibSettings.skipWinNativeLib();

Document doc = new Document("in.docx");
doc.save("out.pdf");

如果禁止使用这个dll后,会出现什么其它问题吗。或者禁止这个dll后,WindowsNativeCall_x64.dll的功能是用别的什么方法替换了吗

@Lycheng, WindowsNativeCall_x64.dll 包含模拟只能在旧 Microsoft Word 文档中找到的功能的方法。 最新版本的 Microsoft Word 已禁用对此功能的支持。 除非您需要模拟旧功能,否则您应该不会遇到任何问题。

您能否提供发生此异常时您使用的Aspose.Words版本?

写个静态块,如:static {NativeLibSettings.skipWinNativeLib();},能生效这个禁用效果吗。还是要每个线程thread都需要先执行一下NativeLibSettings.skipWinNativeLib(),再去转换pdf才会生效禁用的效果。

aspose.word用的版本是23.6

@Lycheng, 对 NativeLibSettings.skipWinNativeLib() 的一次调用就足够了。 您可以通过调用 NativeLibSettings.isWinNativeLibLoaded() 来执行额外检查是否在每个线程中加载 DLL。

感谢您报告此问题。 我们已经在我们的内部问题跟踪系统中打开了以下新工单,并将根据 免费支持政策 中提到的条款提供它们的修复:

Issue ID(s): WORDSJAVA-2915

如果您需要优先支持以及直接联系我们的付费支持管理团队,您可以获得 付费支持服务

WindowsNativeCall_x64.dll 包含模拟只能在旧 Microsoft Word 文档中找到的功能的方法。这里的旧版指的是哪个版本前的叫旧版呀

@Lycheng, WindowsNativeCall_x64.dll 实现由 Use printer metrics to lay out document 兼容性选项启用的功能。 此选项适用于在 Microsoft Word 2013 及更高版本中创建的文档。 此外,如果文档是在早期版本的 Microsoft Word 中创建的,则最新版本的 Microsoft Word 2019 会完全忽略此选项。

The issues you have found earlier (filed as WORDSJAVA-2915) have been fixed in this Aspose.Words for Java 24.3 update.