Wireshark-bugs: [Wireshark-bugs] [Bug 13022] New: Segfault when saving preferences in Ubuntu

Date: Tue, 18 Oct 2016 17:43:35 +0000
Bug ID 13022
Summary Segfault when saving preferences in Ubuntu
Product Wireshark
Version 2.3.x (Experimental)
Hardware x86
OS Ubuntu
Status UNCONFIRMED
Severity Major
Priority Low
Component Common utilities (libwsutil)
Assignee [email protected]
Reporter [email protected]

Build Information:
Wireshark 2.3.0 (v2.3.0rc0-1098-g4a46982 from unknown)

Copyright 1998-2016 Gerald Combs <[email protected]> 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, without nghttp2, without LZ4, without Snappy, with
QtMultimedia, without AirPcap.

Running on Linux 4.8.0-rc8+, with        Intel(R) Core(TM) i7-2600K CPU @
3.40GHz (with SSE4.2), with 7894 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.

--
Writing preferences triggers a segfault.
Reproduced on my system by starting wireshark, clicking Edit->Preferences, and
hitting OK.


Stackdump below:

#0  0x00007ffff40bec82 in write_prefs
(pf_path_return=pf_path_return@entry=0x7fffffffbf90) at prefs.c:5495
#1  0x000000000076b07d in prefs_main_write () at preference_utils.c:352
#2  0x00000000004f079c in PreferencesDialog::on_buttonBox_accepted
(this=0x7fffffffcf50) at preferences_dialog.cpp:943
#3  0x00000000005dd313 in PreferencesDialog::qt_static_metacall
(_a=0x7fffffffc0e0, _id=11, _c=QMetaObject::InvokeMetaMethod, 
    _o=0x7fffffffcf50) at preferences_dialog.moc.cpp:168
#4  PreferencesDialog::qt_metacall (this=0x7fffffffcf50,
_c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffffffc0e0)
    at preferences_dialog.moc.cpp:169
#5  0x00007ffff0bdf180 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff15cc9f0 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff0bdefca in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff183d1b2 in QAbstractButton::clicked(bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff159ff04 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff15a1519 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff15a1694 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff14e5f88 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff14a305c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff14a8c19 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff0bb062b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff14a7b32 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff150057b in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff1502b3b in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff14a305c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff14a8516 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff0bb062b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ffff0ef2521 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007ffff0ef41e5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007ffff0ed7f38 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007fffe4052070 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#26 0x00007ffff1a1f1a7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff1a1f400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff1a1f4ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0c06a7f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff0baddea in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff169dc7d in QDialog::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00000000004d5dbb in MainWindow::showPreferencesDialog (this=<optimized
out>, 
    start_pane=start_pane@entry=PreferencesDialog::ppAppearance) at
main_window_slots.cpp:2128
#33 0x00000000004d5e17 in MainWindow::on_actionEditPreferences_triggered
(this=<optimized out>) at main_window_slots.cpp:2149
#34 0x00000000005da2b1 in MainWindow::qt_static_metacall (_o=_o@entry=0xeb2a90,
_c=_c@entry=QMetaObject::InvokeMetaMethod, 
    _id=_id@entry=139, _a=_a@entry=0x7fffffffd1d0) at main_window.moc.cpp:1529
#35 0x00000000005daa87 in MainWindow::qt_metacall (this=0xeb2a90,
_c=QMetaObject::InvokeMetaMethod, _id=139, _a=0x7fffffffd1d0)
    at main_window.moc.cpp:1804
#36 0x00007ffff0bdf180 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff1499412 in QAction::triggered(bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff149b898 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007ffff149be1f in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff0bdfea1 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff149c122 in QAction::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ffff14a305c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ffff14a8516 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff0bb062b in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ffff0bb2a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007ffff0c06673 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x00007ffff1a1f1a7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff1a1f400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0


You are receiving this mail because:
  • You are watching all bug changes.