Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68968 - compaq-jdk and probably other software segfaults because of error in signalhandling in glibc-2.3.2 on alpha
Summary: compaq-jdk and probably other software segfaults because of error in signalha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 69367
  Show dependency tree
 
Reported: 2004-10-26 05:37 UTC by Christian Jiresjö
Modified: 2006-01-17 16:21 UTC (History)
0 users

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


Attachments
Patch mentioned in bugreport (glibc-2.3.2-alpha-rtsigaction-fix.patch,3.03 KB, patch)
2004-10-26 05:40 UTC, Christian Jiresjö
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Jiresjö 2004-10-26 05:37:15 UTC
When i tried to compile ant-1.5.2 on gentoo/alpha i kept segfaulting on various files. Searching the web i came across a message exchange(link lost) about similar problems on debian/alpha wich recommended a patch by Richard Henderson at redhat which fixed problems with signal handling in rtsigaction.S on alpha. I tried it and ant compile went from hanging on every compile attempt with segfaults to so far compiling twice without hang.
Debian ships their glibc with that patch so i propose that the patch also be included in gentoo since it solves a problem for at least me. Problem is probably fixed in newer glibcs.

Reproducible: Always
Steps to Reproduce:
1. compile glibc-2.3.2-r12 without earlier mentioned patch
2. emerge compaq-jdk
3. keyword ant-1.5.2 for alpha
4. emerge ant

Actual Results:  
watch it die with segfault and leave defunct process

Expected Results:  
emerge ant correctly which it does with patch

Portage 2.0.51-r2 (default-alpha-2004.0, gcc-3.3.2, glibc-2.3.2-r12, 2.4.27 alpha)
=================================================================
System uname: 2.4.27 alpha EV6
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.23
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ev6 -O3 -pipe -mieee "
CHOST="alphaev6-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ev6 -O3 -pipe -mieee "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.oregonstate.edu
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.se.gentoo.org/gentoo-portage"
USE="X alpha arts avi berkdb bitmap-fonts crypt cups encode ev6 f77 foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl tcpd truetype xml2 xmms xprint xv zlib"
Comment 1 Christian Jiresjö 2004-10-26 05:40:55 UTC
Created attachment 42619 [details, diff]
Patch mentioned in bugreport

Patch by Richard Henderson (rth@redhat.com) that fixes problems with signal
handling if i understood it correctly. Patches rtsigaction.S.
Comment 2 Mike Hlavac 2005-09-05 10:14:25 UTC
Does this still happen with glibc 2.3.4.20041102-r1?

You might need the patch described in:
http://marc.theaimsgroup.com/?l=gentoo-alpha&m=112103704626260&w=2
Comment 3 Thomas Cort (RETIRED) gentoo-dev 2005-10-26 13:25:36 UTC
There is a discussion about glibc leaving defunct threads here:
http://bugs.gentoo.org/show_bug.cgi?id=100259

You may want to try upgrading to a 2.6 kernel and recompiling glibc with nptl.
Comment 4 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2005-12-24 05:37:14 UTC
New glibc stroke Alpha stable branch few time ago and seems to haven't got this issues.

Christian can we marked this as fixed? 
Comment 5 Christian Jiresjö 2005-12-28 04:20:56 UTC
(In reply to comment #4)
> New glibc stroke Alpha stable branch few time ago and seems to haven't got this
> issues.
> 
> Christian can we marked this as fixed? 
> 

My alpha machine is still on a shelf since a cooling problem involving water getting close to it but i will get it back online sometime next week and test if the problem is solved
Comment 6 Christian Jiresjö 2006-01-17 09:38:13 UTC
i would say that the issue is resolved since i didn't experience the same problem in any of 7 consecutive runs of emerge ant-core
Comment 7 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2006-01-17 16:21:09 UTC
Thanks Christian, closing ...