[Bug 80355] DP MST problems with xrandr while re-docking

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 22 14:56:54 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80355

--- Comment #12 from Sree Harsha Totakura <freedesktop at h.totakura.in> ---
I get a new crash this time:

(gdb) core core-Xorg-11-0-0-3755-1403473466 
[New LWP 3755]
[New LWP 3760]
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7fff4feea000
Core was generated by `/usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0
-nolisten tcp vt7 -nov'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f4646f68b15 in strlen_sigsafe (s=0x4 <Address 0x4 out of bounds>) at
../../os/log.c:179
179    ../../os/log.c: No such file or directory.
(gdb) bt
#0  0x00007f4646f68b15 in strlen_sigsafe (s=0x4 <Address 0x4 out of bounds>) at
../../os/log.c:179
#1  pnprintf (size=1024, args=<optimized out>, f=0x7f464128c510 "%s: discarding
all damage %dx[(%d, %d], (%d, %d)]\n", 
    string=0x7fff4fedc580 "G") at ../../os/log.c:378
#2  LogVMessageVerbSigSafe (type=<optimized out>, verb=<optimized out>, 
    format=0x7f464128c510 "%s: discarding all damage %dx[(%d, %d], (%d,
%d)]\n", args=<optimized out>) at ../../os/log.c:678
#3  0x00007f4641143c8c in LogF (f=0x7f464128c510 "%s: discarding all damage
%dx[(%d, %d], (%d, %d)]\n") at sna_driver.c:1380
#4  0x00007f464112f98d in sna_pixmap_discard_shadow_damage
(priv=0x7f4648aea380, region=0x0) at sna_display.c:1275
#5  0x00007f46410d0ace in sna_pixmap_free_gpu (sna=0x7f4646ca4000,
priv=0x7f4648aea380) at sna_accel.c:485
#6  0x00007f46410d7015 in _sna_pixmap_move_to_cpu (pixmap=0x7f4648aea300,
flags=7) at sna_accel.c:2305
#7  0x00007f46410d89b4 in sna_drawable_move_region_to_cpu
(drawable=0x7f4648aea300, region=0x7fff4fedcff0, flags=5)
    at sna_accel.c:2692
#8  0x00007f46410e7454 in sna_copy_boxes (src=0x7f4648df3af0,
dst=0x7f4648aeb000, gc=0x7f4648c1cbb0, region=0x7fff4fedcff0, dx=-941, 
    dy=-521, bitplane=0, closure=0x0) at sna_accel.c:6596
#9  0x00007f46410e817e in sna_do_copy (src=0x7f4648df3af0, dst=0x7f4648aeb000,
gc=0x7f4648c1cbb0, sx=0, sy=0, width=40, height=40, 
    dx=941, dy=521, copy=0x7f46410e51c2 <sna_copy_boxes>, bitPlane=0,
closure=0x0) at sna_accel.c:6793
#10 0x00007f46410e8679 in sna_copy_area (src=0x7f4648df3af0,
dst=0x7f4648aeb000, gc=0x7f4648c1cbb0, src_x=0, src_y=0, width=40, 
    height=40, dst_x=941, dst_y=521) at sna_accel.c:6875
#11 0x00007f4646eea5a8 in damageCopyArea (pSrc=0x7f4648df3af0,
pDst=0x7f4648aeb000, pGC=0x7f4648c1cbb0, srcx=0, 
    srcy=<optimized out>, width=40, height=40, dstx=941, dsty=521) at
../../../miext/damage/damage.c:765
#12 0x00007f4646f3e6ba in miDCRestoreUnderCursor
(pDev=pDev at entry=0x7f4648bf19d0, pScreen=pScreen at entry=0x7f4648ab6f00, x=941, 
    y=521, w=40, h=40) at ../../mi/midispcur.c:447
#13 0x00007f4646f4d422 in miSpriteRemoveCursor (pDev=0x7f4648bf19d0,
pScreen=0x7f4648ab6f00) at ../../mi/misprite.c:844
#14 0x00007f4646f4e4cb in miSpriteReportDamage (pDamage=<optimized out>,
pRegion=0x7fff4fedd2a0, closure=0x7f4648ab6f00)
    at ../../mi/misprite.c:271
#15 0x00007f4646ee6b54 in DamageReportDamage
(pDamage=pDamage at entry=0x7f4648ab8830,
pDamageRegion=pDamageRegion at entry=0x7fff4fedd2a0)
    at ../../../miext/damage/damage.c:1913
#16 0x00007f4646ee6d61 in damageRegionAppend (pDrawable=0x7f4648e1b350,
pRegion=pRegion at entry=0x7fff4fedd300, clip=clip at entry=1, 
    subWindowMode=<optimized out>) at ../../../miext/damage/damage.c:264
#17 0x00007f4646ee7018 in damageDamageBox
(pDrawable=pDrawable at entry=0x7f4648e1b350, pBox=pBox at entry=0x7fff4fedd340, 
    subWindowMode=<optimized out>) at ../../../miext/damage/damage.c:320
#18 0x00007f4646ee8c60 in damagePolyFillRect (pDrawable=0x7f4648e1b350,
pGC=0x7f4648aea830, nRects=1, pRects=<optimized out>)
    at ../../../miext/damage/damage.c:1192
#19 0x00007f4646f3faa1 in miPaintWindow (pWin=<optimized out>,
pWin at entry=0x7f4648e1b350, prgn=prgn at entry=0x7f4648e6c3d0, 
    what=what at entry=0) at ../../mi/miexpose.c:641
#20 0x00007f4646f40375 in miWindowExposures (pWin=0x7f4648e1b350,
prgn=0x7f4648e6c3d0, other_exposed=0x0) at ../../mi/miexpose.c:470
#21 0x00007f4646f55538 in miHandleValidateExposures (pWin=0x7f4648aeb000) at
../../mi/miwindow.c:223
#22 0x00007f4646e39c50 in SetRootClip (pScreen=0x7f4648ab6f00, enable=1) at
../../dix/window.c:3610
#23 0x00007f4646e8b4e1 in xf86CursorEnableDisableFBAccess
(pScrn=0x7f4648aaef60, enable=1)
    at ../../../../hw/xfree86/ramdac/xf86Cursor.c:225
#24 0x00007f4646e4872a in xf86VTSwitch () at
../../../../hw/xfree86/common/xf86Events.c:555
#25 xf86Wakeup (blockData=<optimized out>, err=<optimized out>,
pReadmask=<optimized out>)
    at ../../../../hw/xfree86/common/xf86Events.c:288
#26 0x00007f4646e0f17d in WakeupHandler (result=result at entry=-1,
pReadmask=pReadmask at entry=0x7f46471fc8c0 <LastSelectMask>)
    at ../../dix/dixutils.c:423
#27 0x00007f4646f5a40f in WaitForSomething
(pClientsReady=pClientsReady at entry=0x7f4648df3020) at ../../os/WaitFor.c:229
#28 0x00007f4646e0a5c1 in Dispatch () at ../../dix/dispatch.c:362
#29 0x00007f4646e0e68a in dix_main (argc=10, argv=0x7fff4fedda58,
envp=<optimized out>) at ../../dix/main.c:294
#30 0x00007f46446adb45 in __libc_start_main (main=0x7f4646df9c00 <main>,
argc=10, argv=0x7fff4fedda58, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4fedda48)
at libc-start.c:287
#31 0x00007f4646df9c2e in _start ()
(gdb) bt full
#0  0x00007f4646f68b15 in strlen_sigsafe (s=0x4 <Address 0x4 out of bounds>) at
../../os/log.c:179
        len = 0
#1  pnprintf (size=1024, args=<optimized out>, f=0x7f464128c510 "%s: discarding
all damage %dx[(%d, %d], (%d, %d)]\n", 
    string=0x7fff4fedc580 "G") at ../../os/log.c:378
        length_modifier = <optimized out>
        f_idx = 1
        s_idx = 0
        f_len = 50
        string_arg = 0x4 <Address 0x4 out of bounds>
        si = <optimized out>
        p_len = <optimized out>
        number =
"+\000\000\000\000\000\000\000\360\305\355O\377\177\000\000\001\000\000\000"
        i = <optimized out>
        ui = <optimized out>
#2  LogVMessageVerbSigSafe (type=<optimized out>, verb=<optimized out>, 
    format=0x7f464128c510 "%s: discarding all damage %dx[(%d, %d], (%d,
%d)]\n", args=<optimized out>) at ../../os/log.c:678
        type_str = <optimized out>
        buf =
"G\000\000\000\001\000\000\000\033\000\000\000\000\000\000\000+\000\000\000\000\000\000\000\033\000\000\000\000\000\000\000+\000\000\000\000\000\000\000,\210\366FF\177\000\000__sn\001\000\000\000X\312\355O\377\177\000\000(1920,
1080)\n\000: 1\000\000iring bo handle=32 (needed flsna_pixmap_free_gpu:
handle=28 (pinned? 1)\n\000\060, busy? 0\n\000 syncing CPU bo\n\000\060,
stride=7680 "...
        newline = <optimized out>
#3  0x00007f4641143c8c in LogF (f=0x7f464128c510 "%s: discarding all damage
%dx[(%d, %d], (%d, %d)]\n") at sna_driver.c:1380
        ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area =
0x7fff4fedcac0, reg_save_area = 0x7fff4fedca00}}
#4  0x00007f464112f98d in sna_pixmap_discard_shadow_damage
(priv=0x7f4648aea380, region=0x0) at sna_display.c:1275
        sna = 0x7f4646ca4000
        __FUNCTION__ = "sna_pixmap_discard_shadow_damage"
#5  0x00007f46410d0ace in sna_pixmap_free_gpu (sna=0x7f4646ca4000,
priv=0x7f4648aea380) at sna_accel.c:485
        __FUNCTION__ = "sna_pixmap_free_gpu"
        __PRETTY_FUNCTION__ = "sna_pixmap_free_gpu"
#6  0x00007f46410d7015 in _sna_pixmap_move_to_cpu (pixmap=0x7f4648aea300,
flags=7) at sna_accel.c:2305
        sna = 0x7f4646ca4000
        priv = 0x7f4648aea380
        __FUNCTION__ = "_sna_pixmap_move_to_cpu"
        __PRETTY_FUNCTION__ = "_sna_pixmap_move_to_cpu"
#7  0x00007f46410d89b4 in sna_drawable_move_region_to_cpu
(drawable=0x7f4648aea300, region=0x7fff4fedcff0, flags=5)
    at sna_accel.c:2692
        pixmap = 0x7f4648aea300
        sna = 0x7f4646ca4000
        priv = 0x7f4648aea380
        dx = 0
        dy = 0
        __FUNCTION__ = "sna_drawable_move_region_to_cpu"
        __PRETTY_FUNCTION__ = "sna_drawable_move_region_to_cpu"
#8  0x00007f46410e7454 in sna_copy_boxes (src=0x7f4648df3af0,
dst=0x7f4648aeb000, gc=0x7f4648c1cbb0, region=0x7fff4fedcff0, dx=-941, 
    dy=-521, bitplane=0, closure=0x0) at sna_accel.c:6596
        mode = 5
        dst_bits = 0x7f4648c56f20
        src_bits = 0x7f46412818f0
        dst_stride = 48
        src_stride = 48
        src_pixmap = 0x7f4648df3af0
        src_priv = 0x7f4648df3a50
        dst_pixmap = 0x7f4648aea300
        dst_priv = 0x7f4648aea380
        sna = 0x7f4646ca4000
        damage = 0x7f46471eb600 <damageGCFuncs>
        bo = 0x0
        src_dx = -941
        src_dy = -521
        dst_dx = 0
        dst_dy = 0
        box = 0x7fff4fedcff0
        n = 1
        alu = 3
        stride = 32767
        bpp = 32
        bits = 0x7fff4fedcfa8 ""
        replaces = false
        __PRETTY_FUNCTION__ = "sna_copy_boxes"
        __FUNCTION__ = "sna_copy_boxes"
#9  0x00007f46410e817e in sna_do_copy (src=0x7f4648df3af0, dst=0x7f4648aeb000,
gc=0x7f4648c1cbb0, sx=0, sy=0, width=40, height=40, 
    dx=941, dy=521, copy=0x7f46410e51c2 <sna_copy_boxes>, bitPlane=0,
closure=0x0) at sna_accel.c:6793
        clip = 0x0
        region = {extents = {x1 = 941, y1 = 521, x2 = 981, y2 = 561}, data =
0x0}
        src_extents = {x1 = 0, y1 = 0, x2 = 40, y2 = 40}
        expose = false
---Type <return> to continue, or q <return> to quit---
        __FUNCTION__ = "sna_do_copy"
        __PRETTY_FUNCTION__ = "sna_do_copy"
#10 0x00007f46410e8679 in sna_copy_area (src=0x7f4648df3af0,
dst=0x7f4648aeb000, gc=0x7f4648c1cbb0, src_x=0, src_y=0, width=40, 
    height=40, dst_x=941, dst_y=521) at sna_accel.c:6875
        sna = 0x7f4646ca4000
        copy = 0x7f46410e51c2 <sna_copy_boxes>
        __FUNCTION__ = "sna_copy_area"
#11 0x00007f4646eea5a8 in damageCopyArea (pSrc=0x7f4648df3af0,
pDst=0x7f4648aeb000, pGC=0x7f4648c1cbb0, srcx=0, 
    srcy=<optimized out>, width=40, height=40, dstx=941, dsty=521) at
../../../miext/damage/damage.c:765
        ret = <optimized out>
        oldFuncs = 0x7f46471eb600 <damageGCFuncs>
#12 0x00007f4646f3e6ba in miDCRestoreUnderCursor
(pDev=pDev at entry=0x7f4648bf19d0, pScreen=pScreen at entry=0x7f4648ab6f00, x=941, 
    y=521, w=40, h=40) at ../../mi/midispcur.c:447
        pBuffer = <optimized out>
        pSave = <optimized out>
        pWin = 0x7f4648aeb000
        pGC = 0x7f4648c1cbb0
#13 0x00007f4646f4d422 in miSpriteRemoveCursor (pDev=0x7f4648bf19d0,
pScreen=0x7f4648ab6f00) at ../../mi/misprite.c:844
        pCursorInfo = 0x7f4648c230c8
        pScreen = 0x7f4648ab6f00
        pDev = 0x7f4648bf19d0
#14 0x00007f4646f4e4cb in miSpriteReportDamage (pDamage=<optimized out>,
pRegion=0x7fff4fedd2a0, closure=0x7f4648ab6f00)
    at ../../mi/misprite.c:271
        pScreen = 0x7f4648ab6f00
        pCursorInfo = <optimized out>
        pDev = 0x7f4648bf19d0
#15 0x00007f4646ee6b54 in DamageReportDamage
(pDamage=pDamage at entry=0x7f4648ab8830,
pDamageRegion=pDamageRegion at entry=0x7fff4fedd2a0)
    at ../../../miext/damage/damage.c:1913
        tmpBox = <optimized out>
        tmpRegion = {extents = {x1 = -11552, y1 = 20461, x2 = 32767, y2 = 0},
data = 0x7f4648e1b350}
        was_empty = <optimized out>
#16 0x00007f4646ee6d61 in damageRegionAppend (pDrawable=0x7f4648e1b350,
pRegion=pRegion at entry=0x7fff4fedd300, clip=clip at entry=1, 
    subWindowMode=<optimized out>) at ../../../miext/damage/damage.c:264
        pScreen = <optimized out>
        pDamage = 0x7f4648ab8830
        pNext = 0x0
        clippedRec = {extents = {x1 = 787, y1 = 463, x2 = 1133, y2 = 617}, data
= 0x0}
        pDamageRegion = 0x7fff4fedd2a0
        pixClip = {extents = {x1 = 0, y1 = 0, x2 = 1920, y2 = 1080}, data =
0x0}
        draw_x = 0
        draw_y = 0
        screen_x = <optimized out>
        screen_y = <optimized out>
#17 0x00007f4646ee7018 in damageDamageBox
(pDrawable=pDrawable at entry=0x7f4648e1b350, pBox=pBox at entry=0x7fff4fedd340, 
    subWindowMode=<optimized out>) at ../../../miext/damage/damage.c:320
        region = {extents = {x1 = 787, y1 = 463, x2 = 1133, y2 = 617}, data =
0x0}
#18 0x00007f4646ee8c60 in damagePolyFillRect (pDrawable=0x7f4648e1b350,
pGC=0x7f4648aea830, nRects=1, pRects=<optimized out>)
    at ../../../miext/damage/damage.c:1192
        box = {x1 = 787, y1 = 463, x2 = 1133, y2 = 617}
        pRectsTmp = <optimized out>
        nRectsTmp = <optimized out>
        oldFuncs = 0x7f46471eb600 <damageGCFuncs>
#19 0x00007f4646f3faa1 in miPaintWindow (pWin=<optimized out>,
pWin at entry=0x7f4648e1b350, prgn=prgn at entry=0x7f4648e6c3d0, 
    what=what at entry=0) at ../../mi/miexpose.c:641
        pScreen = <optimized out>
        gcval = {{val = 3, ptr = 0x3}, {val = 15592941, ptr = 0xededed}, {val =
0, ptr = 0x7f4600000000}, {val = 1190010108, 
            ptr = 0x7f4646ee1cfc <present_clip_notify+92>}, {val = 1340986400,
ptr = 0x7fff4fedd420}, {val = 1219407952, 
            ptr = 0x7f4648aeb050}}
        gcmask = 261
        pGC = 0x7f4648aea830
        i = <optimized out>
        pbox = <optimized out>
        prect = 0x7f4648abe610
        draw_x_off = 787
        draw_y_off = 463
        tile_x_off = <optimized out>
        tile_y_off = <optimized out>
        fill = <optimized out>
        solid = <optimized out>
        drawable = 0x7f4648e1b350
#20 0x00007f4646f40375 in miWindowExposures (pWin=0x7f4648e1b350,
prgn=0x7f4648e6c3d0, other_exposed=0x0) at ../../mi/miexpose.c:470
        expRec = {extents = {x1 = 0, y1 = 22, x2 = 0, y2 = 22}, data =
0x7f46471ed660 <RegionEmptyData>}
        clientInterested = <optimized out>
        exposures = 0x7f4648e6c3d0
#21 0x00007f4646f55538 in miHandleValidateExposures (pWin=0x7f4648aeb000) at
../../mi/miwindow.c:223
        pChild = 0x7f4648e1b350
        val = 0x7f4648e6c3d0
---Type <return> to continue, or q <return> to quit---
        WindowExposures = 0x7f4646f401a0 <miWindowExposures>
#22 0x00007f4646e39c50 in SetRootClip (pScreen=0x7f4648ab6f00, enable=1) at
../../dix/window.c:3610
        pWin = 0x7f4648aeb000
        pChild = <optimized out>
        WasViewable = 1
        anyMarked = <optimized out>
        pLayerWin = 0x7f4648de29a0
        box = <optimized out>
#23 0x00007f4646e8b4e1 in xf86CursorEnableDisableFBAccess
(pScrn=0x7f4648aaef60, enable=1)
    at ../../../../hw/xfree86/ramdac/xf86Cursor.c:225
        pDev = 0x7f4648bf19d0
        pScreen = 0x7f4648ab6f00
#24 0x00007f4646e4872a in xf86VTSwitch () at
../../../../hw/xfree86/common/xf86Events.c:555
        i = 0
        pInfo = <optimized out>
        ih = <optimized out>
#25 xf86Wakeup (blockData=<optimized out>, err=<optimized out>,
pReadmask=<optimized out>)
    at ../../../../hw/xfree86/common/xf86Events.c:288
        LastSelectMask = <optimized out>
        devicesWithInput = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
140734373058629, 139939812098048, 139939843480992, 
            139939843632896, 140734534374880, 139939716277427}}
        pInfo = <optimized out>
#26 0x00007f4646e0f17d in WakeupHandler (result=result at entry=-1,
pReadmask=pReadmask at entry=0x7f46471fc8c0 <LastSelectMask>)
    at ../../dix/dixutils.c:423
        i = <optimized out>
        j = <optimized out>
#27 0x00007f4646f5a40f in WaitForSomething
(pClientsReady=pClientsReady at entry=0x7f4648df3020) at ../../os/WaitFor.c:229
        i = -1
        waittime = {tv_sec = 585, tv_usec = 798477}
        wt = 0x7fff4fedd650
        timeout = <optimized out>
        clientsReadable = {fds_bits = {0 <repeats 16 times>}}
        clientsWritable = {fds_bits = {140734534375168, -3392621443132310784,
163, 32, 139939846957232, 0, 139939847085488, 
            139939814964541, 0, 32, 140734534375504, 139939847408384,
140734534375264, 0, 73014444064, 139939845336864}}
        selecterr = 4
        nready = 0
        devicesReadable = {fds_bits = {140734534375504, 32, 163, 1073741825,
139939843846144, 0, 139939843846560, 139939845336864, 
            139939847408384, 32, 0, 139939847085488, 140734534375504,
139939814966263, 163, 140734534375496}}
        now = <optimized out>
        someReady = 0
#28 0x00007f4646e0a5c1 in Dispatch () at ../../dix/dispatch.c:362
        clientReady = 0x7f4648df3020
        result = <optimized out>
        client = <optimized out>
        nready = <optimized out>
        icheck = 0x7f46471f58d0 <checkForInput>
        start_tick = <optimized out>
#29 0x00007f4646e0e68a in dix_main (argc=10, argv=0x7fff4fedda58,
envp=<optimized out>) at ../../dix/main.c:294
        i = <optimized out>
        alwaysCheckForInput = {0, 1}
#30 0x00007f46446adb45 in __libc_start_main (main=0x7f4646df9c00 <main>,
argc=10, argv=0x7fff4fedda58, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4fedda48)
at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -2997484005447636350,
139939813497861, 140734534376016, 0, 0, 
                2997237868451129986, 2948244738523458178}, mask_was_saved =
0}}, priv = {pad = {0x0, 0x0, 
              0x7f4646f6cbf0 <__libc_csu_init>, 0x7fff4fedda58}, data = {prev =
0x0, cleanup = 0x0, canceltype = 1190579184}}}
        not_first_call = <optimized out>
#31 0x00007f4646df9c2e in _start ()
No symbol table info available.
(gdb)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140622/da65b35b/attachment-0001.html>


More information about the intel-gfx-bugs mailing list