Wireshark-bugs: [Wireshark-bugs] [Bug 10685] Crash (segfault) when enabling monitor mode
Date: Sat, 28 May 2016 19:03:51 +0000

Comment # 6 on bug 10685 from
I can duplicate the issue here from a fresh checkout of master (g3fbd397):

#0  0x00007fffef952d3c in __GI___libc_free (mem=0x555556884e40)
    at malloc.c:2945
#1  0x0000555555633c20 in save_options_cb (win=<optimized out>, 
    user_data=<optimized out>)
    at /Development/wireshark/ui/gtk/capture_dlg.c:2468
#2  0x00007ffff64e85e7 in _g_closure_invoke_va (closure=0x555555ad4560, 
    return_value=0x0, instance=0x55555676b910, args=0x7fffffffbc68, 
    n_params=0, param_types=0x0)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:831
#3  0x00007ffff6501088 in g_signal_emit_valist (instance=0x55555676b910, 
    signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fffffffbc68)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3215
#4  0x00007ffff6501ce2 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
#5  0x00007ffff77a07e8 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x00007ffff64e85e7 in _g_closure_invoke_va (closure=0x5555563a6f40, 
    return_value=0x0, instance=0x55555676b910, args=0x7fffffffbf58, 
    n_params=0, param_types=0x0)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:831
#7  0x00007ffff6501088 in g_signal_emit_valist (instance=0x55555676b910, 
    signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fffffffbf58)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3215
#8  0x00007ffff6501ce2 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
#9  0x00007ffff779f6a1 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff786ad3e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff64e85e7 in _g_closure_invoke_va (closure=0x55555596d520, 
---Type <return> to continue, or q <return> to quit---
    return_value=0x7fffffffc170, instance=0x55555676b910, args=0x7fffffffc278, 
    n_params=1, param_types=0x55555596d550)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:831
#12 0x00007ffff6501088 in g_signal_emit_valist (instance=0x55555676b910, 
    signal_id=<optimized out>, detail=0, 
    var_args=var_args@entry=0x7fffffffc278)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3215
#13 0x00007ffff6501ce2 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
#14 0x00007ffff7993974 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff786908c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff786a91a in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff746ec22 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#18 0x00007ffff6218e04 in g_main_dispatch (context=0x555555989c00)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#19 g_main_context_dispatch (context=context@entry=0x555555989c00)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#20 0x00007ffff6219048 in g_main_context_iterate (
    context=context@entry=0x555555989c00, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#21 0x00007ffff62190ec in g_main_context_iteration (context=0x555555989c00, 
    may_block=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#22 0x00007ffff7869ec5 in gtk_main_iteration ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00005555555b74c5 in main_window_update ()
    at /Development/wireshark/ui/gtk/gui_utils.c:574
#24 0x00005555556a29fd in sync_pipe_open_command (
    argv=argv@entry=0x555556895360, 
---Type <return> to continue, or q <return> to quit---
    data_read_fd=data_read_fd@entry=0x7fffffffca20, 
    message_read_fd=message_read_fd@entry=0x7fffffffca24, 
    fork_child=fork_child@entry=0x7fffffffca28, msg=msg@entry=0x7fffffffca30, 
    update_cb=update_cb@entry=0x5555555b74b0 <main_window_update>)
    at /Development/wireshark/capchild/capture_sync.c:1056
#25 0x00005555556a33ff in sync_pipe_run_command_actual (
    argv=argv@entry=0x555556895360, data="" 
    primary_msg=primary_msg@entry=0x7fffffffdf70, 
    secondary_msg=secondary_msg@entry=0x7fffffffdf78, 
    update_cb=update_cb@entry=0x5555555b74b0 <main_window_update>)
    at /Development/wireshark/capchild/capture_sync.c:1118
#26 0x00005555556a36f2 in sync_pipe_run_command (argv=0x555556895360, 
    data="" 
    primary_msg=primary_msg@entry=0x7fffffffdf70, 
    secondary_msg=secondary_msg@entry=0x7fffffffdf78, 
    update_cb=update_cb@entry=0x5555555b74b0 <main_window_update>)
    at /Development/wireshark/capchild/capture_sync.c:1296
#27 0x00005555556a445a in sync_if_capabilities_open (
    ifname=ifname@entry=0x5555568968d0 "eth0", 
    monitor_mode=monitor_mode@entry=0, auth=auth@entry=0x0, 
    data="" 
    primary_msg=primary_msg@entry=0x7fffffffdf70, 
    secondary_msg=secondary_msg@entry=0x7fffffffdf78, 
    update_cb=update_cb@entry=0x5555555b74b0 <main_window_update>)
    at /Development/wireshark/capchild/capture_sync.c:1446
#28 0x00005555556a260c in capture_get_if_capabilities (
    ifname=0x5555568968d0 "eth0", monitor_mode=monitor_mode@entry=0, 
    auth_string=auth_string@entry=0x0, err_str=err_str@entry=0x0, 
    update_cb=update_cb@entry=0x5555555b74b0 <main_window_update>)
    at /Development/wireshark/capchild/capture_ifinfo.c:238
#29 0x00005555556898e9 in scan_local_interfaces (
---Type <return> to continue, or q <return> to quit---
    update_cb=0x5555555b74b0 <main_window_update>)
    at /Development/wireshark/ui/iface_lists.c:185
#30 0x000055555563e080 in refresh_local_interface_lists ()
    at /Development/wireshark/ui/gtk/capture_dlg.c:6150
#31 0x00005555556a5b0b in iface_mon_handler2 (obj=0x55555689c860, 
    arg=0x5555556653a0 <gtk_iface_mon_event_cb>)
    at /Development/wireshark/caputils/iface_monitor.c:113
#32 0x00007ffff017002e in ?? () from /lib/x86_64-linux-gnu/libnl-3.so.200
#33 0x00007ffff0394282 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200
#34 0x00007ffff016d6f9 in nl_cache_parse ()
   from /lib/x86_64-linux-gnu/libnl-3.so.200
#35 0x00007ffff01717ab in nl_msg_parse ()
   from /lib/x86_64-linux-gnu/libnl-3.so.200
#36 0x00005555556a5ab3 in iface_mon_handler (msg=<optimized out>, 
    arg=<optimized out>)
    at /Development/wireshark/caputils/iface_monitor.c:123
#37 0x00007ffff0172742 in nl_recvmsgs_report ()
   from /lib/x86_64-linux-gnu/libnl-3.so.200
#38 0x00007ffff0172aa9 in nl_recvmsgs ()
   from /lib/x86_64-linux-gnu/libnl-3.so.200
#39 0x0000555555665389 in gtk_iface_mon_event (source=<optimized out>, 
    condition=<optimized out>, data="" out>)
    at /Development/wireshark/ui/gtk/gtk_iface_monitor.c:85
#40 0x00007ffff6218ce5 in g_main_dispatch (context=0x555555989c00)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#41 g_main_context_dispatch (context=context@entry=0x555555989c00)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#42 0x00007ffff6219048 in g_main_context_iterate (context=0x555555989c00, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
---Type <return> to continue, or q <return> to quit---
#43 0x00007ffff621930a in g_main_loop_run (loop=0x5555566cfef0)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3928
#44 0x00007ffff7869e25 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#45 0x00005555555a5ad5 in main (argc=0, argv=0x7fffffffe890)
    at /Development/wireshark/ui/gtk/main.c:3343


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