[Mesa-dev] [PATCH 1/4] gallium/u_queue: fix random crashes when the app calls exit()

Michel Dänzer michel at daenzer.net
Thu Feb 23 06:44:06 UTC 2017

On 22/02/17 06:05 AM, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> This fixes:
>     vdpauinfo: ../lib/CodeGen/TargetPassConfig.cpp:579: virtual void
>     llvm::TargetPassConfig::addMachinePasses(): Assertion `TPI && IPI &&
>     "Pass ID not registered!"' failed.
> v2: use list_head, switch the call order in destroy
> Cc: 13.0 17.0 <mesa-stable at lists.freedesktop.org>

Hold the press.

Unfortunately, this broke the piglit tests

glx at glx_ext_import_context@import context, multi process
glx at glx_ext_import_context@make current, single process

so this appears unsafe for apps which call fork().

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list