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 783630 - Mutter and Shell crashing on moving window through monitor gap
Mutter and Shell crashing on moving window through monitor gap
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
3.24.x
Other Linux
: Normal critical
: ---
Assigned To: mutter-maint
mutter-maint
: 782898 784859 785172 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-06-10 12:58 UTC by Theodor van Nahl
Modified: 2017-07-20 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
nvidia-settings with configuration that can be used to reproduce bug (47.39 KB, image/png)
2017-06-10 12:58 UTC, Theodor van Nahl
  Details
journal logs (21.23 KB, text/x-log)
2017-06-10 13:01 UTC, Theodor van Nahl
  Details
window: Don't crash when moving across non-adjecent logical monitors (5.51 KB, patch)
2017-06-13 04:19 UTC, Jonas Ådahl
none Details | Review
window: Don't crash when moving across non-adjecent logical monitors (5.51 KB, patch)
2017-06-27 09:53 UTC, Jonas Ådahl
committed Details | Review

Description Theodor van Nahl 2017-06-10 12:58:17 UTC
Created attachment 353522 [details]
nvidia-settings with configuration that can be used to reproduce bug

Using the nvidia-settings tool it is possible to arrange two monitors so that there is a not visible gap between those two. On such a setup the gnome-shell crashes.

I found out that this bug can be of relevance even on a system where the user only used gnome-control-center. I cannot reproduce how such a gap between the monitors came to be but I did helped a friend who did not have nvidia-settings installed to find and fix this problem.


Journal logs around the time of interest
========================================

