Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291643 - x11-base/xorg-server-1.7.1 window pictures crash
Summary: x11-base/xorg-server-1.7.1 window pictures crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: InVCS
: 292004 292058 293430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-02 22:53 UTC by Fred Krogh
Modified: 2009-12-06 14:25 UTC (History)
11 users (show)

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


Attachments
The nvidia-bug-report.log.gz that was requested (nvidia-bug-report.log.gz,38.69 KB, application/octet-stream)
2009-11-03 05:24 UTC, Fred Krogh
Details
output of v 'valgrind ddd' (ddd.log,6.97 KB, text/plain)
2009-11-04 17:02 UTC, Jean-Francois Ostiguy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2009-11-02 22:53:47 UTC
I'm using gfortran with ddd.  If I have a variable displayed (in the data window) and right click on it, X crashes.  The mouse moves, but the mouse buttons and keyboard are dead.

Reproducible: Always

Steps to Reproduce:




From emerge --info

Portage 2.1.7.3 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r4-x86_64-AMD_Opteron-tm-_Processor_242-with-gentoo-2.0.1
Timestamp of tree: Mon, 02 Nov 2009 02:30:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.5.4-r2, 2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -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/X11/xkb /usr/share/config /var/lib/hsqldb"
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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.ucsb.edu/pub/mirrors/linux/gentoo  http://cudlug.cudenver.edu/gentoo http://gentoo.binarycompass.org"
LANG="en_us"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl administrator aiglx alsa amd64 apache2 auctex audiofile bash-completion bcmath berkdb blas bonobo bzip2 cairo calendar cdrom clamav clamd cli clisp colordiff consolekit cracklib crypt ctype cups dbus debugger deprecated dga discouraged divx-linux dri dvd dvdr dvdread emacs emul-linux86 esd extras fam fastcgi fbcon ffmpeg flac fortran ftp gd gdbm glut gmail gnome gnome-keyring gphoto2 gpm graphite gstreamer gtk hal iconv imagemagick ipv6 java javascript jpeg kde kerberos kpathsea latex latin1 leim libclamav libnotify libwww logrotate mad maildir mbox mcal mime mmx mmxext mng modules motif mouse mozcalendar mozilla mp3 mpeg2 mpi mudflap multilib mysql mysqli nat ncurses nls nocd nosendmail nptl nptlonly nsplugin nvidia objc offensive ogg openexr opengl openmp osc oscar pam pcre pdf perl png policykit pop pop3d portaudio posix ppds pppd preview-latex python qt3support query-browser readline reflection regex replytolist rtc samba sasl session sharedmem smbclient sockets sound source sox speex spl sse sse2 ssl svg symlink sysfs tcltk tcpd tetex thunderbird tiff truetype unicode usb vhosts vorbis wxwidgets wxwindows xcomposite xine xmail xorg xulrunner xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="en" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2009-11-03 03:30:15 UTC
Please run nvidia-bug-report.sh and attach that info. Additionally, going back in xorg-server version fixes it or does going back in nvidia-drivers version fix it?
Comment 2 Fred Krogh 2009-11-03 05:24:40 UTC
Created attachment 209110 [details]
The nvidia-bug-report.log.gz that was requested

This problem arose has a result of upgrading xorg-server and nvidia-drivers.  My understanding is that the version of xorg-server requires the latest nvidia-drivers so I don't see what is to be gained by trying the earlier one.  And going back to an earlier xorg-server is almost certainly going to work and would be a pain to do.
Comment 3 Jean-Francois Ostiguy 2009-11-04 17:02:53 UTC
Created attachment 209239 [details]
output of v 'valgrind ddd'

I am experiencing the same problem. The attached valgrind output 
shows that the the problem seems to be triggered after a call to 
 _XmTextSetCursorPosition from libXm (motif). One should also consider
the possibility of bug in libXm.
Comment 4 Jean-Francois Ostiguy 2009-11-05 19:00:43 UTC
The problem is not in motif for sure. I found out today that also get a server crash when I run  gv  (the ghostscript front-end). I vote for a bug
in the nvidia driver.
Comment 5 Fred Krogh 2009-11-05 19:10:20 UTC
There is some evidence that a patch to xorg-server fixes problems people are having.  See http://forums.gentoo.org/viewtopic.php?p=6044007#6044007, where the following is said

So crashes solved by applying this patch from Fedora:http://www.nvnews.net/vbulletin/showpost.php?p=2117519&postcount=34

http://koji.fedoraproject.org/koji/buildinfo?buildID=139777
Comment 6 Jean-Francois Ostiguy 2009-11-05 20:38:33 UTC
I confirm that this patch fixes the crash issue. However, I noted the following comment in reference to it: 

  "This patch sadly introduces big problem to kde 4.3.3 anyhow: alt+f2 (quick   launcher for apps), lancelot menu, grouped tasks. Each of them goes to super slow motion mode. When i press ctlr+f2 it takes around five seconds to get dialog appear. As well those menus do same."

I can confirm that alt-f2 is, after applying the patch, *very* slow. This is an annoyance, but I can live with that. 
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2009-11-06 14:49:40 UTC
Re-assigning the x11 herd since they need to fix xorg-server
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2009-11-06 15:29:21 UTC
*** Bug 292004 has been marked as a duplicate of this bug. ***
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2009-11-06 15:34:25 UTC
Fedora's bug for this; https://bugzilla.redhat.com/show_bug.cgi?id=524244
Comment 10 Matt Whitlock 2009-11-06 15:37:31 UTC
(In reply to comment #9)
> Fedora's bug for this; https://bugzilla.redhat.com/show_bug.cgi?id=524244

That's not the right URL.
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-11-06 17:24:40 UTC
The good news is: someone's from red hat is working on a fix since they need
this fixed for FC12 which is already a few days late.

The bad news, there's no patch now that completely fixes the issue without
causing extra bugs.

So for now, I won't put this patch in portage. You're very much welcome to help
RH devs fix the bug by testing whatever patches they cook up and see if it
breaks.

Thanks
Comment 12 Wormo (RETIRED) gentoo-dev 2009-11-12 07:12:49 UTC
*** Bug 292058 has been marked as a duplicate of this bug. ***
Comment 13 Aurelien Minet 2009-11-17 18:13:36 UTC
For information the upstream bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=25136
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-11-17 20:08:01 UTC
Thanks, let's track the bug upstream directly.

Cheers
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2009-11-20 22:44:52 UTC
*** Bug 293430 has been marked as a duplicate of this bug. ***
Comment 16 Doug Goldstein (RETIRED) gentoo-dev 2009-11-28 04:55:03 UTC
Fixed in xorg-server-1.7.2
Comment 17 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-28 09:16:27 UTC
Bumped in main tree.
Comment 18 Fred Krogh 2009-11-29 15:47:36 UTC
Just emerged xorg-server-1.7.2 and did emerge `qlist -I -C x11-drivers/`.  The problem as described originally is still with me, except the keyboard works, and I can kill ddd in a console window.  (The mouse buttons stop working after a right click on data in the data window.)
Comment 19 Rémi Cardona (RETIRED) gentoo-dev 2009-11-29 15:53:38 UTC
FTR, 1.7.2 breaks the server ABI so I've masked it until a proper solution is found.

Thanks
Comment 20 Fred Krogh 2009-11-29 16:41:49 UTC
It may be the problem is not in xorg-server but in the nvidia-drivers in conjunction with xorg-server, see http://forums.gentoo.org/viewtopic-t-799568-postdays-0-postorder-asc-start-0.html?sid=f26ca9d91476d93aab8f003cedd5c324.  But the latest nvidia-driver in portage, 190.42-r3, does work with xorg-server-1.6.5-r1.
Comment 21 Doug Goldstein (RETIRED) gentoo-dev 2009-11-30 00:42:13 UTC
(In reply to comment #20)
> It may be the problem is not in xorg-server but in the nvidia-drivers in
> conjunction with xorg-server, see
> http://forums.gentoo.org/viewtopic-t-799568-postdays-0-postorder-asc-start-0.html?sid=f26ca9d91476d93aab8f003cedd5c324.
>  But the latest nvidia-driver in portage, 190.42-r3, does work with
> xorg-server-1.6.5-r1.
> 

Completely unrelated. That's about the fact that we were explicitly blocking the newer version of xorg-server with nvidia-drivers.
Comment 22 Aurelien Minet 2009-12-01 18:45:00 UTC
I emerged xorg-server-1.7.2 and the Gimp crash problem doesn't show up anymore.
I haven't rebuild other xorg based stuff, and haven't found any problem yet but I will rebuild in case ABI change breack things.
Comment 23 Fred Krogh 2009-12-06 02:26:54 UTC
I'm getting the same problems from xorg-server-1.7.3.
Comment 24 Rémi Cardona (RETIRED) gentoo-dev 2009-12-06 14:14:16 UTC
(In reply to comment #23)
> I'm getting the same problems from xorg-server-1.7.3.
> 

Then you're getting another bug. Please file a new bug report.

Meanwhile, this bug report is fixed. Closing.

Thanks
Comment 25 Fred Krogh 2009-12-06 14:25:26 UTC
As requested I've opened up a new bug:
http://bugs.gentoo.org/show_bug.cgi?id=295967
Seems a bit strange as I originated this one, and this one has not been fixed for me.