[Bug 32033] New: [r300g] valgrind Syscall param ioctl(generic) points to uninitialised byte(s) ioctl (syscall-template.S:82)

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

 



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

           Summary: [r300g] valgrind Syscall param ioctl(generic) points
                    to uninitialised byte(s) ioctl (syscall-template.S:82)
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@xxxxxxxxxxxxxxxxxxxxx
        ReportedBy: vlee@xxxxxxxxxx


mesa: de3ff5af49369d187d88e5399f388c6e48c5384f (master)

chipset: RV530 71C5 (ATI Radeon X1600)
system architecture: i686
libdrm-dev: 2.4.21-1ubuntu2.1
kernel version: 2.6.35-23-generic
Linux distribution: Ubuntu 10.10 i386

This valgrind error appears with any piglit test.


$ valgrind --track-origins=yes ./bin/crash-cubemap-order -auto
==29125== Memcheck, a memory error detector
==29125== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==29125== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==29125== Command: ./bin/crash-cubemap-order -auto
==29125== 
radeon: Successfully grabbed chipset info from kernel!
radeon: DRM version: 2.5.0 ID: 0x71c5 GB: 1 Z: 2
radeon: GART size: 509 MB VRAM size: 128 MB
radeon: HyperZ: NO
==29125== Syscall param ioctl(generic) points to uninitialised byte(s)
==29125==    at 0x43BEF49: ioctl (syscall-template.S:82)
==29125==    by 0x4478B3A: drmCommandWriteRead (in /lib/libdrm.so.2.4.0)
==29125==    by 0x570BE5D: radeon_cs_manager_gem_ctor (radeon_cs_gem.c:526)
==29125==    by 0x4BE3357: radeon_setup_winsys (radeon_r300.c:271)
==29125==    by 0x4BE296E: r300_drm_winsys_screen_create (radeon_drm.c:203)
==29125==    by 0x4BE1E35: create_screen (target.c:13)
==29125==    by 0x530C06C: dri2_init_screen (dri2.c:524)
==29125==    by 0x4CFE5E2: dri2CreateNewScreen (dri_util.c:875)
==29125==    by 0x407482F: dri2CreateScreen (dri2_glx.c:819)
==29125==    by 0x404F131: __glXInitialize (glxext.c:760)
==29125==    by 0x404C26E: glXGetFBConfigs (glxcmds.c:1530)
==29125==    by 0x404E402: glXChooseFBConfig (glxcmds.c:1490)
==29125==  Address 0xbebdfad4 is on thread 1's stack
==29125==  Uninitialised value was created by a stack allocation
==29125==    at 0x570BDE3: radeon_cs_manager_gem_ctor (radeon_cs_gem.c:532)

-- 
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