compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from __memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-glcore.so.295.40 from glXBindTexImageEXT

Bug #995239 reported by D. Wegener
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Confirmed
High
Unassigned
compiz (Ubuntu)
Confirmed
High
Unassigned
nvidia-graphics-drivers (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I upgraded my system to 12.04 today. After reboot and login, my desktop initially displayed then a slow black screen wash happened from top to bottom. I waited several seconds and eventually the desktop came back with no panel or launcher. I received a crash popup and tried to send it, but the crash reporting process never completed.

I was able to restart X and login using the 2d desktop. The following is an excerpt from a crash file in /var/crash I can send the entire crash file if needed it is over 7mb.:
SegvAnalysis:
 Segfault happened at: 0x7fd4a957b7e5 <_wordcopy_fwd_aligned+181>: mov (%rsi),%rax
 PC (0x7fd4a957b7e5) ok
 source "(%rsi)" (0x7fd486ce3800) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading unknown VMA
SourcePackage: unity
Stacktrace:
 #0 _wordcopy_fwd_aligned (dstp=59130960, srcp=140550771456000, len=640) at wordcopy.c:80
         a0 = <optimized out>
         a1 = <optimized out>
 #1 0x00007fd4a9575635 in __memmove_sse2 (dest=0x3864450, src=<optimized out>, len=5120) at ../string/memmove.c:76
         dstp = <optimized out>
         srcp = <optimized out>
 #2 0x00007fd49c7f9753 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
 No symbol table info available.
 #3 0x00007fd49c7fa482 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
 No symbol table info available.
 #4 0x00007fd49c805e04 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
 No symbol table info available.
 #5 0x00007fd49c806551 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
 No symbol table info available.
 #6 0x00007fd49c903656 in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
 No symbol table info available.
 #7 0x00007fd49c62166c in ?? () from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40
 No symbol table info available.
 #8 0x00007fd49dd3ef1f in GLWindow::glDrawGeometry() () from /usr/lib/compiz/libopengl.so
 No symbol table info available.
 #9 0x00007fd49dd3ef91 in GLWindow::glDrawGeometry() () from /usr/lib/compiz/libopengl.so
 No symbol table info available.
 #10 0x00007fd49dd4160e in GLWindow::glDrawTexture(GLTexture*, GLFragment::Attrib&, unsigned int) () from /usr/lib/compiz/libopengl.so
 No symbol table info available.
 #11 0x00007fd49dd40b58 in GLWindow::glDrawTexture(GLTexture*, GLFragment::Attrib&, unsigned int) () from /usr/lib/compiz/libopengl.so
 No symbol table info available.
 #12 0x00007fd49dd41927 in GLWindow::glDraw(GLMatrix const&, GLFragment::Attrib&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libopengl.so
 No symbol table info available.
 #13 0x00007fd4969aca99 in UnityMTGrabHandlesWindow::glDraw(GLMatrix const&, GLFragment::Attrib&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libunitymtgrabhandles.so

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: compiz 1:0.9.7.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.40 Thu Apr 5 21:37:00 PDT 2012
 GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
.tmp.unity.support.test.0:

ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,resize,regex,move,imgpng,snap,gnomecompat,grid,place,mousepoll,vpswitch,animation,wall,unitymtgrabhandles,expo,ezoom,session,fade,workarounds,scale,unityshell]
CompositorRunning: None
Date: Sat May 5 14:59:25 2012
DistUpgraded: 2012-05-05 14:14:58,086 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 295.40, 3.0.0-17-generic, x86_64: installed
 nvidia-current, 295.40, 3.2.0-24-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.38-11-generic, x86_64: installed
 vboxhost, 4.0.4, 3.0.0-17-generic, x86_64: installed
 vboxhost, 4.0.4, 3.2.0-24-generic, x86_64: installed
GraphicsCard:
 NVIDIA Corporation C51G [GeForce 6100] [10de:0242] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. Device [1462:7207]
JockeyStatus:
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
 Bus 002 Device 003: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
MachineType: Gateway T6534
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=UUID=f6af97d1-9ee3-4edc-9a70-7e02129362cc ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: Upgraded to precise on 2012-05-05 (0 days ago)
dmi.bios.date: 03/10/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080012
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-7207G
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: 100
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080012:bd03/10/2006:svnGateway:pnT6534:pvrC00:rvnTobefilledbyO.E.M.:rnMS-7207G:rvr100:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: T6534
dmi.product.version: C00
dmi.sys.vendor: Gateway
version.compiz: compiz 1:0.9.7.6-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu35
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
D. Wegener (dpwegener) wrote :
summary: - compiz crashed with SIGSEGV in _wordcopy_fwd_aligned()
+ compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from
+ __memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-
+ glcore.so.295.40
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from __memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-glcore.so.295.40

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
affects: unity (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Changed in compiz (Ubuntu):
status: New → Confirmed
tags: added: compiz-0.9
affects: nvidia-drivers-ubuntu → compiz
Changed in compiz:
milestone: none → 0.9.8.4
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I am thinking this bug might be fixed by the fix for bug 927168, which was released to quantal a few days ago.

Changed in compiz:
milestone: 0.9.8.4 → 0.9.9.0
Changed in compiz:
importance: Undecided → High
Changed in nvidia-graphics-drivers (Ubuntu):
importance: Undecided → High
Changed in compiz (Ubuntu):
importance: Undecided → High
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Here's a more recent stack trace:
https://launchpadlibrarian.net/118214340/Stacktrace

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from __memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-glcore.so.295.40 in UnityMTGrabHandlesWindow::glDraw

I think we could be providing an invalid image to the driver. Not sure.

summary: compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from
__memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-
- glcore.so.295.40
+ glcore.so.295.40 in UnityMTGrabHandlesWindow::glDraw
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Hmm, nope. I've removed UnityMTGrabHandles::glDraw from the description as we're just painting a regular old tfp texture from xcomposite. This sounds like some kind of weird problem in the driver.

Can the reporters run nvidia-bug-report.sh ? It should be in your PATH by default.

summary: compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from
__memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-
- glcore.so.295.40 in UnityMTGrabHandlesWindow::glDraw
+ glcore.so.295.40
Revision history for this message
Jussi Pakkanen (jpakkane) wrote : Re: compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from __memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-glcore.so.295.40

Here's my NVidia bug log.

summary: compiz crashed with SIGSEGV in _wordcopy_fwd_aligned() from
__memmove_sse2() from ? /usr/lib/nvidia-current/libnvidia-
- glcore.so.295.40
+ glcore.so.295.40 from glXBindTexImageEXT
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Assuming comment #4 is an accurate indication of this bug, it looks like this was fixed in bug 1060327. So let it be a duplicate for now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.