[Bug 18953] randr crashes server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #3 from Christian Volkmann <haveaniceday@xxxxxxxx> 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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux