Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Smoking to death in Deus Ex: The Conspiracy crashes PCSX2 #12112

Open
NattyNarwhal opened this issue Dec 23, 2024 · 21 comments
Open

[BUG]: Smoking to death in Deus Ex: The Conspiracy crashes PCSX2 #12112

NattyNarwhal opened this issue Dec 23, 2024 · 21 comments

Comments

@NattyNarwhal
Copy link

Describe the Bug

Smoking in Deus Ex: The Conspiracy damages the player; one can die from the damage that is self-inflicted from smoking. Just like real life. However, real life lung cancer is slow and debilitating. This just crashes PCSX2 immediately. This happens with both latest stable and nightly as of writing this.

Screen recording of this happening:

Screen.Recording.2024-12-23.at.12.03.21.AM.mov

Reproduction Steps

  1. Be sufficiently low health. 50 or below, as cigarettes do 10 damage.
  2. Smoke all the cigarettes that you got in your inventory, until you die.
  3. Watch PCSX2 crash.

Expected Behavior

For the player to die in the game instead of the emulator crashing.

PCSX2 Revision

v2.3.71

Operating System

macOS 14 (Sonoma)

If Linux - Specify Distro

No response

CPU

M1 Pro

GPU

M1 Pro

GS Settings

I reset these to default w/o any change.

Emulation Settings

I reset these to default w/o any change.

GS Window Screenshots

No response

Logs & Dumps

macOS crash report:

PCSX2-2024-12-22-235605.ips.zip

emulog:

emulog.txt

@NattyNarwhal NattyNarwhal changed the title [BUG]: Smoking to death in Deus Ex: The Conspiracy crashes [BUG]: Smoking to death in Deus Ex: The Conspiracy crashes PCSX2 Dec 23, 2024
@DigitalStarSys
Copy link

DigitalStarSys commented Dec 23, 2024

Can second that this bug also occurs on the latest development version (fresh install) on Windows 11.

@F0bes
Copy link
Member

F0bes commented Dec 23, 2024

Thanks for the report, the game appears to be TLB missing.
Can you verify that your game dump hash matches one on redump? You can do this in the game properties menu in PCSX2.

@F0bes F0bes added the Core label Dec 23, 2024
@DigitalStarSys
Copy link

Image

Can confirm, at least here, that it passes the check.

@NattyNarwhal
Copy link
Author

Image

Likewise, looks fine.

@Mrlinkwii
Copy link
Contributor

are you using any patches

@NattyNarwhal
Copy link
Author

Game properties says there aren't any patches available, so I assume not.

@sirocyl
Copy link

sirocyl commented Dec 23, 2024

Can back this up, also crashing when attempting to smoke to death from the items menu. Does not occur when smoking to death outside of the menu.

PCSX2 fresh master build and 2.2.0 build, deps all built in-tree each time as per the CI script, Ubuntu 24.04.1 under WSL.

@Mrlinkwii
Copy link
Contributor

can i have a memcard around teh area it happens

@Mrlinkwii Mrlinkwii removed the OS: Mac label Dec 23, 2024
@NattyNarwhal
Copy link
Author

Seems to happen in any area, but this is the latest area I tested in. Load the latest save in Hong Kong. You should be able to damage yourself (get police to shoot you or use explosives) sufficiently from there.

MC2.ps2.zip

@Mrlinkwii
Copy link
Contributor

the reason it crashes is TLB misses

@F0bes
Copy link
Member

F0bes commented Dec 23, 2024

the reason it crashes is TLB misses

You're 15 hours late..

#12112 (comment)

@TheTechnician27
Copy link
Contributor

TheTechnician27 commented Dec 23, 2024

I'm unable to reproduce this on the Flatpak v2.3.63 (I'm using all the cigarettes, either from the inventory or while I have them equipped), and I even picked up the extra cigarettes on the ground to try exhausting them again. The console log reveals no TLB misses either. Therefore I'm either doing something very wrong or this happens because of a bug post-2.3.63.

Edit: I accidentally forgor 💀 that I had to die while testing. Yeah, it crashes really badly for me; froze PCSX2 and my desktop with it. (Manjaro using the Flatpak)

@sirocyl
Copy link

sirocyl commented Dec 23, 2024

I'm unable to reproduce this on the Flatpak v2.3.63 (I'm using all the cigarettes, either from the inventory or while I have them equipped)

The issue isn't in exhausting cigarettes - it is from dying to a cigarette while in the menu.

From a loaded memcard save, you would have to also take damage to bring yourself within 50hp (I used a gas grenade for this).

I'll provide a savestate file from my attempt, but no guarantee it'll work on all pcsx2 versions: SLUS-20111 (3AD6CF7E).01.p2s.zip

@Goatman13
Copy link
Contributor

TLB Miss is result of issues that happen earlier. Game jump to 0x00 from 0x138EC8.

@thelastangryman1907
Copy link

Let's try some word association. candy bar

@GitHubProUser67
Copy link

The game jumping at 0x00 is a red flag to me, can you test the game on the current SoftFloat pull request on this link? -> #12001

Remember to use the interpreters with any soft float options ticked.

Also apply them at game boot, it is very common to pre-calculate these.

@Goatman13
Copy link
Contributor

The game jumping at 0x00 is a red flag to me, can you test the game on the current SoftFloat pull request on this link? -> #12001

Remember to use the interpreters with any soft float options ticked.

Also apply them at game boot, it is very common to pre-calculate these.

No change.

@F0bes
Copy link
Member

F0bes commented Dec 27, 2024

Maybe we have run into an icache issue?

@Goatman13
Copy link
Contributor

Maybe we have run into an icache issue?

I tried with cache emulation enabled, and it didn't work for me.

@F0bes
Copy link
Member

F0bes commented Dec 27, 2024

That's only dcache. I guess we'd have to see if it's trying to execute recently written to code.

@LoStraniero91
Copy link

LoStraniero91 commented Dec 30, 2024

This doesn't happen in the PAL version. Could it be a bug exclusive to the USA version?

Tested on v2.3.83

2024-12-30.21-14-11.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants