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

Bug#616389: xserver-xorg-video-radeon: Crashes when closing graphical VT ("(EE) RADEON(0): failed to set mode: Permission denied")



Accoding to gdb, the second server is called as�
�� drmDropMaster(fd=9)
and the first server calls
�� drmSetMaster(fd=9)

Switching between VT7 and VT8 a few times, they also are both called with�drmDropMaster(fd=9) and�drmSetMaster(fd=9).

Regards, Thue

2011/3/10 Michel D�er <daenzer@debian.org>
On Don, 2011-03-10 at 13:21 +0000, Thue Janus Kristensen wrote:
> 2011/3/10 Michel D�er <daenzer@debian.org>
> � � � � On Don, 2011-03-10 at 12:38 +0000, Thue Janus Kristensen
> � � � � wrote:
> � � � � > after "finish" on drmDropMaster on the second X server, I
> � � � � get the
> � � � � > value "-1".
>
>
> � � � � Can you get the value of errno as well?
>
>
> (gdb) finish
> [...]
> (gdb) print errno
> $6 = 9

That's EBADF, so apparently the file descriptor passed in is invalid. Is
it the same one that was passed to drmSetMaster?

--
Earthling Michel D�er � � � � � | � � � � � � � �http://www.vmware.com
Libre software enthusiast � � � � | � � � � �Debian, X and DRI developer


Reply to: