Zz9000 P96 driver Mu Hit with DISPLAYCHAIN=NO

I have rechecked this on 1.13 of the FW/drivers as well as with latest P96 3.4.1 and still get the same issue. From the IRC chat with Chain|Q:
https://mntre.com/amiga-irc-logs/2022-04-02.log.html

“based on the hit, and the offset, I think SetGC() is called with NULL ModeInfo in this case, so when the driver tries to read mode_info->Width, it hits. (0x12 offset is Width in the ModeInfo struct, and that’s the first read there, also A1 is NULL in your hit regdump) Now, in turn SetSwitch() (gonna assume only called with DISPLAYCHAIN=NO) in the driver calls SetGC(), with b->ModeInfo as. argument, but in turn SetGC() b->ModeInfo is set inside SetGC() first… So if that’s some first “init” call, and SetSwitch is called first, ModeInfo could be NULL there, and there’s your hit. this is entirely just by reading the code, but I’m pretty confident something like this happens.”

Based on above would this be able to get fixed?

1 Like