Bug 65511 - SIGSEV while resizing google-chrome
Summary: SIGSEV while resizing google-chrome
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 14:40 UTC by Clemens Eisserer
Modified: 2013-06-07 15:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Clemens Eisserer 2013-06-07 14:40:41 UTC
The following crash happens from time to time when resizing google-chrome displaying a flash-based website. I should add that chrome behaves quite strange as soon as it loads flash-based content since a few days (not sure whether a chrome-update or updated mesa caused this).

All components are from Fedora-19-Beta updates-testing repository, except for the intel-driver which is: 2.21.9-4-g7e1e18a

0x000000000046acb8 in AttendClient (client=0x143dcc0) at connection.c:1187
1187	   int connection = oc->fd;
(gdb) bt full
#0  0x000000000046acb8 in AttendClient (client=0x143dcc0) at connection.c:1187
        oc = <optimized out>
        connection = <optimized out>
#1  0x00000000005672a9 in DRI2WakeClient (tv_usec=0, tv_sec=0, frame=0, 
    pDraw=0x13c4e30, client=0x13fc580) at dri2.c:1028
        pScreen = 0xedd740
        pPriv = 0x143f040
#2  DRI2SwapComplete (client=0x13fc580, pDraw=pDraw@entry=0x13c4e30, 
    frame=frame@entry=0, tv_sec=tv_sec@entry=0, tv_usec=tv_usec@entry=0, 
    type=type@entry=2, swap_complete=0x568390 <DRI2SwapEvent>, 
    swap_data=0x13c4e30) at dri2.c:1070
        pScreen = 0xedd740
        pPriv = <optimized out>
        ust = 0
        box = {x1 = 0, y1 = 0, x2 = <optimized out>, y2 = <optimized out>}
        region = {extents = {x1 = 0, y1 = 0, x2 = 201, y2 = 532}, data = 0x0}
        __func__ = "DRI2SwapComplete"
#3  0x00007fb20bb3051c in sna_dri_immediate_blit (
    sna=sna@entry=0x7fb20a1ee000, info=info@entry=0x1389650, 
    sync=<optimized out>, sync@entry=false, event=event@entry=true)
    at sna_dri.c:1558
        draw = 0x13c4e30
        ret = false
#4  0x00007fb20bb30c1a in sna_dri_schedule_swap (client=0x13fc580, 
    draw=0x13c4e30, front=<optimized out>, back=0x13af770, 
    target_msc=0x7fff83b093d8, divisor=<optimized out>, remainder=0, 
    func=0x568390 <DRI2SwapEvent>, data=0x13c4e30) at sna_dri.c:2105
        sync = false
        vbl = {request = {
            type = (DRM_VBLANK_HIGH_CRTC_MASK | DRM_VBLANK_FLIP | unknown: 35577856), sequence = 32690, signal = 140402650701824}, reply = {
            type = (DRM_VBLANK_HIGH_CRTC_MASK | DRM_VBLANK_FLIP | unknown: 35577856), sequence = 32690, tval_sec = 140402650701824, 
            tval_usec = 168878114078720}}
        pipe = <optimized out>
        info = 0x1389650
        current_msc = 1
#5  0x000000000056767b in DRI2SwapBuffers (client=client@entry=0x13fc580, 
    pDraw=0x13c4e30, target_msc=0, divisor=0, remainder=<optimized out>, 
    swap_target=swap_target@entry=0x7fff83b093d8, 
    func=func@entry=0x568390 <DRI2SwapEvent>, data=0x13c4e30) at dri2.c:1178
        pScreen = 0xedd740
        pPriv = 0x143f040
        pDestBuffer = 0x13b0830
        pSrcBuffer = <optimized out>
        ret = <optimized out>
        i = <optimized out>
        ust = 3392162556
        current_msc = 39320
        __func__ = "DRI2SwapBuffers"
#6  0x0000000000568d43 in ProcDRI2SwapBuffers (client=0x13fc580)
    at dri2ext.c:413
        rep = {type = 1 '\001', pad1 = 0 '\000', sequenceNumber = 67, 
          length = 0, swap_hi = 0, swap_lo = 0, pad2 = 0, pad3 = 0, pad4 = 0, 
          pad5 = 0}
        remainder = <optimized out>
        swap_target = 39320
        status = <optimized out>
        stuff = 0x1434490
        pDrawable = 0x13c4e30
        target_msc = <optimized out>
        divisor = <optimized out>
#7  ProcDRI2Dispatch (client=0x13fc580) at dri2ext.c:610
        stuff = 0x1434490
#8  0x0000000000436df7 in Dispatch () at dispatch.c:432
        clientReady = 0x1155390
        result = <optimized out>
        client = 0x13fc580
        nready = 0
        icheck = 0x814330 <checkForInput>
        start_tick = 460
#9  0x00000000004263fa in main (argc=8, argv=0x7fff83b095d8, 
    envp=<optimized out>) at main.c:298
        i = <optimized out>
        alwaysCheckForInput = {0, 1}
Comment 1 Chris Wilson 2013-06-07 14:46:23 UTC
Sounds like:

commit e85271e516f811c60f440de61995cc5baf469a47
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jun 7 13:35:48 2013 +0100

    sna/dri: Do not decouple the flip after chaining up a blit

should do the trick. Sorry, messing around with hairy code...
Comment 2 Clemens Eisserer 2013-06-07 14:52:46 UTC
Thanks :)


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.