tags:

views:

107

answers:

3

I have written a program to process packets. The program runs well if its run alone but when i integrate it to my main project the jvm crashes and shows the below result. What is the problem?

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7dcf6e, pid=4328, tid=4068
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_16-b02 mixed mode, sharing)
# Problematic frame:
# V  [jvm.dll+0x9cf6e]
#
# An error report file with more information is saved as hs_err_pid4328.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
A: 

Check the Heap size for the Program, there might be problem with that. Check for the network authentication, if your application accessign some other network resources

harigm
You're not supposed to get an access violation just because you run out of memory.
Matthew Flaschen
+4  A: 

You've hit a bug in the JVM. So you should file a bug report. They will probably want you to provide a SSCCE that causes the crash.

Matthew Flaschen
by seeing the error everyone knows its a bug.
rgksugan
+2  A: 

there is a bug in the jpcap API. The error is solved if you use the getPacket method instead of the loopPacket or processPacket methods.

rgksugan