dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 32033] New: [r300g] valgrind Syscall param ioctl(generic) points to uninitialised byte(s) ioctl (syscall-template.S:82)
Date: Wed,  1 Dec 2010 18:38:49 -0800 (PST)	[thread overview]
Message-ID: <bug-32033-502@http.bugs.freedesktop.org/> (raw)

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@lists.freedesktop.org
        ReportedBy: vlee@vmware.com


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.

             reply	other threads:[~2010-12-02  2:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02  2:38 bugzilla-daemon [this message]
2010-12-02  3:19 ` [Bug 32033] [r300g] valgrind Syscall param ioctl(generic) points to uninitialised byte(s) ioctl (syscall-template.S:82) bugzilla-daemon
2010-12-04  9:10 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-32033-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox