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

Bug#968346: xwayland crashes randomly (core dumped) with nouveau driver



Package: xwayland
Version: 2:1.20.8-2
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I upgraded my hardware and installed a new motherboard/CPU/memory and basic
graphic card.
The new graphic card is a very basic MSI GeForce GT 710 2GD3H LP.

Now xwayland crashed randomly, causing gnome-shell to end. I get a black screen
first,
and then a gnome shell log screen. I can log again in a new gnome shell
session, but
all graphic applications have been killed at crash time.

The last crash happened while I had thunderbird and firefox opened but
otherwise
idle, and I was working on freecad. There was not special load on the machine.

After I logged in again, I found a core file in my home directory. The core
was created by xwayland. Opening the core file with gdb and printing the
backtrace,
I got this:

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/Xwayland :0 -rootless -noreset -accessx -core
-auth /run/user/1000/.mu'.
Program terminated with signal SIGABRT, Aborted.
[Current thread is 1 (Thread 0x7f1c439d9a40 (LWP 14075))]
(gdb) bt
#0  0x00007f1c44212db1 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f1c441fc537 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000055adc1a612da in OsAbort ()
#3  0x000055adc1a66643 in ?? ()
#4  0x000055adc1a67496 in FatalError ()
#5  0x000055adc1a5e745 in ?? ()
#6  <signal handler called>
#7  0x00007f1c44212db1 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007f1c441fc537 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x00007f1c441fc40f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x00007f1c4420b5b2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x00007f1c3d68143f in nouveau_pushbuf_data () from /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2
#12 0x00007f1c3d6813a3 in nouveau_pushbuf_data () from /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2
#13 0x00007f1c3d6814bc in ?? () from /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2
#14 0x00007f1c3d6818df in ?? () from /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2
#15 0x00007f1c3d682399 in ?? () from /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2
#16 0x00007f1c42b12acf in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#17 0x00007f1c42bbc2a3 in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#18 0x00007f1c42bbee3e in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#19 0x00007f1c42bbef77 in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#20 0x00007f1c42bc05fe in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#21 0x00007f1c423685a8 in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#22 0x00007f1c425bc9c4 in ?? () from /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so
#23 0x000055adc190d798 in ?? ()
#24 0x000055adc190dc56 in ?? ()
#25 0x000055adc1947647 in miCopyRegion ()
#26 0x000055adc1947d86 in miDoCopy ()
#27 0x000055adc190e6a4 in ?? ()
#28 0x000055adc19d0076 in ?? ()
#29 0x000055adc19c7742 in ?? ()
#30 0x000055adc19c7c1e in ?? ()
#31 0x000055adc19c67cc in ?? ()
#32 0x000055adc1909c73 in ?? ()
#33 0x000055adc1909ec7 in ?? ()
#34 0x000055adc1a57ec0 in ?? ()
#35 0x000055adc1a57f28 in ?? ()
#36 0x000055adc1a58165 in WaitForSomething ()
#37 0x000055adc1a283d3 in ?? ()
#38 0x000055adc1a2c5e4 in ?? ()
#39 0x00007f1c441fdcca in __libc_start_main () from /lib/x86_64-linux-
gnu/libc.so.6
#40 0x000055adc18fe28a in _start ()


I also looked at journalctl and found the following lines that seem relevant to
the problem:

