Bug 811741

Summary: [arrandale] X server crash: __glXDRIinvalidateBuffers (garbage screen)
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: ajax, atomic777, otaylor, rvokal, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-31 17:42:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
X log none

Description Bill Nottingham 2012-04-11 20:41:30 UTC
Description of problem:

Happened when opening the volume control in the shell. Seems pretty random.

[135806.295] Backtrace:
[135806.298] 0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x464d46]
[135806.298] 1: /usr/bin/Xorg (0x400000+0x69d99) [0x469d99]
[135806.298] 2: /lib64/libpthread.so.0 (0x3cd4600000+0xefe0) [0x3cd460efe0]
[135806.298] 3: /usr/lib64/xorg/modules/extensions/libglx.so (0x7ff0aaf59000+0x4
4e84) [0x7ff0aaf9de84]
[135806.298] 4: /usr/lib64/xorg/modules/extensions/libdri2.so (0x7ff0aa940000+0x
1bcc) [0x7ff0aa941bcc]
[135806.298] 5: /usr/lib64/xorg/modules/extensions/libdri2.so (0x7ff0aa940000+0x
1c28) [0x7ff0aa941c28]
[135806.298] 6: /usr/bin/Xorg (TraverseTree+0x29) [0x45bf99]
[135806.298] 7: /usr/lib64/xorg/modules/extensions/libdri2.so (DRI2SwapBuffers+0
x17a) [0x7ff0aa942caa]
[135806.298] 8: /usr/lib64/xorg/modules/extensions/libdri2.so (0x7ff0aa940000+0x
3f42) [0x7ff0aa943f42]
[135806.298] 9: /usr/bin/Xorg (0x400000+0x3439a) [0x43439a]
[135806.298] 10: /usr/bin/Xorg (0x400000+0x233e5) [0x4233e5]
[135806.298] 11: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x3cd4221735]
[135806.298] 12: /usr/bin/Xorg (0x400000+0x236bd) [0x4236bd]
[135806.298] 
[135806.298] Segmentation fault at address (nil)


Version-Release number of selected component (if applicable):

xorg-x11-server-Xorg-1.12.0-2.fc17.x86_64
kernel-3.3.0-8.fc17.x86_64
xorg-x11-drv-intel-2.18.0-1.fc17.x86_64
mesa-libGL-8.0.1-9.fc17.x86_64
mesa-dri-drivers-8.0.1-9.fc17.x86_64

How reproducible:

Happened at random.

Steps to Reproduce:
1. Switch users a few times
2. About 10 minutes later, open the volume control
  
Actual results:

It blew up.

Expected results:

Not that.

Comment 1 Bill Nottingham 2012-04-11 20:42:10 UTC
Created attachment 576882 [details]
X log

Comment 2 Bill Nottingham 2012-04-11 20:44:51 UTC
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)

Comment 3 Bill Nottingham 2012-04-11 20:47:40 UTC
Nothing from drm/kms in dmesg.

Comment 4 Bill Nottingham 2012-04-19 15:42:32 UTC
A real backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007f20de4eee84 in __glXDRIinvalidateBuffers (pDraw=0x4838a50, 
    priv=0x4a54450, id=33554437) at glxdri2.c:432
432	    if (screen->flush)
(gdb) print screen
$1 = (__GLXDRIscreen *) 0xf5f5f5f5f5f5f5f5
(gdb) bt
#0  0x00007f20de4eee84 in __glXDRIinvalidateBuffers (pDraw=0x4838a50, 
    priv=0x4a54450, id=33554437) at glxdri2.c:432
#1  0x00007f20ddc63bcc in DRI2InvalidateDrawable
(pDraw=pDraw@entry=0x4838a50)
    at dri2.c:590
#2  0x00007f20ddc63c28 in DRI2InvalidateWalk (pWin=0x4838a50,
data=0x4484f50)
    at dri2.c:842
#3  0x000000000045bf99 in TraverseTree (pWin=pWin@entry=0x44867d0, 
    func=func@entry=0x7f20ddc63be0 <DRI2InvalidateWalk>, 
    data=data@entry=0x4484f50) at window.c:326
#4  0x00007f20ddc64caa in DRI2SwapBuffers (client=client@entry=0x455d730, 
    pDraw=<optimized out>, target_msc=0, divisor=0, remainder=<optimized
out>, 
    swap_target=swap_target@entry=0x7fff5cd5b3b8, 
    func=func@entry=0x7f20ddc65700 <DRI2SwapEvent>, data=0x47f7f50)
    at dri2.c:960
