Comment # 19 on bug 917385 from
mmap fails in hw/xfree86/drivers/modesetting/drmmode_display.c/dumb_bo_map()

    map = mmap(0, bo->size, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
arg.offset);
    if (map == MAP_FAILED)
        return -errno;

(gdb) p bo->size
$16 = 16384
(gdb) p fd
$17 = 10
(gdb) p arg.offset
$19 = 4299685888

(gdb) bt
#0  dumb_bo_map (fd=10, bo=0x8290030) at dumb_bo.c:88
#1  0xb767a11e in drmmode_map_cursor_bos (pScrn=pScrn@entry=0x8290850,
drmmode=drmmode@entry=0x8291158) at drmmode_display.c:1742
#2  0xb7675678 in CreateScreenResources (pScreen=0x8290070) at driver.c:889
#3  0x080f915b in xf86CrtcCreateScreenResources (screen=0x8290070) at
xf86Crtc.c:709
#4  0x08084313 in dix_main (argc=argc@entry=1, argv=argv@entry=0xbffff624,
envp=envp@entry=0xbffff62c) at main.c:223
#5  0x0806e12e in main (argc=1, argv=0xbffff624, envp=0xbffff62c) at
stubmain.c:34


You are receiving this mail because: