Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75557 - net-news/bnr2 won't start after upgrading to x11-base/xorg-x11-6.8.0-r4
Summary: net-news/bnr2 won't start after upgrading to x11-base/xorg-x11-6.8.0-r4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-24 08:17 UTC by Paul Hartman
Modified: 2004-12-30 21:57 UTC (History)
1 user (show)

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 Paul Hartman 2004-12-24 08:17:32 UTC
net-news/bnr2 (any version) simply says "segmentation fault" when I try to run it after upgrading to x11-base/xorg-x11-6.8.0-r4 but a downgrade back to x11-base/xorg-x11-6.8.0-r3 solves the problem.

Reproducible: Always
Steps to Reproduce:
1. emerge bnr2
2. emerge =x11-base/xorg-x11-6.8.0-r4
3. bnr2

Actual Results:  
segmentation fault

Expected Results:  
program should run!

I have switched back to x11-base/xorg-x11-6.8.0-r3 but everything else (kernel,
etc) should be the same still.

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r12 i686)
=================================================================
System uname: 2.6.9-gentoo-r12 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1,
Sep 27 2004, 22:14:29)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.9.3, 1.4_p6, 1.6.3, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aalib acl aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts
bonobo cdparanoia cdr codecs crypt cups curl curlwrappers directfb dvd dvdr
dvdread encode esd ethereal evo exif fam flac flash foomaticdb fortran ftp gd
gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib
innodb jabber java jikes joystick jpeg junit kde libwww mad mikmod mime mmx mng
motif mozilla mpeg msn mysql mysqli ncurses network nls nptl nvidia offensive
oggvorbis opengl oscar oss pam pdflib perl png postgres python qtreadline samba
scanner sdl slang sndfile spell sse ssl svg svga tcltk tcpd tidy tiff truetype
usb videos wmf xml xml2 xmms xpm xv xvid yahoo zlib"
Comment 1 Sven Wegener gentoo-dev 2004-12-26 11:44:59 UTC
I just upgraded my system to x11-base/xorg-x11-6.8.0-r4 and net-news/bnr2 still
works for me. If you have any information that can be useful to track down this
bug, please post. I'll try on some of my other machines and see if I can reproduce
it there.
Comment 2 Paul Hartman 2004-12-27 17:43:34 UTC
I emerged x11-base/xorg-x11-6.8.1.901 today to see if it fixes it, but it breaks bnr2 as well. It doesn't say "Segmentation Fault". Now it simply says "Killed". I know that's not much to go on... I really have no idea where to even begin looking for the cause of this. Everything else seems to work fine. I've tried the newest BNR2 0.14.6 and still have the same failed result.
Comment 3 Paul Hartman 2004-12-27 17:50:49 UTC
I will add that I have tried to run it as different users and using different window managers and this does not affect the outcome. I have tried removing BNR2's data files and starting fresh with no success.
Comment 4 Paul Hartman 2004-12-29 19:17:27 UTC
It may be Kernel related. I just realised, when I'm using 2.6.10 it says "Killed" immediately, regardless of xorg version. When I'm using 2.6.9, it runs on xorg 6.8.0-r3 but gives the "segmentation fault" on newer versions. Perhaps it's two independant problems. Sorry for the confusion.
Comment 5 Sven Wegener gentoo-dev 2004-12-29 19:30:06 UTC
Thanks, after upgrading to 2.6.10 I'm able to reproduce this. Currently trying to find the cause of it.
Comment 6 Sven Wegener gentoo-dev 2004-12-29 19:46:57 UTC
It's killed directly after calling execve() so probably a kernel change or bug
that's incompatible with the kylix generated code.

sven@luna ~ $ strace /opt/bnr2/bin/BNR2
execve("/opt/bnr2/bin/BNR2", ["/opt/bnr2/bin/BNR2"], [/* 61 vars */]) = 0
+++ killed by SIGKILL +++
Comment 7 Paul Hartman 2004-12-30 21:39:59 UTC
I got a simple kylix program (a "hello, world" type of program) and it fails in exactly the same ways under the two different setups. So it appears it's not a BNR2 specific problem, but perhaps a kylix or libborqt (or Xorg or kernel) problem. Should I close this and/or file a new bug?

strace shows more progress under RNEL 2.6.9 (before the "Segmentation fault") but it still appears like it's not making it very far.
Comment 8 Paul Hartman 2004-12-30 21:57:27 UTC
I figured it out! It was nxserver's libXrender.so.1 breaking, it was being used rather than standard version. I took out /usr/NX/lib from ld.conf and now things are working properly in kernel 2.6.9 with any xorg version.

I am changing this bug to INVALID since it was not bnr2 problem at all. I will file a new bug for kylix apps broken in kernel 2.6.10 after testing with a couple more test apps.