Bug 34980 - Падает nm-applet по щелчку на него, если включен wi-fi
Summary: Падает nm-applet по щелчку на него, если включен wi-fi
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: NetworkManager-applet-gtk (show other bugs)
Version: unstable
Hardware: all Linux
: P3 critical
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 33000
  Show dependency tree
 
Reported: 2018-06-03 10:46 MSK by Антон Мидюков
Modified: 2018-06-04 15:21 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2018-06-03 10:46:33 MSK
Падает nm-applet по щелчку на него, если включен wi-fi. Проявилось после:

2018-05-28 Mikhail Efremov <sem at altlinux.org> 1.8.12-alt1 
- Updated to 1.8.12. 
- Use %e2k macro.

В gdb:
Program received signal SIGSEGV, Segmentation fault.
magazine_chain_pop_head (magazine_chunks=<optimized out>)
    at gslice.c:539
539           (*magazine_chunks)->data = chunk->next;

backtrace привести не получается, так как gdb виснет вместе с эмулятором терминала.
Comment 1 Aleksey Borisenkov 2018-06-03 12:48:10 MSK
Воспроизводится в LXQt:

Program received signal SIGSEGV, Segmentation fault.
magazine_chain_pop_head (magazine_chunks=<optimized out>) at gslice.c:539
539	      (*magazine_chunks)->data = chunk->next;

(gdb) bt
#0  magazine_chain_pop_head (magazine_chunks=<optimized out>) at gslice.c:539
#1  thread_memory_magazine1_alloc (tmem=<optimized out>, ix=0) at gslice.c:842
#2  g_slice_alloc (mem_size=8) at gslice.c:1016
#3  0xb6ea2d86 in g_slist_prepend (list=0x0, data=0x80af770) at gslist.c:259
#4  0xb6faa90b in g_object_notify_queue_add (nqueue=nqueue@entry=0x812b980, 
    pspec=0x80af770, object=0x8263620) at gobject.c:311
#5  0xb6facba3 in g_object_notify_by_spec_internal (pspec=0x80af770, 
    object=0x8263620) at gobject.c:1170
#6  g_object_notify_by_pspec (object=0x8263620, pspec=0x80af770)
    at gobject.c:1285
#7  0xb7ad536a in gtk_widget_unparent (widget=0x8263620) at gtkwidget.c:4676
#8  0xb785e4e3 in gtk_bin_remove (container=0x8264558, child=0x8263620)
    at gtkbin.c:151
#9  0xb6fa93c9 in g_cclosure_marshal_VOID__OBJECTv (closure=0x80e1670, 
    return_value=0x0, instance=<optimized out>, 
    args=0xbfffe78c " 6&\b 6&\b\220\f\016\b", 
    marshal_data=0xb7ae9570 <gtk_window_remove>, n_params=1, 
    param_types=0x80e1690) at gmarshal.c:2102
#10 0xb6fa661c in _g_closure_invoke_va (closure=0x80e1670, return_value=0x0, 
    instance=0x8264558, args=0xbfffe78c " 6&\b 6&\b\220\f\016\b", n_params=1, 
    param_types=0x80e1690) at gclosure.c:867
#11 0xb6fc1f8f in g_signal_emit_valist (instance=0x8264558, signal_id=108, 
    detail=0, var_args=0xbfffe78c " 6&\b 6&\b\220\f\016\b") at gsignal.c:3300
#12 0xb6fc23d5 in g_signal_emit (instance=0x8264558, signal_id=108, detail=0)
    at gsignal.c:3447
#13 0xb78acc24 in gtk_container_remove (container=0x8264558, widget=0x8263620)
    at gtkcontainer.c:1905
#14 0xb7acbb91 in gtk_widget_dispose (object=0x8263620) at gtkwidget.c:12087
#15 0xb6fac888 in g_object_run_dispose (object=0x8263620) at gobject.c:1102
#16 0xb7ac29ba in gtk_widget_destroy (widget=0x8263620) at gtkwidget.c:4728
#17 0xb798baa6 in gtk_menu_item_destroy (widget=0x80bff60) at gtkmenuitem.c:1152
#18 0xb6fa6317 in g_closure_invoke (closure=0x80d5850, return_value=0x0, 
    n_param_values=1, param_values=0xbfffe990, invocation_hint=0xbfffe94c)
    at gclosure.c:804
