This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

assert_not_reached:

0

hello,

i'm working on a project, that uses libwireshark.so while initializing the dissector "init_dissection()" it flashes an

error " Dissector bug, protocol Ethernet, in packet 1: tvbuff.c:902: failed assertion "DISSECTOR_ASSERT_NOT_REACHED"

why i am getting this error: possible solutions.??

thanks!

asked 23 Jan '12, 04:02

Sanny_D's gravatar image

Sanny_D
0182021
accept rate: 50%

1

What version of Wireshark are you building from ??

In any case, 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.

My guess: you've not done some required setup/initialization.

(23 Jan '12, 06:38) Bill Meier ♦♦

thanks!! you are right.. there was some error while initializing the data buffer :)

(23 Jan '12, 21:31) Sanny_D

(Answer converted to a comment in keeping with the format of ask.wireshark.org; See the FAQ).

(24 Jan '12, 06:32) Bill Meier ♦♦