Wireshark-bugs: [Wireshark-bugs] [Bug 6018] New: tshark crashes when loading Lua script that con

Date: Mon, 13 Jun 2011 20:00:01 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6018

           Summary: tshark crashes when loading Lua script that contains
                    GUI function
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: tony19@xxxxxxxxx


Build Information:
** (process:63452): WARNING **: openSAFETY - SercosIII heuristic dissector
cannot be registered, openSAFETY/SercosIII native dissection.
TShark 1.7.0 (SVN Rev 37547 from /trunk)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.28.7, with libpcap 1.0.0, with libz 1.2.5,
without
POSIX capabilities, without libpcre, without SMI, without c-ares, without ADNS,
with Lua 5.1, without Python, without GnuTLS, without Gcrypt, with MIT
Kerberos,
without GeoIP.

Running on Mac OS 10.6.7 (Darwin 10.7.0), with libpcap version 1.0.0, with libz
1.2.5.

Built using gcc 4.2.1 (Apple Inc. build 5666) (dot 3).


--
tshark segfaults when it runs Lua scripts that contain Lua GUI functions
(http://wiki.wireshark.org/LuaAPI/GUI).

To reproduce, run the following sh command:

$ echo TextWindow.new\(\) > /tmp/test.lua && ./tshark -v
-Xlua_script:/tmp/test.lua

** (process:63647): WARNING **: openSAFETY - SercosIII heuristic dissector
cannot be registered, openSAFETY/SercosIII native dissection.
Segmentation fault


Note that the segfault occurs for several other Lua GUI functions, including
`ProgDlg.new()` and `new_dialog()`.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.