[Mesa-dev] [Bug 65173] New: segfault in _mesa_get_format_datatype and _mesa_get_color_read_type when state dumping with glretrace

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 30 05:10:37 PDT 2013


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

          Priority: medium
            Bug ID: 65173
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: segfault in _mesa_get_format_datatype and
                    _mesa_get_color_read_type when state dumping with
                    glretrace
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: vrodic at gmail.com
          Hardware: All
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

Created attachment 80036
  --> https://bugs.freedesktop.org/attachment.cgi?id=80036&action=edit
fix

when using glretrace to dump the GL state, sometimes
_mesa_get_color_read_format and _mesa_get_color_read_type can access
uninitialized ctx->ReadBuffer->_ColorReadBuffer

To reproduce run:

glretrace -D 137078 wine-preloader.137078.trace

trace file is here: 
http://mjesec.ffzg.hr/~vrodic/dota/wine-preloader.137078.trim.trace.bz2

I've attached a sample patch to fix the bug (probably incorrect) and a gdb
backtrace .

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130530/0b118ec2/attachment.html>


More information about the mesa-dev mailing list