tshark crashes when loading Lua script that contains GUI function
**This issue was migrated from [bug 6018](https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6018) in our old bug tracker.**
Original bug information:
**Reporter:** Tony Trinh\
**Status:** RESOLVED FIXED\
**Product:** Wireshark\
**Component:** TShark\
**OS:** Mac OS X 10.6\
**Platform:** x86-64\
**Version:** Git
Attachments:
[fix_bug6018_tshark_crash_lua_gui.diff](/uploads/df8f01dff32dd51db1988ae102507d0b/fix_bug6018_tshark_crash_lua_gui.diff): Patch adds null checks and fixes typos in Lua error print-outs
issue