Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379823 - All gnustep apps segfault inside pixman if OpenGL enabled in Cairo backend
Summary: All gnustep apps segfault inside pixman if OpenGL enabled in Cairo backend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-19 05:08 UTC by Hypnos
Modified: 2013-06-10 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
backtrace for AClock (AClock_bt.txt,2.62 KB, text/plain)
2011-08-19 05:08 UTC, Hypnos
Details
cave info gnustep-back-cairo (gnustep-back-cairo-info.txt,15.33 KB, text/plain)
2011-08-19 05:09 UTC, Hypnos
Details
Patch to gnustep-back-cairo-0.20.1.ebuild (gnustep-back-cairo-0.20.1_ebuild.patch,406 bytes, patch)
2011-08-19 07:48 UTC, Hypnos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2011-08-19 05:08:53 UTC
Created attachment 283849 [details]
backtrace for AClock

The bug seems to be the same as the one here --

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613221

Disabling the "opengl" USE flag for either cairo and gnustep-back-cairo does *not* work around the problem.  FWIW, gnustep-back-cairo links to OpenGL even with the "opengl" USE flag disabled.

A GNUstep list thread suggests it's simply a matter of Cairo point release:

http://osdir.com/ml/discuss-gnustep-gnu/2011-03/msg00025.html

My own backtrace for AClock is attached, as well as my paludis info.

Possibly relevant package versions:

gnustep-gui-0.20.0
gnustep-back-cairo-0.20.1
cairo-1.10.2-r1
pixman-0.22.0  (0.22.2 has the same problem)
mesa-7.10.3
Comment 1 Hypnos 2011-08-19 05:09:34 UTC
Created attachment 283851 [details]
cave info gnustep-back-cairo
Comment 2 Hypnos 2011-08-19 07:48:34 UTC
Created attachment 283871 [details, diff]
Patch to gnustep-back-cairo-0.20.1.ebuild

The workaround for the bug does work if OpenGL is properly disabled during configure.  The problem in the ebuild is that it assumes the standard autoconf switches "--enable-glx" and "--disable-glx", when in fact the configure script only supports "--disable-glx".
Comment 3 Bernard Cafarelli gentoo-dev 2011-08-23 15:59:57 UTC
Thanks for the detailed report :)

Apparently mesa is indeed the culprit:
https://bugs.freedesktop.org/show_bug.cgi?id=35268
(which explains why I did not see it, I use nvidia libGL)

Hopefully this will be fixed soon there... In the meantime I've fixed the opengl USE-flag, thanks!

Once the bug is fixed and a new mesa released, I'll update the dependencies to reflect that
Comment 4 Matt Turner gentoo-dev 2012-10-07 23:57:45 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=34335 looks related...
Comment 5 Bernard Cafarelli gentoo-dev 2013-06-10 22:15:18 UTC
Looks like all upstream bugs are now closed and patches removed. Indeed I now use intel video driver, and gnustep-back-cairo+mesa works fine here :)

Don't hesitate to reopen if you still have this problem!