-
Notifications
You must be signed in to change notification settings - Fork 73
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
the use of ü in savegamepaths crashes the game #618
Comments
Appareantly I will have to delete the save game on my own, I get another crash when I try to load it. To be more precise, it crashes straight away when I click on load game, before anything from the file list can be seen. terminate called after throwing an instance of 'boost::system::system_error' Program received signal SIGABRT, Aborted. |
I am using gentoo amd64, gcc-4.9.4 with glibc-2.23 and system-boost, if that is helpfull to anyone. |
It could be that either the game or your OS does not like that character. |
Sure, the file is written to disk anyway and can easily be renamed. It is something about boost, most users will not be familiar with solving this! ;-) |
The problem is that |
thank you! this fixed them all - ä,ö,ü,ß,é - you name it ;-) |
I'm running the game at commit 3eb7b5c and was about to save, added an ü in the name of the savegame, and the game crashed with
terminate called after throwing an instance of 'boost::system::system_error'
what(): boost::filesystem::path codecvt to wstring: error
Program received signal SIGABRT, Aborted.
0x00007ffff603b137 in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x00007ffff603b137 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff603c57a in __GI_abort () at abort.c:89
#2 0x00007ffff670700d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so.6
#3 0x00007ffff6704e96 in ?? () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so.6
#4 0x00007ffff6704ee1 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so.6
#5 0x00007ffff67050f8 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/libstdc++.so.6
#6 0x00007ffff72604e1 in boost::filesystem::path_traits::convert(char const*, char const*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, __mbstate_t> const&) () from /usr/lib64/libboost_filesystem.so.1.56.0
#7 0x000000000069262e in boost::filesystem::path::wstring (cvt=..., this=0x7fffffffd070) at /usr/include/boost/filesystem/path.hpp:392
#8 boost::filesystem::path::wstring (this=0x7fffffffd070) at /usr/include/boost/filesystem/path.hpp:386
#9 iwSaveLoad::RefreshTable (this=this@entry=0x69ba650) at /var/tmp/portage/games-strategy/s25rttr-9999-r2/work/s25rttr-9999/src/ingameWindows/iwSave.cpp:109
#10 0x00000000006930c9 in iwSave::SaveLoad (this=0x69ba650) at /var/tmp/portage/games-strategy/s25rttr-9999-r2/work/s25rttr-9999/src/ingameWindows/iwSave.cpp:138
#11 0x00000000006194de in ctrlButton::Msg_LeftUp (this=0x6ac1dd0, mc=...) at /var/tmp/portage/games-strategy/s25rttr-9999-r2/work/s25rttr-9999/src/controls/ctrlButton.cpp:85
#12 0x0000000000734ad6 in Window::RelayMouseMessage (this=this@entry=0x69ba650, msg=&virtual table offset 20172, this adjustment 6, mc=...)
at /var/tmp/portage/games-strategy/s25rttr-9999-r2/work/s25rttr-9999/src/Window.cpp:185
#13 0x00000000005db801 in WindowManager::Msg_LeftUp (this=0xcc5100, mc=...) at /var/tmp/portage/games-strategy/s25rttr-9999-r2/work/s25rttr-9999/src/WindowManager.cpp:436
#14 0x00007ffff263ebc5 in ?? ()
#15 0x0000000000cd1c40 in ?? ()
#16 0x0000000002e0000f in ?? ()
#17 0x0256032d00010006 in ?? ()
#18 0x0000000000000000 in ?? ()
The text was updated successfully, but these errors were encountered: