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

Spring failed with code: null - PopOS 22.04 #2749

Closed
daniellog opened this issue Mar 20, 2024 · 1 comment
Closed

Spring failed with code: null - PopOS 22.04 #2749

daniellog opened this issue Mar 20, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@daniellog
Copy link

Description

spring-launcher-20240320T205722.log

When launching the game, the window freezes and it doesn't launch.

Checking the logs this is the error,

[20:57:56.38 warn] [t=00:00:30.074293] Warning: [Watchdog] Hang detection triggered for Spring 105.1.1-2414-g91273e4 BAR105.
[t=00:00:30.074337] Warning: 	(in threads: {main,load,audio,vfsi}={1,0,0,0})
[t=00:00:30.074353] [CrashHandler] Warning: Suspended-thread Stacktrace (main) for Spring 105.1.1-2414-g91273e4 BAR105:

[20:57:56.49 warn] [t=00:00:30.190164] [CrashHandler] Warning:   <00>               /usr/lib/x86_64-linux-gnu/libc.so.6(+0x3ee80) [0x71df3a18be80]  __sigaction
[t=00:00:30.190181] [CrashHandler] Warning: [00]                                                                        0x3ee80  ??:?
[t=00:00:30.190189] [CrashHandler] Warning:   <01>                                       .../spring(+0xce432c) [0x5b65b0b3432c]  TT_New_Context
[t=00:00:30.190197] [CrashHandler] Warning: [01]                                                                       0xce432c  ??:?
[t=00:00:30.190228] [CrashHandler] Warning:   <02>                                       .../spring(+0xce7cb4) [0x5b65b0b37cb4]  TT_New_Context
[t=00:00:30.190236] [CrashHandler] Warning: [02]                                                                       0xce7cb4  ??:?
[t=00:00:30.190244] [CrashHandler] Warning:   <03>                                       .../spring(+0xce8241) [0x5b65b0b38241]  TT_New_Context
[t=00:00:30.190252] [CrashHandler] Warning: [03]                                                                       0xce8241  ??:?
[t=00:00:30.190259] [CrashHandler] Warning:   <04>                                       .../spring(+0xceaf8a) [0x5b65b0b3af8a]  TT_New_Context
[t=00:00:30.190267] [CrashHandler] Warning: [04]                                                                       0xceaf8a  ??:?
[t=00:00:30.190276] [CrashHandler] Warning:   <05>                                       .../spring(+0xcec273) [0x5b65b0b3c273]  TT_New_Context
[t=00:00:30.190284] [CrashHandler] Warning: [05]                                                                       0xcec273  ??:?
[t=00:00:30.190292] [CrashHandler] Warning:   <06>                                       .../spring(+0xcecebc) [0x5b65b0b3cebc]  TT_New_Context
[t=00:00:30.190301] [CrashHandler] Warning: [06]                                                                       0xcecebc  ??:?

