Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gdk-pixbuf-query segfault in libQtCore?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 256

PostPosted: Thu Aug 11, 2011 12:09 pm    Post subject: gdk-pixbuf-query segfault in libQtCore? Reply with quote

I just update my machine and I have found some very interesting. I have passed the libpng hell and found that sme gnome apps (firefox, tucan and gimp mostly) don'd work or do not work compile or do not show icons properly.

I think that the problem is that gdkpixbuf segfault when exectuting and do not create the directory "/etc/gtk2/*". When I lunch manualy I obtain

Code:

gdk-pixbuf-quer[25818]: segfault at 0 ip 00007fba4ed14ff7 sp 00007fffa15f68d0 error 4 in libQtCore.so.4.7.3[7fba4ecb9000+27a000]


I have revdep-rebuild, lafilefixer and even I have made a emerge -e world and still no luck. Any idea of what is happening?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Thu Aug 11, 2011 1:10 pm    Post subject: Reply with quote

I've got a guess: what does
Code:
python -c 'import cairo, uuid; print (uuid.uuid1().hex)'

print ?
OK, that test requires pycairo, but if that's the problem, it's the fastest test.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 256

PostPosted: Thu Aug 11, 2011 7:17 pm    Post subject: Reply with quote

VoidMage wrote:
I've got a guess: what does
Code:
python -c 'import cairo, uuid; print (uuid.uuid1().hex)'

print ?
OK, that test requires pycairo, but if that's the problem, it's the fastest test.


Code:

castor@madriguera ~ $ python -c 'import cairo, uuid; print (uuid.uuid1().hex)'
f9c8cd20c44e11e094575e755df54cdc
castor@madriguera ~ $ eix pycairo
[I] dev-python/pycairo
     Available versions:  1.8.10 (~)1.10.0 (~)1.10.0-r1 (~)1.10.0-r2 {doc examples (+)svg test}
     Installed versions:  1.10.0-r2(12:34:32 10/08/11)(svg -doc -examples -test)
     Homepage:            http://cairographics.org/pycairo/ http://pypi.python.org/pypi/pycairo
     Description:         Python bindings for the cairo library

castor@madriguera ~ $


What5 it is supossed to be the good answer?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Thu Aug 11, 2011 10:45 pm    Post subject: Reply with quote

Unfortunately, not - I was hoping it's another segfault.
Then, it would be a bug fixed in glibc 2.13-r4 (one of the ways to trigger it is to build cairo with qt useflag on, then my python line produces a crash).
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 256

PostPosted: Fri Aug 12, 2011 12:40 am    Post subject: Reply with quote

VoidMage wrote:
Unfortunately, not - I was hoping it's another segfault.
Then, it would be a bug fixed in glibc 2.13-r4 (one of the ways to trigger it is to build cairo with qt useflag on, then my python line produces a crash).


would you think that rebuilding cairo without the qt4 flags would resolve the crash?

I will try.

Anyway, thanks for the help
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Fri Aug 12, 2011 10:43 am    Post subject: Reply with quote

If it would really be that bug, the crash would only be a symptom of a problem in glibc, so glibc upgrade would be the correct fix.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 256

PostPosted: Fri Aug 12, 2011 11:11 am    Post subject: Reply with quote

rebuilding cairo without qt4 did not resolv my problem. I have already ussing glibc-2.13-r4 (i am ussing ~arch) so no idea about what the problem could be :(
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sun Aug 14, 2011 3:22 pm    Post subject: Reply with quote

I'm having a problem that seems to be related or similar... I tracked down the problem on my system to libpixbufloader-svg.so (supplied by librsvg). If I move this file, then gdk-pixbuf-query-loaders runs okay, and I can create a loaders.cache. I then move the file back. However, that doesn't solve much if loaders.cache gets removed and recreated during builds, or something accesses libpixbufloader-svg.so.

I have two systems affected by this issue with librsvg.
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 256

PostPosted: Sun Aug 14, 2011 4:07 pm    Post subject: Reply with quote

@skutnar

Thanks ypou for the tip. I have been able to crate the loaders.cache.

PS: I have found a bug with the same problem as me.

https://bugs.gentoo.org/show_bug.cgi?id=372111
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Fri Aug 19, 2011 12:03 pm    Post subject: Reply with quote

In my case, it appears that a few problems I was having may have been due to forced --as-needed via the GCC spec file. I rebuilt one system without that, and everything built okay. The loaders.cache got created correctly, including SVG. The complexity of the whole Cairo/QT4/SVG/GTK+ makes it tough to know exactly where the issue lies.

I haven't actually verified if my GTK+ apps work correctly with icons, etc. yet.
Back to top
View user's profile Send private message
kklatt
n00b
n00b


Joined: 25 Oct 2004
Posts: 16

PostPosted: Sat Dec 17, 2011 4:13 pm    Post subject: loaders.cache Reply with quote

I have been trying to find the real problem with building gdm -- I too am not sure where the real problem lies, but using this sequence resolved the gdm build for me on one machine. On a second machine, close to but not identical, rebuilding libsvg worked.

[] Rebuild librsvg
[] Remove (renamed) libpixbufloader-svg.so
[] ran gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
[] emerged gdm with success
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum