09:28karolherbst: zink: running into use-after-frees on the resources in zink_context::need_barriers and I was wondering if you have any great ideas besides waiting on the refcounting rework or me adding references to any res added there...
09:30karolherbst: resources are used across different contexts, so not sure there can be much done about it anyway except adding references...
09:55karolherbst: oh wow.. this test also shows some massive perf problem somewhere...
09:55karolherbst: I should profile this
12:01sylware: Hi, me again, after further investigation, I did kind of work around the bug trigger.
12:02sylware: I can confirm the bug is triggered by this c++ code installing a new allocator.
12:05sylware: The mesa opengl bug triggering code is in "git diff 4f2b8e77134f04c3fe0fa0494153da682d28d796..dfe45d1b677e08d4a8553c4267942fe7475b46f5"
12:08sylware: The c++ code triggering the bug is generated with the macro: DECLARE_LINEAR_ALLOC_CXX_OPERATORS_TEMPLATE
12:08sylware: It is very probably a c++ compiler bug.
12:09sylware: I use gcc 13.2.
12:15sylware: If you fool around with the code of the new operator, the generated machine code does not trigger anymore the bug.