https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13223

            Bug ID: 13223
           Summary: Crash SIGSEGV when entering display filter
           Product: Wireshark
           Version: Git
          Hardware: x86
                OS: All
            Status: UNCONFIRMED
          Severity: Major
          Priority: Low
         Component: Dissection engine (libwireshark)
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: mikael.kanst...@gmail.com

Build Information:
Version 2.3.0 (v2.3.0rc0-1687-g98ec464)

Copyright 1998-2016 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
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 Qt 5.5.1, with libpcap, with POSIX capabilities (Linux),
with libnl 3, with GLib 2.48.1, with zlib 1.2.8, with SMI 0.4.8, with c-ares
1.10.0, with Lua 5.2.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with MIT
Kerberos, with GeoIP, with nghttp2 1.7.1, without LZ4, without Snappy, with
QtMultimedia, without AirPcap, with SBC, without SpanDSP.

Running on Linux 4.4.0-51-generic, with       Intel(R) Xeon(R) CPU E5-1650 v2 @
3.50GHz (with SSE4.2), with 24039 MB of physical memory, with locale
en_US.UTF-8, with libpcap version 1.7.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5,
with zlib 1.2.8.

Built using gcc 5.4.0 20160609.

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
Wireshark crashes when entering any display filter. Crash happens as soon as a
. character is entered. Debugging with gdb gives the following backtrace:

[Thread 0x7fffd6291700 (LWP 21031) exited]

Thread 1 "wireshark" received signal SIGSEGV, Segmentation fault.
0x00007ffff409ce34 in proto_get_first_protocol_field (
    proto_id=proto_id@entry=169030, cookie=cookie@entry=0x7fffffffcb10)
    at proto.c:5927
5927        return (header_field_info *)g_ptr_array_index(protocol->fields, 0);
(gdb) bt
#0  0x00007ffff409ce34 in proto_get_first_protocol_field (
    proto_id=proto_id@entry=169030, cookie=cookie@entry=0x7fffffffcb10)
    at proto.c:5927
#1  0x0000000000491f63 in DisplayFilterEdit::buildCompletionList (
    this=0x12b5980, field_word=...) at display_filter_edit.cpp:464
#2  0x0000000000568268 in SyntaxLineEdit::completionKeyPressEvent (
    this=0x12b5980, event=<optimized out>) at syntax_line_edit.cpp:333
#3  0x00007ffff149c2b7 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff15af359 in QLineEdit::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff1574e85 in QComboBox::keyPressEvent(QKeyEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007ffff149c2b7 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff15701d6 in QComboBox::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x000000000064da9d in DisplayFilterCombo::event (this=0xd33cc0, 
    event=0x7fffffffd3c0) at display_filter_combo.cpp:122
#9  0x00007ffff145905c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff146009b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff0b6662b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff14b8b23 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff145905c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff145e516 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff0b6662b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff0ea519e in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007ffff0eaa1c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007ffff0e8df38 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007fffe505d070 in ?? ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007ffff19d51a7 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff19d5400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff19d54ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff0bbca7f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff0b63dea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff0b6be8c in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x000000000046f312 in main (argc=1, qt_argv=<optimized out>)
    at wireshark-qt.cpp:860

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to