• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Jarkhen

Recruit
16 Badges
Aug 29, 2016
9
6
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon

Integrity​

I have verified my game files (on Steam)​

Yes

I have disabled all mods​

No

Required​

Summary​

Linux-only crash when using change_tag effect to specific tag

Description​

On Linux only, executing change_tag to a specific tag, that has gotten somehow "broken"(? see more details below), results in a crash with a stack trace like the following:

Application: EUIV
Version: EU4 v1.36.2.0 Byzantium
Date/Time: 2024-01-16 12:40:10

Caught signal 11 (SIGSEGV)

Original Stack Trace:
./eu4(_ZN11CEventScopeC2ERKS_+0x2e) [0xdadad6]
./eu4(_ZN8CCountry13SetCountryTagE11CCountryTagb+0x8be) [0xf94f04]
./eu4(_ZN10CGameState10ChangeTagsER11CCountryTagS1_+0x151f) [0x141854b]
./eu4(_ZNK16CChangeTagEffect7ExecuteER11CEventScopei+0xa5) [0x12da38b]
./eu4(_ZNK7CEffect7ExecuteER11CEventScopei+0x5d) [0x12c2e2f]
./eu4(_ZNK23CExecuteDecisionCommand7ExecuteEv+0x7fb) [0x114f0b9]
./eu4() [0x207c2c8]
./eu4() [0x2096a31]
./eu4(_ZN10CRandomLog16CallstackPaddingERKSt8functionIFvvEE+0x2f) [0x20969ef]
./eu4(_ZN8CSession15ProcessCommandsEv+0x235) [0x207a483]
./eu4(_ZN8CSession6UpdateEv+0xfa) [0x2079ca0]
./eu4(_ZN15CEU4Application6UpdateEv+0x63) [0xee1d7d]
./eu4(_ZN12CInGameIdler4IdleEb+0x5a6) [0x14b1d22]
./eu4(_ZN12CApplication14UpdateOneFrameEb+0x12d) [0x2035105]
./eu4(_ZN12CApplication3RunEv+0x27) [0x20355c7]
./eu4(main+0x1c88) [0x14f737d]
/usr/lib/libc.so.6(+0x27cd0) [0x7fc3a3845cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fc3a3845d8a]
./eu4(_start+0x2a) [0xd8a11a]

Demangled Stack Trace:
./eu4 ( CEventScope::CEventScope(CEventScope const&) + 0x2e ) [0xdadad6]
./eu4 ( CCountry::SetCountryTag(CCountryTag, bool) + 0x8be ) [0xf94f04]
./eu4 ( CGameState::ChangeTags(CCountryTag&, CCountryTag&) + 0x151f) [0x141854b]
./eu4 ( CChangeTagEffect::Execute(CEventScope&, int) const + 0xa5 ) [0x12da38b]
./eu4 ( CEffect::Execute(CEventScope&, int) const + 0x5d ) [0x12c2e2f]
./eu4 ( CExecuteDecisionCommand::Execute() const + 0x7fb ) [0x114f0b9]
./eu4 ( ) [0x207c2c8]
./eu4 ( ) [0x2096a31]
./eu4 ( CRandomLog::CallstackPadding(std::function<void ()> const&) + 0x2f ) [0x20969ef]
./eu4 ( CSession::processCommands() + 0x235 ) [0x207a483]
./eu4 ( CSession::Update() + 0xfa ) [0x2079ca0]
./eu4 ( CEU4Application::Update() + 0x63 ) [0xee1d7d]
./eu4 ( CInGameIdler::Idle(bool) + 0x5a6 ) [0x14b1d22]
./eu4 ( CApplication::UpdateOneFrame(bool) + 0x12d ) [0x2035105]
./eu4 ( CApplication::Run() + 0x27 ) [0x20355c7]
./eu4 ( main + 0x1c88) [0x14f737d]
/usr/lib/libc.so.6 ( + 0x27cd0) [0x7fc3a3845cd0]
/usr/lib/libc.so.6 ( __libc_start_main + 0x8a ) [0x7fc3a3845d8a]
./eu4 ( _start + 0x2a ) [0xd8a11a]

As for what "broken" actually entails, I can't actually say -- see replication steps. This has only been replicated by the MEIOU & Taxes dev team with M&T itself -- the only replication we have is modded. However, we (the M&T dev team) are unable to pinpoint a more specific cause of this issue (and have been plagued by this on and off for years) -- whatever the problem is, it seems _not_ to be present at game start, and only happens sometime later (and not always with the same tag -- other times, with other saves, we have seen this issue with other tags). Unfortunately, this lack of further insight into the cause means I am unable to provide a simpler, unmodded replication myself. That said, it seems _something_ causes one specific tag to be afflicted by this bug. Executing the change_tag effect with any tag _other_ than the broken one (e.g. GBR instead of SAX in the provided replication) does not crash.

Steps to reproduce​

Quick replication:

1. Open the attached save file on the current (1.36.2) version of EU4 with the current release of the MEIOU & Taxes mod (open alpha 24, found here: https://forum.paradoxplaza.com/foru...-open-alpha-24-post-bug-reports-here.1619655/).
2. Execute a runfile containing only `change_tag = SAX` (alternatively, add a decision/event with that effect and fire it).
3. The game crashes

Game Version​

1.36.2

OS​

Linux (Other)

Additional​

Bug Type​

  • Crash to Desktop

Attachments​

View attachment testmei.eu4

Screenshot​



 
Upvote 0