[Bug 18953] randr crashes server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 11 02:38:33 PDT 2011


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

--- Comment #3 from Christian Volkmann <haveaniceday at cv-sv.de> 2011-09-11 02:38:33 PDT ---
May be I can reproduce this bug on a openSUSE:

<https://bugzilla.novell.com/show_bug.cgi?id=716220>

It looks for me that xrandr does not resize the "system buffer"
(exa_migration_mixed.c)

> I have doubled the allocated memory at exa_migration_mixed.c line 205 for a
> test.
> The crash is gone. There are now copy of the images (shown by display) on 
> the other screen. 
> => The problems are more complex than missing increased buffers.

       /* Do we need to allocate our system buffer? */
        if (!pExaPixmap->sys_ptr) {
        pExaPixmap->sys_ptr = malloc(pExaPixmap->sys_pitch *
                                         pPixmap->drawable.height);
            if (!pExaPixmap->sys_ptr)
                FatalError("EXA: malloc failed for size %d bytes\n",
                           pExaPixmap->sys_pitch * pPixmap->drawable.height);
}

valgrind ( as root ) with the x-server showed a write after the buffer
"pExaPixmap->sys_ptr".
 But may be mine is a different error ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list