|
I am trying to dissect the captured pcap header using libwireshark.so, but when i call
I see this error:
Why? |
|
As I said earlier: " ....you are basically on your own if you are trying to use libwireshark directly. :-) At the very least you need to be quite comfortable using a debugger to trace through the code to see why you are getting the error." In this case, something caused an Exception (trap) and there was no code to 'handle' the exception. I would use a debugger to step through the code following the call to You probably don't need to worry too much how exceptions work; You just need to find the place in the code which caused the exception. |
|
It means a dissector failed to allocate memory (see code 6's definition below)... The exception group value is always 1, and the exception codes are defined here (based on epan/exceptions.h):
Thanks ppl! i tried to fix it.. but all in vain.. what exactly is the problem? is it related to the OS i am using or the amount of virtual memory i have? how to get rid of this error.. any help :-/ thanks|
(26 Jan '12, 10:30)
Sanny_D
Go with Bill's suggestion, and step through your code with a debugger.
(26 Jan '12, 18:29)
helloworld
|
