Project

General

Profile

Emulator Issues #9164

Random crashes caused by a potential memory corruption

Added by delroth almost 4 years ago.

Status:
Accepted
Priority:
High
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

FifoCI found a random assertion failure in https://fifoci.dolphin-emu.org/media/dff/WiiPlayFindMii.dff

The Intel OGL runner randomly fails because chan.diffusefunc has an unknown/invalid value while generating a lighting shader UID. It causes flakiness on unrelated PRs, which is suboptimal :)

Either it should be always broken (because the game does use an unknown/invalid diffuse lighting function... which would be interesting) or always working. The randomness makes me think we have a tricky race condition / uninitialized memory condition somewhere. Given that FifoCI runs in single core mode I'd say uninitialized memory or corruption is more likely.

Unfortunately xfmem is not part of my core dump so I can't provide much more info. If you can't repro, let me know and I can provide you with an environment where repro is definitely possible.

Also available in: Atom PDF