#5  0x00007f20ddc65f42 in ProcDRI2SwapBuffers (client=0x455d730)
    at dri2ext.c:403
#6  ProcDRI2Dispatch (client=0x455d730) at dri2ext.c:569
#7  0x000000000043439a in Dispatch () at dispatch.c:439
#8  0x00000000004233e5 in main (argc=10, argv=0x7fff5cd5b5b8, 
    envp=<optimized out>) at main.c:287
(gdb)

Comment 5 Bill Nottingham 2012-04-19 15:44:30 UTC
0xf5f5f5f5 is MALLOC_CHECK/MALLOC_PERTURB_ bits, IIRC.

Comment 6 Bill Nottingham 2012-04-19 15:48:17 UTC
Trigger *appears* to be dropdowns from the shell top bar disappearing, among other things.

Comment 7 Bill Nottingham 2012-04-19 16:06:45 UTC
*** Bug 812120 has been marked as a duplicate of this bug. ***

Comment 8 Bill Nottingham 2012-07-09 21:06:32 UTC
Still happens with:

mesa-libGL-8.0.3-3.fc17.x86_64
xorg-x11-server-Xorg-1.12.2-4.fc17.x86_64
xorg-x11-drv-intel-2.19.0-5.fc17.x86_64
kernel-3.4.4-3.fc17.x86_64

Comment 9 Alex Tomic 2012-08-30 15:25:43 UTC
It looks like the same bug is affecting me as well, I think it happened when I was trying to call up the Empathy main window. Package versions:

mesa-libGL-8.0.3-3.fc17.x86_64
xorg-x11-server-Xorg-1.12.3-1.fc17.x86_64
xorg-x11-drv-intel-2.20.1-1.fc17.x86_64
kernel-3.5.2-3.fc17.x86_64

From the coredump:

(gdb) l
421	{
422	#if __DRI2_FLUSH_VERSION >= 3
423	    __GLXDRIdrawable *private = priv;
424	    __GLXDRIscreen *screen = private->screen;
425	
426	    if (screen->flush)
427	        (*screen->flush->invalidate) (private->driDrawable);
428	#endif
429	}
430	
(gdb) p screen
$1 = (__GLXDRIscreen *) 0x0
(gdb) bt
#0  0x0000003321035925 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00000033210370d8 in __GI_abort () at abort.c:91
#2  0x000000000046c86e in OsAbort () at utils.c:1207
#3  0x0000000000482d6c in ddxGiveUp (error=EXIT_ERR_ABORT) at xf86Init.c:1009
#4  0x0000000000468ef2 in AbortServer () at log.c:476
#5  0x00000000004690f5 in FatalError (f=f@entry=0x572db8 "Caught signal %d (%s). Server aborting\n") at log.c:611
#6  0x000000000046a2de in OsSigHandler (sip=<optimized out>, signo=11, unused=<optimized out>) at osinit.c:146
#7  OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at osinit.c:107
#8  <signal handler called>
#9  0x00007f5d704d3e84 in __glXDRIinvalidateBuffers (pDraw=0x454e180, priv=0x40fc930, id=52428805) at glxdri2.c:426
#10 0x00007f5d6fe77bcc in DRI2InvalidateDrawable (pDraw=pDraw@entry=0x454e180) at dri2.c:598
#11 0x00007f5d6fe77c28 in DRI2InvalidateWalk (pWin=0x454e180, data=0x3c57110) at dri2.c:844
#12 0x000000000045c459 in TraverseTree (pWin=pWin@entry=0x3c70ac0, func=func@entry=0x7f5d6fe77be0 <DRI2InvalidateWalk>, data=data@entry=0x3c57110)
    at window.c:315
#13 0x00007f5d6fe78caa in DRI2SwapBuffers (client=client@entry=0x20d1950, pDraw=<optimized out>, target_msc=0, divisor=0, remainder=<optimized out>, 
    swap_target=swap_target@entry=0x7fff812f2288, func=func@entry=0x7f5d6fe79700 <DRI2SwapEvent>, data=0x3fc6910) at dri2.c:964
#14 0x00007f5d6fe79f42 in ProcDRI2SwapBuffers (client=0x20d1950) at dri2ext.c:400
#15 ProcDRI2Dispatch (client=0x20d1950) at dri2ext.c:566
#16 0x000000000043444a in Dispatch () at dispatch.c:428
#17 0x0000000000423485 in main (argc=13, argv=0x7fff812f2488, envp=<optimized out>) at main.c:288

Comment 10 Fedora End Of Life 2013-07-03 19:21:05 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2013-07-31 17:43:03 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.