Wireshark mailing list archives

Re: Problem while compiling and running a plugin


From: "Anders Broman" <anders.broman () ericsson com>
Date: Mon, 9 Nov 2009 15:29:38 +0100

Hi,
      Unhandled exception ("proto.c:4212: failed assertion
"hfinfo->display == BASE_NONE"", group=1, code=4)
One of the hf vars in your dissector has the wrong display type.
Modify proto.c 4212 to:
                assert(hfinfo->display == BASE_NONE); 
And use the debugger to find the offending variable. ( FT_BYTES not
having BASE_NONE probably)
Regards
Anders


-----Original Message-----
From: wireshark-dev-bounces () wireshark org
[mailto:wireshark-dev-bounces () wireshark org] On Behalf Of BARILLY YANN
Sent: den 9 november 2009 15:19
To: Developer support list for Wireshark
Subject: [Wireshark-dev] Problem while compiling and running a plugin

Hi, 

I made in January a plug-in on an MSCV2005EE platform working fine (with
.dll and .dll.manifest) 

Recently I updated my platform to work with msvc2008ee. 
I made the corrections to the files of the plug-in folder
(CMakeLists.txt for example) as said in the README.plugin doc.

I can compile but
 1- 
        "xxx.dll.manifest : general error c1010070: Failed to load and
parse the manifest."
Impossible to create the manifest. I paste the old version and continue.
The xxx.dll.manifest is not modified at the end.

 2- 
        "...
        C:\wireshark-win32-libs\libsmi-0.4.8\mibs\WWW-MIB
        304 copied files
        wireshark-gtk2\tshark.exe -G | perl doc\dfilter2pod.pl
doc\wireshark-filter.pod.template > doc\wireshark-filter.pod
        Unhandled exception ("proto.c:4212: failed assertion
"hfinfo->display == BASE_NONE"", group=1, code=4)
        This application has requested the Runtime to terminate it in an
unusual way.
        Please contact the application's support team for more
information."
With an error message box of Tshark that must close

of course after that (runtime error!), impossible to launch
C:\wireshark\wireshark-gtk2\wireshark.exe
even if the compilation goes on to the end.

These errors doesn't appear when I simply compile Wireshark without any
modification.

Do so. have an explanation for my problem ? 

Thanks

Yann
________________________________________________________________________
___
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: