Hang when opening properties of an image on an SMB share
Affected version
- Nightly flatpak: No
- Other: Fedora 32, nautilus-3.36.2-1.fc32.x86_64
Steps to reproduce
- Open an SMB folder.
- Right click on an image and select Properties.
Current behavior
Nautilus hangs and is eventually terminated due to Wayland connection failure.
Expected behavior
No hang.
Additional information
Backtrace during the hang:
#0 __GI___xstat
(vers=vers@entry=1, name=0x5572057dbb20 "/run/user/1000/gvfs/smb-share:REDACTED"..., buf=buf@entry=0x7ffc3e49ded0) at ../sysdeps/unix/sysv/linux/wordsize-64/xstat.c:35
#1 0x00007f9815eedd02 in stat (__statbuf=0x7ffc3e49ded0, __path=<optimized out>) at /usr/include/sys/stat.h:455
#2 Exiv2::FileIo::Impl::stat(Exiv2::FileIo::Impl::StructStat&) const (this=<optimized out>, buf=...) at /usr/src/debug/exiv2-0.27.2-2.fc32.x86_64/src/basicio.cpp:264
#3 0x00007f9815eeddae in Exiv2::FileIo::size() const (this=0x557205765aa0) at /usr/include/c++/10/backward/auto_ptr.h:196
#4 0x00007f9815eed6d7 in Exiv2::FileIo::eof() const (this=0x557205765aa0) at /usr/src/debug/exiv2-0.27.2-2.fc32.x86_64/src/basicio.cpp:1023
#5 Exiv2::FileIo::eof() const (this=0x557205765aa0) at /usr/src/debug/exiv2-0.27.2-2.fc32.x86_64/src/basicio.cpp:1023
#6 0x00007f9815f5c7c4 in Exiv2::isTiffType(Exiv2::BasicIo&, bool) (iIo=..., advance=<optimized out>) at /usr/src/debug/exiv2-0.27.2-2.fc32.x86_64/src/tiffimage.cpp:324
#7 0x00007f9815f2a35e in Exiv2::ImageFactory::open(std::auto_ptr<Exiv2::BasicIo>) (io=...) at /usr/include/c++/10/backward/auto_ptr.h:183
#8 0x00007f9815f2a4b6 in Exiv2::ImageFactory::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)
(path="/run/user/1000/gvfs/smb-share:REDACTED"..., useCurl=useCurl@entry=true) at /usr/include/c++/10/backward/auto_ptr.h:266
#9 0x00007f98161364b3 in gexiv2_metadata_open_path(GExiv2Metadata*, gchar const*, GError**)
(self=0x55720575e9c0, path=0x5572056d9290 "/run/user/1000/gvfs/smb-share:server=REDACTED"..., error=0x7ffc3e49e180) at /usr/include/c++/10/bits/char_traits.h:300
#10 0x00007f981660928b in nautilus_image_properties_page_load_from_file_info () at /usr/lib64/nautilus/extensions-3.0/libnautilus-image-properties.so
#11 0x00007f9816609586 in get_pages () at /usr/lib64/nautilus/extensions-3.0/libnautilus-image-properties.so
#12 0x00005572019706dc in append_extension_pages ()
#13 0x0000557201975cf0 in is_directory_ready_callback ()
#14 0x0000557201a0610a in call_ready_callbacks_at_idle ()
#15 0x00007f98400f749b in g_idle_dispatch () at /lib64/libglib-2.0.so.0
#16 0x00007f98400fb7cf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#17 0x00007f98400fbb58 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#18 0x00007f98400fbc23 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#19 0x00007f983f4e970d in g_application_run () at /lib64/libgio-2.0.so.0
#20 0x0000557201949437 in main ()