Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

A random jumpjet crush on phobos

Open ststl-s opened this issue 3 years ago • 5 comments

First check

  • [X] The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • [X] I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • [X] I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

Description

At the beginning of this mission, there is a kirov airship that would be crush onto the golden gate bridge, unfortunately, there is a player who used a modified rules found out the kirov would always crush——the mission itself——rather than onto the bridge. Yes, he set the kirov to explode on the air (Crushable=no), the game would not be into fatal error at that stage, so it is for sure a jumpjet crush. So we made some measures to find out the problem, the original rules is ok, so the problem is related to his modify (that would be listed below), and the original ares is ok, so the problem is taken by phobos. Then we found the problem is between b23 to b24, there is something changed here and around the "image altswap" and "anim layer", however, the problem is still unknown. The fatal error can only be repeated on his computer, but there was nothing happened on the others. From the dmp, we found the problem is about shadow drawing. The player who found the problem changed his rules and found out the problem is from the Hunter-Seeker which he changed its three explosion anim into one who has a customed palette, without this there would not be the problem. So in general, Hunter-Seeker's explosion anim changing would be related with jumpjet crush, maybe there would be something unknown between them, perhaps, anim layer problem?

Phobos Version

b24, b25, b26, b27, b28

Conditions to reproduce

Win10 Mental Omega 3.3.6 Soviet 02 Ares Phobos-b24/25/26/27/28 cncddraw

INI code

[SUNB]
Explosion=SUNBURN2

2443=SUNBURN2

[SunburstBombWH]
AnimList=SUNBURN2

In art:
[SUNBURN2]
Translucent=no
UseNormalLight=yes
Report=Explosion15
Crater=yes
Scorch=yes
CustomPalette=tianim.pal

Steps to reproduce

  1. Add a explosion anim to [SUNB]
  2. Fatal error

Expected behaviour

When kirov dead (Projectile explode moment) cause Fatal Error EIP 0x7BAEA1 (XSurface::GetPixel) QQ图片20220704183947

Actual behaviour

Mental Omega Soviet 02

Additional context

snapshot-20220703-231333.zip extcrashdump.dmp exceed upload file size limit.

ststl-s avatar Jul 04 '22 10:07 ststl-s

image Appear Appear from these commit(Not sure, but b23 is no such problem)

ststl-s avatar Jul 04 '22 10:07 ststl-s

Given that the crash appears to be in voxel shadow drawing code, I believe the reproduction steps are in fact incorrect and have nothing to do with the issue at hand. Reinforced by the fact that I cannot reproduce this issue at all.

Starkku avatar Jul 20 '22 12:07 Starkku

I can't reproduce this fatal error too. It may be caused by illegal memory access in other functions, such as array out of bounds. And he said that the problem was no longer cause by hunterseeker's anim now but still appear.

ststl-s avatar Jul 20 '22 13:07 ststl-s

Did he modify the Kirov art entries too? To be more specific, what are the values of UseBuffer= and DisableShadowCache=?

mevitar avatar Jul 22 '22 21:07 mevitar

Did he modify the Kirov art entries too? To be more specific, what are the values of UseBuffer= and DisableShadowCache=?

Nope. tmp

ststl-s avatar Jul 23 '22 08:07 ststl-s

So is the problem reproducible? If it's not we should close it until we find a way to reproduce it consistently.

Metadorius avatar Aug 16 '22 15:08 Metadorius

Also isn't #655 the same issue?

Metadorius avatar Aug 16 '22 15:08 Metadorius

Also isn't #655 the same issue?

I believe they are the same issue yes.

Starkku avatar Aug 16 '22 15:08 Starkku

This problem occurs randomly and occurs when the projectile that can kill ZEP is about to hit.

At present, he can only confirm that it will not happen if he does not use Phobos.

Close this issue first. If anyone else has the same problem, check this issue again.

ststl-s avatar Aug 16 '22 17:08 ststl-s