After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777183 - Alt-tab crashes gnome-shell
Alt-tab crashes gnome-shell
Status: RESOLVED NOTGNOME
Product: gnome-shell
Classification: Core
Component: drivers
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-01-12 18:15 UTC by Tony Novak
Modified: 2017-08-16 13:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tony Novak 2017-01-12 18:15:51 UTC
Intermittently, gnome-shell will crash with SIGSEGV when switching apps with alt-tab. See stack trace below.

Generally when this occurs, I'm running Firefox and Chromium, each with several windows open, and gnome-terminal. I'm not certain, but it seems to only happen when I mouse over the app switcher.

I'm running gnome-shell 3.22.2+18+gdf7727a-1 on Arch.

Please let me know what other information I can gather! I'll update the bug if I can come up with a reproducible way to trigger the crash.

Jan 12 12:37:20 mbp systemd-coredump[8769]: Process 8422 (gnome-shell) of user 1000 dumped core.
                                            
                                            Stack trace of thread 8422:
                                            #0  0x00007f63b1771793 __memmove_avx_unaligned_erms (libc.so.6)
                                            #1  0x00007f639e0baf40 n/a (nouveau_dri.so)
                                            #2  0x00007f639e1cb008 n/a (nouveau_dri.so)
                                            #3  0x00007f639e1c0355 n/a (nouveau_dri.so)
                                            #4  0x00007f639e1c0537 n/a (nouveau_dri.so)
                                            #5  0x00007f639e1cc3c4 n/a (nouveau_dri.so)
                                            #6  0x00007f639df1b922 n/a (nouveau_dri.so)
                                            #7  0x00007f639ddc6690 n/a (nouveau_dri.so)
                                            #8  0x00007f639dd763b7 n/a (nouveau_dri.so)
                                            #9  0x00007f639dd7bab5 n/a (nouveau_dri.so)
                                            #10 0x00007f639dd7c900 n/a (nouveau_dri.so)
                                            #11 0x00007f639dd005e7 n/a (nouveau_dri.so)
                                            #12 0x00007f639dd013e0 n/a (nouveau_dri.so)
                                            #13 0x00007f63af0e44ed n/a (libmutter-cogl.so)
                                            #14 0x00007f63af0d5b14 n/a (libmutter-cogl.so)
                                            #15 0x00007f63af10ae56 cogl_texture_allocate (libmutter-cogl.so)
                                            #16 0x00007f63af12640b n/a (libmutter-cogl.so)
                                            #17 0x00007f63af126909 cogl_texture_new_from_bitmap (libmutter-cogl.so)
                                            #18 0x00007f63b277e143 n/a (libmutter-clutter-1.0.so)
                                            #19 0x00007f63b275a85d clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #20 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so)
                                            #21 0x00007f63b463daa0 n/a (libgnome-shell.so)
                                            #22 0x00007f63b1f26ecf g_closure_invoke (libgobject-2.0.so.0)
                                            #23 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #24 0x00007f63b1f41bcc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #25 0x00007f63b1f41faf g_signal_emit (libgobject-2.0.so.0)
                                            #26 0x00007f63b275a8a3 clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #27 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so)
                                            #28 0x00007f63b4647f90 n/a (libgnome-shell.so)
                                            #29 0x00007f63b1f26ecf g_closure_invoke (libgobject-2.0.so.0)
                                            #30 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #31 0x00007f63b1f41bcc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #32 0x00007f63b1f41faf g_signal_emit (libgobject-2.0.so.0)
                                            #33 0x00007f63b275a8a3 clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #34 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so)
                                            #35 0x00007f63b4656182 n/a (libgnome-shell.so)
                                            #36 0x00007f63b1f26ecf g_closure_invoke (libgobject-2.0.so.0)
                                            #37 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #37 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #38 0x00007f63b1f41bcc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #39 0x00007f63b1f41faf g_signal_emit (libgobject-2.0.so.0)
                                            #40 0x00007f63b275a8a3 clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #41 0x00007f63b2760706 n/a (libmutter-clutter-1.0.so)
                                            #42 0x00007f63b463daa0 n/a (libgnome-shell.so)
                                            #43 0x00007f63b1f26ecf g_closure_invoke (libgobject-2.0.so.0)
                                            #44 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #45 0x00007f63b1f41bcc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #46 0x00007f63b1f41faf g_signal_emit (libgobject-2.0.so.0)
                                            #47 0x00007f63b275a8a3 clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #48 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so)
                                            #49 0x00007f63b463daa0 n/a (libgnome-shell.so)
                                            #50 0x00007f63b1f26ecf g_closure_invoke (libgobject-2.0.so.0)
                                            #51 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #52 0x00007f63b1f41bcc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #53 0x00007f63b1f41faf g_signal_emit (libgobject-2.0.so.0)
                                            #54 0x00007f63b275a8a3 clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #55 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so)
                                            #56 0x00007f63b463daa0 n/a (libgnome-shell.so)
                                            #57 0x00007f63b1f26ecf g_closure_invoke (libgobject-2.0.so.0)
                                            #58 0x00007f63b1f3937d n/a (libgobject-2.0.so.0)
                                            #59 0x00007f63b1f41bcc g_signal_emit_valist (libgobject-2.0.so.0)
                                            #60 0x00007f63b1f41faf g_signal_emit (libgobject-2.0.so.0)
                                            #61 0x00007f63b275a8a3 clutter_actor_continue_paint (libmutter-clutter-1.0.so)
                                            #62 0x00007f63b2760aab n/a (libmutter-clutter-1.0.so)
                                            #63 0x00007f63b27b347a n/a (libmutter-clutter-1.0.so)
                                            
                                            Stack trace of thread 8432:
                                            #0  0x00007f63b172848d poll (libc.so.6)
                                            #1  0x00007f63ada92ee1 n/a (libpulse.so.0)
                                            #2  0x00007f63ada846f1 pa_mainloop_poll (libpulse.so.0)
                                            #3  0x00007f63ada84d8e pa_mainloop_iterate (libpulse.so.0)
                                            #4  0x00007f63ada84e40 pa_mainloop_run (libpulse.so.0)
                                            #5  0x00007f63ada92e29 n/a (libpulse.so.0)
                                            #6  0x00007f63a31fcfe8 n/a (libpulsecommon-9.99.so)
                                            #7  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #8  0x00007f63b17317df __clone (libc.so.6)
                                            
                                            Stack trace of thread 8434:
                                            #0  0x00007f63b19f410f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f63a492d4e0 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f63ad55cbab n/a (libmozjs-24.so)
                                            #3  0x00007f63a4932d6c n/a (libnspr4.so)
                                            #4  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #5  0x00007f63b17317df __clone (libc.so.6)
                                            
                                            Stack trace of thread 8424:
                                            #0  0x00007f63b172848d poll (libc.so.6)
                                            #1  0x00007f63b1c4e786 n/a (libglib-2.0.so.0)
                                            #2  0x00007f63b1c4e89c g_main_context_iteration (libglib-2.0.so.0)
                                            #3  0x00007f63b1c4e8e1 n/a (libglib-2.0.so.0)
                                            #4  0x00007f63b1c760d5 n/a (libglib-2.0.so.0)
                                            #5  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #6  0x00007f63b17317df __clone (libc.so.6)
                                            
                                            Stack trace of thread 8433:
                                            #0  0x00007f63b19f410f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                            #1  0x00007f63a492d4e0 PR_WaitCondVar (libnspr4.so)
                                            #2  0x00007f63ad4e8c0e n/a (libmozjs-24.so)
                                            #3  0x00007f63a4932d6c n/a (libnspr4.so)
                                            #4  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #5  0x00007f63b17317df __clone (libc.so.6)
                                            
                                            Stack trace of thread 8767:
                                            #0  0x00007f63b172cf19 syscall (libc.so.6)
                                            #1  0x00007f63b1c9403a g_cond_wait_until (libglib-2.0.so.0)
                                            #2  0x00007f63b1c22e89 n/a (libglib-2.0.so.0)
                                            #3  0x00007f63b1c76aa6 n/a (libglib-2.0.so.0)
                                            #4  0x00007f63b1c760d5 n/a (libglib-2.0.so.0)
                                            #5  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #6  0x00007f63b17317df __clone (libc.so.6)
                                            
                                            Stack trace of thread 8429:
                                            #0  0x00007f63b172848d poll (libc.so.6)
                                            #1  0x00007f63b1c4e786 n/a (libglib-2.0.so.0)
                                            #2  0x00007f63b1c4e89c g_main_context_iteration (libglib-2.0.so.0)
                                            #3  0x00007f639c2404bd n/a (libdconfsettings.so)
                                            #4  0x00007f63b1c760d5 n/a (libglib-2.0.so.0)
                                            #5  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #6  0x00007f63b17317df __clone (libc.so.6)
                                            
                                            Stack trace of thread 8425:
                                            #0  0x00007f63b172848d poll (libc.so.6)
                                            #1  0x00007f63b1c4e786 n/a (libglib-2.0.so.0)
                                            #2  0x00007f63b1c4eb12 g_main_loop_run (libglib-2.0.so.0)
                                            #3  0x00007f63b2234316 n/a (libgio-2.0.so.0)
                                            #4  0x00007f63b1c760d5 n/a (libglib-2.0.so.0)
                                            #5  0x00007f63b19ee454 start_thread (libpthread.so.0)
                                            #6  0x00007f63b17317df __clone (libc.so.6)
