Wireshark-bugs: [Wireshark-bugs] [Bug 12335] Unhandled exception in Visual C++ when using _ws.ex
Date: Tue, 12 Apr 2016 18:03:45 +0000

changed bug 12335


What Removed Added
Status UNCONFIRMED CONFIRMED
CC   alexis.lagoutte@gmail.com
Ever confirmed   1

Comment # 1 on bug 12335 from
Get crash also on OS X and Linux with git master...

The (Ubuntu) backtrace :

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

Program received signal SIGABRT, Aborted.
0x00007fffefe5f267 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
55    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007fffefe5f267 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007fffefe60eca in __GI_abort () at abort.c:89
#2  0x00007ffff1d99b15 in g_assertion_message () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff1d99baa in g_assertion_message_expr () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff4e9bb75 in wmem_alloc (allocator=<optimized out>,
size=<optimized out>) at wmem_core.c:50
#5  0x00007ffff4e9ea9a in wmem_strdup_vprintf (allocator=0x126ace0, 
    fmt=0x7ffff4ecaee1 "%s:%u: failed assertion \"%s\"",
ap=ap@entry=0x7fffffffc2e0) at wmem_strutl.c:101
#6  0x00007ffff4e9ebc4 in wmem_strdup_printf (allocator=<optimized out>, 
    fmt=fmt@entry=0x7ffff4ecaee1 "%s:%u: failed assertion \"%s\"") at
wmem_strutl.c:75
#7  0x00007ffff4328766 in ensure_contiguous (length=<optimized out>,
offset=<optimized out>, tvb=<optimized out>)
    at tvbuff.c:717
#8  tvb_find_tvb (haystack_tvb=<optimized out>, needle_tvb=<optimized out>,
haystack_offset=haystack_offset@entry=0)
    at tvbuff.c:3515
#9  0x00007ffff43404f8 in cmp_contains (fv_a=0x404aed0, fv_b=0x319f2f0) at
ftype-tvbuff.c:350
#10 0x00007ffff43430a3 in any_test (cmp=0x7ffff433a6c0 <fvalue_contains>,
reg1=<optimized out>, 
    reg2=<optimized out>, df=0x4334400) at dfvm.c:362
#11 0x00007ffff4343869 in dfvm_apply (df=df@entry=0x4334400, tree=0x319ef20) at
dfvm.c:521
#12 0x00007ffff4341a89 in dfilter_apply_edt (df=df@entry=0x4334400,
edt=edt@entry=0x7fffffffc6e0) at dfilter.c:413
#13 0x0000000000451123 in add_packet_to_packet_list
(fdata=fdata@entry=0x29d8a40, cf=cf@entry=0xc3f0c0 <cfile>, 
    edt=edt@entry=0x7fffffffc6e0, dfcode=0x4334400, cinfo=cinfo@entry=0x0,
phdr=phdr@entry=0xc3f1b8 <cfile+248>, 
    buf=0x3232880 "\002", add_to_packet_list=0) at file.c:1116
#14 0x0000000000456343 in rescan_packets (cf=cf@entry=0xc3f0c0 <cfile>,
action="" "Filtering", 
    action_item=action_item@entry=0x4331b60 "_ws.expert contains \"whatever\"
", redissect=redissect@entry=0)
    at file.c:1760
#15 0x00000000004568ae in cf_filter_packets (cf=0xc3f0c0 <cfile>, 
    dftext=0x4331b60 "_ws.expert contains \"whatever\" ", 
    dftext@entry=0x4331b28 "_ws.expert contains \"whatever\" ",
force=force@entry=1) at file.c:1470
#16 0x000000000049de1c in MainWindow::filterPackets (this=this@entry=0xe5b4c0,
new_filter=..., 
    force=force@entry=true) at main_window_slots.cpp:259
#17 0x00000000005b877a in MainWindow::qt_static_metacall (_o=0xe5b4c0,
_c=<optimized out>, _id=<optimized out>, 
    _a=0x7fffffffcb80) at main_window.moc.cpp:1371
#18 0x00007ffff0f6578a in QMetaObject::activate(QObject*, int, int, void**) ()
---Type <return> to continue, or q <return> to quit--- 
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00000000005b43f6 in DisplayFilterEdit::filterPackets
(this=this@entry=0x115b2f0, _t1=..., _t2=_t2@entry=true)
    at display_filter_edit.moc.cpp:253
#20 0x000000000062950e in DisplayFilterEdit::applyDisplayFilter
(this=0x115b2f0) at display_filter_edit.cpp:519
#21 0x00000000005b47ad in DisplayFilterEdit::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, 
    _id=<optimized out>, _a=<optimized out>) at display_filter_edit.moc.cpp:145
#22 0x00007ffff0f6578a in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff1951705 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff0f6578a in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff19dcd8f in QWidgetLineControl::processKeyEvent(QKeyEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff194d04a in QLineEdit::keyPressEvent(QKeyEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x000000000054406b in SyntaxLineEdit::completionKeyPressEvent
(this=0x115b2f0, event=0x7fffffffd750)
    at syntax_line_edit.cpp:299
#28 0x00007ffff18454b7 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff19536c9 in QLineEdit::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff1919da5 in QComboBox::keyPressEvent(QKeyEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff18454b7 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff1914ff6 in QComboBox::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x0000000000626e94 in DisplayFilterCombo::event (this=0x114fdf0,
event=0x7fffffffd750)
    at display_filter_combo.cpp:122
#34 0x00007ffff1802b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff18087c9 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff0f34f1b in QCoreApplication::notifyInternal(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff185e773 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff1802b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#39 0x00007ffff1808230 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff0f34f1b in QCoreApplication::notifyInternal(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff1254057 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007ffff1258fe5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007ffff123e5b8 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#44 0x00007ffff7eeb250 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#45 0x00007ffff1d73ff7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff1d74250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff1d742fc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff0f8c27f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff0f3275a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007ffff0f3a2cc in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x000000000044705c in main (argc=0, argv=<optimized out>) at
wireshark-qt.cpp:1415


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