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

Bug#618622: xserver-xorg-core: crash when resizing screen while running a fullscreen application



2011/3/17 Michel Dänzer <daenzer@debian.org>:
> On Don, 2011-03-17 at 09:31 +0100, Michal Suchanek wrote:
>> 2011/3/17 Michel Dänzer <daenzer@debian.org>:
>> > On Don, 2011-03-17 at 00:46 +0100, Michal Suchanek wrote:
>> >>
>> >> Running a fullscreen d3d application that changes screen mode (such as
>> >> Vazteroids, in Wine) causes one screen to go blank and the other to
>> >> switch to the resolution the application requested.
>> >>
>> >> When I run my script that sets the main screen to native resolution and
>> >> reenables the other screen and exit the d3d application X crashes.
>> >
>> > Please try to provide more information about the crash. Preferably a
>> > full gdb backtrace, but at least an X log file with a backtrace.
>>
>> It's a double free (abort) so there is no backtrace in the log. There
>> is a gdb backtrace attached to the original report.
>
> Oh, I didn't notice the attachment, and you didn't mention it.
>
> Probably the fastest way to track down the problem would be to run the X
> server in valgrind.

A valgrind log showing some (probably unrelated) issues.

As I need to run the X server as root to run in valgrind the
environment is different and there is probably some piece missing.

I can't reproduce the crash as root with valgrind or without.

Thanks

Michal
 valgrind Xorg :1
==20619== Memcheck, a memory error detector
==20619== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==20619== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==20619== Command: Xorg :1
==20619== 

X.Org X Server 1.9.99.903 (1.10.0 RC 3)
Release Date: 2011-2-24
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
Current Operating System: Linux heretic 2.6.37-2-amd64 #1 SMP Sun Feb 27 10:12:22 UTC 2011 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.37-2-amd64 root=UUID=ae7d5095-c8b3-4205-af0e-032b0e124ec3 ro console=ttyS0,115200n8r console=tty0
Build Date: 25 February 2011  02:25:58PM
xorg-server 2:1.9.99.903-1 (Cyril Brulebois <kibi@debian.org>) 
Current version of pixman: 0.21.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu Mar 17 09:57:18 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) [KMS] Kernel modesetting enabled.
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893B7C4: drmModeGetCrtc (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9034BC4: drmmode_pre_init (drmmode_display.c:592)
==20619==    by 0x90319BE: RADEONPreInit_KMS (radeon_kms.c:630)
==20619==    by 0x46B949: InitOutput (xf86Init.c:519)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff0005c0 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893B63B: drmModeGetEncoder (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9034D79: drmmode_pre_init (drmmode_display.c:938)
==20619==    by 0x90319BE: RADEONPreInit_KMS (radeon_kms.c:630)
==20619==    by 0x46B949: InitOutput (xf86Init.c:519)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff000618 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893BA74: drmModeGetProperty (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9035058: drmmode_pre_init (drmmode_display.c:1013)
==20619==    by 0x90319BE: RADEONPreInit_KMS (radeon_kms.c:630)
==20619==    by 0x46B949: InitOutput (xf86Init.c:519)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff0005e8 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893BA74: drmModeGetProperty (in /lib/libdrm.so.2.4.0)
==20619==    by 0x903435F: drmmode_output_get_modes (drmmode_display.c:645)
==20619==    by 0x482AED: xf86ProbeOutputModes (xf86Crtc.c:1613)
==20619==    by 0x483517: xf86InitialConfiguration (xf86Crtc.c:2376)
==20619==    by 0x9034C5A: drmmode_pre_init (drmmode_display.c:1376)
==20619==    by 0x90319BE: RADEONPreInit_KMS (radeon_kms.c:630)
==20619==    by 0x46B949: InitOutput (xf86Init.c:519)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff000238 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893811B: drmCommandWriteRead (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9031A03: RADEONPreInit_KMS (radeon_kms.c:663)
==20619==    by 0x46B949: InitOutput (xf86Init.c:519)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff000700 is on thread 1's stack
==20619== 
==20619== Warning: noted but unhandled ioctl 0x641e with no size/direction hints
==20619==    This could cause spurious value errors to appear.
==20619==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893811B: drmCommandWriteRead (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9265DF3: ??? (in /lib/libdrm_radeon.so.1.0.0)
==20619==    by 0x9030AE9: RADEONScreenInit_KMS (radeon_kms.c:1144)
==20619==    by 0x42CF6A: AddScreen (dispatch.c:3890)
==20619==    by 0x46B39C: InitOutput (xf86Init.c:738)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff00064c is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893811B: drmCommandWriteRead (in /lib/libdrm.so.2.4.0)
==20619==    by 0x8F86586: RADEONEngineInit (radeon_accel.c:438)
==20619==    by 0x8FE6FD1: RADEONDrawInitCP (radeon_exa_funcs.c:920)
==20619==    by 0x8F86B9C: RADEONAccelInit (radeon_accel.c:1086)
==20619==    by 0x9030C79: RADEONScreenInit_KMS (radeon_kms.c:948)
==20619==    by 0x42CF6A: AddScreen (dispatch.c:3890)
==20619==    by 0x46B39C: InitOutput (xf86Init.c:738)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff000604 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893BA74: drmModeGetProperty (in /lib/libdrm.so.2.4.0)
==20619==    by 0x90345B6: drmmode_output_create_resources (drmmode_display.c:741)
==20619==    by 0x489CF3: xf86RandR12Init (xf86RandR12.c:1552)
==20619==    by 0x4850D1: xf86CrtcScreenInit (xf86Crtc.c:781)
==20619==    by 0x9030E03: RADEONScreenInit_KMS (radeon_kms.c:1015)
==20619==    by 0x42CF6A: AddScreen (dispatch.c:3890)
==20619==    by 0x46B39C: InitOutput (xf86Init.c:738)
==20619==    by 0x42559C: main (main.c:205)
==20619==  Address 0x7ff000528 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x90352EC: drmmode_copy_fb (drmmode_display.c:175)
==20619==    by 0x90354FD: drmmode_set_desired_modes (drmmode_display.c:1427)
==20619==    by 0x90312F7: RADEONCreateScreenResources_KMS (radeon_kms.c:167)
==20619==    by 0x4852A6: xf86CrtcCreateScreenResources (xf86Crtc.c:724)
==20619==    by 0x4255FB: main (main.c:217)
==20619==  Address 0x7ff000754 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C27A: drmModeSetCrtc (in /lib/libdrm.so.2.4.0)
==20619==    by 0x90335C8: drmmode_set_mode_major (drmmode_display.c:355)
==20619==    by 0x90355E7: drmmode_set_desired_modes (drmmode_display.c:1471)
==20619==    by 0x90312F7: RADEONCreateScreenResources_KMS (radeon_kms.c:167)
==20619==    by 0x4852A6: xf86CrtcCreateScreenResources (xf86Crtc.c:724)
==20619==    by 0x4255FB: main (main.c:217)
==20619==  Address 0x7ff00059c is on thread 1's stack
==20619== 
==20619== Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s)
==20619==    at 0x690507A: setsockopt (syscall-template.S:82)
==20619==    by 0x4E3274C: udev_monitor_filter_update (in /lib/libudev.so.0.10.0)
==20619==    by 0x4E32864: udev_monitor_enable_receiving (in /lib/libudev.so.0.10.0)
==20619==    by 0x9032D5B: drmmode_uevent_init (drmmode_display.c:1595)
==20619==    by 0x9031306: RADEONCreateScreenResources_KMS (radeon_kms.c:170)
==20619==    by 0x4852A6: xf86CrtcCreateScreenResources (xf86Crtc.c:724)
==20619==    by 0x4255FB: main (main.c:217)
==20619==  Address 0x7ff000742 is on thread 1's stack
==20619== 
==20619== Conditional jump or move depends on uninitialised value(s)
==20619==    at 0x6DA3290: inflateReset2 (in /usr/lib/libz.so.1.2.3.4)
==20619==    by 0x6DA337F: inflateInit2_ (in /usr/lib/libz.so.1.2.3.4)
==20619==    by 0x5B5BB05: BufFilePushZIP (in /usr/lib/libXfont.so.1.4.1)
==20619==    by 0x5B57655: FontFileOpen (in /usr/lib/libXfont.so.1.4.1)
==20619==    by 0x5B68CE3: ??? (in /usr/lib/libXfont.so.1.4.1)
==20619==    by 0x5B59B45: ??? (in /usr/lib/libXfont.so.1.4.1)
==20619==    by 0x5B5ABFF: FontFileOpenFont (in /usr/lib/libXfont.so.1.4.1)
==20619==    by 0x43A219: doOpenFont (dixfonts.c:285)
==20619==    by 0x43A6BE: OpenFont (dixfonts.c:466)
==20619==    by 0x43A782: SetDefaultFont (dixfonts.c:135)
==20619==    by 0x425678: main (main.c:231)
==20619== 
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple definitions of the FOUR_LEVEL_KEYPAD key type
>                   Earlier definition ignored
Errors from xkbcomp are not fatal to the X server
(EE) Microsoft Microsoft® Digital Media oard 3000: failed to initialize for relative axes.
==20619== Warning: noted but unhandled ioctl 0x541e with no size/direction hints
==20619==    This could cause spurious value errors to appear.
==20619==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==20619== Syscall param ioctl(generic) points to unaddressable byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0xB1B543B: ??? (in /usr/lib/xorg/modules/input/wacom_drv.so)
==20619==    by 0xB1AD973: ??? (in /usr/lib/xorg/modules/input/wacom_drv.so)
==20619==    by 0xB1ADCF7: ??? (in /usr/lib/xorg/modules/input/wacom_drv.so)
==20619==    by 0x44ED2B: EnableDevice (devices.c:390)
==20619==    by 0x46DC7D: xf86NewInputDevice (xf86Xinput.c:820)
==20619==    by 0x511516: device_added (udev.c:194)
==20619==    by 0x511BED: config_udev_init (udev.c:295)
==20619==    by 0x46C288: config_init (config.c:39)
==20619==    by 0x46AED4: InitInput (xf86Init.c:823)
==20619==    by 0x425722: main (main.c:259)
==20619==  Address 0x1 is not stack'd, malloc'd or (recently) free'd
==20619== 
==20619== Warning: noted but unhandled ioctl 0x541e with no size/direction hints
==20619==    This could cause spurious value errors to appear.
==20619==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.

^Z
==20619== Syscall param writev(vector[...]) points to uninitialised byte(s)
==20619==    at 0x68FCF0B: writev (writev.c:51)
==20619==    by 0x49AB6B: _XSERVTransSocketWritev (Xtranssock.c:2174)
==20619==    by 0x4611FC: FlushClient (io.c:937)
==20619==    by 0x461DA8: FlushAllOutput (io.c:681)
==20619==    by 0x43344F: Dispatch (dispatch.c:452)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0xb0798ac is 12 bytes inside a block of size 4,096 alloc'd
==20619==    at 0x4C2380C: calloc (vg_replace_malloc.c:467)
==20619==    by 0x461C10: WriteToClient (io.c:1078)
==20619==    by 0x432E08: ProcEstablishConnection (dispatch.c:3656)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893B6A3: drmModeGetFB (in /lib/libdrm.so.2.4.0)
==20619==    by 0x90352C4: drmmode_copy_fb (drmmode_display.c:170)
==20619==    by 0x90354FD: drmmode_set_desired_modes (drmmode_display.c:1427)
==20619==    by 0x9030729: RADEONEnterVT_KMS (radeon_kms.c:1056)
==20619==    by 0x516520: xf86XVEnterVT (xf86xv.c:1325)
==20619==    by 0x489EAC: xf86RandR12EnterVT (xf86RandR12.c:1739)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==  Address 0x7ff000284 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x90352EC: drmmode_copy_fb (drmmode_display.c:175)
==20619==    by 0x90354FD: drmmode_set_desired_modes (drmmode_display.c:1427)
==20619==    by 0x9030729: RADEONEnterVT_KMS (radeon_kms.c:1056)
==20619==    by 0x516520: xf86XVEnterVT (xf86xv.c:1325)
==20619==    by 0x489EAC: xf86RandR12EnterVT (xf86RandR12.c:1739)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7ff0002c4 is on thread 1's stack
==20619== 
==20619== Invalid read of size 1
==20619==    at 0x4C25A20: strncpy (mc_replace_strmem.c:339)
==20619==    by 0x9033572: drmmode_set_mode_major (drmmode_display.c:135)
==20619==    by 0x90355E7: drmmode_set_desired_modes (drmmode_display.c:1471)
==20619==    by 0x9030729: RADEONEnterVT_KMS (radeon_kms.c:1056)
==20619==    by 0x516520: xf86XVEnterVT (xf86xv.c:1325)
==20619==    by 0x489EAC: xf86RandR12EnterVT (xf86RandR12.c:1739)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7832040 is 0 bytes inside a block of size 9 free'd
==20619==    at 0x4C240FD: free (vg_replace_malloc.c:366)
==20619==    by 0x512714: xf86DeleteMode (xf86Mode.c:1984)
==20619==    by 0x4829DF: xf86ProbeOutputModes (xf86Crtc.c:1574)
==20619==    by 0x4896A3: xf86RandR12GetInfo12 (xf86RandR12.c:1514)
==20619==    by 0x4B9120: RRGetInfo (rrinfo.c:202)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619== 
==20619== Invalid read of size 1
==20619==    at 0x4C25A40: strncpy (mc_replace_strmem.c:339)
==20619==    by 0x9033572: drmmode_set_mode_major (drmmode_display.c:135)
==20619==    by 0x90355E7: drmmode_set_desired_modes (drmmode_display.c:1471)
==20619==    by 0x9030729: RADEONEnterVT_KMS (radeon_kms.c:1056)
==20619==    by 0x516520: xf86XVEnterVT (xf86xv.c:1325)
==20619==    by 0x489EAC: xf86RandR12EnterVT (xf86RandR12.c:1739)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7832041 is 1 bytes inside a block of size 9 free'd
==20619==    at 0x4C240FD: free (vg_replace_malloc.c:366)
==20619==    by 0x512714: xf86DeleteMode (xf86Mode.c:1984)
==20619==    by 0x4829DF: xf86ProbeOutputModes (xf86Crtc.c:1574)
==20619==    by 0x4896A3: xf86RandR12GetInfo12 (xf86RandR12.c:1514)
==20619==    by 0x4B9120: RRGetInfo (rrinfo.c:202)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C3E5: drmModeMoveCursor (in /lib/libdrm.so.2.4.0)
==20619==    by 0x549D3B: xf86_set_cursor_position (xf86Cursors.c:388)
==20619==    by 0x54C081: xf86SetCursor (xf86HWCurs.c:152)
==20619==    by 0x54A4FF: xf86CursorSetCursor (xf86Cursor.c:350)
==20619==    by 0x54A9D1: xf86CursorEnableDisableFBAccess (xf86Cursor.c:235)
==20619==    by 0x4743AF: xf86Wakeup (xf86Events.c:532)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7ff000270 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C42A: drmModeSetCursor (in /lib/libdrm.so.2.4.0)
==20619==    by 0x549D68: xf86_set_cursor_position (xf86Cursors.c:307)
==20619==    by 0x54C081: xf86SetCursor (xf86HWCurs.c:152)
==20619==    by 0x54A4FF: xf86CursorSetCursor (xf86Cursor.c:350)
==20619==    by 0x54A9D1: xf86CursorEnableDisableFBAccess (xf86Cursor.c:235)
==20619==    by 0x4743AF: xf86Wakeup (xf86Events.c:532)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7ff000268 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C42A: drmModeSetCursor (in /lib/libdrm.so.2.4.0)
==20619==    by 0x548E41: xf86_hide_cursors (xf86Cursors.c:281)
==20619==    by 0x54A62B: xf86CursorSetCursor (xf86Cursor.c:309)
==20619==    by 0x54A98F: xf86CursorEnableDisableFBAccess (xf86Cursor.c:219)
==20619==    by 0x48A711: xf86RandR12ScreenSetSize (xf86RandR12.c:683)
==20619==    by 0x4B5BA1: ProcRRSetScreenSize (rrscreen.c:301)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7ff000618 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C4F7: drmModeAddFB (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9033AD5: drmmode_xf86crtc_resize (drmmode_display.c:1237)
==20619==    by 0x48A4BA: xf86RandR12ScreenSetSize (xf86RandR12.c:686)
==20619==    by 0x4B5BA1: ProcRRSetScreenSize (rrscreen.c:301)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7ff000630 is on thread 1's stack
==20619== 
==20619== Invalid read of size 1
==20619==    at 0x4C25A20: strncpy (mc_replace_strmem.c:339)
==20619==    by 0x9033572: drmmode_set_mode_major (drmmode_display.c:135)
==20619==    by 0x9033B85: drmmode_xf86crtc_resize (drmmode_display.c:1270)
==20619==    by 0x48A4BA: xf86RandR12ScreenSetSize (xf86RandR12.c:686)
==20619==    by 0x4B5BA1: ProcRRSetScreenSize (rrscreen.c:301)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7836fa0 is 0 bytes inside a block of size 9 free'd
==20619==    at 0x4C240FD: free (vg_replace_malloc.c:366)
==20619==    by 0x512714: xf86DeleteMode (xf86Mode.c:1984)
==20619==    by 0x4829DF: xf86ProbeOutputModes (xf86Crtc.c:1574)
==20619==    by 0x4896A3: xf86RandR12GetInfo12 (xf86RandR12.c:1514)
==20619==    by 0x4B9120: RRGetInfo (rrinfo.c:202)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619== 
==20619== Invalid read of size 1
==20619==    at 0x4C25A40: strncpy (mc_replace_strmem.c:339)
==20619==    by 0x9033572: drmmode_set_mode_major (drmmode_display.c:135)
==20619==    by 0x9033B85: drmmode_xf86crtc_resize (drmmode_display.c:1270)
==20619==    by 0x48A4BA: xf86RandR12ScreenSetSize (xf86RandR12.c:686)
==20619==    by 0x4B5BA1: ProcRRSetScreenSize (rrscreen.c:301)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7836fa1 is 1 bytes inside a block of size 9 free'd
==20619==    at 0x4C240FD: free (vg_replace_malloc.c:366)
==20619==    by 0x512714: xf86DeleteMode (xf86Mode.c:1984)
==20619==    by 0x4829DF: xf86ProbeOutputModes (xf86Crtc.c:1574)
==20619==    by 0x4896A3: xf86RandR12GetInfo12 (xf86RandR12.c:1514)
==20619==    by 0x4B9120: RRGetInfo (rrinfo.c:202)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C4F7: drmModeAddFB (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9033885: drmmode_crtc_shadow_allocate (drmmode_display.c:468)
==20619==    by 0x48C075: xf86CrtcRotate (xf86Rotate.c:438)
==20619==    by 0x9033371: drmmode_set_mode_major (drmmode_display.c:340)
==20619==    by 0x485B01: xf86CrtcSetModeTransform (xf86Crtc.c:302)
==20619==    by 0x48A235: xf86RandR12CrtcSet (xf86RandR12.c:1200)
==20619==    by 0x4B388F: RRCrtcSet (rrcrtc.c:328)
==20619==    by 0x4B3F6A: ProcRRSetCrtcConfig (rrcrtc.c:947)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7fefffe90 is on thread 1's stack
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C42A: drmModeSetCursor (in /lib/libdrm.so.2.4.0)
==20619==    by 0x549BA6: xf86_set_cursor_position (xf86Cursors.c:281)
==20619==    by 0x5498B3: xf86_reload_cursors (xf86Cursors.c:663)
==20619==    by 0x903365D: drmmode_set_mode_major (drmmode_display.c:378)
==20619==    by 0x485B01: xf86CrtcSetModeTransform (xf86Crtc.c:302)
==20619==    by 0x48A235: xf86RandR12CrtcSet (xf86RandR12.c:1200)
==20619==    by 0x4B388F: RRCrtcSet (rrcrtc.c:328)
==20619==    by 0x4B3F6A: ProcRRSetCrtcConfig (rrcrtc.c:947)
==20619==    by 0x4334D0: Dispatch (dispatch.c:431)
==20619==    by 0x42575A: main (main.c:287)
==20619==  Address 0x7feffffa8 is on thread 1's stack
==20619== 
==20619== Conditional jump or move depends on uninitialised value(s)
==20619==    at 0x8F61CD2: RADEONInit3DEngine (radeon_commonfuncs.c:77)
==20619==    by 0x8FFBE7F: R300PrepareCompositeCP (radeon_exa_render.c:1494)
==20619==    by 0x969C864: exaTryDriverComposite (exa_render.c:759)
==20619==    by 0x969CF59: exaComposite (exa_render.c:1033)
==20619==    by 0x4CCF7F: damageComposite (damage.c:613)
==20619==    by 0x48BD8A: xf86RotateBlockHandler (xf86Rotate.c:117)
==20619==    by 0x43A9BF: BlockHandler (dixutils.c:385)
==20619==    by 0x464E0B: WaitForSomething (WaitFor.c:219)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==    by 0x42575A: main (main.c:287)
==20619== 
==20619== Syscall param ioctl(generic) points to uninitialised byte(s)
==20619==    at 0x68FCE27: ioctl (syscall-template.S:82)
==20619==    by 0x8937ED7: drmIoctl (in /lib/libdrm.so.2.4.0)
==20619==    by 0x893C27A: drmModeSetCrtc (in /lib/libdrm.so.2.4.0)
==20619==    by 0x9035637: drmmode_set_desired_modes (drmmode_display.c:1437)
==20619==    by 0x9030729: RADEONEnterVT_KMS (radeon_kms.c:1056)
==20619==    by 0x516520: xf86XVEnterVT (xf86xv.c:1325)
==20619==    by 0x489EAC: xf86RandR12EnterVT (xf86RandR12.c:1739)
==20619==    by 0x82FDE2B: glxDRIEnterVT (glxdri2.c:616)
==20619==    by 0x474371: xf86Wakeup (xf86Events.c:527)
==20619==    by 0x43AAFA: WakeupHandler (dixutils.c:419)
==20619==    by 0x464E9E: WaitForSomething (WaitFor.c:235)
==20619==    by 0x4331D1: Dispatch (dispatch.c:367)
==20619==  Address 0x7ff0002ac is on thread 1's stack
==20619== 



Reply to: