Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07888 Crash/Freeze Critical (emulator) Always Mar 1, 2021, 01:19 Apr 29, 2022, 05:58
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Windows Vista/7/8 (64-bit)
Status [?] Confirmed Driver cinemat.cpp
Version 0.229 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 07888: warrior: [debug] Assert after -bench or -str run
Description
Assertion failed: PRIMFLAG_GET_BLENDMODE(prim.flags) == BLENDMODE_NONE || PRIMFLAG_GET_BLENDMODE(prim.flags) == BLENDMODE_ALPHA, file ../../../../../src/emu/rendersw.hxx, line 528
Steps To Reproduce
Additional Information
Github Commit
Flags Debug build specific
Regression Version 0.223
Affected Sets / Systems warrior
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.20102
Robbbert
Developer
Apr 28, 2022, 10:36
Tested just now with debug build, no crash
User avatar
No.20119
Tafoid
Administrator
Apr 28, 2022, 20:27
edited on: Apr 28, 2022, 20:28
Still happens for me with 0.242 Debug build and release243 branch Debug build.
The line number changed but the issue is the same.

[MINGW64] R:\mame243>mamed warrior -bench 10
stream Default Resampler ':mono' changing rates 48000 -> 11025
stream Default Resampler ':soundboard' changing rates 48000 -> 11025
Speaker ':mono' Ch.0 @ 11025
  Default Resampler ':mono' Ch.0 @ 11025
    Warrior Sound Board ':soundboard' Ch.0 @ 11025
      Default Resampler ':soundboard' Ch.0 @ 11025
        Netlist Sound Device ':soundboard:sound_nl' Ch.0 @ 48000
Assertion failed: PRIMFLAG_GET_BLENDMODE(prim.flags) == BLENDMODE_NONE || PRIMFLAG_GET_BLENDMODE(prim.flags) == BLENDMODE_ALPHA, file R:/mame243/src/emu/rendersw.hxx, line 596

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
User avatar
No.20122
Robbbert
Developer
Apr 29, 2022, 05:07
Yes, I can reproduce it now

mamed warrior -bench 10 -artpath artwork

will crash as you say. But if there's some external artwork, it seems much happier.
User avatar
No.20124
Robbbert
Developer
Apr 29, 2022, 05:58
The problem appears to lie in the internal artwork. It was created by Aaron (which is where this bug started), and then updated by Vas 6 weeks later (and the bug was not detected).

Removing the artwork from cinemat.cpp gets rid of the assert, but I'm not an artwork expert - I cannot see anything wrong with it.