https://bugs.freedesktop.org/show_bug.cgi?id=97909
Bug ID: 97909 Summary: X-Plane 10 crashes with SIGSEGV on radeonsi Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: chris.bugsfd@broke-the-inter.net QA Contact: dri-devel@lists.freedesktop.org
Created attachment 126749 --> https://bugs.freedesktop.org/attachment.cgi?id=126749&action=edit Patch/Hack
The SIGSEGV is being raised because ib->buffer is NULL.
I don't know whether my solution is correct or not.
Is it okay to simply return if ib->buffer is NULL, is it okay to run those last lines of that if block if ib->buffer isn't NULL only, is it okay to call si_emit_draw_packets with ib->buffer being NULL, ...?
All I can say is that X-Plane is working fine with this patch/hack.