Wireshark-dev: Re: [Wireshark-dev] ERROR:packet.c:1531:heur_dissector_add: assertion failed: (s

From: Roland Knall <rknall@xxxxxxxxx>
Date: Wed, 2 Nov 2011 13:36:05 +0100
Ok, let me guess further, on the first system you did also install the
default wireshark coming with the Linux distribution, and on the
second system you did not?

In any case, underneath the directory you ran make from is a lib
directory, containing the finished build for your plugin, as well as
all other libraries. Without "make install" he won't find the plugin
you wrote.

It is recommended btw, to not use plugins, although development may
seem more convenient at first glance.

regards,
Roland


On Wed, Nov 2, 2011 at 1:33 PM, Marcel Haas <inf462@xxxxxxxxxxx> wrote:
> On Wed, 2 Nov 2011 13:18:53 +0100, Roland Knall <rknall@xxxxxxxxx> wrote:
>>
>> Ok, some more information
>>
>> How do you write the dissector, in epan/dissectors or as a plugin?
>> Which version of wireshark are you using? Just trunk, or a specific
>> release version (e.g. trunk-1.6)?
>>
>> But my guess would be, that you either you built your dissector as a
>> plugin, or the versions of wireshark differ between the first and
>> second machine.
>>
>> regards,
>> Roland
>>
>>
>>
>> On Wed, Nov 2, 2011 at 1:15 PM, Marcel Haas <inf462@xxxxxxxxxxx> wrote:
>>>
>>> On Wed, 02 Nov 2011 12:11:31 +0100, Marcel Haas <inf462@xxxxxxxxxxx>
>>> wrote:
>>>>
>>>> Hey
>>>>
>>>> If i want to start wireshark i am geting a failur :
>>>>
>>>> ERROR:packet.c:1531:heur_dissector_add: assertion failed:
>>>> (sub_dissectors != NULL)
>>>> Aborted
>>>>
>>>> Somebody know how to fix it ?
>>>>
>>>>
>>>>
>>>>
>>>> ___________________________________________________________________________
>>>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>>>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>>>
>>>>  mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>>
>>> Sorry, here r more informations.
>>>
>>> I dad been writing my own dissector and built it in to wireshark on a
>>> Linux
>>> system.
>>> All worked well. Wireshark runs and so my dissector.
>>> Now i want to copy the file folder to another linux system.
>>> On the other system i run first configure than make .. all worked well ..
>>> Now i want to start wireshark -> ./wireshark
>>> i get these failur ..
>>>
>>>
>>> ___________________________________________________________________________
>>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>>            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>>
>>
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>
> Okay i run "make" and "make install"
> and now it runs fine .. :)
> thx for the fast help everyone
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe