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

Game crash when modfiles contain German umlauts #248

Open
kallestrop opened this issue Oct 19, 2021 · 6 comments
Open

Game crash when modfiles contain German umlauts #248

kallestrop opened this issue Oct 19, 2021 · 6 comments
Labels

Comments

@kallestrop
Copy link

Describe the bug

Game is crashing when there is a modfile in /Documents/Euro Truck Simulator 2/mod with German umlauts ü and ß in filename.

In my case filename is RPIE_VOLVO_FH16_2012_Ver.1.41.1.10s ohne Müll.scs

When i replace German umlaut ü in u game is starting normal.

However it is curious that only character ü and ß are affected. When filename contains ö and ä there is no issue.

In game.log.txt last line shows following error message:

00:00:04.296 : <ERROR> [fs] Failed to open file 'C:/users/steamuser/Documents/Euro Truck Simulator 2/mod/RPIE_VOLVO_FH16_2012_Ver.1.41.1.10s ohne MC<ll.scs' in the read_only mode.

There is no problem when starting ETS2 in Steam client - no matter if filename contains umlauts. In game.log.txt filename appears without error message:

00:00:03.747 : [zipfs] RPIE_VOLVO_FH16_2012_Ver.1.41.1.10s ohne Müll.scs: Created, 1059 entries

Expected behavior

Starting game without crash when there are files in /Documents/Euro Truck Simulator 2/mod folders with German umlauts.

Command

truckersmp-cli --enable-d3d11 --proton --game-options="-nointro" -vv start ets2

Terminal output

Collapsed log
user@debian-sid:~$ truckersmp-cli --enable-d3d11 --proton --game-options="-nointro" -vv start ets2
** DEBUG **  No moddir set, setting to default
** INFO **  Mod directory: /home/user/.local/share/truckersmp-cli/TruckersMP
** INFO **  AppID/GameID: 227300 (ets2)
** INFO **  Game directory: /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data
** INFO **  Prefix: /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix
** INFO **  Proton directory: /home/user/.local/share/truckersmp-cli/Proton
** INFO **  Steam Runtime directory: /home/user/.local/share/truckersmp-cli/SteamRuntime
** INFO **  Proton version is (major=6, minor=3)
** INFO **  Using Steam Runtime container
** DEBUG **  Starting game with Proton
** DEBUG **  Steam is running
** INFO **  Steam installation directory: /home/user/.local/share/Steam
** DEBUG **  Creating directory /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix if it doesn't exist
** DEBUG **  Shared paths: ['/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data', '/home/user/.local/share/truckersmp-cli/Proton', '/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix', '/home/user/.local/share/Steam', '/home/user/.local/share/Steam', '/home/user/.local/lib/python3.9/site-packages/truckersmp_cli']
** DEBUG **  Whether to setup native d3dcompiler_47: False
** INFO **  Running Steam Runtime helper:
  SteamAppId=227300
  SteamGameId=227300
  LD_PRELOAD=/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
  PROTON_NO_D3D11=0
  PROTON_USE_WINED3D=0
  STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/user/.local/share/Steam
  STEAM_COMPAT_DATA_PATH=/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/prefix
  python3
    /home/user/.local/share/truckersmp-cli/Proton/proton
    run
    /home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data/bin/win_x64/eurotrucks2.exe
    -nointro
Executables (early): None
Executables: None
Game Arguments: ['python3', '/home/user/.local/share/truckersmp-cli/Proton/proton', 'run', '/home/user/.local/share/truckersmp-cli/Euro Truck Simulator 2/data/bin/win_x64/eurotrucks2.exe', '-nointro']
Waiting time (early): 0
Waiting time: 0
Proton output:
ERROR: ld.so: object '/tmp/pressure-vessel-libs-IFIHB1/${PLATFORM}/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/tmp/pressure-vessel-libs-IFIHB1/${PLATFORM}/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
esync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
Setting breakpad minidump AppID = 227300
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970862824 [API loaded no]
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
wine: Unhandled page fault on read access to 0000000000000010 at address 000000014015BC45 (thread 0124), starting debugger...
Unhandled exception: page fault on read access to 0x00000010 in 64-bit code (0x000000014015bc45).
Register dump:
 rip:000000014015bc45 rsp:000000000063e120 rbp:0000000000000000 eflags:00010202 (  R- --  I   - - - )
 rax:00000001413f9fb8 rbx:00000000001da190 rcx:0000000000000010 rdx:00000001417a1ff8
 rsi:0000000000000001 rdi:0000000000000010  r8:000000000013f040  r9:000000000000ffa0 r10:00000000001d0020
 r11:000000000000f040 r12:000000000063e428 r13:000000000063e448 r14:0000000000000000 r15:0000000000210dd0
Stack dump:
0x000000000063e120:  0000000000000048 000000000063e1b8
0x000000000063e130:  00000001414056a8 0000000000020000
0x000000000063e140:  0000000000210dd0 000000014017f0cc
0x000000000063e150:  0000000000000000 00000000001da190
0x000000000063e160:  0000000000000010 0000000000000000
0x000000000063e170:  000000000063e448 000000000063e1b8
0x000000000063e180:  00000000001da1f8 00000001411dcf00
0x000000000063e190:  000000000063e448 000000000063e2d0
0x000000000063e1a0:  00000001413f9fb8 000000000063e1b8
0x000000000063e1b0:  0000010000000000 000000000016ff00
0x000000000063e1c0:  0000000000000048 0000000000000000
0x000000000063e1d0:  00000000001da190 0000000141405560
Backtrace:
=>0 0x000000014015bc45 EntryPoint+0xfe603935() in eurotrucks2 (0x0000000000000000)
  1 0x000000014017f0cc EntryPoint+0xfe626dbb() in eurotrucks2 (0x0000000000000000)
  2 0x0000000140de7b21 EntryPoint+0xff28f810() in eurotrucks2 (0x000000000063e379)
  3 0x0000000140df4cab EntryPoint+0xff29c99a() in eurotrucks2 (0x000000000063e448)
  4 0x0000000140de5e57 EntryPoint+0xff28db46() in eurotrucks2 (0x000000000063e489)
  5 0x0000000140df250a EntryPoint+0xff29a1f9() in eurotrucks2 (0x0000000000000000)
  6 0x00000001402801d9 EntryPoint+0xfe727ec8() in eurotrucks2 (0x0000000000000000)
  7 0x00000001402784b6 EntryPoint+0xfe7201a5() in eurotrucks2 (0x000000000063e6c0)
  8 0x0000000140274037 EntryPoint+0xfe71bd26() in eurotrucks2 (0x000000000063ec60)
  9 0x00000001402632df EntryPoint+0xfe70afce() in eurotrucks2 (0x000000000063fd80)
  10 0x000000014012f0a3 EntryPoint+0xfe5d6d92() in eurotrucks2 (0x000000000063fd80)
  11 0x00000001401bcba5 EntryPoint+0xfe664894() in eurotrucks2 (0x000000000063fd80)
  12 0x00000001401bdad7 EntryPoint+0xfe6657c6() in eurotrucks2 (0x0000000000000000)
  13 0x00000001411c11da EntryPoint+0xff668ec9() in eurotrucks2 (0x0000000000000000)
  14 0x000000007b62c9a9 EntryPoint+0xffffffffffffffff() in kernel32 (0x0000000000000000)
  15 0x000000007bc5e6a3 EntryPoint+0xffffffffffffffff() in ntdll (0x0000000000000000)
0x000000014015bc45 EntryPoint+0xfe603935 in eurotrucks2: movq	(%rcx),%rdi
Modules:
Module	Address					Debug info	Name (48 modules)
PE	          640000-          7a5000	Deferred        fmodstudio
PE	        107c0000-        1099b000	Deferred        gameoverlayrenderer64
PE	        7b000000-        7b0d5000	Deferred        kernelbase
PE	        7b600000-        7b812000	Export          kernel32
PE	        7bc00000-        7bc9e000	Export          ntdll
PE	       138000000-       1394b5000	Deferred        steamclient64
PE	       13b400000-       13b44b000	Deferred        steam_api64
PE	       140000000-       141b92000	Export          eurotrucks2
PE	       180000000-       180204000	Deferred        fmod
PE	       1c8b40000-       1c8b60000	Deferred        msacm32
PE	       1c8db0000-       1c8e3d000	Deferred        msvcrt
PE	       1d97a0000-       1d97a7000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	       1f51e0000-       1f51ef000	Deferred        hid
PE	       205950000-       205958000	Deferred        api-ms-win-appmodel-runtime-l1-1-2
PE	       21a7e0000-       21a855000	Deferred        setupapi
PE	       226310000-       226317000	Deferred        api-ms-win-core-string-l1-1-0
PE	       231ae0000-       231b62000	Deferred        rpcrt4
PE	       23d820000-       23da48000	Deferred        user32
PE	       26b4c0000-       26b642000	Deferred        gdi32
PE	       2739c0000-       273af6000	Deferred        oleaut32
PE	       28ebe0000-       28ebe8000	Deferred        api-ms-win-core-sysinfo-l1-2-1
PE	       29ea80000-       29ea87000	Deferred        api-ms-win-core-datetime-l1-1-1
PE	       2bb750000-       2bb894000	Deferred        comctl32
PE	       2bc640000-       2bc650000	Deferred        imagehlp
PE	       2e3540000-       2e3591000	Deferred        shlwapi
PE	       2e8f10000-       2e9028000	Deferred        ole32
PE	       2f1fa0000-       2f1fad000	Deferred        version
PE	       2f7230000-       2f725d000	Deferred        uxtheme
PE	       2fa030000-       2fa037000	Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE	       30c980000-       30c988000	Deferred        api-ms-win-core-synch-l1-2-0
PE	       3126f0000-       312709000	Deferred        shcore
PE	       31f800000-       31f8ff000	Deferred        comdlg32
PE	       327020000-       327072000	Deferred        combase
PE	       32a700000-       32a729000	Deferred        sechost
PE	       32f9a0000-       32f9ab000	Deferred        msimg32
PE	       330260000-       33029f000	Deferred        advapi32
PE	       351680000-       351688000	Deferred        api-ms-win-core-localization-l1-2-1
PE	       3a93b0000-       3a93c0000	Deferred        xinput1_4
PE	       3af670000-       3af728000	Deferred        ucrtbase
PE	       3afd00000-       3afd1a000	Deferred        imm32
PE	       3b8f00000-       3b8fb7000	Deferred        winmm
PE	       3be590000-       3be5f0000	Deferred        dbghelp
PE	    7fe9eb580000-    7fe9eb58b000	Deferred        dinput8
PE	    7fe9ebaf0000-    7fe9ebaf3000	Deferred        lsteamclient
PE	    7fe9ec8e0000-    7fe9ec8e4000	Deferred        winex11
PE	    7fe9ecfd0000-    7fe9ecfdb000	Deferred        winspool
PE	    7fe9ed020000-    7fe9ed024000	Deferred        ws2_32
PE	    7fe9ed2c0000-    7fe9edb97000	Deferred        shell32
Threads:
process  tid      prio (all id:s are in hex)
00000020 steam.exe
	00000024    0
	00000118    0
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	00000064    0
	00000070    0
	00000080    0
	0000008c    0
	000000a8    0
	000000b8    0
	000000f0    0
	000000f4    0
00000044 svchost.exe
	00000048    0
	00000054    0
	00000058    0
0000005c winedevice.exe
	00000060    0
	00000068    0
	0000006c    0
	00000074    0
00000078 winedevice.exe
	0000007c    0
	00000084    0
	00000088    0
	00000090    0
	00000094    0
	00000098    0
	0000009c    0
	000000cc    0
000000a0 plugplay.exe
	000000a4    0
	000000ac    0
	000000b0    0
	000000b4    0
	000000d0    0
	000000d4    0
	00000170    0
000000bc tabtip.exe
	000000c0    0
	00000110    0
	00000114    0
000000c4 explorer.exe
	000000c8    0
	000000d8    0
	000000dc    0
	000000e0    0
000000e8 rpcss.exe
	000000ec    0
	000000f8    0
	000000fc    0
	00000100    0
	00000104    0
	00000108    0
00000120 (D) Z:\home\user\.local\share\truckersmp-cli\Euro Truck Simulator 2\data\bin\win_x64\eurotrucks2.exe
	00000124    0 <==
	00000128   -1
	0000012c   -1
	00000130   -1
	00000134   -1
	00000138   -1
	0000013c   -1
	00000140   -1
	00000144   -1
	00000148   -1
	0000014c   -1
	00000150   -1
	00000154   -1
	00000158    0
	0000015c    0
	00000160    0
	00000164    2
	00000168   -1
	0000016c    0
	00000174   -1
	00000178    0
	0000017c   -1
	00000180   -1
	00000184    0
	00000190    0
System information:
    Wine build: wine-6.3
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.10.0-9-amd64
pid 22659 != 22658, skipping destruction (fork without exec?)

Screenshots

Collapsed screenshots

Information

  • OS: Debian 11 Bullseye
  • Proton or Wine version: Proton 6.3-7
  • truckersmp-cli version: 0.7.2
@Lucki
Copy link
Collaborator

Lucki commented Oct 19, 2021

Interesting. I've seen it before that I'm unable to type umlauts in some games and the steam overlay but never bothered to track it down. I think that both could be related.

Please take a look into your /etc/locale.gen if de_DE ISO-8859-1 is a comment. (It is for me)

grep "de_DE" /etc/locale.gen

@kallestrop
Copy link
Author

My /etc/locale.gen:

# de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
# de_DE@euro ISO-8859-15
# de_DE.UTF-8 UTF-8

@kallestrop
Copy link
Author

Output in game.log.txt when placing a file with ä ö ß ü in filename:

_ä_.scs --> ok
00:00:03.598 : [zipfs] _C$_.scs: Created, 8 entries


_ö_.scs  --> ok
00:00:03.729 : [zipfs] _C6_.scs: Created, 8 entries


_ß_.scs  --> crash
00:00:03.584 : <ERROR> [fs] Failed to open file 'C:/users/steamuser/Documents/Euro Truck Simulator 2/mod/_C�_.scs' in the read_only mode.


_ü_.scs  --> crash
00:00:03.488 : <ERROR> [fs] Failed to open file 'C:/users/steamuser/Documents/Euro Truck Simulator 2/mod/_C<_.scs' in the read_only mode.

@Lucki
Copy link
Collaborator

Lucki commented Oct 19, 2021

I can replicate the crash with an umlaut in a mod filename. Unfortunately it's not solved by adding that ISO-locale.

The crash log tells

Exception code: C0000005 ACCESS_VIOLATION
EXE Base address: 0000000140000000
Fault address: 00000001401522C5 0001:001512C5 Z:\mnt\gamehub\native2proton\Euro Truck Simulator 2\bin\win_x64\eurotrucks2.exe

@kakurasan
Copy link
Collaborator

Does it work when using --without-steam-runtime option?

@kallestrop
Copy link
Author

Just tried with start option --without-steam-runtime, but unfortunately game crashed anyway

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

No branches or pull requests

3 participants