Comment 1 Rui Matos 2017-01-12 19:01:23 UTC
Seems to be in the nouveau GL driver.

Please report this on the mesa bug tracker: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa&component=Drivers%2FDRI%2Fnouveau
Comment 2 askstack 2017-04-24 21:12:48 UTC
still happening in f26, nouveau driver as well, https://bugzilla.gnome.org/show_bug.cgi?id=781680
 


Apr 24 14:32:34 fedora26 systemd-coredump[15130]: Process 12797 (gnome-shell) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 12797:
                                                  #0  0x00007fcc99e71abc __memcpy_sse2_unaligned_erms (libc.so.6)
                                                  #1  0x00007fcc7d80e845 nouveau_scratch_data (nouveau_dri.so)
                                                  #2  0x00007fcc7d92a2cd nvc0_update_user_vbufs_shared (nouveau_dri.so)
                                                  #3  0x00007fcc7d91fb1c nvc0_state_validate (nouveau_dri.so)
                                                  #4  0x00007fcc7d91fc57 nvc0_state_validate_3d (nouveau_dri.so)
                                                  #5  0x00007fcc7d92b58e nvc0_draw_vbo (nouveau_dri.so)
                                                  #6  0x00007fcc7d697642 cso_draw_arrays (nouveau_dri.so)
                                                  #7  0x00007fcc7d4edb61 st_draw_quad (nouveau_dri.so)
                                                  #8  0x00007fcc7d4d6f57 st_Clear (nouveau_dri.so)
                                                  #9  0x00007fcc9c95dc3b _cogl_framebuffer_gl_clear (libmutter-cogl-0.so)
                                                  #10 0x00007fcc9c9a3e6a cogl_framebuffer_clear4f (libmutter-cogl-0.so)
                                                  #11 0x00007fcc9f48da84 clutter_root_node_pre_draw (libmutter-clutter-0.so)
                                                  #12 0x00007fcc9f490385 _clutter_paint_node_paint (libmutter-clutter-0.so)
                                                  #13 0x00007fcc9f4903a5 _clutter_paint_node_paint (libmutter-clutter-0.so)
                                                  #14 0x00007fcc9f445c46 clutter_actor_continue_paint (libmutter-clutter-0.so)
                                                  #15 0x00007fcc9f44bfd4 clutter_actor_paint.part.44 (libmutter-clutter-0.so)
                                                  #16 0x00007fcc9f4a3085 clutter_stage_do_paint_view (libmutter-clutter-0.so)
                                                  #17 0x00007fcc9f4a3393 _clutter_stage_paint_view (libmutter-clutter-0.so)
                                                  #18 0x00007fcc9f436aa4 paint_stage (libmutter-clutter-0.so)
                                                  #19 0x00007fcc9f437129 clutter_stage_cogl_redraw_view (libmutter-clutter-0.so)
                                                  #20 0x00007fcc9f43766b clutter_stage_cogl_redraw (libmutter-clutter-0.so)
                                                  #21 0x00007fcca043424e meta_stage_native_redraw (libmutter-0.so.0)
                                                  #22 0x00007fcc9f49ff4d _clutter_stage_do_update (libmutter-clutter-0.so)
                                                  #23 0x00007fcc9f48bb19 clutter_clock_dispatch (libmutter-clutter-0.so)
                                                  #24 0x00007fcc9b9be207 g_main_context_dispatch (libglib-2.0.so.0)
                                                  #25 0x00007fcc9b9be5a8 g_main_context_iterate.isra.24 (libglib-2.0.so.0)
                                                  #26 0x00007fcc9b9be8c2 g_main_loop_run (libglib-2.0.so.0)
                                                  #27 0x00007fcca03e0a7c meta_run (libmutter-0.so.0)
                                                  #28 0x0000556c479264a7 main (gnome-shell)
                                                  #29 0x00007fcc99dfa5fe __libc_start_main (libc.so.6)
                                                  #30 0x0000556c479265ba _start (gnome-shell)
Comment 3 André Klapper 2017-08-15 23:52:20 UTC
(In reply to Rui Matos from comment #1)
> Seems to be in the nouveau GL driver.
> 
> Please report this on the mesa bug tracker:
> https://bugs.freedesktop.org/enter_bug.
> cgi?product=Mesa&component=Drivers%2FDRI%2Fnouveau

Tony: Did you report this to the Mesa bug tracker? Any link? :)
Comment 4 Tony Novak 2017-08-16 11:37:19 UTC
Yeah: https://bugs.freedesktop.org/show_bug.cgi?id=99396
Comment 5 André Klapper 2017-08-16 13:14:12 UTC
Ah, thanks! Closing as NOTGNOME here as the problem seems to be lower in the stack.