Created attachment 42333 [details] gdb with full backtrace Xorg crashes with following reproducible steps: - run acrobat reader (9.3.4 or 9.4.1) - open any pdf file - click on acrobat button to "Save as" --> Xorg crashes! - also clicking on "Print" button causes the same crash Recently on my machine Xorg started crashing in other situations, also while running screensaver. I'm running Kubuntu 10.10 $ lsb_release LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:languages-3.2-ia32:languages-3.2-noarch:languages-4.0-ia32:languages-4.0-noarch:multimedia-3.2-ia32:multimedia-3.2-noarch:multimedia-4.0-ia32:multimedia-4.0-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:qt4-3.1-ia32:qt4-3.1-noarch with: $ dpkg -s nvidia-current Package: nvidia-current Status: install ok installed Priority: optional Section: restricted/misc Installed-Size: 76364 Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: i386 Source: nvidia-graphics-drivers Version: 260.19.06-0ubuntu1 Provides: xorg-driver-video, xserver-xorg-video-8 Depends: x11-common (>= 1:7.0.0), make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, linux-headers-generic | linux-headers, patch, acpid, libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libx11-6, libxext6, libxv1, libxvmc1, zlib1g (>= 1:1.1.4)
Forgot to mention: - also tried nvidia 260.19.29 with proprietary installation scripts (NVIDIA-Linux-x86-260.19.29.run), same results. - running strace on Xorg sometimes avoids crash (strace -v -ttfix -o /tmp/Xorg.out -p <Xorg-PID>) Sorry I could not make Xorg dump core. Also attaching nvidia bug report.
Created attachment 42334 [details] nvidia-bug-report
This is not an NVIDIA driver bug. It looks like it will be fixed in xserver 1.9.5: commit 8369467c20746ee91ac8be78a43dc1990b01e056 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Thu Feb 10 15:35:14 2011 +0200 record: avoid crash when calling RecordFlushReplyBuffer recursively RecordFlushReplyBuffer can call itself recursively through WriteClient->CallCallbacks->_CallCallbacks->RecordFlushAllContexts when the recording client's buffer cannot be completely emptied in one WriteClient. When a such a recursion occurs, it will not be broken out of which results in segmentation fault when the stack is exhausted. This patch adds a counter (a flag, really) that guards against this situation, to break out of the recursion. One alternative to this change would be to change _CallCallbacks to check the corresponding counter before the callback loop, but that might affect existing behavior, which may be relied upon. Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 0801afbd7c2c644c672b37f8463f1a0cbadebd2e) record/record.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.