#19 0xb6fb9546 in signal_emit_unlocked_R (node=node@entry=0x80d1ad0, 
    detail=detail@entry=0, instance=instance@entry=0x80bff60, 
    emission_return=0x0, instance_and_params=0xbfffe990) at gsignal.c:3751
#20 0xb6fc1c2c in g_signal_emit_valist (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>, 
    var_args=0xbfffeaec "\244\273\230\267P\372\060\bP") at gsignal.c:3391
#21 0xb6fc23d5 in g_signal_emit (instance=0x80bff60, signal_id=35, detail=0)
    at gsignal.c:3447
#22 0xb7acbc6f in gtk_widget_dispose (object=0x80bff60) at gtkwidget.c:12098
#23 0xb6fac888 in g_object_run_dispose (object=0x80bff60) at gobject.c:1102
#24 0xb7ac29ba in gtk_widget_destroy (widget=0x80bff60) at gtkwidget.c:4728
#25 0xb798f5cc in gtk_menu_shell_forall (container=0x8263438, 
    include_internals=0, callback=0xb7ac2970 <gtk_widget_destroy>, 
    callback_data=0x0) at gtkmenushell.c:1154
#26 0xb78ad6d7 in gtk_container_foreach (container=0x8263438, 
    callback=0xb7ac2970 <gtk_widget_destroy>, callback_data=0x0)
    at gtkcontainer.c:2475
#27 0xb78ae72e in gtk_container_destroy (widget=0x8263438)
    at gtkcontainer.c:1700
#28 0xb6fa63f8 in g_closure_invoke (closure=0x80d5850, return_value=0x0, 
    n_param_values=1, param_values=0xbfffed10, invocation_hint=0xbfffeccc)
    at gclosure.c:804
#29 0xb6fb9546 in signal_emit_unlocked_R (node=node@entry=0x80d1ad0, 
    detail=detail@entry=0, instance=instance@entry=0x8263438, 
    emission_return=0x0, instance_and_params=0xbfffed10) at gsignal.c:3751
#30 0xb6fc1c2c in g_signal_emit_valist (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>, 
    var_args=0xbfffee6c "\272\005\231\267\070\064&\bm") at gsignal.c:3391
#31 0xb6fc23d5 in g_signal_emit (instance=0x8263438, signal_id=35, detail=0)
    at gsignal.c:3447
#32 0xb7acbc6f in gtk_widget_dispose (object=0x8263438) at gtkwidget.c:12098
#33 0xb6faafd7 in g_object_unref (_object=0x8263438) at gobject.c:3303
#34 0xb78acc36 in gtk_container_remove (container=0x82643b8, widget=0x8263438)
    at gtkcontainer.c:1909
#35 0xb7acbb91 in gtk_widget_dispose (object=0x8263438) at gtkwidget.c:12087
#36 0xb6faafd7 in g_object_unref (_object=0x8263438) at gobject.c:3303
#37 0x080540ec in destroy_old_menu (user_data=0x8263438) at src/applet.c:1644
#38 0xb6e84c74 in g_main_dispatch (context=0x80df0e0) at gmain.c:3177
#39 g_main_context_dispatch (context=<optimized out>) at gmain.c:3830
#40 0xb6e85069 in g_main_context_iterate (context=context@entry=0x80df0e0, 
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3903
#41 0xb6e85114 in g_main_context_iteration (context=0x80df0e0, may_block=1)
    at gmain.c:3964
#42 0xb7093df3 in g_application_run (application=<optimized out>, argc=1, 
    argv=0xbffff0cc) at gapplication.c:2470
#43 0x08053bbb in main (argc=<optimized out>, argv=<optimized out>)
    at src/main.c:81
Comment 2 Repository Robot 2018-06-04 15:21:43 MSK
NetworkManager-applet-gtk-1.8.12-alt2 -> sisyphus:

Mon Jun 04 2018 Mikhail Efremov <sem@altlinux> 1.8.12-alt2
- Patch from upstream:
    + Don't double-free priv->dupes (closes: #34980).