Larry,
I have a few questions:
0) Does this reproduce if you're not using RenderAccel?
1) Has anyone else on this thread been able to reproduce this?
2) For what its worth, I'm able to run xemacs-21.4.18 with
nvidia-1.0-8174 in a 32bit environment without any problems. Is there
anything to suggest that this is a 64bit specific issue?
3) Does the crash go away if you switch to using the 'nv' X driver?
Thanks,
Lonni J Friedman
NVIDIA Corporation
On 12/12/2005 04:44 PM Larry Hunter wrote:
Package: xlib11-6
Version: 6.8.2.dfsg.1-11
Severity: Important
X-Debbugs-CC: xemacs-beta(a)xemacs.org, linux-bugs(a)nvidia.com
On an opteron /debian system, I recently upgraded to xemacs 21.4.18
using the Debian package xemacs-gnome-nomule, and now I get segfaults
in xemacs. I had previously reported to xemacs that I got segfaults
on font-lock-mode
(
http://list-archive.xemacs.org/xemacs-beta/200512/msg00058.html).
That problem has gone away in 21.4.18, but the new problem is much
more serious. Xemacs is not currently usable under X.
Debugger output suggests that it's libx11 (also recently upgraded)
that is causing the problem. Poking around in older bug reports, I
realize that the interaction between libx11 and NVIDIA drivers can be
problematic, and that might be my problem.
I appear to have to use NVIDIA drivers to support my hardware -- I
just reinstalled them (from NVIDIA's website, using version
1.0-8174). Using the nvidia packages from Debian didn't get me a
functioning X server.
I'm running an up to date debian unstable installation on an Opteron,
with kernel version 2.6.14-2-amd64-k8-smp. I don't seem to be able to
make the segfault happen with any particular series of keystrokes, but
it does seem to happen fairly rapidly after starting a new emacs
(within a few hundred keystrokes). I have no problems if I use it in
-nw (no windowing) mode.
I have appended below the gdb output captured in a crash, showing the
backtrace suggesting a libx11 problem. I've also appended below
version information for each program, the xemacs bug report
information, and the NVIDIA bug report information.
Thanks for any help anyone can offer. I am desparate to get xemacs
running under X again.
Larry Hunter
hunter@fast:~$ uname -a
Linux fast 2.6.14-2-amd64-k8-smp #2 SMP Sat Dec 10 03:37:30 UTC 2005 x86_64 GNU/Linux
hunter@fast:~$ gdb xemacs
GNU gdb 6.3.90_20051119-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols
found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/xemacs
(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)
(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)
---Type <return> to continue, or q <return> to quit---
(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)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912549568976 (LWP 9502)]
(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)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912549568976 (LWP 9502)]
0x00002aaaabfb4ac0 in XCheckIfEvent () from /usr/X11R6/lib/libX11.so.6
(gdb) backtrace
#0 0x00002aaaabfb4ac0 in XCheckIfEvent () from
#/usr/X11R6/lib/libX11.so.6
#1 0x000000000048a0b4 in emacs_shell_event_handler ()
#2 0x000000000055cdc2 in check_what_happened ()
#3 0x000000000047bd95 in Ffuncall ()
#4 0x000000000047c3cc in call1 ()
#5 0x00000000004c3fc1 in Fdispatch_event ()
#6 0x000000000045ac05 in Fcommand_loop_1 ()
#7 0x00000000004770fe in condition_case_1 ()
#8 0x000000000045a774 in Freally_early_error_handler ()
#9 0x00000000004745ce in internal_catch ()
#10 0x000000000045a8bc in initial_command_loop ()
#11 0x00000000004737ba in xemacs_21_4_18_x86_64_debian_linux ()
#12 0x0000000000474269 in main ()
(gdb) q
Here's the info on the libX11 version:
hunter@fast:~$ apt-cache show libX11-6
Package: libx11-6
Priority: optional
Section: libs
Installed-Size: 1560
Maintainer: Debian X Strike Force <debian-x(a)lists.debian.org>
Architecture: amd64
Source: xorg-x11
Version: 6.8.2.dfsg.1-11
Replaces: xlibs (<< 4.3.0)
Depends: x11-common (>> 4.3.0), xlibs-data, libc6 (>= 2.3.5-1), debconf (>=
0.5) | debconf-2.0
Conflicts: xlibs (<< 4.3.0)
Filename: pool/main/x/xorg-x11/libx11-6_6.8.2.dfsg.1-11_amd64.deb
Size: 780674
MD5sum: 247ebfe10878014ec159a9a6d2f702b5
Description: X Window System protocol client library