Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238058 - >=net-misc/nx-3.2.0-r4: Random crashes
Summary: >=net-misc/nx-3.2.0-r4: Random crashes
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 23:57 UTC by Joshua J. Berry
Modified: 2009-06-04 12:26 UTC (History)
0 users

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 Joshua J. Berry 2008-09-18 23:57:03 UTC
Recent updates to NX seem to crash randomly on my system.

Unfortunately, I have only been able to consistently reproduce the crash using KDE4 SVN.

Here is one way to reproduce (note: this works only "most" of the time, and there are other similarly-innocuous ways to cause a crash as well):

1. Make sure you have KDE4 from KDE's SVN trunk.
2. Start an NX session in rootless mode (i.e. with NX apps as individual windows, not with a desktop).
3. Within that session, start Kopete.
4. Open a chat window in Kopete (I am using the "kONE" chat style, if it's important).
5. Segfault.

I started noting random crashes (which were not reproducible) with -r4, and they have gotten worse in -r5.  I have had to fallback to -r3 for NX to be at all usable for me.
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-19 22:00:03 UTC
Please post 'emerge --info' then we'll assign this report to maintainers; hopefully they will have some luck in being able to reproduce the problem
Comment 2 Joshua J. Berry 2008-09-19 22:31:54 UTC
des@siamese ~> emerge --info
Portage 2.2_rc8 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26.5 x86_64)  
=================================================================                                 
System uname: Linux-2.6.26.5-x86_64-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-glibc2.2.5        
Timestamp of tree: Thu, 18 Sep 2008 22:15:01 +0000                                                
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]               
ccache version 2.4 [disabled]                                                                     
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-util/ccache:     2.4-r7                                                                       
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.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:   1.5.26                                                                       
virtual/os-headers:  2.6.26                                                                       
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                    
CBUILD="x86_64-pc-linux-gnu"                                                                      
CFLAGS="-march=nocona -O3 -pipe"                                                                  
CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" 
CXXFLAGS="-march=nocona -O3 -pipe"                                                                 
DISTDIR="/usr/portage/distfiles"                                                                   
FEATURES="distcc distlocks parallel-fetch preserve-libs sfperms strict unmerge-orphans userfetch userpriv"                                                                                            
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ "                                                                               
LANG="en_US.UTF-8"                                                                                 
LDFLAGS="-Wl,-O1"                                                                                  
LINGUAS="en_US"                                                                                    
MAKEOPTS="-j4"                                                                                     
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/jokey /usr/portage/local/des"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 arts aspell attr audiofile avahi berkdb bluetooth bzip2 calendar cdparanoia cracklib crypt cscope cups curl cxx dbus dcraw dell dga dri dts dvd dvdr dvdreadencode exif ffmpeg flac foomaticdb ftp gdbm gif gimp glib glitz gmp gnutls gpgme gphoto2 graphviz hal iconv ieee1394 imap imlib inotify ipv6 jabber jpeg jpeg2k kde kdehiddenvisibility laptop latex lcms ldap libwww mad maildir mdnsresponder-compat mikmod mime mjpeg mmap mmx mng modplug mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nethack nls nptl nptlonly nsplugin offensive ofx ogg opengl openmp oscar pam pcmcia pcre pdf perl png postgres ppds python qt3 qt3support qt4 quicktime rdesktop readline recode resolvconf samba scanner sdl smtp spell sql sqlite sqlite3 sse sse2 ssl subversion svg szip tetex theora threads threadsafe tiff transparency truetype unicode usb vim-syntax vorbis wifi x264 xattr xcb xcomposite xine xinerama xml xorg xpm xscreensaver xv xvid xvmc yahoo zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copydmix 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewritesetenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="i810 i830 i915"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Bernard Cafarelli gentoo-dev 2008-09-22 08:41:33 UTC
The only change in -r5 is a patch in nxproxy (for nxcl), so the source of your problem must be the nxagent bump from 3.2.0.8 to 3.2.0.10:

nxagent-3.2.0-10

- Extended fix for TR07F02091 to include font names having zero in
  fields RESOLUTION_X and RESOLUTION_Y.

nxagent-3.2.0-9

- Fixed TR07F02091. Scalable fonts were not correctly listed among
  available fonts.

- Fixed TR06F02080. Use the corrupted area extents as maximum size of
  the image data.

To check if it's indeed nxagent, you can try this on the server (where kde is):
* run "nxagent -R :1000", this creates a rootless session
* run the faulty command with the DISPLAY variable set to use this, i.e "DISPLAY=1000 kopete"

Hopefully you'll see the nxagent crash, which will allow to get some backtrace!
Comment 4 Bernard Cafarelli gentoo-dev 2008-11-25 10:22:04 UTC
Can you try with nx-3.3.0? Release notes indicate lots of fixes in this new version.
Comment 5 Joshua J. Berry 2008-11-25 23:49:28 UTC
(In reply to comment #4)
> Can you try with nx-3.3.0? Release notes indicate lots of fixes in this new
> version.

nx-3.3.0 is still exhibiting the problem.  Same steps to reproduce as before.

I updated to 3.3.0 last night, logged in this morning and it crashed almost immediately -- still seems to be tied to Kopete, however.
Comment 6 Bernard Cafarelli gentoo-dev 2008-11-26 15:51:35 UTC
I'm currently running kde 4.1.3 on a remote session (amd64 server), I cannot reproduce it (even running kopete). So this may be caused by your theme

Can you try running the agent as detailed in comment #3 ? Getting a backtrace would definitly help
Comment 7 Bernard Cafarelli gentoo-dev 2009-04-08 15:21:36 UTC
Versions <=nx-3.3.0-r3 could trigger nxagent crash when opening some applications (openoffice, firefox notably), it may be worth to try either nx-3.3.0-r3 or -r4 (not stable yet, corresponding freenx had a few changes in the ebuild)
Comment 8 Bernard Cafarelli gentoo-dev 2009-06-04 12:26:46 UTC
Looks like this one is fixed now, please reopen if you still have this problem.
Marking resolved test-request