I've got something very comparable: "nautilus crashed with SIGSEGV in
gnome_desktop_thumbnail_factory_generate_thumbnail()". I think it is
best to add my info
When creating an empty image file, the thumbnail-function
gnome_desktop_thumbnail_factory_generate_thumbnail() makes Nautilus
crash.
This error is only given when running nautilus as root, as normal user
it just crashes without any message.
To get this error:
- open Nautilus
- go to your home-directory with Nautilus
- create an empty jpg or png in your home-directory ("gedit file.png" and then
save this file)
- wait up to 3 seconds
- Nautilus crashes
>From what I read form the code, it seems not to check if data-size is 0
(gdk_pixbuf_get_byte_length is not used), or gets a non-zero width and
length.
See https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-The-
GdkPixbuf-Structure.html#GdkPixbuf for documentation and
https://github.com/GNOME/libgnomeui/blob/master/libgnomeui/gnome-
thumbnail.c for the source.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1203349
Title:
nautilus crashed with SIGSEGV in _gdk_pixbuf_new_from_uri_at_scale()
Status in “nautilus” package in Ubuntu:
Confirmed
Bug description:
Occurs when opening a folder that contains a video or audio file that is
invalid or a 0 byte file. Nautilus crashes on the invalid or o byte file when
attempting to thumbnail instead of just moving past
Generally there would be no reason to have such file but it can be created
when an encoder errors out
nautilus should be able to deal with gracefully without crashing
Test case:
run in terminal -
touch Videos/1.mp4
Now try to open Videos in nautilus
nautilus Videos
sys:1: Warning: g_object_set: assertion 'G_IS_OBJECT (object)' failed
** (nautilus:4334): CRITICAL **:
nautilus_menu_provider_get_background_items: assertion
'NAUTILUS_IS_MENU_PROVIDER (provider)' failed
** (nautilus:4334): CRITICAL **: nautilus_menu_provider_get_background_items:
assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed
totem-video-thumbnailer couldn't open file 'file:///home/doug/Videos/1.mp4'
(nautilus:4334): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_close:
assertion 'GDK_IS_PIXBUF_LOADER (loader)' failed
(nautilus:4334): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_get_pixbuf:
assertion 'GDK_IS_PIXBUF_LOADER (loader)' failed
sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)
ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: nautilus 1:3.8.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.10.0-4.13-generic 3.10.1
Uname: Linux 3.10.0-4-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Sat Jul 20 13:53:27 2013
ExecutablePath: /usr/bin/nautilus
GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry'
b"'1018x500+57+24'"
InstallationDate: Installed on 2013-07-13 (6 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130712)
MarkForUpload: True
ProcCmdline: nautilus -n
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SegvAnalysis:
Segfault happened at: 0x7f2535c621e0 <sem_post>: mov (%rdi),%eax
PC (0x7f2535c621e0) ok
source "(%rdi)" (0x00000000) not located in a known VMA region (needed
readable region)!
destination "%eax" ok
Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: nautilus
StacktraceTop:
?? () from /usr/lib/libgnome-desktop-3.so.7
gnome_desktop_thumbnail_factory_generate_thumbnail () from
/usr/lib/libgnome-desktop-3.so.7
?? ()
start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
clone () from /lib/x86_64-linux-gnu/libc.so.6
Title: nautilus crashed with SIGSEGV in
gnome_desktop_thumbnail_factory_generate_thumbnail()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
usr_lib_nautilus:
brasero 3.8.0-1ubuntu2
file-roller 3.8.3-0ubuntu1
python-nautilus 1.1-3ubuntu3
totem 3.8.2-0ubuntu1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1203349/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp