Bug 27601

Summary: X org crashes on screen resolution
Product: xorg Reporter: Maciej Piechotka <uzytkownik2>
Component: Driver/intelAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Maciej Piechotka 2010-04-12 04:57:02 UTC
Sometimes on screen resolution changes (via XRandR) X crashes. Stracktrace from core:


Thread 1 (Thread 5233):
#0  0x00007fbd1615f1b5 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1  0x00007fbd161605e0 in *__GI_abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, 
          sa_mask = {__val = {0, 3, 0, 0, 0, 140450095905552, 140450126467072, 
              0, 4294967295, 140450905217093, 1, 8184064, 0, 2, 34650256, 0}}, 
          sa_flags = 398968018, sa_restorer = 0x1}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x000000000046a62e in OsAbort () at utils.c:1321
No locals.
#3  0x0000000000468ccd in AbortServer () at log.c:418
No locals.
#4  0x00000000004695f0 in FatalError (
    f=0x587b68 "Caught signal %d (%s). Server aborting\n") at log.c:546
        args = {{gp_offset = 24, fp_offset = 48, 
            overflow_arg_area = 0x7fff7ff69060, 
            reg_save_area = 0x7fff7ff68fa0}}
        beenhere = 1
#5  0x0000000000465bde in OsSigHandler (signo=11, sip=0x20, 
    unused=<value optimized out>) at osinit.c:156
No locals.
#6  <signal handler called>
No symbol table info available.
#7  0x00007fbd1413dda9 in drm_intel_bo_unreference (bo=0x41d40a0)
    at intel_bufmgr.c:80
No locals.
#8  0x00007fbd14379808 in drmmode_xf86crtc_resize (scrn=<value optimized out>, 
    width=1, height=<value optimized out>) at drmmode_display.c:1309
        xf86_config = <value optimized out>
        drmmode = 0x210b890
        old_front = 0x41d40a0
        ret = <value optimized out>
        screen = 0x215db70
        old_fb_id = 37
        i = 2
        pitch = 1792
        old_width = 1024
        old_height = 768
        old_pitch = 1024
#9  0x0000000000493520 in xf86RandR12ScreenSetSize (pScreen=0x215db70, 
    width=<value optimized out>, height=<value optimized out>, 
    mmWidth=<value optimized out>, mmHeight=<value optimized out>)
    at xf86RandR12.c:709
        randrp = 0x3828180
        pScrn = 0x210b030
        config = 0x210bfc0
        pRoot = 0x384baf0
        pScrnPix = 0x3849d00
        ret = <value optimized out>
        c = <value optimized out>
#10 0x00000000004b755d in ProcRRSetScreenSize (client=0x3beb520)
    at rrscreen.c:307
        pWin = 0x384baf0
        pScreen = 0x215db70
        i = <value optimized out>
        rc = 0
#11 0x0000000000457a34 in Dispatch () at dispatch.c:439
        result = 0
        client = 0x3beb520
        nready = 0
        start_tick = 23440
#12 0x0000000000424d75 in main (argc=<value optimized out>, argv=0x7ebc28, 
    envp=<value optimized out>) at main.c:286
        i = 1
        alwaysCheckForInput = {0, 1}

Additionally on enter/exit from/to openttd the artifacts on screen are shown.

Linux Kernel 2.6.33
GLibc 2.11
Comment 1 Gordon Jin 2010-05-11 01:42:05 UTC
maybe bug#27285?

Are you using composite window manager?
Comment 2 Chris Wilson 2010-05-11 02:08:47 UTC
Bug #27922 has a reproducible test case that doesn't require a compositing WM, and one of the possible errors is exactly this assertion.

*** This bug has been marked as a duplicate of bug 27922 ***

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.