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

After I made some changes to my plugin-dissector code (I added somme Libgcrypt related code), I get a segmentation fault. I got it even before Wireshark executes any of the libgcrypt code that I added. The error says: (lt-wireshark:4944): GLib-CRITICAL : g_hash_table_lookup: assertion `hash_table != NULL' failed Segmentation fault (core dumped)**

I'd like to know What went wrong? or How can I figure out what went wrong in this case? or what could such error mean?

Thanks. Flora

asked 26 Feb '15, 19:50

flora's gravatar image

flora
156313338
accept rate: 100%


This error means that you are trying to do a lookup on a NULL hash table pointer (so the hash table has not been initialized before the lookup). Ensure to create the hash table before.

permanent link

answered 26 Feb '15, 23:23

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×13
×5
×3

question asked: 26 Feb '15, 19:50

question was seen: 1,883 times

last updated: 26 Feb '15, 23:23

p​o​w​e​r​e​d by O​S​Q​A