This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark 2 init failure with “decode_as_entry” preference file.

0

Hi,

Latest Wireshark 2 initialization hangs if my personal preference file "decode_as_entries" has following line: decode_as_entry: ethertype,16400,(none),IPv4

Wireshark 2 initialization hangs at phase "Loading module preferences". Error: Unhandled exception at 0x01285EE9 in Wireshark.exe: 0xC0000005: Access violation reading location 0x00000000. change_dissector_if_matched(gpointer item, gpointer user_data) { ... if (strcmp(lookup->dissector_short_name, dissector_handle_get_short_name(handle)) == 0) {

Where 1st parameter has dissector_short_name "IPv4". This is a fresh re-build w/o any plugin.

P.S. WS 1.12 is good with this pref file.

Any hints, or maybe a fixed available for this?

Thanks, Jack

asked 03 Jan '16, 15:16

JackaJack's gravatar image

JackaJack
16225
accept rate: 0%


2 Answers:

0

Thanks for reporting the issue. I filled bug 11958 and proposed a fix.

Edit: patch is now merged, it will be available soon in the nightly builds.

answered 04 Jan '16, 06:30

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

edited 04 Jan '16, 12:40

1

There's been some recent changes for the Decode As functionality, what version of 2.x are you running? If it's not the latest, please try that first, else if it's the latest, please raise an entry on the Wireshark Bugzilla.

answered 03 Jan '16, 16:29

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

edited 03 Jan '16, 16:29