Erro no Código Nativo usando JARToolkit

0 respostas
F

Estou trabalhnado com JARToolkit, uma interface de captura de vídeo feito em java, usando ARToolkit, feito em C.

Porém, quando tento rodar alguma aplicação usando o JARToolkit, esta não funciona. Da primeira vez que é rodada, aparece o erro: “UnsatisfiedLinkError Não é possível localizar JARToolkit.dll”, porém a dll está na pasta j2sdk1.4.2_04/bin. Nas outras vezes que se roda o programa, o erro é diferente. Segue o relatório gerado:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x3393D5E
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.

Current Java thread:

at com.clab.artoolkit.port.JARFrameGrabber.init(Native Method)

at com.clab.artoolkit.port.JARFrameGrabber.create(JARFrameGrabber.java:74)

at Java3D_Demo.initFrameGrabber(Java3D_Demo.java:138)

at Java3D_Demo.(Java3D_Demo.java:110)

at Java3D_Demo.main(Java3D_Demo.java:388)

Dynamic libraries:
0x7CD80000 - 0x7CD9D000 D:WINDOWSSYSTEMIMAGEHLP.DLL

Heap at VM Abort:

Heap

def new generation   total 576K, used 496K [0x10010000, 0x100b0000, 0x104f0000)

eden space 512K,  94% used [0x10010000, 0x10088628, 0x10090000)

from space 64K,  23% used [0x10090000, 0x10093d48, 0x100a0000)

to   space 64K,   0% used [0x100a0000, 0x100a0000, 0x100b0000)

tenured generation   total 1408K, used 264K [0x104f0000, 0x10650000, 0x14010000)

the space 1408K,  18% used [0x104f0000, 0x105321a0, 0x10532200, 0x10650000)

compacting perm gen  total 4352K, used 4311K [0x14010000, 0x14450000, 0x18010000)

the space 4352K,  99% used [0x14010000, 0x14445d70, 0x14445e00, 0x14450000)

Local Time = Tue Jun 01 17:56:00 2004
Elapsed Time = 2

The exception above was detected in native code outside the VM

Java VM: Java HotSpot™ Client VM (1.4.2_04-b05 mixed mode)

Vale ressaltar também que o arquivo imagehlp.dll existe na pasta windows/system…

Qualquer ajuda será muito bem vinda…

Criado 2 de junho de 2004
Respostas 0
Participantes 1