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

--- Comment #7 from Jörg Mayer <[email protected]> ---
After libpcap commit bf5cecc64b15489fd979aef7132e54ea5d2fd04b plus my two
patches on top of it and with Wireshark git head
(1ac358c99ddcddc29d4e7c9fee1591e71f4a6a6e) I now get the correct DLT-Type for
the interfaces (Ethernet for eth0 and "802.11 plus radiotap header" wifi0 and
wifi1). It also starts capturing but it never captures anything. After stopping
the capture wireshark crashes after a few seconds:

ASAN:DEADLYSIGNAL
=================================================================
==22991==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x000116e52c00 bp 0x7fff58dd5a50 sp 0x7fff58dd51d0 T0)
    #0 0x116e52bff in wrap_strcmp (libclang_rt.asan_osx_dynamic.dylib+0xdbff)
    #1 0x1078ed52e in capture_stats (Wireshark+0x100ac652e)
    #2 0x1070ef1be in InterfaceTreeModel::updateStatistic(unsigned int)
(Wireshark+0x1002c81be)
    #3 0x10710cb24 in InterfaceFrame::updateStatistics()
(Wireshark+0x1002e5b24)
    #4 0x10787fe2b in InterfaceFrame::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (Wireshark+0x100a58e2b)
    #5 0x1094df2e0 in QMetaObject::activate(QObject*, int, int, void**)
(QtCore+0x21d2e0)
    #6 0x1094d831f in QObject::event(QEvent*) (QtCore+0x21631f)
    #7 0x10882258c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(QtWidgets+0x1158c)
    #8 0x108824ed1 in QApplication::notify(QObject*, QEvent*)
(QtWidgets+0x13ed1)
    #9 0x1094ae543 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(QtCore+0x1ec543)
    #10 0x1095039d5 in QTimerInfoList::activateTimers() (QtCore+0x2419d5)
    #11 0x11d3b3ae1 in
QCocoaEventDispatcherPrivate::activateTimersSourceCallback(void*)
(libqcocoa.dylib+0x25ae1)

Similar with dumpcap, only it doesn't crash after CTRL-C:
jmayer@newegg:~/worktmp/wireshark/git(master)$ dumpcap -i
'rpcap://10.122.4.11:2002/wifi0'
Capturing on 'rpcap://10.122.4.11:2002/wifi0'
File:
/var/folders/p2/81x5c_q12t37tttmv0ch0drw0000gn/T//wireshark_wifi0_20170308072642_lrwIWR.pcapng
Packets captured: 0
Packets received/dropped on interface 'rpcap://10.122.4.11:2002/wifi0': 0/0
(pcap:0/dumpcap:0/flushed:0/ps_ifdrop:0) (0.0%)
jmayer@newegg:~/worktmp/wireshark/git(master)$ dumpcap -i
'rpcap://10.122.4.11:2002/'
Capturing on 'rpcap://10.122.4.11:2002/'
dumpcap: The capture session could not be initiated on interface
'rpcap://10.122.4.11:2002/' (The interface name has not been specified in the
source string.).
Please check to make sure you have sufficient permissions, and that you have
the proper interface or pipe specified.

Attached capture file packets 1-10: start dumpcap, 11-15: after CTRL-C
No packets for the attempt to only list the interfaces.

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

Reply via email to