Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236050 - net-misc/nxclient-3.2.0.13 segmentation fault
Summary: net-misc/nxclient-3.2.0.13 segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 18:28 UTC by Grzegorz Wiechula
Modified: 2008-08-30 07:13 UTC (History)
0 users

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


Attachments
strace-nxclient.txt (strace-nxclient.txt,21.58 KB, text/plain)
2008-08-28 18:29 UTC, Grzegorz Wiechula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Wiechula 2008-08-28 18:28:15 UTC
I have a problem with nxclient. I can't start it. Maybe someone know what to do with it.

$ nxclient
Segmentation fault
Comment 1 Grzegorz Wiechula 2008-08-28 18:29:05 UTC
Created attachment 164014 [details]
strace-nxclient.txt

output from:
$ strace nxclient
Comment 2 Bernard Cafarelli gentoo-dev 2008-08-29 09:26:13 UTC
emerge --info please (especially which arch you are on)

Does gdb provide some more infos than strace?
Comment 3 Grzegorz Wiechula 2008-08-29 11:35:36 UTC
$ emerge --info
Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-glibc2.0
Timestamp of tree: Sun, 24 Aug 2008 20:04:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf/etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl ftp://gentoo.po.opole.pl http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.po.opole.pl ftp://mirror.switch.ch/mirror/gentoo/ http://src.gentoo.pl"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
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="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi additions aften aiglx alsa amarok amazon amr apache2 archive arts asf atm audiofile bash-completion berkdb branding bzip2 cairo captury cdparanoia cdr cli cracklib crypt cssctype cups curl dba dbus dhcp divx4linux dmi dri dts dvd dvdr dvdread eds emboss encode evo exifextramodules fam ffmpeg firefox flac fortran ftp fuse gadu gdbm gif gpm gstreamer gtk hal iconv innodb ipv6 isdnlog java jpeg kde kipi libcaca libnotify libsamplerate libwww lm_sensors logitech-mouse lzo mad matroska mbox midi mikmod mmx mmxext mp3 mpeg mpeg4 mplayer mudflap musepack musicbrainz mysql ncurses nemesi nls nptlonly nsplugin nxclient ogg opengl openmp oscar pam pcre pdf perl php pmu png ppds pppd python qt-static qt3 qt3support qt4 quicktime radeon rdesktop readline reflection reiserfs sblive sdl server session sid slang sockets sox speex spell spl sql sqlite srt sse sse2 ssl startup-notification stream subversion svg sysfs tcpd tetex theora threads tiff tokenizer truetype unicode usb vnc vorbis wifi win32codecs x264 x86 xattr xcb xcomposite xine xml xorg xv xvid 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 mmap_emul 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Grzegorz Wiechula 2008-08-29 11:44:34 UTC
Because /usr/bin/nxclient is a shell script, I follow it:

$ cd "/usr/NX/bin"
/usr/NX/bin $ export LD_LIBRARY_PATH="/usr/NX/lib"
/usr/NX/bin $ gdb ./nxclient
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/NX/bin/nxclient
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7b10970 (LWP 21966)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b10970 (LWP 21966)]
0xbaa080f5 in ?? ()
Comment 5 Bernard Cafarelli gentoo-dev 2008-08-29 13:05:31 UTC
OK you're on x86, can you try nxclient-3.2.0.14 ? This was a x86-only release done by upstream, shortly after 3.2.0.13

If that fails too, nxclient-3.2.0 is stable and should work fine.
Comment 6 Grzegorz Wiechula 2008-08-30 07:13:11 UTC
nxclient-3.2.0.14 works for me! :-) Thanks.

But I have also unmerged all NX stuff (like net-misc/nxserver-freenx) and removed some strange old files from /usr/NX. Than I emerged nxclient.

Thanks for help!