#1083019 nautilus: Crashes on load after upgrade to version 47.0-1

Package:
nautilus
Source:
nautilus
Description:
file manager and graphical shell for GNOME
Submitter:
John M.
Date:
2024-11-04 14:33:12 UTC
Severity:
normal
#1083019#5
Date:
2024-09-30 01:32:06 UTC
From:
To:
Dear Maintainer,

After upgrade to version 47.0-1, nautilus fails to start with:

$ nautilus
** Message: 19:38:42.449: Connecting to
org.freedesktop.Tracker3.Miner.Files
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME:
support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME:
support more multi-planar formats with DRM modifiers

(org.gnome.Nautilus:7144): Gdk-WARNING **: 19:38:43.016: The program
'org.gnome.Nautilus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1019 error_code 8 request_code 149 (unknown)
minor_code 4)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)

My video card is NVIDIA Quadro T2000, the X-Server is configured to use
it directly (i.e., the Intel card is disabled).

The whole system is mostly testing-only ---the only packages from
unstable are the ones not (any longer) in testing:

# apt-show-versions | grep unstable
firmware-carl9170:all/unstable 1.9.9-399-gcd480b9-1.2 uptodate
gimp:amd64/unstable 2.10.38-2 uptodate
gimp-data:all/unstable 2.10.38-2 uptodate
libavcodec60:amd64/unstable 7:6.1.1-5+b1 uptodate
libgimp2.0t64:amd64/unstable 2.10.38-2 uptodate
libgspell-1-2:amd64/unstable 1.12.2-1+b2 uptodate
libgutenprint-common:all/unstable 5.3.4.20220624T01008808d602-3
uptodate
libgutenprint9:amd64/unstable 5.3.4.20220624T01008808d602-3 uptodate
libhpmud0:amd64/unstable 3.22.10+dfsg0-5.1 uptodate
libmgl-data:all/unstable 8.0.1-8 uptodate
libmgl-fltk8t64:amd64/unstable 8.0.1-8+b2 uptodate
libmgl8t64:amd64/unstable 8.0.1-8+b2 uptodate
linux-headers-6.10.9-amd64:amd64/unstable 6.10.9-1 uptodate
linux-headers-6.10.9-common:all/unstable 6.10.9-1 uptodate
linux-image-6.10.9-amd64:amd64/unstable 6.10.9-1 uptodate
linux-kbuild-6.10.9:amd64/unstable 6.10.9-1 uptodate
mathgl:amd64/unstable 8.0.1-8+b2 uptodate
printer-driver-gutenprint:amd64/unstable 5.3.4.20220624T01008808d602-3
uptodate
printer-driver-hpcups:amd64/unstable 3.22.10+dfsg0-5.1 uptodate
printer-driver-postscript-hp:amd64/unstable 3.22.10+dfsg0-5.1 uptodate
---
John M.

#1083019#10
Date:
2024-09-30 11:46:53 UTC
From:
To:
Control: reassign -1 src:gtk4 4.16.2+ds-1
Control: affects -1 src:nautilusControl: retitle -1 gtk4 apps crash when using vulkan renderer with Nvidia hybrid graphics drivers

We believe this issue is https://launchpad.net/bugs/2081291 and needs
to be ultimately fixed in either Mesa or more likely in the Nvidia
drivers themselves. This issue affects other GTK4 apps beyond Nautilus.

We have worked around this issue by switching the default renderer
from vulkan to ngl in gtk4 4.16.2+ds-3. That version is currently in
Debian Unstable and should reach Debian Testing at the end of this
week.

Thank you,
Jeremy Bícha

