Wireshark-bugs: [Wireshark-bugs] [Bug 5728] Wireshark crashes on startup (segmentation fault)

Date: Tue, 9 Aug 2011 08:56:18 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5728

Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff.morriss.ws@xxxxxxxxx

--- Comment #3 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2011-08-09 08:56:17 PDT ---
Not sure if this is related, but I happened to run Valgrind on a trunk (1.7)
build today and was shocked at the pages of uninitialized-variable warnings
coming out of the Python code, including:

==12413== Use of uninitialised value of size 8
==12413==    at 0x31B7A73644: PyObject_Free (in /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7A495D5: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7A83E70: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7A496A2: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AD3065: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AD4738: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AD49D1: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AD501E: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AD5384: PyImport_ImportModuleLevel (in
/usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AB871C: (within /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7A3D492: PyObject_Call (in /usr/lib64/libpython2.5.so.1.0)
==12413==    by 0x31B7AB8D10: PyEval_CallObjectWithKeywords (in
/usr/lib64/libpython2.5.so.1.0)

Not sure if this is a Wireshark or Python problem.

Here's my build information:

nj-morriss-test [/Wireshark/source/_build/]> ./tshark -v
Python dissectors not registered ...
TShark 1.7.0 (SVN Rev 38133 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.18.4, with libpcap 1.1.1, with libz 1.2.3, with
POSIX capabilities (Linux), with threads support, without libpcre, without SMI,
without c-ares, without ADNS, with Lua 5.1, with Python 2.5.2, with GnuTLS
2.4.2, with Gcrypt 1.4.4, without Kerberos, without GeoIP.

Running on Linux 2.6.27.38-170.2.113.fc10.x86_64, with locale C, with libpcap
version 1.1.1, with libz 1.2.3.

Built using gcc 4.3.2 20081105 (Red Hat 4.3.2-7).

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