Re: nm-applet SIGSEGV



On Tue, 1 Dec 2015 10:12:11 +0100
poma <pomidorabelisima gmail com> wrote:


你好

network-manager-applet-1.2.0-0.9.20151119gitbc8a795.fc24.x86_64

coredumpctl gdb:

           PID: 1676 (nm-applet)
        Signal: 11 (SEGV)
  Command Line: nm-applet
    Executable: /usr/bin/nm-applet
       Message: Process 1676 (nm-applet) of user 1000 dumped core.
                
                Stack trace of thread 1676:
                #0  0x00007fb4349630bd
g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0) #1
0x00007fb4349427e7 g_object_unref (libgobject-2.0.so.0) #2
0x0000558638143747 nma_clear_icon (/usr/bin/nm-applet (deleted)) #3
0x00005586381443be nma_icons_free (/usr/bin/nm-applet (deleted)) #4
0x00007fb43493d995 g_closure_invoke (libgobject-2.0.so.0) #5
0x00007fb434950511 signal_emit_unlocked_R (libgobject-2.0.so.0) #6
0x00007fb4349594c0 g_signal_emit_valist (libgobject-2.0.so.0) #7
0x00007fb43495988f g_signal_emit (libgobject-2.0.so.0) #8
0x00007fb4364f2de4 theme_changed_idle (libgtk-3.so.0) #9
0x00007fb43606f188 gdk_threads_dispatch (libgdk-3.so.0) #10
0x00007fb43443907a g_main_context_dispatch (libglib-2.0.so.0) #11
0x00007fb434439410 g_main_context_iterate.isra.29 (libglib-2.0.so.0)
#12 0x00007fb434439732 g_main_loop_run (libglib-2.0.so.0) #13
0x000055863814358d main (/usr/bin/nm-applet (deleted)) #14
0x00007fb433e2b780 __libc_start_main (libc.so.6) #15
0x00005586381435e9 _start (/usr/bin/nm-applet (deleted))

Core was generated by `nm-applet'.
Program terminated with signal SIGSEGV, Segmentation fault.

#2  0x0000558638143747 in nma_clear_icon (icon=0x558639673c68,
applet=<optimized out>) at applet.c:3058 __FUNCTION__ =
"nma_clear_icon" #3  0x00005586381443be in nma_icons_free
(applet=<optimized out>) at applet.c:3068 i = 1
#4  nma_icons_reload (applet=0x558639673b90) at applet.c:3113
        error = 0x0
        loader = <optimized out>
        __FUNCTION__ = "nma_icons_reload"

#9  0x00007fb4364f2de4 in theme_changed_idle (user_data=<optimized
out>) at gtkicontheme.c:770 icon_theme = <optimized out>
        priv = 0x558639673b20
#10 0x00007fb43606f188 in gdk_threads_dispatch (data=0x55863972de40)
at gdk.c:719 dispatch = 0x55863972de40
        ret = 0
#14 0x000055863814358d in main (argc=1, argv=0x7ffe943ebf48) at
main.c:84 applet = 0x5586396630a0
        i = <optimized out>


How to reproduce,
sometimes it's enough to re-log,
sometimes intermediate step "xfwm4 --replace &" is involved.



Thanks for posting, it should be investigated. It might be related to
XFCE and icon themes. There is already a bug opened for Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1279937

Anyway it would help if you could run
$ gdb /usr/bin/nm-applet
reproduce the crash and then looking around why *icon object is
incorrect in nma_clear_icon()

(gdb) print *icon

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]