août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: gr: TRAP ch 6 [007f97a000
Xwayland[14075]]
août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: gr: GPC0/TPC0/TEX:
80000049
août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: fifo: fault 00 [READ] at
0000000000257000 engine 00 [GR] client 01 [GPC0/T1_0] reason 02 [PTE] on
channel 6 [007f97a000 Xwayland[14075]]
août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: fifo: channel 6: killed
août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: fifo: runlist 0:
scheduled for recovery
août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: fifo: engine 0: scheduled
for recovery
août 13 11:31:51 lehrin kernel: nouveau 0000:2d:00.0: Xwayland[14075]: channel
6 killed!
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: kernel rejected pushbuf:
No such device
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: krec 0 pushes 1 bufs
9 relocs 0
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000000 00000003
00000004 00000004 00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000001 00000008
00000002 00000002 00000002
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000002 0000000b
00000002 00000002 00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000003 0000000a
00000002 00000002 00000002
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000004 00000006
00000004 00000000 00000004
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000005 00000024
00000002 00000000 00000002
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000006 0000001f
00000002 00000002 00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000007 00000007
00000002 00000002 00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: buf 00000008 0000000c
00000004 00000004 00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau: ch6: psh 00000000
000004265c 00000426f0
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x200308e0
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00010000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x002e0000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0xa00d08e3
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0xc2800000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x3a088889
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x3a810204
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x3a88642a
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0xbf7fbbce
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x3af87a4c
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0xbf864f1b
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x20030700
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00001004
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x009c3d5c
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x200207c0
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x009fffff
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x8000050b
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x20010586
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000006
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x2002035d
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000004
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x80000585
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x200406c0
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00000000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00218000
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x00003770
août 13 11:31:51 lehrin gnome-shell[14075]: nouveau:         0x1000f010
août 13 11:31:51 lehrin gnome-shell[14075]: Xwayland: ../nouveau/pushbuf.c:723:
nouveau_pushbuf_data: Assertion `kref' failed.
août 13 11:31:51 lehrin gnome-shell[14075]: (EE)
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) Backtrace:
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 0: /usr/bin/Xwayland
(OsLookupColor+0x138) [0x55adc1a5e7e8]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 1: /lib/x86_64-linux-
gnu/libpthread.so.0 (funlockfile+0x50) [0x7f1c443b018f]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 2: /lib/x86_64-linux-
gnu/libc.so.6 (gsignal+0x141) [0x7f1c44212db1]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 3: /lib/x86_64-linux-
gnu/libc.so.6 (abort+0x123) [0x7f1c441fc537]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) unw_get_proc_name failed: no
unwind info found [-10]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 4: /lib/x86_64-linux-
gnu/libc.so.6 (?+0x0) [0x7f1c441fc400]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 5: /lib/x86_64-linux-
gnu/libc.so.6 (__assert_fail+0x42) [0x7f1c4420b5b2]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 6: /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2 (nouveau_pushbuf_data+0xff) [0x7f1c3d68143f]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 7: /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2 (nouveau_pushbuf_data+0x63) [0x7f1c3d6813a3]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 8: /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2 (nouveau_pushbuf_data+0x17c) [0x7f1c3d6815bc]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 9: /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2 (nouveau_pushbuf_data+0x59f) [0x7f1c3d681e3f]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 10: /usr/lib/x86_64-linux-
gnu/libdrm_nouveau.so.2 (nouveau_pushbuf_space+0x579) [0x7f1c3d682869]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 11: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (nouveau_drm_screen_create+0x2028f) [0x7f1c42b32c2f]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 12: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (nouveau_drm_screen_create+0xc9a63) [0x7f1c42c85c33]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 13: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (nouveau_drm_screen_create+0xcc5fe) [0x7f1c42c8b29e]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 14: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (nouveau_drm_screen_create+0xcc737) [0x7f1c42c8b687]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 15: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (nouveau_drm_screen_create+0xcddbe) [0x7f1c42c8e1fe]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 16: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (__driDriverGetExtensions_zink+0x231f8) [0x7f1c4238b5c8]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 17: /usr/lib/x86_64-linux-
gnu/dri/nouveau_dri.so (__driDriverGetExtensions_zink+0x277614)
[0x7f1c42833f64]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 18: /usr/bin/Xwayland
(glamor_finish+0x928) [0x55adc190dba8]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 19: /usr/bin/Xwayland
(glamor_finish+0xde6) [0x55adc190e866]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 20: /usr/bin/Xwayland
(miCopyRegion+0x97) [0x55adc1947647]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 21: /usr/bin/Xwayland
(miDoCopy+0x446) [0x55adc1947d86]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 22: /usr/bin/Xwayland
(glamor_finish+0x1834) [0x55adc190feb4]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 23: /usr/bin/Xwayland
(DamageRegionAppend+0x38e6) [0x55adc19d3886]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 24: /usr/bin/Xwayland
(present_wnmd_event_notify+0x562) [0x55adc19c7b82]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 25: /usr/bin/Xwayland
(present_can_window_flip+0x3ee) [0x55adc19c7f9e]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 26: /usr/bin/Xwayland
(present_extension_init+0xd4c) [0x55adc19c72dc]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 27: /usr/bin/Xwayland
(glamor_egl_fd_from_pixmap+0x3e3) [0x55adc1909f83]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 28: /usr/bin/Xwayland
(glamor_egl_fd_from_pixmap+0x637) [0x55adc190a4d7]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 29: /usr/bin/Xwayland
(TimerSet+0x180) [0x55adc1a58020]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 30: /usr/bin/Xwayland
(TimerSet+0x1e8) [0x55adc1a580d8]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 31: /usr/bin/Xwayland
(WaitForSomething+0x225) [0x55adc1a58165]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 32: /usr/bin/Xwayland
(SendErrorToClient+0x113) [0x55adc1a28433]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 33: /usr/bin/Xwayland
(InitFonts+0x3b4) [0x55adc1a2c624]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 34: /lib/x86_64-linux-
gnu/libc.so.6 (__libc_start_main+0xea) [0x7f1c441fdcca]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) 35: /usr/bin/Xwayland
(_start+0x2a) [0x55adc18fe28a]
août 13 11:31:51 lehrin gnome-shell[14075]: (EE)
août 13 11:31:51 lehrin gnome-shell[14075]: (EE)
août 13 11:31:51 lehrin gnome-shell[14075]: Fatal server error:
août 13 11:31:51 lehrin gnome-shell[14075]: (EE) Caught signal 6 (Aborted).
Server aborting
août 13 11:31:51 lehrin gnome-shell[14075]: (EE)


I still have the core file available, but it is a 335MB file and I don't know
if this kind
of core file does not contain sensitive informations like passwords, so I
prefer not to
send it (but I can pass more gdb commands on it if required).



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/12 CPU threads)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xwayland depends on:
ii  libaudit1           1:2.8.5-3+b1
ii  libbsd0             0.10.0-1
ii  libc6               2.31-3
ii  libdrm2             2.4.102-1
ii  libepoxy0           1.5.4-1
ii  libgbm1             20.1.4-1
ii  libgcrypt20         1.8.6-2
ii  libgl1              1.3.2-1
ii  libpixman-1-0       0.36.0-1
ii  libselinux1         3.1-2
ii  libsystemd0         246-2
ii  libunwind8          1.2.1-11
ii  libwayland-client0  1.18.0-1
ii  libxau6             1:1.0.8-1+b2
ii  libxdmcp6           1:1.1.2-3
ii  libxfont2           1:2.0.3-1
ii  libxshmfence1       1.3-1
ii  xserver-common      2:1.20.8-2

xwayland recommends no packages.

xwayland suggests no packages.

-- no debconf information

Reply to: