XOrg crash when restoring multiple windows on KWin with fglrx

Bug #1145854 reported by SiegeLord
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

When restoring multiple windows (I reproduced this with gnuplot windows, but I am not sure it is unique to gnuplot) on KWin while the effects are enabled I intermittently get a crash. Here is a backtrace generated via gdb:

#0 pixman_blt_sse2 (src_bits=src_bits@entry=0x7fadd61e4000, dst_bits=dst_bits@entry=0x7fadd5d01000,
    src_stride=<optimized out>, src_stride@entry=768, dst_stride=<optimized out>, dst_stride@entry=768,
    src_bpp=src_bpp@entry=32, src_x=src_x@entry=-40, src_y=src_y@entry=-40, dest_x=dest_x@entry=0, dest_y=dest_y@entry=0,
    width=width@entry=663, height=<optimized out>, height@entry=745, dst_bpp=<optimized out>)
    at ../../pixman/pixman-sse2.c:4524
#1 0x00007fadf67ea20f in sse2_blt (height=<optimized out>, width=<optimized out>, dest_y=<optimized out>,
    dest_x=<optimized out>, src_y=<optimized out>, src_x=<optimized out>, dst_bpp=<optimized out>,
    src_bpp=<optimized out>, dst_stride=<optimized out>, src_stride=<optimized out>, dst_bits=<optimized out>,
    src_bits=<optimized out>, imp=<optimized out>) at ../../pixman/pixman-sse2.c:5801
#2 sse2_blt (imp=0x7fadf81638a0, src_bits=0x7fadd61e4000, dst_bits=0x7fadd5d01000, src_stride=768, dst_stride=768,
    src_bpp=32, dst_bpp=32, src_x=-40, src_y=-40, dest_x=0, dest_y=0, width=663, height=745)
    at ../../pixman/pixman-sse2.c:5782
#3 0x00007fadf6782472 in pixman_blt (src_bits=src_bits@entry=0x7fadd61e4000, dst_bits=dst_bits@entry=0x7fadd5d01000,
    src_stride=src_stride@entry=768, dst_stride=dst_stride@entry=768, src_bpp=src_bpp@entry=32, dst_bpp=dst_bpp@entry=32,
    src_x=-40, src_y=-40, dest_x=0, dest_y=0, width=663, height=745) at ../../pixman/pixman.c:754
#4 0x00007fadf24a0b63 in fbCopyNtoN (pSrcDrawable=<optimized out>, pDstDrawable=<optimized out>, pGC=<optimized out>,
    pbox=0x7fff1de87600, nbox=<optimized out>, dx=626, dy=239, reverse=0, upsidedown=0, bitplane=0, closure=0x0)
    at ../../fb/fbcopy.c:85
#5 0x00007fadf0ccad81 in ?? () from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/glesx.so
#6 0x00007fadf0ccce45 in ?? () from /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/glesx.so
#7 0x00007fadf7a165d9 in damageComposite (op=<optimized out>, pSrc=0x7fadf97c04c0, pMask=0x0, pDst=0x7fadf9711800,
    xSrc=<optimized out>, ySrc=<optimized out>, xMask=0, yMask=0, xDst=0, yDst=0, width=663, height=745)
    at ../../../miext/damage/damage.c:559
#8 0x00007fadf79c9085 in compNewPixmap (pWin=pWin@entry=0x7fadf90ff2d0, x=626, y=239, w=663, h=<optimized out>)
    at ../../composite/compalloc.c:582
#9 0x00007fadf79c9ea6 in compAllocPixmap (pWin=pWin@entry=0x7fadf90ff2d0) at ../../composite/compalloc.c:605
#10 0x00007fadf79c85ec in compCheckRedirect (pWin=pWin@entry=0x7fadf90ff2d0) at ../../composite/compwindow.c:165
---Type <return> to continue, or q <return> to quit---
#11 0x00007fadf79c890c in compRealizeWindow (pWin=0x7fadf90ff2d0) at ../../composite/compwindow.c:265
#12 0x00007fadf79628c6 in RealizeTree (pWin=pWin@entry=0x7fadf8ffecf0) at ../../dix/window.c:2497
#13 0x00007fadf7965662 in MapWindow (client=0x7fadf907c1b0, pWin=0x7fadf8ffecf0) at ../../dix/window.c:2589
#14 MapWindow (pWin=0x7fadf8ffecf0, client=client@entry=0x7fadf907c1b0) at ../../dix/window.c:2544
#15 0x00007fadf79342d0 in ProcMapWindow (client=0x7fadf907c1b0) at ../../dix/dispatch.c:794
#16 0x00007fadf7939a91 in Dispatch () at ../../dix/dispatch.c:428
#17 0x00007fadf792856a in main (argc=11, argv=0x7fff1de87ae8, envp=<optimized out>) at ../../dix/main.c:295

Here is the output of fglrxinfo:

display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7900 Series
OpenGL version string: 4.2.11903 Compatibility Profile Context

Steps to reproduce:
1. Starting from a fresh Kubuntu 12.10 install, install the following programs/drivers: fglrx gnuplot-x11
2. Reboot.
3. Extract the attached bug_suite.tar.gz This just contains a few of my data plots and a command to plot them using gnuplot
4. Run ./plot_plots.sh This will generate a few gnuplot windows.
5. Press the show/hide desktop widget on the bottom panel repeatedly
6. Eventually (sometimes on the first restore, but sometimes I need to press it up to 5 times) X11 will crash when restoring those windows

This bug does not seem to happen with the effects turned off. It does, however, still happen with the newest AMD drivers (installed manually).

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xorg 1:7.7+1ubuntu4
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Mon Mar 4 22:09:47 2013
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
SiegeLord (siegelordex) wrote :
bugbot (bugbot)
tags: added: kubuntu
bugbot (bugbot)
affects: xorg (Ubuntu) → fglrx-installer (Ubuntu)
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.