Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31545 - Access violation in ant-1.5.4-r1
Summary: Access violation in ant-1.5.4-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 14:48 UTC by aent
Modified: 2003-10-20 19:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aent 2003-10-19 14:48:10 UTC
--------------------------- ACCESS VIOLATION SUMMARY ---------------
LOG FILE = "/tmp/sandbox-ant-1.5.4-r1-15408.log"
 
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
---------------------------------------------------------

Always reproducable...
From emerge -pv ant:
[ebuild     U ] dev-java/ant-1.5.4-r1 [1.5.3-r5] -doc

From emerge info:
Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.4.3.11
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /opt/resin/conf /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com ftp://ftp.uesb.edu/pub/mirrors/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/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="x86 oss crypt encode foomaticdb gif mad mikmod ncurses nls slang tetex aalib nas bonobo guile pam esd imlib acpi alsa apache2 apm arts avi berkdb cdr cups directfb dga dvd fbcon firebird flac flash freetds gd gdbm gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml imap innodb informix java joystick jpeg kde ldap libg++ libwww mcal motif mozilla mozcalendar mozp3p mozxmlterm mozsvg mozaccess mpeg mysql odbc oci8 oggvorbis opengl pdflib perl plotutils png pnp postgres python qt quicktime readline samba sasl scanner sdl spell sqlite sse ssl svga tcltk tcpd tiff truetype usb wmf wxwindows X xml xml2 xmms xine xv zlib"
Comment 1 Adrian Almenar 2003-10-19 19:10:48 UTC
Can you please copy all the output even from when you call emerge -uv ant,
until it gets the sandbox violation. please also post the "LOG FILE".
Comment 2 aent 2003-10-20 17:58:25 UTC
localhost root # emerge -uv ant
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/ant-1.5.4-r1 to /
>>> md5 src_uri ;-) apache-ant-1.5.4-src.tar.bz2
>>> Unpacking source...
>>> Unpacking apache-ant-1.5.4-src.tar.bz2 to /var/tmp/portage/ant-1.5.4-r1/work
* Applying build.sh-exit-fix.patch.gz...                                
[ ok ] * Applying rpmbuild.patch.gz...                                  
       [ ok ]>>> Source unpacked.
... Bootstrapping Ant Distribution
... Compiling Ant Classes
ACCESS DENIED  open_wr:   /proc/self/maps
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
... Copying Required Files
... Building Ant Distribution
ACCESS DENIED  open_wr:   /proc/self/maps
Buildfile: build.xml
 
bootstrap:
 
prepare:
 
check_for_optional_packages:
 
build:
Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib
Compiling 170 source files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
Copying 1 file to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Copying 2 files to
/var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl
 
jars:
Copying 4 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build
Building jar: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/ant.jar
Building jar:
/var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/optional.jar
 
dist-lite:
Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap
Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/bin
Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/lib
Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/lib
Copying 9 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/bootstrap/bin
 
BUILD SUCCESSFUL
Total time: 36 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
ACCESS DENIED  open_wr:   /proc/self/maps
Buildfile: build.xml
 
prepare:
 
check_for_optional_packages:
 
build:
Created dir: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Compiling 452 source files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
Copying 3 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes
Copying 2 files to
/var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl
 
jars:
Building jar: /var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/ant.jar
Building jar:
/var/tmp/portage/ant-1.5.4-r1/work/apache-ant-1.5.4/build/lib/optional.jar
 
dist-lite:
Created dir: /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant
Created dir: /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/bin
Created dir: /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/lib
Copying 2 files to /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/lib
Copying 9 files to /var/tmp/portage/ant-1.5.4-r1/image/usr/share/ant/bin
 
main:
 
BUILD SUCCESSFUL
Total time: 36 seconds
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG
FILE = "/tmp/sandbox-ant-1.5.4-r1-13888.log"
 
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
--------------------------------------------------------------------------------
Comment 3 aent 2003-10-20 18:01:20 UTC
Oh the log file:
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
open_wr:   /proc/self/maps
Comment 4 Adrian Almenar 2003-10-20 18:32:24 UTC
do you have grsecurity activated on the kernel ?
Comment 5 Adrian Almenar 2003-10-20 19:02:31 UTC
I have commited to the tree a fix for it, try, and reopen the bug if it happens
again.