[20:57:56.49 warn] [t=00:00:30.190310] [CrashHandler] Warning:   <07>                             .../spring(FT_Load_Glyph+0x17b) [0x5b65b0b175db]  FT_Load_Glyph
[t=00:00:30.190318] [CrashHandler] Warning: [07]                                                                       0xcc75db  ??:?
[t=00:00:30.190326] [CrashHandler] Warning:   <08>                                       .../spring(+0xc90097) [0x5b65b0ae0097]  FcDirSave
[t=00:00:30.190334] [CrashHandler] Warning: [08]                                                                       0xc90097  ??:?
[t=00:00:30.190342] [CrashHandler] Warning:   <09>                                       .../spring(+0xc9020a) [0x5b65b0ae020a]  FcDirSave
[t=00:00:30.190350] [CrashHandler] Warning: [09]                                                                       0xc9020a  ??:?
[t=00:00:30.190357] [CrashHandler] Warning:   <10>                      .../spring(FcFreeTypeQueryFace+0x1545) [0x5b65b0ae2125]  FcFreeTypeQueryFace
[t=00:00:30.190365] [CrashHandler] Warning: [10]                                                                       0xc92125  ??:?
[t=00:00:30.190377] [CrashHandler] Warning:   <11>                                       .../spring(+0xc8f556) [0x5b65b0adf556]  FcFileIsDir
[t=00:00:30.190384] [CrashHandler] Warning: [11]                                                                       0xc8f556  ??:?
[t=00:00:30.190392] [CrashHandler] Warning:   <12>                                       .../spring(+0xc8f9be) [0x5b65b0adf9be]  FcFileIsDir
[t=00:00:30.190399] [CrashHandler] Warning: [12]                                                                       0xc8f9be  ??:?
[t=00:00:30.190407] [CrashHandler] Warning:   <13>                                       .../spring(+0xc8fc7b) [0x5b65b0adfc7b]  FcDirScan
[t=00:00:30.190415] [CrashHandler] Warning: [13]                                                                       0xc8fc7b  ??:?
[t=00:00:30.190422] [CrashHandler] Warning:   <14>                                       .../spring(+0xc8b1c8) [0x5b65b0adb1c8]  FcConfigAppFontClear
[t=00:00:30.190430] [CrashHandler] Warning: [14]                                                                       0xc8b1c8  ??:?
[t=00:00:30.190437] [CrashHandler] Warning:   <15>                         .../spring(FcConfigBuildFonts+0x3b) [0x5b65b0adb28b]  FcConfigBuildFonts
[t=00:00:30.190444] [CrashHandler] Warning: [15]                                                                       0xc8b28b  ??:?
[t=00:00:30.190451] [CrashHandler] Warning:   <16>                                       .../spring(+0xc93076) [0x5b65b0ae3076]  FcInitLoadConfig
[t=00:00:30.190459] [CrashHandler] Warning: [16]                                                                       0xc93076  ??:?
[t=00:00:30.190471] [CrashHandler] Warning:   <17>                                       .../spring(+0xc887e7) [0x5b65b0ad87e7]  FcConfigDestroy
[t=00:00:30.190478] [CrashHandler] Warning: [17]                                                                       0xc887e7  ??:?
[t=00:00:30.190485] [CrashHandler] Warning:   <18>                                       .../spring(+0xc88819) [0x5b65b0ad8819]  FcConfigDestroy
[t=00:00:30.190492] [CrashHandler] Warning: [18]                                                                       0xc88819  ??:?
[t=00:00:30.190501] [CrashHandler] Warning:   <19>                                       .../spring(+0xa377a8) [0x5b65b08877a8]  std::_Hashtable<CRepo*, CRepo*, std::allocator<CRepo*>, std::__detail::_Identity, std::equal_to<CRepo*>, std::hash<CRepo*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >::_M_rehash(unsigned long, unsigned long const&)
[t=00:00:30.190513] [CrashHandler] Warning: [19]                                                                       0xa377a8  ??:?
[t=00:00:30.190520] [CrashHandler] Warning:   <20>                                       .../spring(+0xa30ed5) [0x5b65b0880ed5]  std::_Hashtable<CRepo*, CRepo*, std::allocator<CRepo*>, std::__detail::_Identity, std::equal_to<CRepo*>, std::hash<CRepo*>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, true, true> >::_M_rehash(unsigned long, unsigned long const&)
[t=00:00:30.190531] [CrashHandler] Warning: [20]                                                                       0xa30ed5  ??:?
[t=00:00:30.190539] [CrashHandler] Warning:   <21>                                       .../spring(+0xb11c5b) [0x5b65b0961c5b]  safe_strcat
[t=00:00:30.190546] [CrashHandler] Warning: [21]                                                                       0xb11c5b  ??:?
[t=00:00:30.190553] [CrashHandler] Warning:   <22>                                       .../spring(+0xb12540) [0x5b65b0962540]  safe_strcat
[t=00:00:30.190560] [CrashHandler] Warning: [22]                                                                       0xb12540  ??:?
[t=00:00:30.190568] [CrashHandler] Warning:   <23>                                       .../spring(+0xae9ca0) [0x5b65b0939ca0]  std::_Rb_tree_iterator<std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > > > std::_Rb_tree<int, std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > >, std::_Select1st<std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > > >, std::less<int>, std::allocator<std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > > > >::_M_emplace_hint_unique<std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > >&>(std::_Rb_tree_const_iterator<std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > > >, std::pair<int const, std::vector<std::pair<int, std::vector<int, std::allocator<int> > >, std::allocator<std::pair<int, std::vector<int, std::allocator<int> > > > > >&)
[t=00:00:30.190602] [CrashHandler] Warning: [23]                                                                       0xae9ca0  ??:?
[t=00:00:30.190610] [CrashHandler] Warning:   <24>               /usr/lib/x86_64-linux-gnu/libc.so.6(+0x2808a) [0x71df3a17508a]  __libc_init_first
[t=00:00:30.190623] [CrashHandler] Warning: [24]                                                                        0x2808a  ??:?
[t=00:00:30.190632] [CrashHandler] Warning:   <25> /usr/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x71df3a17514b]  __libc_start_main
[t=00:00:30.190640] [CrashHandler] Warning:   <25>                                                                      0x2814b  ??:?
[t=00:00:30.190648] [CrashHandler] Warning:   <26>                                     .../spring(_start+0x2a) [0x5b65b01cf71a]  _start
[t=00:00:30.190655] [CrashHandler] Warning:   <26>                                                                     0x37f71a  ??:?

[20:58:01.20 error] Spring failed with code: null`

Expected Behaviour

The game to launch

Actual Behaviour

Game window locks up and stops responding

Reproduction steps

Try and launch the game in PopOS 22.04

Other

No response

@daniellog daniellog added the Bug Something isn't working label Mar 20, 2024
@daniellog
Copy link
Author

I managed to fix this,

I instead used the appimage instead of the flatpack version. But I ran the following command to install dependencies before I ran the game.
sudo apt-get install libsdl2-2.0-0 libopenal1 fuse3 libfuse2 libgtk-3-0 libnss3 binutils

Then make sure the appimage file is executable in the permissions. When you first launch it, PopOS may complain its frozen, but it isn't as I think it is unpacking files due to the first run. If you wait it should eventually start. If you launch it after this is should launch straight away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant