Wireshark-bugs: [Wireshark-bugs] [Bug 12040] Print "Selected packets only" crashes application
Date: Mon, 29 Feb 2016 04:50:30 +0000
Comment # 7
on bug 12040
from Guy Harris
OK, I got a crash from the master branch; I had to select "Selected packets only", and then select "Range", and then re-select "Selected packets only" to get it. Here's the stack trace: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT ... Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 org.qt-project.QtCore 0x000000010ee08844 QBuffer::size() const + 4 1 org.qt-project.QtGui 0x000000010f389b27 QPicture::play(QPainter*) + 39 2 org.qt-project.QtGui 0x000000010f55fb52 QPainter::drawPicture(QPointF const&, QPicture const&) + 370 3 org.qt-project.QtPrintSupport 0x000000010ffc524a (anonymous namespace)::PageItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) + 1002 4 org.qt-project.QtWidgets 0x000000010fc3280c _q_paintItem(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*, bool, bool) + 268 5 org.qt-project.QtWidgets 0x000000010fc32b87 _q_paintIntoCache(QPixmap*, QGraphicsItem*, QRegion const&, QTransform const&, QFlags<QPainter::RenderHint>, QStyleOptionGraphicsItem const*, bool) + 519 6 org.qt-project.QtWidgets 0x000000010fc3255a QGraphicsScenePrivate::drawItemHelper(QGraphicsItem*, QPainter*, QStyleOptionGraphicsItem const*, QWidget*, bool) + 6410 7 org.qt-project.QtWidgets 0x000000010fc33e0b QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) + 1531 8 org.qt-project.QtWidgets 0x000000010fc336ec QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) + 2268 9 org.qt-project.QtWidgets 0x000000010fc32dc2 QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) + 402 10 org.qt-project.QtWidgets 0x000000010fc543b9 QGraphicsView::paintEvent(QPaintEvent*) + 2873 11 org.qt-project.QtWidgets 0x000000010f94431b QWidget::event(QEvent*) + 2123 12 org.qt-project.QtWidgets 0x000000010fa373bd QFrame::event(QEvent*) + 45 13 org.qt-project.QtWidgets 0x000000010fabbb0a QAbstractScrollArea::viewportEvent(QEvent*) + 170 14 org.qt-project.QtWidgets 0x000000010fc519a2 QGraphicsView::viewportEvent(QEvent*) + 1730 15 org.qt-project.QtWidgets 0x000000010fabc625 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37 16 org.qt-project.QtCore 0x000000010eedd4f9 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 217 17 org.qt-project.QtWidgets 0x000000010f9056eb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 235 18 org.qt-project.QtWidgets 0x000000010f908ade QApplication::notify(QObject*, QEvent*) + 8318 19 org.qt-project.QtCore 0x000000010eedd1b3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115 20 org.qt-project.QtWidgets 0x000000010f93dbc0 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3152 21 org.qt-project.QtWidgets 0x000000010f911eef QWidgetBackingStore::doSync() + 4143 22 org.qt-project.QtWidgets 0x000000010f912293 QWidgetBackingStore::sync() + 499 23 org.qt-project.QtWidgets 0x000000010f9348ac QWidgetPrivate::syncBackingStore() + 236 24 org.qt-project.QtWidgets 0x000000010f9445e4 QWidget::event(QEvent*) + 2836 25 org.qt-project.QtWidgets 0x000000010f9056fb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 26 org.qt-project.QtWidgets 0x000000010f908ade QApplication::notify(QObject*, QEvent*) + 8318 27 org.qt-project.QtCore 0x000000010eedde8b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 971 28 org.qt-project.QtWidgets 0x000000010fc1f0c2 QGraphicsScenePrivate::_q_processDirtyItems() + 946 29 org.qt-project.QtWidgets 0x000000010fc36c96 QGraphicsScene::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 1222 30 org.qt-project.QtCore 0x000000010ef06753 QObject::event(QEvent*) + 755 31 org.qt-project.QtWidgets 0x000000010fc2b0cb QGraphicsScene::event(QEvent*) + 1451 32 org.qt-project.QtWidgets 0x000000010f9056fb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 33 org.qt-project.QtWidgets 0x000000010f908ade QApplication::notify(QObject*, QEvent*) + 8318 34 org.qt-project.QtCore 0x000000010eedde8b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 971 35 libqcocoa.dylib 0x0000000112f3308e QCocoaEventDispatcherPrivate::processPostedEvents() + 190 36 libqcocoa.dylib 0x0000000112f325cf QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1631 37 wireshark 0x0000000109266036 update_progress_dlg + 118 (progress_frame.cpp:96) 38 wireshark 0x0000000109265fb0 delayed_create_progress_dlg + 32 (progress_frame.cpp:74) 39 wireshark 0x00000001090937ea process_specified_records + 330 (file.c:2027) 40 wireshark 0x0000000109093eaa cf_print_packets + 1146 (file.c:2476) 41 wireshark 0x000000010926157f PrintDialog::printPackets(QPrinter*, bool) + 639 (print_dialog.cpp:265) 42 org.qt-project.QtCore 0x000000010ef0db82 QMetaObject::activate(QObject*, int, int, void**) + 2994 43 org.qt-project.QtPrintSupport 0x000000010ffc3b7f QPrintPreviewWidgetPrivate::generatePreview() + 111 44 org.qt-project.QtPrintSupport 0x000000010ffc4899 QPrintPreviewWidget::updatePreview() + 25 45 org.qt-project.QtCore 0x000000010ef0db82 QMetaObject::activate(QObject*, int, int, void**) + 2994 46 wireshark 0x0000000109252ba4 PacketRangeGroupBox::updateCounts() + 4148 (packet_range_group_box.cpp:278) 47 wireshark 0x0000000109402410 PacketRangeGroupBox::qt_metacall(QMetaObject::Call, int, void**) + 80 (packet_range_group_box.moc.cpp:177) 48 org.qt-project.QtCore 0x000000010ef0daa9 QMetaObject::activate(QObject*, int, int, void**) + 2777 49 org.qt-project.QtWidgets 0x000000010fc98fb0 QAbstractButton::toggled(bool) + 64 50 org.qt-project.QtWidgets 0x000000010f9ef2da QAbstractButtonPrivate::emitToggled(bool) + 58 51 org.qt-project.QtWidgets 0x000000010f9ee728 QAbstractButton::setChecked(bool) + 296 52 org.qt-project.QtWidgets 0x000000010f9eee5c QAbstractButtonPrivate::click() + 92 53 org.qt-project.QtWidgets 0x000000010f9eff0e QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 270 54 org.qt-project.QtWidgets 0x000000010f94412c QWidget::event(QEvent*) + 1628 55 org.qt-project.QtWidgets 0x000000010f9efc63 QAbstractButton::event(QEvent*) + 179 56 org.qt-project.QtWidgets 0x000000010f9056fb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 57 org.qt-project.QtWidgets 0x000000010f908f2d QApplication::notify(QObject*, QEvent*) + 9421 58 org.qt-project.QtCore 0x000000010eedd1b3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115 59 org.qt-project.QtWidgets 0x000000010f90608b QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 987 60 org.qt-project.QtWidgets 0x000000010f9642d0 QWidgetWindow::handleMouseEvent(QMouseEvent*) + 1200 61 org.qt-project.QtWidgets 0x000000010f9634df QWidgetWindow::event(QEvent*) + 111 62 org.qt-project.QtWidgets 0x000000010f9056fb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 63 org.qt-project.QtWidgets 0x000000010f908ade QApplication::notify(QObject*, QEvent*) + 8318 64 org.qt-project.QtCore 0x000000010eedd1b3 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115 65 org.qt-project.QtGui 0x000000010f3260c9 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2185 66 org.qt-project.QtGui 0x000000010f324f53 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 131 67 org.qt-project.QtGui 0x000000010f311b4a QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 346 68 libqcocoa.dylib 0x0000000112f33911 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 69 com.apple.CoreFoundation 0x00007fff95a705c1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 70 com.apple.CoreFoundation 0x00007fff95a6241c __CFRunLoopDoSources0 + 556 71 com.apple.CoreFoundation 0x00007fff95a6193f __CFRunLoopRun + 927 72 com.apple.CoreFoundation 0x00007fff95a61338 CFRunLoopRunSpecific + 296 73 com.apple.HIToolbox 0x00007fff86866935 RunCurrentEventLoopInMode + 235 74 com.apple.HIToolbox 0x00007fff86866677 ReceiveNextEventCommon + 184 75 com.apple.HIToolbox 0x00007fff868665af _BlockUntilNextEventMatchingListInModeWithFilter + 71 76 com.apple.AppKit 0x00007fff8dba40ee _DPSNextEvent + 1067 77 com.apple.AppKit 0x00007fff8df70943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 78 com.apple.AppKit 0x00007fff8dd58d22 -[NSApplication _realDoModalLoop:peek:] + 653 79 com.apple.AppKit 0x00007fff8df6fde2 -[NSApplication runModalSession:] + 71 80 libqcocoa.dylib 0x0000000112f3273a QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1994 81 org.qt-project.QtCore 0x000000010eeda8cd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381 82 org.qt-project.QtWidgets 0x000000010faf1342 QDialog::exec() + 514 83 wireshark 0x00000001092269ef MainWindow::on_actionFilePrint_triggered() + 79 (main_window_slots.cpp:1873) 84 wireshark 0x00000001093ff546 MainWindow::qt_metacall(QMetaObject::Call, int, void**) + 86 (main_window.moc.cpp:1737) 85 org.qt-project.QtCore 0x000000010ef0daa9 QMetaObject::activate(QObject*, int, int, void**) + 2777 86 org.qt-project.QtWidgets 0x000000010f8fc7ef QAction::activate(QAction::ActionEvent) + 271 87 org.qt-project.QtWidgets 0x000000010f8fccf5 QAction::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 565 88 org.qt-project.QtCore 0x000000010ef0db82 QMetaObject::activate(QObject*, int, int, void**) + 2994 89 org.qt-project.QtCore 0x000000010ef06753 QObject::event(QEvent*) + 755 90 org.qt-project.QtWidgets 0x000000010f9056fb QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251 91 org.qt-project.QtWidgets 0x000000010f908ade QApplication::notify(QObject*, QEvent*) + 8318 92 org.qt-project.QtCore 0x000000010eedde8b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 971 93 libqcocoa.dylib 0x0000000112f3308e QCocoaEventDispatcherPrivate::processPostedEvents() + 190 94 libqcocoa.dylib 0x0000000112f33911 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33 95 com.apple.CoreFoundation 0x00007fff95a705c1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 96 com.apple.CoreFoundation 0x00007fff95a6241c __CFRunLoopDoSources0 + 556 97 com.apple.CoreFoundation 0x00007fff95a6193f __CFRunLoopRun + 927 98 com.apple.CoreFoundation 0x00007fff95a61338 CFRunLoopRunSpecific + 296 99 com.apple.HIToolbox 0x00007fff86866935 RunCurrentEventLoopInMode + 235 100 com.apple.HIToolbox 0x00007fff86866677 ReceiveNextEventCommon + 184 101 com.apple.HIToolbox 0x00007fff868665af _BlockUntilNextEventMatchingListInModeWithFilter + 71 102 com.apple.AppKit 0x00007fff8dba40ee _DPSNextEvent + 1067 103 com.apple.AppKit 0x00007fff8df70943 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454 104 com.apple.AppKit 0x00007fff8db99fc8 -[NSApplication run] + 682 105 libqcocoa.dylib 0x0000000112f327fd QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2189 106 org.qt-project.QtCore 0x000000010eeda8cd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381 107 org.qt-project.QtCore 0x000000010eedd78a QCoreApplication::exec() + 346 108 wireshark 0x000000010909a77f main + 5935 (wireshark-qt.cpp:1444) 109 libdyld.dylib 0x00007fff8aee85ad start + 1 Bad pointer dereference, but no indication of whether it's a null pointer or not. That's probably the code that's drawing the print preview. It's deep in the bowels of Qt, but maybe Wireshark itself set *something* up to cause the crash.
You are receiving this mail because:
- You are watching all bug changes.
- Prev by Date: [Wireshark-bugs] [Bug 11880] packet/gluster: Add support for UPCALL:GF_CBK_CACHE_INVALADATION
- Next by Date: [Wireshark-bugs] [Bug 12040] Print "Selected packets only" crashes application
- Previous by thread: [Wireshark-bugs] [Bug 12040] Print "Selected packets only" crashes application
- Next by thread: [Wireshark-bugs] [Bug 12040] Print "Selected packets only" crashes application
- Index(es):