Wireshark-bugs: [Wireshark-bugs] [Bug 10896] Filtering for an LLC protocol during a live capture

Date: Tue, 27 Jan 2015 03:09:41 +0000

changed bug 10896


What Removed Added
CC   [email protected]

Comment # 5 on bug 10896 from
I think the following is related.

I'm able to trigger a crash using Qt Wireshark on OS X if I have an active
capture and then apply a display filter that matches no packets and then move
the cursor over the hex pane or resize the Wireshark window.  

When a display filter that matches no packets is applied in Qt Wireshark the
packetlist pane is cleared of all entries, but the packet details pane and the
hex pane display the last packet that was displayed before the filter was
applied.

Simply moving the cursor over the hex pane appears to trigger an update to the
hex pane which appears to display a more recent packet.  Without much effort
Wireshark crashes with the message:

> ERROR:wmem_core.c:50:wmem_alloc: assertion failed: (allocator->in_scope)

Similar to Sean's stack trace, my stack trace shows that ByteViewText():: was
involved.  Here's one example of a stack trace from my OS X system:

> Application Specific Information:
> Wireshark 1.99.2-852-g7ed097c (v1.99.2rc0-852-g7ed097c from unknown)
>  
> Compiled (64-bit) with Qt 5.3.2, with libpcap, without POSIX capabilities, with
> libz 1.2.3, with GLib 2.36.0, with SMI 0.4.8, without c-ares, without ADNS, with
> Lua 5.2, with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP,
> without PortAudio, with AirPcap.
>  
> Running on Mac OS X 10.8.5, build 12F45 (Darwin 12.5.0), with locale
> en_US.UTF-8, with libpcap version 1.1.1, with libz 1.2.5, with GnuTLS 2.12.19,
> with Gcrypt 1.5.0, without AirPcap.
>       Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (with SSE4.2)
>  
> Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
> 2336.9.00).
>  
> abort() called
> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libsystem_kernel.dylib        	0x00007fff8c7c1212 __pthread_kill + 10
> 1   libsystem_c.dylib             	0x00007fff9366fb24 pthread_kill + 90
> 2   libsystem_c.dylib             	0x00007fff936b3f61 abort + 143
> 3   libglib-2.0.0.dylib           	0x0000000112988d0a g_assertion_message + 634
> 4   libglib-2.0.0.dylib           	0x0000000112988dd8 g_assertion_message_expr + 120
> 5   libwireshark.0.dylib          	0x000000010e4cb092 wmem_alloc + 66
> 6   libwireshark.0.dylib          	0x000000010e4ce3be wmem_strdup_vprintf + 62
> 7   libwireshark.0.dylib          	0x000000010e4ce4bb wmem_strdup_printf + 123
> 8   libwireshark.0.dylib          	0x000000010d9282bd tvb_captured_length + 61
> 9   org.wireshark.Wireshark       	0x000000010d155fc1 ByteViewText::paintEvent(QPaintEvent*) + 591
> 10  QtWidgets                     	0x00000001135c03d6 QWidget::event(QEvent*) + 1958
> 11  QtWidgets                     	0x00000001136a07a7 QFrame::event(QEvent*) + 183
> 12  QtWidgets                     	0x000000011371e8ca QAbstractScrollArea::viewportEvent(QEvent*) + 122
> 13  QtWidgets                     	0x000000011371f3d5 0x11355b000 + 1852373
> 14  QtCore                        	0x0000000112cf7c2c QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 156
> 15  QtWidgets                     	0x0000000113587fe9 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 281
> 16  QtWidgets                     	0x000000011358aabb QApplication::notify(QObject*, QEvent*) + 6187
> 17  QtCore                        	0x0000000112cf7932 QCoreApplication::notifyInternal(QObject*, QEvent*) + 114
> 18  QtWidgets                     	0x00000001135bb035 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2997
> 19  QtWidgets                     	0x000000011359317b 0x11355b000 + 229755
> 20  QtWidgets                     	0x000000011359350e 0x11355b000 + 230670
> 21  QtWidgets                     	0x00000001135b2713 QWidgetPrivate::syncBackingStore() + 211
> 22  QtWidgets                     	0x00000001135c067d QWidget::event(QEvent*) + 2637
> 23  QtWidgets                     	0x00000001136b6637 QMainWindow::event(QEvent*) + 935
> 24  QtWidgets                     	0x0000000113587ffc QApplicationPrivate::notify_helper(QObject*, QEvent*) + 300
> 25  QtWidgets                     	0x000000011358aabb QApplication::notify(QObject*, QEvent*) + 6187
> 26  QtCore                        	0x0000000112cf84b7 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 631
> 27  libqcocoa.dylib               	0x0000000115301f06 0x1152e2000 + 130822
> 28  libqcocoa.dylib               	0x00000001153028a8 0x1152e2000 + 133288
> 29  com.apple.CoreFoundation      	0x00007fff97821b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
> 30  com.apple.CoreFoundation      	0x00007fff97821455 __CFRunLoopDoSources0 + 245
> 31  com.apple.CoreFoundation      	0x00007fff978447f5 __CFRunLoopRun + 789
> 32  com.apple.CoreFoundation      	0x00007fff978440e2 CFRunLoopRunSpecific + 290
> 33  com.apple.HIToolbox           	0x00007fff92cd3eb4 RunCurrentEventLoopInMode + 209
> 34  com.apple.HIToolbox           	0x00007fff92cd3c52 ReceiveNextEventCommon + 356
> 35  com.apple.HIToolbox           	0x00007fff92cd3ae3 BlockUntilNextEventMatchingListInMode + 62
> 36  com.apple.AppKit              	0x00007fff94286533 _DPSNextEvent + 685
> 37  com.apple.AppKit              	0x00007fff94285df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
> 38  com.apple.AppKit              	0x00007fff9427d1a3 -[NSApplication run] + 517
> 39  libqcocoa.dylib               	0x00000001153015e4 0x1152e2000 + 128484
> 40  QtCore                        	0x0000000112cf49ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
> 41  QtCore                        	0x0000000112cf7ee7 QCoreApplication::exec() + 359
> 42  org.wireshark.Wireshark       	0x000000010d14c989 main + 5097
> 43  org.wireshark.Wireshark       	0x000000010d13d334 start + 52


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