Re: [Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-19 Thread wsgd
Le 19/06/2014 00:14, Pascal Quantin a écrit : Indeed the sample code in README.dissector was not updated to make use of the new style dissectors (while packet-PROTOABBREV.c sample code is updated). As Graham stated, the new style (indicating the number of bytes consumed by the dissector)

Re: [Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-18 Thread wsgd
Le 18/06/2014 00:41, Pascal Quantin a écrit : 2014-06-18 0:11 GMT+02:00 Pascal Quantin pascal.quan...@gmail.com mailto:pascal.quan...@gmail.com: 2014-06-16 22:44 GMT+02:00 wsgd w...@free.fr mailto:w...@free.fr: Hello, My protocol (only to test this problem) specifications

Re: [Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-18 Thread Graham Bloice
On 18 June 2014 13:12, wsgd w...@free.fr wrote: Le 18/06/2014 00:41, Pascal Quantin a écrit : 2014-06-18 0:11 GMT+02:00 Pascal Quantin pascal.quan...@gmail.com: 2014-06-16 22:44 GMT+02:00 wsgd w...@free.fr: Hello, My protocol (only to test this problem) specifications : tcp port

Re: [Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-18 Thread Pascal Quantin
Indeed the sample code in README.dissector was not updated to make use of the new style dissectors (while packet-PROTOABBREV.c sample code is updated). As Graham stated, the new style (indicating the number of bytes consumed by the dissector) should be used. The old one is still here because not

Re: [Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-17 Thread Pascal Quantin
2014-06-16 22:44 GMT+02:00 wsgd w...@free.fr: Hello, My protocol (only to test this problem) specifications : tcp port 20640 message is 5 bytes long command line : tshark -r pb.cap -T text -V -- crash (see pb.1.12.0.txt) ** ERROR:print.c:838:get_field_data: code should not be reached

Re: [Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-17 Thread Pascal Quantin
2014-06-18 0:11 GMT+02:00 Pascal Quantin pascal.quan...@gmail.com: 2014-06-16 22:44 GMT+02:00 wsgd w...@free.fr: Hello, My protocol (only to test this problem) specifications : tcp port 20640 message is 5 bytes long command line : tshark -r pb.cap -T text -V -- crash (see

[Wireshark-dev] 1.12.0rc2 : tshark crash when message is on 3 packets

2014-06-16 Thread wsgd
Hello, My protocol (only to test this problem) specifications : tcp port 20640 message is 5 bytes long command line : tshark -r pb.cap -T text -V -- crash (see pb.1.12.0.txt) ** ERROR:print.c:838:get_field_data: code should not be reached This application has requested the Runtime to