Bug#927831: (no subject)

Ludovic Pouzenc ludovic at pouzenc.fr
Tue Apr 23 22:19:34 BST 2019


Picking some parts of the strace from attached 
strace-lspci-dmesg-dpkg-config-pulse.tar.bz2/buster/nouveau-hdmi/terminal-output

ludovic at lud-mn1:~$ strace -fftttTAo /dev/shm/gn-sh -p "$(pidof gnome-shell)" & strace -fftttTAo /dev/shm/pulse -p "$(pidof pulseaudio)" &
[1] 8271
[2] 8272
ludovic at lud-mn1:~$ strace: Process 6509 attached with 26 threads
strace: Process 6556 attached with 4 threads
*qwert<tab>ggg^C*
ludovic at lud-mn1:~$ kill %1 %2
strace: Process 6509 detached
[...]
ludovic at lud-mn1:~$ grep -vE '(futex|poll)' /dev/shm/* | sed -ne 's/^\(.*\)<\([0-9.]\+\)>/\2 \1/p' | sort -rn | head
grep: /dev/shm/mb: est un dossier
*2.380555*  /dev/shm/pulse.6557:1556048473.471096 openat(AT_FDCWD, "*/dev/snd/pcmC0D3p*", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 29
0.189954 /dev/shm/pulse.6557:1556048475.853690 ioctl(29, SNDRV_PCM_IOCTL_PREPARE, 0x199d) = 0
0.000499 /dev/shm/gn-sh.6509:1556048476.717525 ioctl(13, DRM_IOCTL_NOUVEAU_GEM_NEW, 0x7ffd0f29c110) = 0
[...]
ludovic at lud-mn1:~$ grep . /dev/shm/* | sed -ne 's/^\(.*\)<\([0-9.]\+\)>/\2 \1/p' | grep ^2
2.578621 /dev/shm/gn-sh.6509:1556048473.467013 futex(*0x55d9a144852c*, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
2.578165 /dev/shm/gn-sh.6555:1556048473.467158 poll([{fd=43, events=POLLIN}, {fd=46, events=POLLIN}, {fd=47, events=POLLIN}], 3, 30000) = 1 (*[{fd=47, revents=POLLIN}]*)
2.574173 /dev/shm/pulse.6556:1556048473.469774 futex(0x5627a9e5ef10, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY) = 0
2.380555 /dev/shm/pulse.6557:1556048473.471096 openat(AT_FDCWD, "/dev/snd/pcmC0D3p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = 29
ludovic at lud-mn1:~$ grep -F 0x55d9a144852c /dev/shm/*
/dev/shm/gn-sh.6509:1556048473.467013 futex(0x55d9a144852c, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 <2.578621>
/dev/shm/gn-sh.6555:1556048476.045573 futex(0x55d9a144852c, FUTEX_WAKE_PRIVATE, 2147483647) = 1 <0.000019>
ludovic at lud-mn1:~$ lsof -np $(pidof gnome-shell) > /dev/shm/gn-sh.lsof
lsof: WARNING: can't stat() ext4 file system /media/lpouzenc/Debian9-gaming
       Output information may be incomplete.
[...]
gnome-she 6509 ludovic   41u     unix 0x000000008eb7907f      0t0   71920 type=STREAM
gnome-she 6509 ludovic   42u  a_inode               0,13        0    8365 [eventfd]
gnome-she 6509 ludovic   43r     FIFO               0,12      0t0   71923 pipe
gnome-she 6509 ludovic   44w     FIFO               0,12      0t0   71923 pipe
gnome-she 6509 ludovic   45u  a_inode               0,13        0    8365 [eventfd]
gnome-she 6509 ludovic   46u     unix 0x0000000046a9941d      0t0   71926 type=STREAM
gnome-she 6509 ludovic   47u  a_inode               0,13        0    8365 [eventfd]
gnome-she 6509 ludovic   48u  a_inode               0,13        0    8365 [timerfd]
[...]

ludovic at lud-mn1:~$ lsof -np $(pidof pulseaudio) > /dev/shm/pulse.lsof
lsof: WARNING: can't stat() ext4 file system /media/lpouzenc/Debian9-gaming
       Output information may be incomplete.
[...]
pulseaudi 6556 ludovic   22u     unix 0x00000000dfc5bc44      0t0 102049 /run/user/1001/pulse/native type=STREAM
pulseaudi 6556 ludovic   23u      CHR             116,13      0t0  26845 /dev/snd/controlC0
pulseaudi 6556 ludovic   24u      CHR              116,7      0t0  21579 /dev/snd/controlC1
pulseaudi 6556 ludovic   25u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic   26u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic   27u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic*28u*   a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic*31u*       CHR              116,7      0t0  21579 /dev/snd/controlC1
pulseaudi 6556 ludovic   32u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic   33u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic   34u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic   35u  a_inode               0,13        0   8365 [eventfd]
pulseaudi 6556 ludovic   36u      CHR              116,7      0t0  21579 /dev/snd/controlC1
[...]
ludovic at lud-mn1:~$ dpkg -l | grep -E '^ii  (gnome-shell|dbus|pulseaudio|linux-image-4.19.0-4-amd64) '
ii  dbus                                  1.12.12-1                            amd64        simple interprocess messaging system (daemon and utilities)
ii  gnome-shell                           3.30.2-7                             amd64        graphical shell for the GNOME desktop
ii  linux-image-4.19.0-4-amd64            4.19.28-2                            amd64        Linux 4.19 for 64-bit PCs (signed)
ii  pulseaudio                            12.2-4                               amd64        PulseAudio sound server

Regards,

-- 
Ludovic Pouzenc
www.pouzenc.fr

This is GNU/Linux land. In silent nights you can hear the Windows machines rebooting.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190423/5b94f61f/attachment.html>


More information about the pkg-gnome-maintainers mailing list