#1083019#23
Date:
2024-09-30 19:49:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gtk4, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1083019@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated gtk4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 30 Sep 2024 15:16:37 -0400
Source: gtk4
Built-For-Profiles: noudeb
Architecture: source
Version: 4.16.2+ds-4
Distribution: unstable
Urgency: high
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1083019 1083055
Launchpad-Bugs-Fixed: 2082017 2083274
Changes:
 gtk4 (4.16.2+ds-4) unstable; urgency=high
 .
   [ Michael Biebl ]
   * Fix cursor sizes under Plasma/Wayland when using scaling
     (Closes: #1083055) (LP: #2083274)
 .
   [ Jeremy Bícha ]
   * Bump urgency to high since this includes multiple 4.16 regression fixes
     (Closes: #1083019)
 .
 gtk4 (4.16.2+ds-3) unstable; urgency=medium
 .
   * Release to unstable (Mitigates: #1081962)
 .
 gtk4 (4.16.2+ds-2) experimental; urgency=medium
 .
   [ Alessandro Astone ]
   * d/patches: Change default renderer back to ngl (LP: #2082017)
Checksums-Sha1:
 0a85e04cccef708e8381f191211bfb8225b88b27 4881 gtk4_4.16.2+ds-4.dsc
 9719823dbcd89ab48e0cebfda6cbc8c4910f7f52 3615084 gtk4_4.16.2+ds-4.debian.tar.xz
 0e9027f8ddc2dbd06311b76c99ca9a5e5483f956 18262 gtk4_4.16.2+ds-4_source.buildinfo
Checksums-Sha256:
 3ea9e6bee66a3cb7a3649b1d2d7b5ca105a6b08c34b9d3e96a75578bc31724d9 4881 gtk4_4.16.2+ds-4.dsc
 e3137b1ede0d49f12ec5a98dcf263f68c4bb6b283296f00b655a504d63ee6842 3615084 gtk4_4.16.2+ds-4.debian.tar.xz
 fbfce033463fa1919325d1bf9caa24c449106dca15c11046fa126326308bb72d 18262 gtk4_4.16.2+ds-4_source.buildinfo
Files:
 c045ecad8a27b09feb7adeb2bc049fd4 4881 libs optional gtk4_4.16.2+ds-4.dsc
 b1d772de1ba09829beb014ac551e9f52 3615084 libs optional gtk4_4.16.2+ds-4.debian.tar.xz
 99be22973cdd89eafe4352b8f0e2db7d 18262 libs optional gtk4_4.16.2+ds-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmb6/cYACgkQ5mx3Wuv+
bH06MxAAgJyM9Qz5y+8+0XutR8KmsAWeWpn1Rx/SwL4gw4uUlgBtbnfB6iqcQmEY
NydJnWMYPZkgLCmXR0c2hQK7fU1oDl/cRA/YljHgeAi2rImczPAd1JsRBcsXDHoQ
fMbxwMsaYyfBQN2PxT0Mu+Doj0x4+MdF3vibvCAOULt1I78rgoXGClkn69pN/U3t
DSkFu+yhxSOR6GuaVLm6mcXr1L6sUdCaxG+KREHpNYm+2BFRfY66c/K0uCc7BwDb
+mzYg2QkackGEgnNE1YSnIU0WIXIxs2yu4mYHRndLowtj0jbY4yXB5VDYIt/YSoT
lQ2wqqCPVD4ixIzGzpRoi+WuPtc9odT9RAxfrv36DV8KdTj5ydn0kXV096Q+OIY2
QcSz+4q9vH5jDBFVxWNftVYMdE3DI8AdeJCJr8z6SCyC63RvDZoszmcHWbz3f/iM
kGZV5XIjy+EtIfzzVLEljifCmmWs7zuilCz7XLx7ek8zqbTbyzNp7dnSi57np+ms
rsdn377GZfWR9yq30+G6vReYYJ4Ty6I8wSM6GvoAjWm57w66idgXjK6ahTvxpsRM
jfRFhxZ2EqVzGrbh6Yxjyb6UntEoPuknUheOJ6j01vA1YTq9FNGZ4zZ+zbDLS4Lv
qJXzp6QHvoI2n5Eson7NTwk8Um/b0lFRLe2U/x2d1H+wIl554K8=
=DgoE
-----END PGP SIGNATURE-----

#1083019#28
Date:
2024-09-30 20:21:00 UTC
From:
To:
Hi Jeremy. Thanks for the reply.

I'm not sure the issue is directly related
to https://launchpad.net/bugs/2081291 . Both baobab and gnome-system-
monitor (which, I believe, are gtk4-based) load without issue. 

I upgraded libgtk-4-1 to the version in unstable, which caused these
other updates as a side-effect:

# apt-show-versions | grep unstable | grep gtk
gir1.2-gtk-4.0:amd64/unstable 4.16.2+ds-3 uptodate
gtk-update-icon-cache:amd64/unstable 4.16.2+ds-3 uptodate
libgtk-4-1:amd64/unstable 4.16.2+ds-3 uptodate
libgtk-4-bin:amd64/unstable 4.16.2+ds-3 uptodate
libgtk-4-common:all/unstable 4.16.2+ds-3 uptodate
libgtk-4-dev:amd64/unstable 4.16.2+ds-3 uptodate
libgtk-4-media-gstreamer:amd64/unstable 4.16.2+ds-3 uptodate

After reboot, the situation is the same: nautilus doesn't load, but
baobab, gnome-system-monitor, etc., do load.

And, just to clarify: I'm using the NVIDIA GPU as the primary one (as
per these
instructions: https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_GPU_as_the_primary_GPU
 ).

#1083019#33
Date:
2024-10-01 18:27:01 UTC
From:
To:
And just a little bit more information:

It seems the same issue was mentioned a week ago at this StackExchange
post: https://unix.stackexchange.com/questions/783899/debian-testing-gnome-47-nautilus-doesnt-start-anymore-why

And there's even a YouTube video that points to that same post for the
solution ---the solution being installing nautilus from stable.

One thing I noticed, is that some applications requiring a FileChooser
of some sort, cannot do so. I noticed it fist in the browser (Vivaldi),
but even when launching gnome-control-center from the terminal and
trying to select a file to change my user avatar, I get:

$ gnome-control-center
13:21:17.6387 cc-system-panel[195017]: WARNING: Failed to pick avatar
image: Dismissed by user

That is, the FileChooser doesn't show up, but the control center
assumes the user pressed the Cancel button.

#1083019#38
Date:
2024-11-04 14:15:44 UTC
From:
To:
Hi.

I'm not sure if anyone's checking this bug anymore ---since it was
erroneously marked as Done.

With nautilus 47.0-2, and libgtk-4-1 v4.16.3+ds-2, the issue still
persists:

$ nautilus
** Message: 09:01:23.931: Connecting to
org.freedesktop.Tracker3.Miner.Files
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME:
support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:794: FINISHME:
support more multi-planar formats with DRM modifiers

(org.gnome.Nautilus:231889): Gdk-WARNING **: 09:01:24.446: The program
'org.gnome.Nautilus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1026 error_code 8 request_code 149 (unknown)
minor_code 4)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)