Guys,
I have a program developed in
Java using Netbeans version jdk-8u65-nb-8_1-windows-x64.
When I run the program using the command line, it works correctly, and the program returns the correct message.
But I need call the program using Python with the bellow comand:
And the "autentica.bat" just run the command that works in the command line
But, when I call the program using Pyhton, occurs the following error message:
I've uninstalled and installed all Java and Netbeans programs, but continued to occur the same error.
It seems the problem only occurs in Python.
I do not know what parameter should I change so that this error does not occur.
Thanks,
Fernando
Below the core dump:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ffbbee0871c, pid=1836, tid=2660
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [KERNELBASE.dll+0x871c]
#
# Core dump written. Default location: C:\Zope\2.11.4\Python\hs_err_pid1836.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 (0x0000000000c70800): JavaThread "main" [_thread_in_native, id=2660, stack(0x0000000000b70000,0x0000000000c70000)]
siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x0000000019930520 0x0000000000c6f3c0 0x0000000180027fe0 0x0000000180000000
Registers:
RAX=0x0000000000000000, RBX=0x0000000000c6f3c0, RCX=0x0000000000c6ed38, RDX=0x0000000000c6ee20
RSP=0x0000000000c6f250, RBP=0x0000000000c6f518, RSI=0x0000000000c709f8, RDI=0x0000000180027fe0
R8 =0x0000000000000000, R9 =0x0000000000000001, R10=0x00000000f827db30, R11=0x00000000f827db30
R12=0x0000000011570d70, R13=0x0000000010565810, R14=0x0000000000c6f520, R15=0x0000000000c70800
RIP=0x00007ffbbee0871c, EFLAGS=0x0000000000000202
Top of Stack: (sp=0x0000000000c6f250)
0x0000000000c6f250: 0000000000dd1020 0000000000c6f3c0
0x0000000000c6f260: 0000000000c709f8 0000000180027fe0
0x0000000000c6f270: 00000001e06d7363 0000000000000000
0x0000000000c6f280: 00007ffbbee0871c 0000000000000004
0x0000000000c6f290: 0000000019930520 0000000000c6f3c0
0x0000000000c6f2a0: 0000000180027fe0 0000000180000000
0x0000000000c6f2b0: 0000000000000000 0000000000000000
0x0000000000c6f2c0: 0000000000000000 0000000000020000
0x0000000000c6f2d0: 0000000000c6f1e0 0000000010010011
0x0000000000c6f2e0: 0000000011880b08 00007ffbc1c44d27
0x0000000000c6f2f0: 0000000000000008 00007ffbc1c35ed7
0x0000000000c6f300: 0000000000c70800 0000000000c6f520
0x0000000000c6f310: 0000b990577873b2 0000000180027fe0
0x0000000000c6f320: 0000000000c709f8 000000018001319a
0x0000000000c6f330: 0000000000c6f3c0 0000000000c6f3a0
0x0000000000c6f340: ffffffff00000001 0000000000000000
Instructions: (pc=0x00007ffbbee0871c)
0x00007ffbbee086fc: 44 3b c0 44 0f 47 c0 44 89 44 24 38 49 c1 e0 03
0x00007ffbbee0870c: e8 33 8f ff ff 48 8d 4c 24 20 ff 15 54 0f 10 00
0x00007ffbbee0871c: 48 8b 8c 24 c0 00 00 00 48 33 cc e8 14 8d ff ff
0x00007ffbbee0872c: 48 81 c4 d8 00 00 00 c3 90 90 90 90 90 90 90 90
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x0000000000c6f3c0 is pointing into the stack for thread: 0x0000000000c70800
RCX=0x0000000000c6ed38 is pointing into the stack for thread: 0x0000000000c70800
RDX=0x0000000000c6ee20 is pointing into the stack for thread: 0x0000000000c70800
RSP=0x0000000000c6f250 is pointing into the stack for thread: 0x0000000000c70800
RBP=0x0000000000c6f518 is pointing into the stack for thread: 0x0000000000c70800
RSI=0x0000000000c709f8 is an unknown value
RDI=0x0000000180027fe0 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x0000000000000001 is an unknown value
R10=0x00000000f827db30 is an oop
java.util.Vector
- klass: 'java/util/Vector'
R11=0x00000000f827db30 is an oop
java.util.Vector
- klass: 'java/util/Vector'
R12=0x0000000011570d70 is an unknown value
R13={method} {0x0000000010565818} 'NBioAPI_NativeFDxToNBioBSP' '(I[BIIILcom/nitgen/SDK/BSP/NBioBSPJNI$FIR_HANDLE;)I' in 'com/nitgen/SDK/BSP/NBioBSPJNI'
R14=0x0000000000c6f520 is pointing into the stack for thread: 0x0000000000c70800
R15=0x0000000000c70800 is a thread
Stack: [0x0000000000b70000,0x0000000000c70000], sp=0x0000000000c6f250, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [KERNELBASE.dll+0x871c]
C [NBioBSPJNI.dll+0x1319a]
C [NBioBSPJNI.dll+0x10864]
C [NBioBSPJNI.dll+0x5210]
C 0x0000000000d85554
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.nitgen.SDK.BSP.NBioBSPJNI.NBioAPI_NativeFDxToNBioBSP(I[BIIILcom/nitgen/SDK/BSP/NBioBSPJNI$FIR_HANDLE;)I+0
j com.nitgen.SDK.BSP.NBioBSPJNI$Export.ImportFIR([BIIILcom/nitgen/SDK/BSP/NBioBSPJNI$FIR_HANDLE;)I+33
j com.nitgen.SDK.BSP.NBioBSPJNI$Export.ImportFIR([BIILcom/nitgen/SDK/BSP/NBioBSPJNI$FIR_HANDLE;)I+7
j busca3n_java.busca3n_java.autentic_python(Ljava/lang/String;)Ljava/lang/String;+362
j busca3n_java.busca3n_java.main([Ljava/lang/String;)V+12
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000011991000 JavaThread "Timer-0" daemon [_thread_blocked, id=2032, stack(0x00000000116a0000,0x00000000117a0000)]
0x0000000010ab7000 JavaThread "Service Thread" daemon [_thread_blocked, id=2064, stack(0x0000000011340000,0x0000000011440000)]
0x0000000010aaf000 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=2100, stack(0x0000000011240000,0x0000000011340000)]
0x0000000010a4f000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2568, stack(0x0000000011140000,0x0000000011240000)]
0x0000000010a5d000 JavaThread "Attach Listener" daemon [_thread_blocked, id=896, stack(0x0000000011040000,0x0000000011140000)]
0x0000000010a5b800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1184, stack(0x0000000010f40000,0x0000000011040000)]
0x0000000010a15800 JavaThread "Finalizer" daemon [_thread_blocked, id=2200, stack(0x0000000010d60000,0x0000000010e60000)]
0x0000000010a0e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=1104, stack(0x0000000010c60000,0x0000000010d60000)]
=>0x0000000000c70800 JavaThread "main" [_thread_in_native, id=2660, stack(0x0000000000b70000,0x0000000000c70000)]
Other Threads:
0x0000000010a0a000 VMThread [stack: 0x0000000010b60000,0x0000000010c60000] [id=2884]
0x0000000010aba000 WatcherThread [stack: 0x0000000011440000,0x0000000011540000] [id=2316]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
def new generation total 2432K, used 2300K [0x00000000f8000000, 0x00000000f82a0000, 0x00000000faaa0000)
eden space 2176K, 93% used [0x00000000f8000000, 0x00000000f81ff390, 0x00000000f8220000)
from space 256K, 99% used [0x00000000f8260000, 0x00000000f829fff8, 0x00000000f82a0000)
to space 256K, 0% used [0x00000000f8220000, 0x00000000f8220000, 0x00000000f8260000)
tenured generation total 5504K, used 484K [0x00000000faaa0000, 0x00000000fb000000, 0x0000000100000000)
the space 5504K, 8% used [0x00000000faaa0000, 0x00000000fab192d0, 0x00000000fab19400, 0x00000000fb000000)
Metaspace used 5609K, capacity 5730K, committed 6016K, reserved 1056768K
class space used 553K, capacity 590K, committed 640K, reserved 1048576K
Card table byte_map: [0x0000000000520000,0x0000000000570000] byte_map_base: 0xffffffffffd60000
Polling page: 0x00000000004f0000
CodeCache: size=245760Kb used=1748Kb max_used=1752Kb free=244011Kb
bounds [0x0000000000d70000, 0x0000000000fe0000, 0x000000000fd70000]
total_blobs=587 nmethods=249 adapters=253
compilation: enabled
Compilation events (10 events):
Event: 7.414 Thread 0x0000000010aaf000 243 1 java.lang.ThreadLocal::getMap (5 bytes)
Event: 7.414 Thread 0x0000000010aaf000 nmethod 243 0x0000000000f25e90 code [0x0000000000f25fe0, 0x0000000000f260f0]
Event: 7.424 Thread 0x0000000010aaf000 245 3 java.nio.DirectLongBufferU::get (16 bytes)
Event: 7.424 Thread 0x0000000010aaf000 nmethod 245 0x0000000000f25650 code [0x0000000000f257c0, 0x0000000000f25a30]
Event: 7.424 Thread 0x0000000010aaf000 247 3 java.nio.DirectLongBufferU::put (18 bytes)
Event: 7.425 Thread 0x0000000010aaf000 nmethod 247 0x0000000000f24dd0 code [0x0000000000f24f40, 0x0000000000f251b0]
Event: 7.425 Thread 0x0000000010aaf000 248 1 sun.misc.URLClassPath$JarLoader::access$600 (5 bytes)
Event: 7.432 Thread 0x0000000010aaf000 nmethod 248 0x0000000000f24b10 code [0x0000000000f24c60, 0x0000000000f24d50]
Event: 7.432 Thread 0x0000000010aaf000 249 1 java.security.CodeSource::getLocation (5 bytes)
Event: 7.432 Thread 0x0000000010aaf000 nmethod 249 0x0000000000f24850 code [0x0000000000f249a0, 0x0000000000f24ab0]
GC Heap History (2 events):
Event: 4.037 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 2432K, used 2176K [0x00000000f8000000, 0x00000000f82a0000, 0x00000000faaa0000)
eden space 2176K, 100% used [0x00000000f8000000, 0x00000000f8220000, 0x00000000f8220000)
from space 256K, 0% used [0x00000000f8220000, 0x00000000f8220000, 0x00000000f8260000)
to space 256K, 0% used [0x00000000f8260000, 0x00000000f8260000, 0x00000000f82a0000)
tenured generation total 5504K, used 0K [0x00000000faaa0000, 0x00000000fb000000, 0x0000000100000000)
the space 5504K, 0% used [0x00000000faaa0000, 0x00000000faaa0000, 0x00000000faaa0200, 0x00000000fb000000)
Metaspace used 3937K, capacity 5108K, committed 5376K, reserved 1056768K
class space used 380K, capacity 420K, committed 512K, reserved 1048576K
Event: 4.054 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 2432K, used 255K [0x00000000f8000000, 0x00000000f82a0000, 0x00000000faaa0000)
eden space 2176K, 0% used [0x00000000f8000000, 0x00000000f8000000, 0x00000000f8220000)
from space 256K, 99% used [0x00000000f8260000, 0x00000000f829fff8, 0x00000000f82a0000)
to space 256K, 0% used [0x00000000f8220000, 0x00000000f8220000, 0x00000000f8260000)
tenured generation total 5504K, used 484K [0x00000000faaa0000, 0x00000000fb000000, 0x0000000100000000)
the space 5504K, 8% used [0x00000000faaa0000, 0x00000000fab192d0, 0x00000000fab19400, 0x00000000fb000000)
Metaspace used 3937K, capacity 5108K, committed 5376K, reserved 1056768K
class space used 380K, capacity 420K, committed 512K, reserved 1048576K
}
Deoptimization events (0 events):
No events
Internal exceptions (6 events):
Event: 0.973 Thread 0x0000000000c70800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x00000000f8017d08) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\sÀ÷íÚ”!ï?
Event: 0.973 Thread 0x0000000000c70800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x00000000f8017ff0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jni.>Øê @
Event: 3.239 Thread 0x0000000000c70800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000f80ceb50) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 3.239 Thread 0x0000000000c70800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000f80ced60) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 3.247 Thread 0x0000000000c70800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000f80d2de0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 3.247 Thread 0x0000000000c70800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000f80d2ff0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Events (10 events):
Event: 7.392 loading class com/nitgen/SDK/BSP/NBioBSPJNI$INPUT_FIR
Event: 7.392 loading class com/nitgen/SDK/BSP/NBioBSPJNI$INPUT_FIR done
Event: 7.393 loading class com/nitgen/SDK/BSP/NBioBSPJNI$IndexSearch$SAMPLE_INFO
Event: 7.393 loading class com/nitgen/SDK/BSP/NBioBSPJNI$IndexSearch$SAMPLE_INFO done
Event: 7.422 loading class com/mysql/jdbc/profiler/ProfileEventSink
Event: 7.422 loading class com/mysql/jdbc/profiler/ProfileEventSink done
Event: 7.423 loading class com/nitgen/SDK/BSP/NBioBSPJNI$FIR_HANDLE
Event: 7.423 loading class com/nitgen/SDK/BSP/NBioBSPJNI$FIR_HANDLE done
Event: 7.425 loading class com/nitgen/SDK/BSP/NBioBSPJNI$Export
Event: 7.425 loading class com/nitgen/SDK/BSP/NBioBSPJNI$Export done
Dynamic libraries:
0x00007ff6a04d0000 - 0x00007ff6a0507000 C:\Program Files\Java\jdk1.8.0_65\bin\java.exe
0x00007ffbc1be0000 - 0x00007ffbc1d8c000 C:\Windows\SYSTEM32\ntdll.dll
0x00007ffbbfde0000 - 0x00007ffbbff1e000 C:\Windows\system32\KERNEL32.DLL
0x00007ffbbee00000 - 0x00007ffbbef15000 C:\Windows\system32\KERNELBASE.dll
0x00007ffbbce60000 - 0x00007ffbbceee000 C:\Windows\system32\apphelp.dll
0x00007ffbb4a70000 - 0x00007ffbb4ac3000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
0x00007ffbbfb70000 - 0x00007ffbbfc1a000 C:\Windows\system32\msvcrt.dll
0x00007ffbbeb00000 - 0x00007ffbbeb2e000 C:\Windows\SYSTEM32\SspiCli.dll
0x00007ffbc19a0000 - 0x00007ffbc19f4000 C:\Windows\system32\SHLWAPI.dll
0x00007ffbc02f0000 - 0x00007ffbc0467000 C:\Windows\system32\USER32.dll
0x00007ffbc1a10000 - 0x00007ffbc1ba4000 C:\Windows\system32\ole32.dll
0x00007ffbc0470000 - 0x00007ffbc199b000 C:\Windows\system32\SHELL32.dll
0x00007ffbbe020000 - 0x00007ffbbe041000 C:\Windows\SYSTEM32\USERENV.dll
0x00007ffbc0040000 - 0x00007ffbc00ea000 C:\Windows\system32\ADVAPI32.dll
0x00007ffbb8130000 - 0x00007ffbb814e000 C:\Windows\SYSTEM32\MPR.dll
0x00007ffbbfa20000 - 0x00007ffbbfb61000 C:\Windows\system32\RPCRT4.dll
0x00007ffbbffe0000 - 0x00007ffbc0039000 C:\Windows\SYSTEM32\sechost.dll
0x00007ffbbf260000 - 0x00007ffbbf471000 C:\Windows\SYSTEM32\combase.dll
0x00007ffbbf480000 - 0x00007ffbbf5cf000 C:\Windows\system32\GDI32.dll
0x00007ffbbed30000 - 0x00007ffbbed45000 C:\Windows\SYSTEM32\profapi.dll
0x00007ffbbe340000 - 0x00007ffbbe3f2000 C:\Windows\SYSTEM32\SHCORE.dll
0x00007ffbbe640000 - 0x00007ffbbe8bb000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.18006_none_623f33d3ecbe86e8\COMCTL32.dll
0x0000000067f80000 - 0x0000000068052000 C:\Program Files\Java\jdk1.8.0_65\jre\bin\msvcr100.dll
0x0000000068060000 - 0x00000000688e9000 C:\Program Files\Java\jdk1.8.0_65\jre\bin\server\jvm.dll
0x00007ffbbd5f0000 - 0x00007ffbbd5f9000 C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffbbb170000 - 0x00007ffbbb192000 C:\Windows\SYSTEM32\WINMM.dll
0x00007ffbb9a80000 - 0x00007ffbb9a8a000 C:\Windows\SYSTEM32\VERSION.dll
0x00007ffbc00f0000 - 0x00007ffbc00f7000 C:\Windows\system32\PSAPI.DLL
0x00007ffbbf9c0000 - 0x00007ffbbfa1a000 C:\Windows\system32\WS2_32.dll
0x00007ffbba8e0000 - 0x00007ffbba90a000 C:\Windows\SYSTEM32\WINMMBASE.dll
0x00007ffbc1bb0000 - 0x00007ffbc1bb9000 C:\Windows\system32\NSI.dll
0x00007ffbbf160000 - 0x00007ffbbf1af000 C:\Windows\SYSTEM32\cfgmgr32.dll
0x00007ffbbd0e0000 - 0x00007ffbbd108000 C:\Windows\SYSTEM32\DEVOBJ.dll
0x0000000067f30000 - 0x0000000067f3f000 C:\Program Files\Java\jdk1.8.0_65\jre\bin\verify.dll
0x0000000067f00000 - 0x0000000067f29000 C:\Program Files\Java\jdk1.8.0_65\jre\bin\java.dll
0x0000000067ee0000 - 0x0000000067ef6000 C:\Program Files\Java\jdk1.8.0_65\jre\bin\zip.dll
0x0000000180000000 - 0x0000000180033000 C:\Nitgen\NBioBSPJNI.dll
0x00007ffbb4540000 - 0x00007ffbb479d000 C:\Windows\SYSTEM32\NBioBSP.dll
0x00007ffbb75a0000 - 0x00007ffbb7622000 C:\Windows\SYSTEM32\WINSPOOL.DRV
0x00007ffbbf650000 - 0x00007ffbbf711000 C:\Windows\system32\OLEAUT32.dll
0x0000000067ec0000 - 0x0000000067eda000 C:\Program Files\Java\jdk1.8.0_65\jre\bin\net.dll
0x00007ffbbdfb0000 - 0x00007ffbbe009000 C:\Windows\system32\mswsock.dll
0x00007ffbbde20000 - 0x00007ffbbdec4000 C:\Windows\SYSTEM32\DNSAPI.dll
0x00007ffbb9370000 - 0x00007ffbb937a000 C:\Windows\System32\rasadhlp.dll
0x00007ffbbbaf0000 - 0x00007ffbbbb1a000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x00007ffbbbc80000 - 0x00007ffbbbc8a000 C:\Windows\SYSTEM32\WINNSI.DLL
0x00007ffbbb0e0000 - 0x00007ffbbb14b000 C:\Windows\System32\fwpuclnt.dll
0x00007ffbaf910000 - 0x00007ffbafa99000 C:\Windows\system32\DBGHELP.DLL
VM Arguments:
jvm_args: -Djava.library.path=C:\Nitgen
java_command: C:\Nitgen\Busca3-N_java.jar C:\Nitgen\arquivo.rec
java_class_path (initial): C:\Nitgen\Busca3-N_java.jar
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=mysql-connector-java-5.0.4-bin.jar
PATH=C:\Program Files\Java\jdk1.8.0_65\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
USERNAME=QELTCS01$
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.17415)
CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, clmul, tsc
Memory: 4k page, physical 523828k(70676k free), swap 1637940k(508200k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.65-b01) for windows-amd64 JRE (1.8.0_65-b17), built on Oct 6 2015 16:39:20 by "java_re" with MS VC++ 10.0 (VS2010)
time: Sun Dec 13 10:02:42 2015
elapsed time: 29 seconds (0d 0h 0m 29s)