First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 131234
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Miro Bogner <miro_bogner@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log config.log for dev-libs/pth-1.4.0 text/plain Maximilian Judtmann 2006-06-08 13:16 0000 12.40 KB Details
pth-2.0.6-sigstack.patch pth-2.0.6-sigstack.patch patch Alon Bar-Lev (RETIRED) 2006-09-20 05:01 0000 820 bytes Details | Diff
build.log config.log for dev-libs/pth-2.0.7-r1 text/plain alek 2008-03-24 02:07 0000 11.05 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 131234 depends on: Show dependency tree
Bug 131234 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-25 09:04 0000
Portage 2.1_pre9-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1,
2.6.16-no1 i686)
=================================================================
System uname: 2.6.16-no1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -funroll-loops -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fprefetch-loop-arrays
-ffast-math -fforce-addr -falign-functions=4 -funroll-loops -ftracer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -WL, -Bdirect
-WL,-zdynsort"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays /usr/local/overlays/sys-kernel
/usr/local/overlays/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit X a52 aac acpi alsa asf audacious bash-completion berkdb
bitmap-fonts bluetooth bzip2 cairo ccache cddb cdparanoia chroot cis clamav
clamd cli crypt crypto_openssl cups custom-cflags dbus directfb dlloader dvd
emboss encode fat fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimp
gimpprint glibc-omitfp glitz glx gnuplot gpm gtk gtk2 icq idn ieee1394 imlib
imlib2 input_devices_evdev input_devices_keyboard input_devices_mouse
input_devices_synaptics ipod isdnlog java jikes jpeg lcd lcms libclamav libg++
libvisual libwww lirc live mad mikmod mmx mmxext mng mozcalendar mozsvg mp3
mpeg mplayer musepack musicbrainz ncurses nls no-old-linux nptl nptlonly
nsplugin ntfs nvidia oav ogg opengl oscar pcmcia pcre pdf perl png pppd python
qt quicktime rar readline reflection rtc sdl session sox spell spl sse sse2 ssl
subp svg svga sysfs tcltk tcpd tiff truetype truetype-fonts type1-fonts udev
unicode usb v4l v4l2 vcd video_cards_none video_cards_nv video_cards_nvidia
virus-scan vorbis wifi win32codecs wma xgetdefault xml xorg xv xvid xvmc zlib
elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LINGUAS

process just hangs and won't proceed with

checking for stack setup via sigaltstack...

------- Comment #1 From Daniel Black 2006-06-04 22:59:15 0000 -------
can you please paste a bit before the hang?
Also look at the process listing and take a guess whats blocking here.
Using lsof may help to identify what files it has open.
Please also attach the config.log just incase I need it (normally in the
toplevel of /var/tmp/portage/pth-2.0.6/workdir/pth-2.0.6).

------- Comment #2 From Maximilian Judtmann 2006-06-08 13:11:30 0000 -------
I've got exactly the same problem with version dev-libs/pth-1.4.0.
It stops here:

Machine Context Implementation:
checking for ucontext.h... yes
checking for function makecontext... yes
checking for function swapcontext... yes
checking for function getcontext... yes
checking for function setcontext... yes
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
checking for signal.h... (cached) yes
checking for function sigsetjmp... no
checking for function siglongjmp... yes
checking for function setjmp... yes
checking for function longjmp... yes
checking for function _setjmp... yes
checking for function _longjmp... yes
checking for function sigaltstack... yes
checking for function sigstack... yes
checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
checking for typedef stack_t... (cached) yes
checking for direction of stack growth... down
checking for function makecontext... (cached) yes
checking for stack setup via makecontext... ok
checking for function sigaltstack... (cached) yes
checking for typedef stack_t... (cached) yes
checking for stack setup via sigaltstack...

------- Comment #3 From Maximilian Judtmann 2006-06-08 13:16:04 0000 -------
Created an attachment (id=88717) [edit]
config.log for dev-libs/pth-1.4.0

