[Bug 94214] New: Segfault with amdgpu dri3 and 2d acceleration disabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 19 14:34:00 UTC 2016


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

            Bug ID: 94214
           Summary: Segfault with amdgpu dri3 and 2d acceleration disabled
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/AMDgpu
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: csaba.halasz at gmail.com
        QA Contact: xorg-team at lists.x.org

Running X with option AccelMethod "none" (possibly also option noaccel) causes
segfault if dri3 is enabled:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fc9a1c87db8 in amdgpu_dri3_pixmap_from_fd (screen=0x561f9d7c1e40,
fd=26, width=16, height=<optimized out>,
    stride=128, depth=<optimized out>, bpp=32 ' ') at
../../src/amdgpu_dri3.c:149
#2  0x0000561f9c32d289 in dri3_pixmap_from_fd
(ppixmap=ppixmap at entry=0x7ffc1c145628, screen=<optimized out>, fd=fd at entry=26,
    width=<optimized out>, height=<optimized out>, stride=128, depth=24 '\030',
bpp=32 ' ') at ../../dri3/dri3_screen.c:73
#3  0x0000561f9c32cdfa in proc_dri3_pixmap_from_buffer (client=0x561f9dc17e50)
at ../../dri3/dri3_request.c:162
#4  0x0000561f9c1fe12e in Dispatch () at ../../dix/dispatch.c:430
#5  0x0000561f9c201ecb in dix_main (argc=5, argv=0x7ffc1c145808,
envp=<optimized out>) at ../../dix/main.c:300
#6  0x00007fc9a50baead in __libc_start_main (main=<optimized out>,
argc=<optimized out>, ubp_av=<optimized out>,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7ffc1c1457f8) at libc-start.c:244
#7  0x0000561f9c1ec6b1 in _start ()

The offending line seems to be

if (screen->SetSharedPixmapBacking(pixmap, (void*)(intptr_t)fd))
        return pixmap;

Version info: Xorg 1.18, amdgpu git a3eac85d

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20160219/916b5b8b/attachment.html>


More information about the xorg-driver-ati mailing list