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

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

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
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 26 Feb '15, 19:50

question was seen: 2,114 times

last updated: 26 Feb '15, 23:23

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