Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129076 - Cannot emerge gtk+ 2.8.12 on hardened Gentoo
Summary: Cannot emerge gtk+ 2.8.12 on hardened Gentoo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 17:39 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2007-06-02 17:17 UTC (History)
2 users (show)

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


Attachments
emerge --info output (emerge-info-hardened.txt,2.70 KB, text/plain)
2006-04-06 18:40 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details
strace log (gtk2-build-crash-hardened-strace.txt,18.34 KB, text/plain)
2006-04-14 19:19 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details
strace on lt-gdk-pixbuf-query-loaders (gtk2-build-crash-hardened-strace-lt.txt,5.28 KB, text/plain)
2006-04-15 06:36 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details
scanelf -a output on .libs directory (gtk2-build-crash-hardened-scanelf-dotlibs.txt,3.88 KB, text/plain)
2006-04-15 06:40 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume (a.k.a. repzilon, rener) 2006-04-06 17:39:40 UTC
I am unable to emerge gtk+ 2.8.12 on hardened Gentoo (x86, kernel 2.4.32-hardened-r2, glibc 2.3.5, gcc 3.4.x). PaX kills gdk-pixbuf-query-loaders during emerge

Emerge output:
creating gdk-pixbuf-query-loaders
Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf.
/bin/sh: line 1: 14947 Killed                  ../gdk-pixbuf/gdk-pixbuf-query-loaders $LOADERS >./gdk-pixbuf.loaders
make[4]: *** [gdk-pixbuf.loaders] Error 137
make[4]: *** Waiting for unfinished jobs....
i386-pc-linux-gnu-gcc -pipe -O2 -march=pentium3 -mtune=athlon-xp -fomit-frame-pointer -maccumulate-outgoing-args -ftracer -fforce-addr -fpeel-loops -fweb -funit-at-a-time -Wall -Wl,-O1 -Wl,--sort-common -o .libs/test-gdk-pixbuf test-gdk-pixbuf.o  ./.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm
creating test-gdk-pixbuf
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.8.12 failed.
!!! Function src_compile, Line 115, Exitcode 2

dmesg output:
grsec: signal 11 sent to /usr/bin/python2.4[python:6360] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/python2.4[python:5742] uid/euid:250/250 gid/egid:250/250
grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/python2.4[python:6360] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/python2.4[python:5742] uid/euid:250/250 gid/egid:250/250
grsec: signal 11 sent to /usr/bin/python2.4[python:24432] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:1928] uid/euid:250/250 gid/egid:250/250 by /usr/bin/python2.4[python:5742] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/python2.4[python:24432] uid/euid:250/250 gid/egid:250/250
PAX: execution attempt in: <NULL>, 00000000-00000000 00000000
PAX: terminating task: /var/tmp/portage/gtk+-2.8.12/work/gtk+-2.8.12/gdk-pixbuf/.libs/lt-gdk-pixbuf-query-loaders(lt-gdk-pixbuf-q):14616, uid/euid: 250/250, PC: 00000000, SP: 5ba154cc
PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 
PAX: bytes at SP-4: 4408b802 271b0662 271ef5fc 00000000 5ba158c2 2726ce72 00aad0af 27313574 5ba154f8 27228222 17d22f7c 0000000f 5ba155b4 17d21320 270d7e50 270d0498 5ba15518 270d5eb9 270cffc4 270d0a38 5ba15528 
grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/gtk+-2.8.12/work/gtk+-2.8.12/gdk-pixbuf/.libs/lt-gdk-pixbuf-query-loaders[lt-gdk-pixbuf-q:14616] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:13682] uid/euid:250/250 gid/egid:250/250
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2006-04-06 18:40:51 UTC
Created attachment 84101 [details]
emerge --info output
Comment 2 René Rhéaume (a.k.a. repzilon, rener) 2006-04-14 19:19:03 UTC
Created attachment 84678 [details]
strace log

Here is the output I got from strace. I checked the directory with scanelf and it seems there is nothing abnormal.
Comment 3 René Rhéaume (a.k.a. repzilon, rener) 2006-04-15 06:36:19 UTC
Created attachment 84710 [details]
strace on lt-gdk-pixbuf-query-loaders

gdk-pixbuf-query-loaders is a shell script wrapping lt-gdk-pixbuf-query-loaders found in the .libs directory and it is the latter one that is crashing. I ran strace directly on it.
Comment 4 René Rhéaume (a.k.a. repzilon, rener) 2006-04-15 06:40:05 UTC
Created attachment 84711 [details]
scanelf -a output on .libs directory

I also ran scanelf -a on the .libs directory. Here is the output.
Comment 5 PaX Team 2007-04-24 09:50:36 UTC
is this still a problem? for me 2.10.11 emerges fine without any NULL derefs (which was the case here).