Date: Sun, 20 Jul 1997 08:10:02 -0700 (PDT) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: freebsd-ports Subject: Re: ports/3927: xview library fails on -current and on 2.2.x Message-ID: <199707201510.IAA19579@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/3927; it has been noted by GNATS. From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: asami@cs.berkeley.edu (Satoshi Asami) Cc: helbig@MX.BA-Stuttgart.De, FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/3927: xview library fails on -current and on 2.2.x Date: Sun, 20 Jul 1997 17:07:03 +0200 (MET DST) > * The "notifier: bad file number" message and subsequent segmentation > * fault still occurs on any xview-lib client if the 2.2.2- built > * xview-lib package is used. But this error only shows if the process > * uid is zero, i. e. if you launch the xview application as root. > > Really? I saw this before when I was running workman as non-root. Puh--finally someone else saw this phaenomenon! I already started to believe seeing things :-) It was just me and someone from the questions list that reported this xview-lib problem and everyone else said: ''works fine on my system''. So what I did on the 2.2.2 system (with XFree86-3.3): Grabbed the ports xview-{config|lib}.3.2.1, built and installed them without any problems--well I had to update to the latest revision of ports/x11/xview-lib/patches/patch-aa: ------cut------------------------------------------------------------- revision 1.4 date: 1997/06/11 12:11:14; author: asami; state: Exp; lines: +4 -4 Change "all: $(SRCS)" to "all:: $(SRCS)" to make XFree86-3.3 config files happy. ------cut------------------------------------------------------------- Installed the xvgr package from /cdrom/packages/graphics/xvgr. Started it--Crash This was all done as root. Started xvgr again as wolfgang(uid != 0)--No crash. Installed de.spinne-1.0.1 (remember, this is my wannabe port-- unlucky enough to use the xview-lib and to make me aware of this buggy library from the ancient times)--Same behaviour. (i. e. crash if run as root, no crash if run as wolfgang) Deleted all packages and reinstalled the packages from /cdrom. (2.2.1) Same behaviour. Deleted all packages and reinstalled the packages built on my 3.0 system in the by now updated XFree86-3.3 environment--no crashes as root and nonroot. So... The different behaviour of the xview library seems to be caused by differences in the building environment of 2.2.2 and -current. i. e. static libraries and/or /usr/share/mk ... It is not the ports themselves, it is not the XFree86-environment and it is not the runtime environment. > I don't think the PR should be closed. There is something wrong in O. k., I feel uneasy myself about closing this PR without fixing it. OTOH there was just one problem report (mine) regarding this bug and one message in the mailinglist mentioning it. Since it does not show if the xview packages are replaced by -current built ones it may already be fixed in 2.2-stable. As I don't have access to a 2.2-stable system, I cannot test and/or debug it. But most if not all committers do have access to 2.2-stable and some of you committers should be able to at least test it. Thanks for your time Wolfgang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707201510.IAA19579>