Bug#854237: nautilus: Crashes upon renaming large file

Mike Grunweg grunweg at web.de
Sun Feb 5 10:20:11 UTC 2017


Package: nautilus
Version: 3.14.1-2
Severity: important
Tags: lfs

Dear Maintainer,

   * What led up to the situation?
trying to rename a large file saved on my hard disc
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Open a new nautilus window and navigate to the the file's containing folder.
Right-click the file, select "rename" from the Hamburger menu.
Start typing in the new name.
   * What was the outcome of this action?
While typing in the new file name, nautilus crashes.
This usually takes a few seconds to happen.
   * What outcome did you expect instead?
I can type in the new file name and rename the file.

Extra information:
-I have experienced this with multiple files; it appears to me that the sole
cause of this the mere file size. This doesn't seem limited to renaming,
but also happens when selecting files.
-I can always reproduce it with the following file, the video from
https://air.mozilla.org/rust-paris-meetup-35-2017-01-19/:
Go to the download tab, download the mpeg4 version (650MB) and keep the default
name mp4.mp4. I then tried to rename it to something like
"Rust_meetup_Paris-2017-01.mp4", by the time I'm typing the year, nautilus crashes.

Guessed cause: Memory access error
Opening a new nautilus instance per terminal and then doing the above yields an error message
"Speicherzugriffsfehler" upon crash. Executing |valgrind nautilus| yields the following log,
indicating an out-of-range memory access and that the process was killed.

$ valgrind nautilus
==2945== Memcheck, a memory error detector
==2945== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==2945== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==2945== Command: nautilus
==2945== 

(nautilus:2945): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
==2945== Warning: set address range perms: large range [0x3a04c040, 0xc8c73884) (undefined)
==2945== Thread 7:
==2945== Invalid read of size 1
==2945==    at 0x7525B30: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x75274D5: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x7527BE3: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x751F818: gdk_pixbuf_scale (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x751FDD5: gdk_pixbuf_scale_simple (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x752115C: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x547C159: ??? (in /usr/lib/libgnome-desktop-3.so.10.0.0)
==2945==    by 0x547C661: gnome_desktop_thumbnail_factory_generate_thumbnail (in /usr/lib/libgnome-desktop-3.so.10.0.0)
==2945==    by 0x4CB60F: ??? (in /usr/bin/nautilus)
==2945==    by 0x8AC2063: start_thread (pthread_create.c:309)
==2945==    by 0x8DBF62C: clone (clone.S:111)
==2945==  Address 0xffffffffba467a3b is not stack'd, malloc'd or (recently) free'd
==2945== 
==2945== 
==2945== Process terminating with default action of signal 11 (SIGSEGV)
==2945==  Access not within mapped region at address 0xFFFFFFFFBA467A3B
==2945==    at 0x7525B30: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x75274D5: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x7527BE3: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x751F818: gdk_pixbuf_scale (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x751FDD5: gdk_pixbuf_scale_simple (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x752115C: ??? (in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3100.1)
==2945==    by 0x547C159: ??? (in /usr/lib/libgnome-desktop-3.so.10.0.0)
==2945==    by 0x547C661: gnome_desktop_thumbnail_factory_generate_thumbnail (in /usr/lib/libgnome-desktop-3.so.10.0.0)
==2945==    by 0x4CB60F: ??? (in /usr/bin/nautilus)
==2945==    by 0x8AC2063: start_thread (pthread_create.c:309)
==2945==    by 0x8DBF62C: clone (clone.S:111)
==2945==  If you believe this happened as a result of a stack
==2945==  overflow in your program's main thread (unlikely but
==2945==  possible), you can try to increase the size of the
==2945==  main thread stack using the --main-stacksize= flag.
==2945==  The main thread stack size used in this run was 8388608.
==2945== 
==2945== HEAP SUMMARY:
==2945==     in use at exit: 2,414,978,481 bytes in 74,102 blocks
==2945==   total heap usage: 1,172,505 allocs, 1,098,403 frees, 2,493,016,091 bytes allocated
==2945== 
==2945== LEAK SUMMARY:
==2945==    definitely lost: 27,255 bytes in 45 blocks
==2945==    indirectly lost: 32,468 bytes in 1,255 blocks
==2945==      possibly lost: 360,074 bytes in 5,381 blocks
==2945==    still reachable: 2,413,942,236 bytes in 64,614 blocks
==2945==         suppressed: 0 bytes in 0 blocks
==2945== Rerun with --leak-check=full to see details of leaked memory
==2945== 
==2945== For counts of detected and suppressed errors, rerun with: -v
==2945== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Getötet

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nautilus depends on:
ii  desktop-file-utils         0.22-1
ii  gsettings-desktop-schemas  3.14.1-1
ii  gvfs                       1.22.2-1
ii  libatk1.0-0                2.14.0-1
ii  libc6                      2.19-18+deb8u7
ii  libcairo-gobject2          1.14.0-2.1+deb8u2
ii  libcairo2                  1.14.0-2.1+deb8u2
ii  libexempi3                 2.2.1-2
ii  libexif12                  0.6.21-2
ii  libgail-3-0                3.14.5-1+deb8u1
ii  libgdk-pixbuf2.0-0         2.31.1-2+deb8u5
ii  libglib2.0-0               2.42.1-1+b1
ii  libglib2.0-data            2.42.1-1
ii  libgnome-desktop-3-10      3.14.1-1
ii  libgtk-3-0                 3.14.5-1+deb8u1
ii  libnautilus-extension1a    3.14.1-2
ii  libnotify4                 0.7.6-2
ii  libpango-1.0-0             1.36.8-3
ii  libpangocairo-1.0-0        1.36.8-3
ii  libselinux1                2.3-2
ii  libtracker-sparql-1.0-0    1.2.4-2
ii  libx11-6                   2:1.6.2-3
ii  libxml2                    2.9.1+dfsg1-5+deb8u4
ii  nautilus-data              3.14.1-2
ii  shared-mime-info           1.3-1

Versions of packages nautilus recommends:
ii  eject                      2.1.5+deb1+cvs20081104-13.1
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  gnome-sushi                3.12.0-2+b1
ii  gvfs-backends              1.22.2-1
ii  librsvg2-common            2.40.5-1+deb8u2

Versions of packages nautilus suggests:
ii  brasero                3.11.4-1.1
ii  eog                    3.14.1-1
ii  evince [pdf-viewer]    3.14.1-2+deb8u1
ii  okular [pdf-viewer]    4:4.14.2-2
ii  totem                  3.14.0-2
ii  tracker                1.2.4-2
ii  vlc [mp3-decoder]      2.2.4-1~deb8u1
ii  vlc-nox [mp3-decoder]  2.2.4-1~deb8u1
ii  xdg-user-dirs          0.15-2

-- no debconf information



More information about the pkg-gnome-maintainers mailing list