------- Comment #4 From Maximilian Judtmann 2006-06-08 13:20:56 0000 -------
emerge --info:


Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3,
2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoclean autoconfig ccache cvs digest distlocks sandbox sfperms
strict"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gentoo.inode.at/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://85.25.128.62 http://130.59.10.34/ftp/mirror/gentoo/
http://130.59.10.35/ftp/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://194.117.143.71"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de es"
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 X aac alsa apache2 apm audiofile avi bash-completion berkdb
bitmap-fonts bonobo bzip2 cairo cdr cli crypt cups curl dbus dri dvd dvdr
dvdread eds emboss encode evs exif expat fam fastcgi ffmpeg firefox flac
foomaticdb fortran gd gdbm gif glitz glut gmp gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hal idn imagemagick imlib ipv6 isdnlog java jpeg junit lcms
libcaca libg++ libwww mad matroska mhash mikmod mmx mmx2 mng mono motif mozilla
mozsvg mp3 mpeg mplayer mysql ncurses nls nptl offensive ogg opengl pam pcre
pdflib perl php png postgres pppd python quicktime readline recode reflection
ruby samba sdl session slang speex spell spl sqlite sse sse2 ssl svg svga tcltk
tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb
utf8 vorbis win32codecs wmf xine xml xml2 xmms xorg xv xvid zlib linguas_en
linguas_de linguas_es userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

------- Comment #5 From Maximilian Judtmann 2006-06-08 13:28:17 0000 -------
conftest is hanging with 100% CPU usage.

pandora ~ # lsof|grep conftest
conftest   7470       root  cwd       DIR       0,14      1860     148276
/var/tmp/portage/pth-1.4.0/work/pth-1.4.0
conftest   7470       root  rtd       DIR        3,5       496          2 /
conftest   7470       root  txt       REG       0,14      8267     151411
/var/tmp/portage/pth-1.4.0/work/pth-1.4.0/conftest
conftest   7470       root  mem       REG        0,0                    0
[heap] (stat: No such file or directory)
conftest   7470       root  mem       REG        3,5     10484     162004
/lib/libdl-2.3.6.so
conftest   7470       root  mem       REG        3,5   1190424     162255
/lib/tls/libc-2.3.6.so
conftest   7470       root  mem       REG        3,5     75304     162120
/lib/libnsl-2.3.6.so
conftest   7470       root  mem       REG        3,7     23540       1136
/usr/lib/libsandbox.so.0.0.0
conftest   7470       root  mem       REG        3,5    104055     162253
/lib/ld-2.3.6.so
conftest   7470       root    0u      CHR      136,0                    2
/dev/pts/0
conftest   7470       root    1u      CHR      136,0                    2
/dev/pts/0
conftest   7470       root    2w      CHR        1,3                 5651
/dev/null
conftest   7470       root    5w      REG       0,14     12694     148594
/var/tmp/portage/pth-1.4.0/work/pth-1.4.0/config.log
conftest   7470       root    6u      CHR      136,0                    2
/dev/pts/0

