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

          Priority: medium
            Bug ID: 65173
          Assignee: mesa-dev@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: vro...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to