Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 450930

Summary: glib-2.34.x causes nautilus-2.32 to consume 1 whole core when attempting to display thumbnails
Product: Gentoo Linux Reporter: d_dart
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: major CC: dpblnt, sparky, voron1
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 476364    
Attachments: emerge info
strace of nautilus while its trying to load thumbnails
strace of nautilus while its trying to load thumbnails
Port mate-desktop fix to gnome-desktop package
Update .thumbnails reference in nautilus

Description d_dart 2013-01-08 18:36:23 UTC
Created attachment 334832 [details]
emerge info

This problem has caused me so much trouble, yet im not 100% sure its glibc...

I had the above problem for a while. I tried building a parrallel gentoo system on ~amd64, and behold, I still had the same problem!

I later found this thread which led me to my crusade of attempting to downgrade glib while still being on ~arch. unfortunately i found this too time-consuming, obfuscated and difficult, so I switched back to stable+keywords. Using glib-2.32 I dont have the above problem.

I may try keywording glib2.34.x when i calm down, but for now i'm happy for a functioning system

How to reproduce: use nautilus-2.32.x with glib-2.34.x. make sure nautilus is trying to load...say 10 thumbnails.
Comment 1 d_dart 2013-01-08 18:39:14 UTC
Created attachment 334834 [details]
strace of nautilus while its trying to load thumbnails
Comment 2 d_dart 2013-01-08 18:44:32 UTC
Created attachment 334840 [details]
strace of nautilus while its trying to load thumbnails
Comment 3 Michael 2013-01-10 22:36:45 UTC
Same here. Sort it out by downgrading glib.
Comment 4 Pacho Ramos gentoo-dev 2013-01-12 09:57:12 UTC
Will need to check if this mate-desktop fix can be adopted by our gnome-desktop-2.32:
Comment 5 Matthew Turnbull 2013-05-27 23:35:47 UTC
Created attachment 349412 [details, diff]
Port mate-desktop fix to gnome-desktop package
Comment 6 Matthew Turnbull 2013-05-27 23:38:48 UTC
Created attachment 349414 [details, diff]
Update .thumbnails reference in nautilus

I'm not sure if this code is actually touched. It was removed upstream.

But it doesn't hurt to fix it just in case.
Comment 7 Matthew Turnbull 2013-05-27 23:41:29 UTC
I've tested both of those patches locally, and it seems to fix the thumbnailing issue (using glib-2.36.x).

[ebuild   R   #] dev-libs/glib-2.36.2:2  USE="-debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils -xattr" PYTHON_TARGETS="python2_7 -python2_5 -python2_6" 0 kB
[ebuild   R    ] gnome-base/gnome-desktop-2.32.1:2  USE="-debug -doc" 0 kB
[ebuild   R    ] gnome-base/nautilus-  USE="gnome introspection xmp {-test}" 0 kB
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-08-15 11:40:21 UTC
Fixed in gnome-desktop-2.32.1-r2, sorry for the very long wait.

The nautilus patch should not be needed as far as I can tell.

+*gnome-desktop-2.32.1-r2 (15 Aug 2013)
+  15 Aug 2013; Alexandre Rostovtsev <>
+  +gnome-desktop-2.32.1-r2.ebuild,
+  +files/gnome-desktop-2.32.1-thumbnails.patch:
+  Fix thumbnailing failure with glib-2.34 (bug #450930, thanks to Matthew
+  Turnbull and Pacho Ramos for the patch). Update to EAPI5 and
+  python-r1.eclass.