java调用dll文件,堆栈崩溃溢出的问题
本帖最后由 liunianchao 于 2013-06-17 14:09:16 编辑
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0b56b0d7, pid=3344, tid=2684
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)
# Problematic frame:
# C [AntiVC.dll+0xb0d7]
#
# 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.
#
--------------- T H R E A D ---------------
Current thread (0x00849c00): JavaThread "main" [_thread_in_native, id=2684, stack(0x008f0000,0x00940000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00000001, EBX=0x00000000, ECX=0x00000001, EDX=0x000a0608
ESP=0x0093f518, EBP=0x0093f534, ESI=0x00000000, EDI=0x74389ff8
EIP=0x0b56b0d7, EFLAGS=0x00010202
Top of Stack: (sp=0x0093f518)
0x0093f518: 00000000 00000000 7436fc78 00000001
0x0093f528: 74369bc0 0b59220b 0b592268 0093f610
0x0093f538: 0b592332 00000000 76d1ffcc 0b566713
0x0093f548: 0000000c 4befefc0 00000001 74389ff8
0x0093f558: 76d1ffcc 74389ff0 74388d60 6c73c3ec
0x0093f568: 74388d58 00000026 74369370 756c61f4
0x0093f578: 743692c8 743696d0 602837e4 743696c8
0x0093f588: 7436fc78 67f7ff30 6d58f650 718a9e70
Instructions: (pc=0x0b56b0d7)
0x0b56b0c7: 8b c8 85 c9 0f 84 b0 01 00 00 51 53 8b 1b 53 53
0x0b56b0d7: 8b 1b 53 8b 0b 83 c3 04 85 c9 74 11 8b 03 83 c3
Stack: [0x008f0000,0x00940000], sp=0x0093f518, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [AntiVC.dll+0xb0d7]
C [AntiVC.dll+0x32332]
C [AntiVC.dll+0xa290]
C [AntiVC.dll+0xaf07]
C [jna1114295989977602099.dll+0xc7d9]
C [jna1114295989977602099.dll+0x4561]
C [jna1114295989977602099.dll+0x4d2e]
j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+315
J com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j $Proxy0.LoadCdsFromFile(Ljava/lang/String;Ljava/lang/String;)I+20
j duowei.test.DuoWeiDriver.loadCdsFromFile(Ljava/lang/String;)I+6
j source.app.TicketPriceCrawller.getCode([Ljava/lang/String;)I+18
j source.app.TicketPriceCrawller.crawlTicketPrice(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Z)Ljava/lang/String;+2