Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 292621

Summary: xorg segfaults and restarts after workspace switch
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: Current packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: critical CC: deduktionstheorem, x11
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: nvidia-bug-report as requested
Similar backtrace

Description Harris Landgarten 2009-11-10 01:09:13 UTC
Since upgrading to xorg-server-1,7.1 I get sporadic x11 restarts when switching workspaces. I am using  nvidia-drivers-190.42-r3. I am running 2 monitors using nvidia-settings. Graphics adapter is 8600 GTS. Backtrace from Xorg.0.log.old follows


Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x46dd98]
1: /usr/bin/X (0x400000+0x634c9) [0x4634c9]
2: /lib/libpthread.so.0 (0x7f3b5f64a000+0xf010) [0x7f3b5f659010]
3: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f3b5bc50000+0xa4aa2) [0x7f3b5bcf4aa2]
4: /usr/lib64/xorg/modules/libwfb.so (wfbBlt+0x11c7) [0x7f3b5b81a617]
5: /usr/lib64/xorg/modules/libwfb.so (wfbCopyNtoN+0x25f) [0x7f3b5b81e2af]
6: /usr/bin/X (miCopyRegion+0x283) [0x55c903]
7: /usr/bin/X (miDoCopy+0x449) [0x55ce09]
8: /usr/lib64/xorg/modules/libwfb.so (wfbCopyArea+0x4c) [0x7f3b5b81d5ac]
9: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (0x7f3b5bc50000+0x34d287) [0x7f3b5bf9d287]
10: /usr/bin/X (0x400000+0xc6d08) [0x4c6d08]
11: /usr/bin/X (0x400000+0x53d9c) [0x453d9c]
12: /usr/bin/X (0x400000+0x5523c) [0x45523c]
13: /usr/bin/X (0x400000+0x250fb) [0x4250fb]
14: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f3b5e287bbd]
15: /usr/bin/X (0x400000+0x24ca9) [0x424ca9]
Segmentation fault at address 0x7f3b4b88d200

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Reproducible: Sometimes

Steps to Reproduce:
1.switch workstpaces
2.
3.

Actual Results:  
xorg restarts

Expected Results:  
normal operation

paludis 0.42.2
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.4.2
        CXXFLAGS:               -march=core2 -O2 -pipe
        LDFLAGS:               -Wl,-O1
        DATE:                  2009-11-03T17:08:02-0500

    Libraries:
        C++ Library:           GNU libstdc++ 20091015

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

System:
    Linux harrisl-desktop 2.6.31-gentoo-r5 #1 SMP PREEMPT Fri Nov 6 20:52:43 EST 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux

Reduced Privs:
    reduced_uid:               101
    reduced_uid->name:         paludisbuild
    reduced_uid->dir:          /var/tmp/paludis
    reduced_gid:               1000
    reduced_gid->name:         paludisbuild

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository layman:
    format:                    unavailable
    location:                  /var/db/paludis/repositories/layman
    sync:                      tar+http://git.exherbo.org/layman_repositories.tar.bz2
    sync_options:              

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    names_cache:               /usr/portage/.cache/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/10.0/desktop
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       4.0_p35
        dev-java/java-config:  2.1.9-r1
        dev-lang/python:       2.5.4-r3 2.6.4 3.1.1-r1
        dev-python/pycrypto:   (none)
        dev-util/ccache:       (none)
        dev-util/cmake:        2.6.4-r3
        dev-util/confcache:    (none)
        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.10.2 1.11 1.7.9-r1 1.9.6-r2
        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 (for sys-kernel/linux-headers::installed)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    eapi_when_unknown:         0
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /

Repository installed-unpackaged:
    format:                    installed_unpackaged
    location:                  /var/paludis/installed-unpackaged
    root:                      /

Repository local_overlay:
    format:                    ebuild
    location:                  /usr/local/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/portage/.cache/names
    newsdir:                   /usr/local/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/10.0/desktop
    securitydir:               /usr/local/portage/metadata/glsa
    setsdir:                   /usr/local/portage/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository sunrise:
    format:                    ebuild
    location:                  /var/paludis/repositories/sunrise
    append_repository_name_to_write_cache: true
    binary_destination:        false
    binary_keywords:           
    binary_uri_prefix:         
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /var/paludis/repositories/sunrise/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/sunrise/.cache/names
    newsdir:                   /var/paludis/repositories/sunrise/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/10.0/desktop
    securitydir:               /var/paludis/repositories/sunrise/metadata/glsa
    setsdir:                   /var/paludis/repositories/sunrise/sets
    sync:                      svn://overlays.gentoo.org/proj/sunrise/reviewed/
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata
Comment 1 RĂ©mi Cardona (RETIRED) gentoo-dev 2009-11-10 16:08:01 UTC
@Doug, have you seen this before?

Thanks
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2009-11-10 17:12:17 UTC
Unique backtrace to me. Please use nvidia-bug-report.sh to create up some details of the issue. Attach the result here and forward it to linux-bugs@nvidia.com along with the Gentoo bug #
Comment 3 Harris Landgarten 2009-11-11 19:51:32 UTC
Created attachment 209935 [details]
nvidia-bug-report as requested
Comment 4 MarisN 2009-11-11 19:57:07 UTC
Created attachment 209937 [details]
Similar backtrace

I got similar backtrace on resume. X server resmued just OK, I got KDE screen locker password prompt and then X crashed. Attached nvidia.log is after X restarted (backtrace in X.log.old).

There seems to be similar backtrace reported for Arch linux: http://bbs.archlinux.org/viewtopic.php?pid=652255
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 20:48:31 UTC
It appears this bug was related to a change in X that wasn't fully documented for driver maintainers. This has been worked around in newer nvidia-drivers and X has been updated. This should be solved.