------- Comment #6 From Alon Bar-Lev (RETIRED) 2006-09-15 05:38:35 0000 -------
I get:
configure:24815: i686-pc-linux-gnu-gcc -o conftest -O3 -march=pentium-m
-fomit-frame-pointer -pipe -DTEST_sigstack   conftest.c -lnsl  >&5
conftest.c: In function 'main':
conftest.c:163: warning: 'sigstack' is deprecated (declared at
/usr/include/signal.h:358)
/var/tmp/portage/pth-2.0.6/temp/ccubXcIW.o: In function `main':
conftest.c:(.text+0x89): warning: the `sigstack' function is dangerous. 
`sigaltstack' should be used instead.
configure:24818: $? = 0
configure:24820: ./conftest
./configure: line 24821: 23293 Segmentation fault      ./conftest$ac_exeext
configure:24823: $? = 139
configure: program exited with status 139
configure: failed program was:
<snip>

------- Comment #7 From Alon Bar-Lev (RETIRED) 2006-09-20 05:01:55 0000 -------
Created an attachment (id=97532) [edit]
pth-2.0.6-sigstack.patch

I know this is a stupid fix for the problem... but I also checked newer version
2.0.7, and it is the same.
For some this step causes infinite loop, and for some segmentation failure.

So I've made this step always fail, so the size will be guessed.

------- Comment #8 From Daniel Black 2006-09-22 17:57:58 0000 -------
patches added. Thanks Miro and Alon.

------- Comment #9 From Eitan Mosenkis 2007-05-02 11:52:50 0000 -------
So is this fix going to make it into the portage tree, or do I need to patch it
myself?

------- Comment #10 From Alon Bar-Lev (RETIRED) 2007-05-02 15:40:20 0000 -------
(In reply to comment #9)
> So is this fix going to make it into the portage tree, or do I need to patch it
> myself?

This bug is marked as RESOLVED FIXED, so it is fixed in portage.
If you have some other issue, please open a new bug, and specify the details.

------- Comment #11 From alek 2008-03-24 02:02:58 0000 -------
I am getting the exact same outcome with 2.0.7-r1

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Timestamp of tree: Sun, 23 Mar 2008 23:47:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.dei.uc.pt/pub/linux/gentoo/
ftp://darkstar.ist.utl.pt/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/
http://cesium.di.uminho.pt/pub/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 bash-completion berkdb cairo cdr cli cracklib
crypt cups dbus dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox
fortran gd gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg kerberos mad midi
mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam
pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime readline
reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd
tiff truetype unicode vorbis win32codecs x86 xcomposite xml xorg xscreensaver
xv xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest
authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter
headers ident imagemap include info log_config logio mem_cache mime mime_magic
negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite
setenvif so speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse ps2mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

emerge -1 pth last lines of output

Machine Context Implementation:
checking for ucontext.h... yes
checking for makecontext... yes
checking for swapcontext... yes
checking for getcontext... yes
checking for setcontext... yes
checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... yes
checking for signal.h... (cached) yes
checking for sigsetjmp... no
checking for siglongjmp... yes
checking for setjmp... yes
checking for longjmp... yes
checking for _setjmp... yes
checking for _longjmp... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for signal-mask aware setjmp(3)/longjmp(3)... yes: ssjlj
checking for typedef stack_t... (cached) yes
checking for direction of stack growth... down
checking for makecontext... (cached) yes
checking for stack setup via makecontext... ok
checking for sigaltstack... (cached) yes
checking for typedef stack_t... (cached) yes
checking for stack setup via sigaltstack...    

process hangs whilst at this point!

lsof -p $(pgrep conftest)

COMMAND    PID USER   FD   TYPE DEVICE    SIZE   NODE NAME
conftest 10143 root  cwd    DIR    3,5    4096 362317
/var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7
conftest 10143 root  rtd    DIR    3,5    4096      2 /
conftest 10143 root  txt    REG    3,5    7405 363894
/var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7/conftest
conftest 10143 root  mem    REG    3,5    9612 529299 /lib/libdl-2.6.1.so
conftest 10143 root  mem    REG    3,5 1237276 529708 /lib/libc-2.6.1.so
conftest 10143 root  mem    REG    3,5   79544 529259 /lib/libnsl-2.6.1.so
conftest 10143 root  mem    REG    3,5   25968 509176
/usr/lib/libsandbox.so.0.0.0
conftest 10143 root  mem    REG    3,5  108996 529249 /lib/ld-2.6.1.so
conftest 10143 root    0u   CHR  136,0              2 /dev/pts/0
conftest 10143 root    1u   CHR  136,1              3 /dev/pts/1
conftest 10143 root    2w   REG    3,5   63080 362315
/var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7/config.log
conftest 10143 root    5w   REG    3,5   63080 362315
/var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7/config.log
conftest 10143 root    6u   CHR  136,1              3 /dev/pts/1

------- Comment #12 From alek 2008-03-24 02:07:16 0000 -------
Created an attachment (id=147079) [edit]
config.log for dev-libs/pth-2.0.7-r1

First Last Prev Next    No search results available      Search page      Enter new bug