Re: [Wireshark-dev] Segmentation Fault in Simple Dissector-Plugin

2010-11-25 Thread Patrick Nowak
Hi, solved the problem by using the current svn-version. Before I used the Debian sources from apt-get source wireshark and they were version 1.0.2. Regards, Patrick Patrick Nowak schrieb: > Hi, > > this morning I compared my code once again to the example-code from > http://www.wireshark.org/

Re: [Wireshark-dev] Segmentation Fault in Simple Dissector-Plugin

2010-11-24 Thread Patrick Nowak
Hi, this morning I compared my code once again to the example-code from http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html#ChDissectDetails and it is exactly the same, except the ne protocol-name(which is correct in my code here. the code pasted into the email had a small renam

Re: [Wireshark-dev] Segmentation Fault in Simple Dissector-Plugin

2010-11-24 Thread Patrick Nowak
Hey, thanks for your reply! proto_slapml should be proto_testdissect, thats right. I just forgot to rename it, after I copied the source-code into the email, in the original version the code does compile. So I guess the error comes from your third suggestion. I will look into it! Regards, Patric

Re: [Wireshark-dev] Segmentation Fault in Simple Dissector-Plugin

2010-11-24 Thread news.gmane.com
"Patrick Nowak" wrote in message news:4cecf80a.8040...@nordsys.de... > Hello, > > I am fairly new to developing Dissectors for Wireshark. I started with > the small sample from the Wireshark Developers Guide and changed a few > things(Strings and Port). > > My Plugin looks like this: Your code

[Wireshark-dev] Segmentation Fault in Simple Dissector-Plugin

2010-11-24 Thread Patrick Nowak
Hello, I am fairly new to developing Dissectors for Wireshark. I started with the small sample from the Wireshark Developers Guide and changed a few things(Strings and Port). My Plugin looks like this: #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #define TESTDISSECT_PORT 12345