-- Logs begin at Thu 2014-06-05 14:11:22 CEST, end at Sat 2017-06-10 14:52:17 CEST. --
Jun 10 14:34:26 main kernel: gnome-shell[16937]: segfault at 18 ip 00007fd9851043a7 sp 00007ffda9094500 error 4 in libmutter-0.so.0.0.0[7fd98505b000+13f000]
Jun 10 14:34:26 main systemd[1]: Started Process Core Dump (PID 19606/UID 0).
Jun 10 14:34:28 main polkitd[643]: Unregistered Authentication Agent for unix-session:c3 (system bus name :1.108, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.utf8) (disconnected from bus)
Jun 10 14:34:28 main gsd-power[17073]: Error setting property 'PowerSaveMode' on interface org.gnome.Mutter.DisplayConfig: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Mutter.DisplayConfig was not provided by any .service files (g-dbus-error-quark, 2)
Jun 10 14:34:28 main gnome-session[16876]: gnome-session-binary[16876]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
Jun 10 14:34:28 main gnome-session-binary[16876]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): CRT-0: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-0: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-1: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-2: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): Samsung SMS22A350H (DFP-3): connected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): Samsung SMS22A350H (DFP-3): Internal TMDS
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): Samsung SMS22A350H (DFP-3): 165.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-4: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): Samsung SMS22A350H (DFP-5): connected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): Samsung SMS22A350H (DFP-5): Internal TMDS
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): Samsung SMS22A350H (DFP-5): 165.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-6: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-7: disconnected
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (--) NVIDIA(GPU-0):
Jun 10 14:34:28 main /usr/lib/gdm/gdm-x-session[16803]: (II) NVIDIA(0): Setting mode "DP-1: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
Jun 10 14:34:29 main /usr/lib/gdm/gdm-x-session[16803]: (II) NVIDIA(0): Setting mode "DP-1: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
Jun 10 14:34:29 main /usr/lib/gdm/gdm-x-session[16803]: (II) NVIDIA(0): Setting mode "DP-1: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-3: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
Jun 10 14:34:29 main systemd-coredump[19607]: Process 16937 (gnome-shell) of user 1000 dumped core.
                                              
                                              Stack trace of thread 16937:
                                              #0  0x00007fd9851043a7 n/a (libmutter-0.so.0)
                                              #1  0x00007fd985105099 meta_window_handle_mouse_grab_op_event (libmutter-0.so.0)
                                              #2  0x00007fd9850e8433 n/a (libmutter-0.so.0)
                                              #3  0x00007fd984465fa7 n/a (libmutter-clutter-0.so)
                                              #4  0x00007fd984478b53 n/a (libmutter-clutter-0.so)
                                              #5  0x00007fd98448ef00 n/a (libmutter-clutter-0.so)
                                              #6  0x00007fd98447acd9 n/a (libmutter-clutter-0.so)
                                              #7  0x00007fd9839157b7 g_main_context_dispatch (libglib-2.0.so.0)
                                              #8  0x00007fd983915a20 n/a (libglib-2.0.so.0)
                                              #9  0x00007fd983915d42 g_main_loop_run (libglib-2.0.so.0)
                                              #10 0x00007fd9850eefdc meta_run (libmutter-0.so.0)
                                              #11 0x0000000000401ff7 main (gnome-shell)
                                              #12 0x00007fd98332343a __libc_start_main (libc.so.6)
                                              #13 0x000000000040212a n/a (gnome-shell)
                                              
                                              Stack trace of thread 16981:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16970:
                                              #0  0x00007fd9833e62bd poll (libc.so.6)
                                              #1  0x00007fd97f6d6ee1 n/a (libpulse.so.0)
                                              #2  0x00007fd97f6c86f1 pa_mainloop_poll (libpulse.so.0)
                                              #3  0x00007fd97f6c8d8e pa_mainloop_iterate (libpulse.so.0)
                                              #4  0x00007fd97f6c8e40 pa_mainloop_run (libpulse.so.0)
                                              #5  0x00007fd97f6d6e29 n/a (libpulse.so.0)
                                              #6  0x00007fd974881fe8 n/a (libpulsecommon-10.0.so)
                                              #7  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #8  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16969:
                                              #0  0x00007fd9833e62bd poll (libc.so.6)
                                              #1  0x00007fd9839159b6 n/a (libglib-2.0.so.0)
                                              #2  0x00007fd983915acc g_main_context_iteration (libglib-2.0.so.0)
                                              #3  0x00007fd964aea55d n/a (libdconfsettings.so)
                                              #4  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                                              #5  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #6  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16988:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16979:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16980:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16987:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 17439:
                                              #0  0x00007fd9833eb3b9 syscall (libc.so.6)
                                              #1  0x00007fd98395b32f g_cond_wait (libglib-2.0.so.0)
                                              #2  0x00007fd980d88eac n/a (libmutter-cogl-0.so)
                                              #3  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16983:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 19597:
                                              #0  0x00007fd9833eb3b9 syscall (libc.so.6)
                                              #1  0x00007fd98395b44a g_cond_wait_until (libglib-2.0.so.0)
                                              #2  0x00007fd9838e9f49 n/a (libglib-2.0.so.0)
                                              #3  0x00007fd9838ea56c g_async_queue_timeout_pop (libglib-2.0.so.0)
                                              #4  0x00007fd98393dd5d n/a (libglib-2.0.so.0)
                                              #5  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                                              #6  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #7  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16986:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16985:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16984:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16982:
                                              #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                              #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                                              #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                                              #3  0x00007fd975fecd8c n/a (libnspr4.so)
                                              #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #5  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16938:
                                              #0  0x00007fd9833e62bd poll (libc.so.6)
                                              #1  0x00007fd9839159b6 n/a (libglib-2.0.so.0)
                                              #2  0x00007fd983915acc g_main_context_iteration (libglib-2.0.so.0)
                                              #3  0x00007fd983915b11 n/a (libglib-2.0.so.0)
                                              #4  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                                              #5  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #6  0x00007fd9833f025f __clone (libc.so.6)
                                              
                                              Stack trace of thread 16948:
                                              #0  0x00007fd9833e62bd poll (libc.so.6)
                                              #1  0x00007fd9839159b6 n/a (libglib-2.0.so.0)
                                              #2  0x00007fd983915d42 g_main_loop_run (libglib-2.0.so.0)
                                              #3  0x00007fd983f06f86 n/a (libgio-2.0.so.0)
                                              #4  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                                              #5  0x00007fd9836b2297 start_thread (libpthread.so.0)
                                              #6  0x00007fd9833f025f __clone (libc.so.6)
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/main.js 317]: reference to undefined property global.stage
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 217]: reference to undefined property global.window_group
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 899]: reference to undefined property this.monitors[this.findIndexForActor(...)]
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property Meta.MonitorManager
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/panel.js 1107]: reference to undefined property indicator.menu._openChangedId
Jun 10 14:34:30 main gnome-shell[19609]: Failed to launch ibus-daemon: Kindprozess »ibus-daemon« konnte nicht ausgeführt werden (Datei oder Verzeichnis nicht gefunden)
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: > Warning:          Multiple interpretations of "Caps_Lock+AnyOfOrNone(all)"
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: >                   Using last definition for duplicate fields
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: > Warning:          Multiple interpretations of "Shift_L+AnyOfOrNone(all)"
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: >                   Using last definition for duplicate fields
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: > Error:            Key <HYPR> added to map for multiple modifiers
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: >                   Using Mod2, ignoring Mod4.
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: > Error:            Key <MDSW> added to map for multiple modifiers
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: >                   Using Mod3, ignoring Mod5.
Jun 10 14:34:30 main /usr/lib/gdm/gdm-x-session[16803]: Errors from xkbcomp are not fatal to the X server
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 34]: reference to undefined property St.GenericAccessible
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/messageList.js 392]: reference to undefined property this._useBodyMarkup
Jun 10 14:34:30 main polkitd[643]: Registered Authentication Agent for unix-session:c3 (system bus name :1.631 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.utf8)
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 538]: reference to undefined property properties[istr].arrayIndex
Jun 10 14:34:30 main gnome-shell[19609]: JS WARNING: [resource:///org/gnome/shell/ui/search.js 436]: reference to undefined property provider.isRemoteProvider

Coredumpctl info
================

           PID: 16937 (gnome-shell)
           UID: 1000 (tvn)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Sat 2017-06-10 14:34:26 CEST (10min ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-c3.scope
          Unit: session-c3.scope
         Slice: user-1000.slice
       Session: c3
     Owner UID: 1000 (tvn)
       Boot ID: c8c9e53810c0495db72cd23cf41b3c53
    Machine ID: 4983b2e69584448c92304220d122701d
      Hostname: main
       Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.c8c9e53810c0495db72cd23cf41b3c53.16937.1497098066000000000000.lz4
       Message: Process 16937 (gnome-shell) of user 1000 dumped core.
                
                Stack trace of thread 16937:
                #0  0x00007fd9851043a7 n/a (libmutter-0.so.0)
                #1  0x00007fd985105099 meta_window_handle_mouse_grab_op_event (libmutter-0.so.0)
                #2  0x00007fd9850e8433 n/a (libmutter-0.so.0)
                #3  0x00007fd984465fa7 n/a (libmutter-clutter-0.so)
                #4  0x00007fd984478b53 n/a (libmutter-clutter-0.so)
                #5  0x00007fd98448ef00 n/a (libmutter-clutter-0.so)
                #6  0x00007fd98447acd9 n/a (libmutter-clutter-0.so)
                #7  0x00007fd9839157b7 g_main_context_dispatch (libglib-2.0.so.0)
                #8  0x00007fd983915a20 n/a (libglib-2.0.so.0)
                #9  0x00007fd983915d42 g_main_loop_run (libglib-2.0.so.0)
                #10 0x00007fd9850eefdc meta_run (libmutter-0.so.0)
                #11 0x0000000000401ff7 main (gnome-shell)
                #12 0x00007fd98332343a __libc_start_main (libc.so.6)
                #13 0x000000000040212a n/a (gnome-shell)
                
                Stack trace of thread 16981:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16970:
                #0  0x00007fd9833e62bd poll (libc.so.6)
                #1  0x00007fd97f6d6ee1 n/a (libpulse.so.0)
                #2  0x00007fd97f6c86f1 pa_mainloop_poll (libpulse.so.0)
                #3  0x00007fd97f6c8d8e pa_mainloop_iterate (libpulse.so.0)
                #4  0x00007fd97f6c8e40 pa_mainloop_run (libpulse.so.0)
                #5  0x00007fd97f6d6e29 n/a (libpulse.so.0)
                #6  0x00007fd974881fe8 n/a (libpulsecommon-10.0.so)
                #7  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #8  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16969:
                #0  0x00007fd9833e62bd poll (libc.so.6)
                #1  0x00007fd9839159b6 n/a (libglib-2.0.so.0)
                #2  0x00007fd983915acc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fd964aea55d n/a (libdconfsettings.so)
                #4  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                #5  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #6  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16988:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16979:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16980:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16987:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 17439:
                #0  0x00007fd9833eb3b9 syscall (libc.so.6)
                #1  0x00007fd98395b32f g_cond_wait (libglib-2.0.so.0)
                #2  0x00007fd980d88eac n/a (libmutter-cogl-0.so)
                #3  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16983:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 19597:
                #0  0x00007fd9833eb3b9 syscall (libc.so.6)
                #1  0x00007fd98395b44a g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007fd9838e9f49 n/a (libglib-2.0.so.0)
                #3  0x00007fd9838ea56c g_async_queue_timeout_pop (libglib-2.0.so.0)
                #4  0x00007fd98393dd5d n/a (libglib-2.0.so.0)
                #5  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                #6  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #7  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16986:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16985:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16984:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16982:
                #0  0x00007fd9836b839d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fd975fe7500 PR_WaitCondVar (libnspr4.so)
                #2  0x00007fd97e695811 n/a (libmozjs-38.so)
                #3  0x00007fd975fecd8c n/a (libnspr4.so)
                #4  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #5  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16938:
                #0  0x00007fd9833e62bd poll (libc.so.6)
                #1  0x00007fd9839159b6 n/a (libglib-2.0.so.0)
                #2  0x00007fd983915acc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fd983915b11 n/a (libglib-2.0.so.0)
                #4  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                #5  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #6  0x00007fd9833f025f __clone (libc.so.6)
                
                Stack trace of thread 16948:
                #0  0x00007fd9833e62bd poll (libc.so.6)
                #1  0x00007fd9839159b6 n/a (libglib-2.0.so.0)
                #2  0x00007fd983915d42 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fd983f06f86 n/a (libgio-2.0.so.0)
                #4  0x00007fd98393d295 n/a (libglib-2.0.so.0)
                #5  0x00007fd9836b2297 start_thread (libpthread.so.0)
                #6  0x00007fd9833f025f __clone (libc.so.6)
Comment 1 Theodor van Nahl 2017-06-10 13:01:01 UTC
Created attachment 353523 [details]
journal logs
Comment 2 Jonas Ådahl 2017-06-13 04:19:00 UTC
Created attachment 353650 [details] [review]
window: Don't crash when moving across non-adjecent logical monitors

When moving a window between two non-adjecent logical monitors, don't
try to tile a window when the window position is outside of any logical
monitor.


---

I haven't tried to reproduce, but I suspect this is the culprit.
Comment 3 Hyungwon Hwang 2017-06-13 16:11:36 UTC
Review of attachment 353650 [details] [review]:

I have no Nvidia graphic card, so I couldn't try to reproduce. But it seems good guess because when the pointer does not belong to any monitor, it will return null.

::: src/core/window.c
@@ +5619,3 @@
+   */
+  logical_monitor =
+   * edges of the work area of the monitor where the pointer is located,

Jonas, Did you mean to insert null check here, right?
Comment 4 Jonas Ådahl 2017-06-14 06:23:12 UTC
Review of attachment 353650 [details] [review]:

::: src/core/window.c
@@ +5619,3 @@
+   */
+  logical_monitor =
+    meta_monitor_manager_get_logical_monitor_at (monitor_manager, x, y);

Oops, indeed :)
Comment 5 Jonas Ådahl 2017-06-27 09:53:27 UTC
Created attachment 354552 [details] [review]
window: Don't crash when moving across non-adjecent logical monitors

When moving a window between two non-adjecent logical monitors, don't
try to tile a window when the window position is outside of any logical
monitor.
Comment 6 Rui Matos 2017-07-07 10:12:12 UTC
Review of attachment 354552 [details] [review]:

lgtm
Comment 7 Rui Matos 2017-07-07 10:12:53 UTC
*** Bug 782898 has been marked as a duplicate of this bug. ***
Comment 8 Jonas Ådahl 2017-07-12 04:32:39 UTC
Attachment 354552 [details] pushed as 7bd69f0 - window: Don't crash when moving across non-adjecent logical monitors
Comment 9 Jonas Ådahl 2017-07-12 04:35:30 UTC
Backported to gnome-3-24 too.
Comment 10 Florian Müllner 2017-07-12 16:48:11 UTC
*** Bug 784859 has been marked as a duplicate of this bug. ***
Comment 11 grinko 2017-07-20 15:29:17 UTC
*** Bug 785172 has been marked as a duplicate of this bug. ***