Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43134 - museseq-0.6.2 sandbox access violation
Summary: museseq-0.6.2 sandbox access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 14:46 UTC by Manfred Stienstra
Modified: 2004-03-17 23:29 UTC (History)
2 users (show)

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


Attachments
The compile process output (compile_museseq.txt,408.14 KB, text/plain)
2004-03-13 03:29 UTC, Manfred Stienstra
Details
Ouput of the installation process (install_museseq.txt,30.25 KB, text/plain)
2004-03-13 03:31 UTC, Manfred Stienstra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Stienstra 2004-02-27 14:46:24 UTC
When I tried to emerge museseq-0.6.2 I got an access violation, it seems to happen and the end of the compile when the permissions of some files are changed.

Reproducible: Always
Steps to Reproduce:
1. emerge museseq
2.
3.

Actual Results:  
if test "no" = "yes"; then \
  su -c "chown root muse; chmod +s muse"; \
fi
touch stamp-chown
make[2]: Leaving directory `/var/tmp/portage/museseq-0.6.2/work/muse-0.6.2'
make[1]: Leaving directory `/var/tmp/portage/museseq-0.6.2/work/muse-0.6.2'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-sound_-_museseq-0.6.2-22769.log"

open_wr:   /dev/dri/card0
open_wr:   /dev/dri/card0
open_wr:   /dev/dri/card1
open_wr:   /dev/dri/card1
open_wr:   /dev/dri/card2
open_wr:   /dev/dri/card2
open_wr:   /dev/dri/card3
open_wr:   /dev/dri/card3
open_wr:   /dev/dri/card4
open_wr:   /dev/dri/card4
open_wr:   /dev/dri/card5
open_wr:   /dev/dri/card5
open_wr:   /dev/dri/card6
open_wr:   /dev/dri/card6
open_wr:   /dev/dri/card7
open_wr:   /dev/dri/card7
open_wr:   /dev/dri/card8
open_wr:   /dev/dri/card8
open_wr:   /dev/dri/card9
open_wr:   /dev/dri/card9
open_wr:   /dev/dri/card10
open_wr:   /dev/dri/card10
open_wr:   /dev/dri/card11
open_wr:   /dev/dri/card11
open_wr:   /dev/dri/card12
open_wr:   /dev/dri/card12
open_wr:   /dev/dri/card13
open_wr:   /dev/dri/card13
open_wr:   /dev/dri/card14
open_wr:   /dev/dri/card14
--------------------------------------------------------------------------------


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.23)
=================================================================
System uname: 2.4.23 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
rsync://ftp.snt.utwente.nl/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb cdr crypt cups encode foomaticdb
gatos gdbm gif gnome gpm gtk gtk2 imlib joystick jpeg libg++ libwww mad matroska
mikmod mmx mozilla mpeg mysql ncurses oggvorbis opengl oss pam pdflib png python
quicktime radeon readline samba sdl slang sse ssl svga tcpd tetex truetype
unicode vhost video_cards_radeon x86 xml xml2 xmms xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-28 11:22:32 UTC
hmm... works fine for me... It shouldn't be doing anything with DRI...  Is the 0.6.0 ebuild working fine?
Comment 2 Manfred Stienstra 2004-02-29 03:58:43 UTC
museseq-0.6.0 gives the same access violation but just after the configure stage. This is what I find in my logs:

Feb 29 12:57:57 [devfsd] error calling: "unlink" in "GLOBAL"_

It doesn't only give an access violation, but it screws up my whole DRI. This might be a sandbox problem and not a museseq problem.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-29 19:09:50 UTC
Can someone familiar with sandbox comment on this... I don't see where the dri access is coming from...
Comment 4 SpanKY gentoo-dev 2004-02-29 19:12:48 UTC
chances are the program is trying to run an X related app and as such, wrongly tries to open the display
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-12 23:28:41 UTC
Can you attatch the output of:

'ebuild --verbose --debug museseq-0.6.2 install' after doing the 'ebuild --verbose --debug museseq-0.6.2 compile'
Comment 6 Manfred Stienstra 2004-03-13 03:29:59 UTC
Created attachment 27278 [details]
The compile process output

The compiling seems to work, but it stuff borks up my DRI.
Comment 7 Manfred Stienstra 2004-03-13 03:31:10 UTC
Created attachment 27280 [details]
Ouput of the installation process

The installation also works when done with ebuild.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-13 13:15:51 UTC
what? That's weird... try emerging it again...
Comment 9 Manfred Stienstra 2004-03-13 19:23:14 UTC
I've tried it a few times. A normal emerge doesn't work because of the dri error. The ebuild compile, ebuild install routine works. Ebuild compile does break my dri, but ebuild install installs like it's suppost to.
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-13 19:33:53 UTC
so if you do 'ebuild <ebuild> compile install qmerge' it works, but if you do 'emerge <ebuild>' it fails?  That doesn't seem right to me, as it was my understanding that emerge did just that...
Comment 11 Manfred Stienstra 2004-03-14 03:08:29 UTC
The dri errors happen at the end of the compile process, and emerge fails on the errors, but when I do a ebuild install after it, it does install.
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-14 03:37:47 UTC
ok... this is a big 'wtf' for me...

portage guys: is there any reason why 'ebuild <blah> qmerge' would succeed but 'emerge <blah>' would have sandbox violations?
Comment 13 Manfred Stienstra 2004-03-14 03:53:48 UTC
I think I'm rambling too much, but let me explain it again.

1) emerge museseq: fails at the end of the compile process because of the above mentioned dri errors
2) ebuild compile: gives the same errors at the end of the compile

When I do either of the two, I can do an ebuild install and that works. Ebuild notices that the program has already been compiled and just installs it.

At the end om the compile process attachment you can see the dri errors.
http://bugs.gentoo.org/attachment.cgi?id=27278&action=view
Comment 14 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-14 04:54:45 UTC
oh ok, so you ARE still getting the sandbox violations at the end of compile... ok... I'll see what I can gather from that log...
Comment 15 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-17 23:29:26 UTC
ok, this should be fixed now in portage...