Project

General

Profile

Actions

Emulator Issues #13432

open

Memory error in x64Emitter.cpp

Added by inferrna 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
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

Game Name?

[Any game]

My system is Clear Linux, more in attachment.

Possible related to #13431


Files

sysinfo.txt (1.81 KB) sysinfo.txt System information inferrna, 12/13/2023 05:03 PM
Screenshot from 2023-12-13 21-00-12.webp (15.6 KB) Screenshot from 2023-12-13 21-00-12.webp Gdb output inferrna, 12/13/2023 05:03 PM
build.tar.xz (430 KB) build.tar.xz build directry inferrna, 12/13/2023 08:05 PM
Actions #1

Updated by JosJuice 5 months ago

That's... incredibly strange. I really don't know why that would happen.

Actions #2

Updated by inferrna 5 months ago

JosJuice wrote in #note-1:

That's... incredibly strange. I really don't know why that would happen.

That's a miracle which holy C++ gave us. Some heretics call it UB..
I see two possible reasons:

  1. My build options (in attachment)
  2. My system configuration (especially my enormous 48GB of memory and 10/20 cored CPU)
Actions #3

Updated by inferrna 5 months ago

This happens when ENABLE_LTO + gcc.
gcc w/o LTO and clang with and w/o LTO are working fine.

Actions #4

Updated by inferrna 5 months ago

Little update: clang LTO got segfault on "shutting down" stage. When running under gdb it can't start, just segfault like gcc. So, it looks like a race condition or something like that.

Actions

Also available in: Atom PDF