Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214578 - emerge dev-libs/pth-2.0.7-r1 hangs whilst "checking for stack setup via sigaltstack..."
Summary: emerge dev-libs/pth-2.0.7-r1 hangs whilst "checking for stack setup via sigal...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 19:07 UTC by alek
Modified: 2008-03-30 06:06 UTC (History)
0 users

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


Attachments
config.log requested (config.log,70.92 KB, text/plain)
2008-03-25 01:58 UTC, alek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alek 2008-03-24 19:07:45 UTC
Seems to yield the same outcome as posted on http://bugs.gentoo.org/show_bug.cgi?id=131234

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 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-24 19:35:24 UTC
Please attach config.log after pressing <Ctrl>C
Comment 2 alek 2008-03-25 01:58:22 UTC
Created attachment 147208 [details]
config.log requested

Sorry for the delay
Comment 3 alek 2008-03-25 02:00:54 UTC
here is a new output of "lsof -p $(pgrep conftest)"

lsof -p $(pgrep conftest)
COMMAND   PID USER   FD   TYPE DEVICE    SIZE   NODE NAME
conftest 8289 root  cwd    DIR    3,1    2776 684861 /var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7
conftest 8289 root  rtd    DIR    3,1     648      2 /
conftest 8289 root  txt    REG    3,1    7405 685484 /var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7/conftest
conftest 8289 root  mem    REG    3,1    9612 776867 /lib/libdl-2.6.1.so
conftest 8289 root  mem    REG    3,1 1237276 776854 /lib/libc-2.6.1.so
conftest 8289 root  mem    REG    3,1   79544 776884 /lib/libnsl-2.6.1.so
conftest 8289 root  mem    REG    3,1   25968 854623 /usr/lib/libsandbox.so.0.0.0
conftest 8289 root  mem    REG    3,1  108996 776801 /lib/ld-2.6.1.so
conftest 8289 root    0u   CHR  136,0              2 /dev/pts/0
conftest 8289 root    1u   CHR  136,2              4 /dev/pts/2
conftest 8289 root    2w   REG    3,1   63080 684992 /var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7/config.log
conftest 8289 root    5w   REG    3,1   63080 684992 /var/tmp/portage/dev-libs/pth-2.0.7-r1/work/pth-2.0.7/config.log
conftest 8289 root    6u   CHR  136,2              4 /dev/pts/2
Comment 4 alek 2008-03-25 02:37:52 UTC
After a few tries "emerge -1 pth-2.0.7-r1" finished successfully :)

The only thing I did was close the xterm windows and firefox and open a new xterm window.
  
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-25 05:55:00 UTC
I don't see how this is possible as the patch at files/pth-2.0.6-sigstack.patch make this test do nothing.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-27 10:53:33 UTC
Can you reproduce this?
Comment 7 alek 2008-03-29 21:25:37 UTC
No! All seems to be working fine. Must have been something on my side I am unaware of...
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2008-03-30 06:06:37 UTC
No... This is unmaintained (upstream) and problematic package... :)