Wireshark-bugs: [Wireshark-bugs] [Bug 12580] New: (Qt5) after obtaining a packet trace, crashes

Date: Sat, 02 Jul 2016 22:17:52 +0000
Bug ID 12580
Summary (Qt5) after obtaining a packet trace, crashes when quitting or starting new trace
Product Wireshark
Version 2.0.4
Hardware x86-64
OS Mac OS X 10.11
Status UNCONFIRMED
Severity Major
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Created attachment 14697 [details]
full crash report

Build Information:
Wireshark with Qt 5 was installed via Homebrew by running:
brew install --with-qt5 wireshark

Wireshark 2.0.4 (Git Rev Unknown 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.6.1, with libpcap, without POSIX capabilities, with
libz 1.2.5, with GLib 2.48.1, without SMI, with c-ares 1.11.0, without Lua,
with
GnuTLS 3.4.13, with Gcrypt 1.7.1, with MIT Kerberos, with GeoIP, with
QtMultimedia, without AirPcap.

Running on Mac OS X 10.11.5, build 15F34 (Darwin 15.5.0), with locale C, with
libpcap version 1.5.3 - Apple version 54, with libz 1.2.5, with GnuTLS 3.4.13,
with Gcrypt 1.7.1.
Intel(R) Xeon(R) CPU           E5462  @ 2.80GHz

Built using clang 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31).
--
In order to avoid the problem of bug 12067 (can't resize packet trace panes
when built with Qt4), I'm building Wireshark with Qt 5 on my OS X systems.

But, there is a very easy, severe crash that happens when built with Qt 5. To
reproduce it:

1. brew install --with-qt5 wireshark
2. start Wireshark
3. start a packet trace and capture a few packets
4. stop the packet trace
5. quit wireshark (without saving)
5a. instead of quitting, the same crash also happens when you start capturing a
new trace

When the crash occurs, these messages are printed at the shell:

Cannot creat accessible child interface for object:  PacketList(0x7ffe9683a7e0)
 index:  0
Cannot creat accessible child interface for object:  PacketList(0x7ffe9683a7e0)
 index:  0
Cannot creat accessible child interface for object:  PacketList(0x7ffe9683a7e0)
 index:  0
[1]    94376 segmentation fault  wireshark

Attached is a full crash report. The interesting part is thread 0's backtrace:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtGui              0x000000010abc7e33
QAccessibleEvent::uniqueId() const + 163
1   libqcocoa.dylib                   0x000000010e749873
QCocoaAccessibility::notifyAccessibilityUpdate(QAccessibleEvent*) + 83
2   org.qt-project.QtWidgets          0x000000010a7a31f0
QTreeView::selectionChanged(QItemSelection const&, QItemSelection const&) + 880
3   wireshark                         0x0000000105bbde96
PacketList::selectionChanged(QItemSelection const&, QItemSelection const&) + 28
4   org.qt-project.QtWidgets          0x000000010a75037a
QAbstractItemView::setSelectionModel(QItemSelectionModel*) + 1178
5   org.qt-project.QtWidgets          0x000000010a7924f7
QTreeView::setSelectionModel(QItemSelectionModel*) + 119
6   org.qt-project.QtWidgets          0x000000010a74fe85
QAbstractItemView::setModel(QAbstractItemModel*) + 1269
7   org.qt-project.QtWidgets          0x000000010a79231c
QTreeView::setModel(QAbstractItemModel*) + 604
8   wireshark                         0x0000000105bba072 PacketList::freeze() +
126
9   wireshark                         0x0000000105a3349a cf_close + 343
10  wireshark                         0x0000000105b658f3
MainWindow::testCaptureFileClose(bool, QString) + 2223
11  wireshark                         0x0000000105b64d32
MainWindow::closeEvent(QCloseEvent*) + 116
12  org.qt-project.QtWidgets          0x000000010a520a08
QWidget::event(QEvent*) + 2184
13  org.qt-project.QtWidgets          0x000000010a63019a
QMainWindow::event(QEvent*) + 1546
14  org.qt-project.QtWidgets          0x000000010a4df096
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
15  org.qt-project.QtWidgets          0x000000010a4e05f8
QApplication::notify(QObject*, QEvent*) + 504
16  org.qt-project.QtCore             0x000000010b3ef814
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
17  org.qt-project.QtWidgets          0x000000010a5104cd
QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) + 189
18  org.qt-project.QtWidgets          0x000000010a527d92
QWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1554
19  org.qt-project.QtCore             0x000000010b424d96
QMetaObject::activate(QObject*, int, int, void**) + 742
20  org.qt-project.QtWidgets          0x000000010a4d59f7
QAction::activate(QAction::ActionEvent) + 263
21  org.qt-project.QtCore             0x000000010b424d96
QMetaObject::activate(QObject*, int, int, void**) + 742
22  org.qt-project.QtCore             0x000000010b41d932
QObject::event(QEvent*) + 146
23  org.qt-project.QtWidgets          0x000000010a4df096
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
24  org.qt-project.QtWidgets          0x000000010a4e05f8
QApplication::notify(QObject*, QEvent*) + 504
25  org.qt-project.QtCore             0x000000010b3ef814
QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
26  org.qt-project.QtCore             0x000000010b3f055b
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875
27  libqcocoa.dylib                   0x000000010e735d5e
QCocoaEventDispatcherPrivate::processPostedEvents() + 190
28  libqcocoa.dylib                   0x000000010e736621
QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
29  com.apple.CoreFoundation          0x00007fff99c75881
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
30  com.apple.CoreFoundation          0x00007fff99c54fbc __CFRunLoopDoSources0
+ 556
31  com.apple.CoreFoundation          0x00007fff99c544df __CFRunLoopRun + 927
32  com.apple.CoreFoundation          0x00007fff99c53ed8 CFRunLoopRunSpecific +
296
33  com.apple.HIToolbox               0x00007fff8e46f935
RunCurrentEventLoopInMode + 235
34  com.apple.HIToolbox               0x00007fff8e46f677 ReceiveNextEventCommon
+ 184
35  com.apple.HIToolbox               0x00007fff8e46f5af
_BlockUntilNextEventMatchingListInModeWithFilter + 71
36  com.apple.AppKit                  0x00007fff8ef9ddf6 _DPSNextEvent + 1067
37  com.apple.AppKit                  0x00007fff8ef9d226 -[NSApplication
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
38  com.apple.AppKit                  0x00007fff8ef91d80 -[NSApplication run] +
682
39  libqcocoa.dylib                   0x000000010e73552f
QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) +
2191
40  org.qt-project.QtCore             0x000000010b3eb9d1
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
41  org.qt-project.QtCore             0x000000010b3efe85
QCoreApplication::exec() + 341
42  wireshark                         0x0000000105a2f0c7 main + 5575
43  libdyld.dylib                     0x00007fff982bd5ad start + 1


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