First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

tshark.exe crashes when execute

Hi, I have wireshark v2.4.0. I have some dissectors as dll and lua installed, and when I open a pcap file with wireshark.exe(The GUI) it works perfectly but when I use tshark.exe it's just crashes. I tried to execute it without the dissector and it didn't crash... So why tshark.exe crashes with this dissector and wireshark.exe is able to parse the pcap? Doesn't wireshark GUI uses tshark.exe itself?

user_wants_to_learn's avatar
3
user_wants_to_learn
asked 2020-12-09 13:33:25 +0000, updated 2020-12-09 13:35:10 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

Wireshark doesn't use tshark. Both Wireshark and tshark use dumpcap.

Unfortunately, not only has Wireshark 2.4.0 has gone EOL as of July 19, 2019 per the Wireshark Lifecycle, but without being able to examine the dissector itself causing the problem, it will be very unlikely if not impossible for anyone to be able to help troubleshoot the problem you're experiencing. If you can provide the source code of the dissector and a sample capture file to test it with that causes the crash, then perhaps someone will be able to assist you then, although this isn't the best forum for that. Likely a discussion on the wireshark-dev mailing list would be a more suitable place.

cmaynard's avatar
11.1k
cmaynard
answered 2020-12-09 15:21:21 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Wireshark and tshark have shared code and libraries but wireshark is not a Gui frontend to tshark.
v2.4.0 was EOL'ed July 19, 2019 (End of Life planning)

If you have the same issue after testing with a newer version of Wireshark/tshark come back with your results.

Chuckc's avatar
3k
Chuckc
answered 2020-12-09 15:13:29 +0000
edit flag offensive 0 remove flag delete link

Comments

(I was in the middle of crafting my answer when yours must have been posted; otherwise, I may not have bothered with my answer.)

cmaynard's avatar cmaynard (2020-12-09 15:31:45 +0000) edit

Can you merge this with dll dissector won't work with newer version ? I'm confused now about if it's 2.4.0 or a new version that isn't working.

Chuckc's avatar Chuckc (2020-12-09 15:45:26 +0000) edit

My interpretation is that the user originally had a dissector built for 2.4.0, but was experiencing the tshark crash so took your advice to try to build it for the latest available version and is now experiencing problems because the dissector needs to be modified to work with the new APIs.

cmaynard's avatar cmaynard (2020-12-09 16:06:31 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer