Bug java

farah2005 Messages postés 21 Date d'inscription jeudi 7 juillet 2005 Statut Membre Dernière intervention 19 avril 2007 - 11 juil. 2005 à 23:08
super_toinou Messages postés 764 Date d'inscription mardi 25 mai 2004 Statut Membre Dernière intervention 8 mars 2011 - 12 juil. 2005 à 09:40
Bonsoir

jaimerai savoir la signification de cette erreur :( :(

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x200020
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 net.sourceforge.jpcap.capture.PacketCapture.open(Native Method)
at net.sourceforge.jpcap.capture.PacketCapture.open(PacketCapture.java:57)
at tcpipattacker.modules.sniff.run(sniff.java:41)
at tcpipattacker.modules.Sniffer.run(Sniffer.java:108)
at tcpipattacker.modules.Sniffer.(Sniffer.java:13)
at tcpipattacker.modules.Sniffer.main(Sniffer.java:131)
Dynamic libraries:
0x00400000 - 0x00406000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\java.exe
0x78460000 - 0x784E3000 C:\WINNT\system32\ntdll.dll
0x78ED0000 - 0x78F32000 C:\WINNT\system32\ADVAPI32.dll
0x77E70000 - 0x77F33000 C:\WINNT\system32\KERNEL32.DLL
0x770C0000 - 0x77131000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x77E00000 - 0x77E65000 C:\WINNT\system32\user32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x779A0000 - 0x77A3B000 C:\WINNT\system32\oleaut32.dll
0x77A40000 - 0x77B2F000 C:\WINNT\system32\ole32.dll
0x08000000 - 0x08138000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\hpi.dll
0x00DD0000 - 0x00DDE000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\verify.dll
0x00DE0000 - 0x00DF9000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\java.dll
0x00E00000 - 0x00E0D000 C:\Borland\JBuilder2005\jdk1.4\jre\bin\zip.dll
0x6D3C0000 - 0x6D3D4000 C:\Farah\jpcap-0.01.16-win32\jpcap-0.01.16-win32\lib\jpcap.dll
0x18470000 - 0x184AB000 C:\WINNT\system32\wpcap.dll
0x74FD0000 - 0x74FD9000 C:\WINNT\system32\WSOCK32.dll
0x74FB0000 - 0x74FC4000 C:\WINNT\system32\WS2_32.DLL
0x74FA0000 - 0x74FA8000 C:\WINNT\system32\WS2HELP.DLL
0x184B0000 - 0x184BD000 C:\WINNT\system32\pthreadVC.dll
0x184C0000 - 0x184CF000 C:\WINNT\system32\packet.dll
0x77910000 - 0x77933000 C:\WINNT\system32\imagehlp.dll
0x72970000 - 0x7299D000 C:\WINNT\system32\DBGHELP.dll
0x68EA0000 - 0x68EAB000 C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 131K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 13% used [0x10010000, 0x10020c08, 0x10090000)
from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 126K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 8% used [0x104f0000, 0x1050f980, 0x1050fa00, 0x10650000)
compacting perm gen total 4096K, used 1222K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 29% used [0x14010000, 0x14141ad8, 0x14141c00, 0x14410000)
Local Time = Mon Jul 11 22:56:50 2005
Elapsed Time = 3
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#
# An error report file has been saved as hs_err_pid816.log.
# Please refer to the file for further information.
#

merci davance
Farah.

1 réponse

super_toinou Messages postés 764 Date d'inscription mardi 25 mai 2004 Statut Membre Dernière intervention 8 mars 2011 6
12 juil. 2005 à 09:40
ben ton programme utilise JNI (c faire du java avec du c en gros) et c est le code c qui plante.
ca doit etre un bug ds net.sourceforge.jpcap.capture.PacketCapture et la tu peux pas faire gd chose a mon avis, vérifie par le debug que juste avant d appeler cette méthode tu lui passe des arguments "clean"

courage parce que la c pas gagné!!!(a mon avis)
Toinou
0
Rejoignez-nous