FS#59886 - [springlobby] segfaults with specific servers

Attached to Project: Community Packages
Opened by Christian Rebischke (Shibumi) - Thursday, 30 August 2018, 22:02 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 October 2018, 21:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,
It looks like you have to recompile springlobby with several libs. When I start springlobby in the terminal I get the following warnings:

Error loading libmpg123.so.0: libmpg123.so.0: cannot open shared object file: No such file or directory
Error loading libdumb.so: libdumb.so: cannot open shared object file: No such file or directory
Error loading libfluidsynth.so.1: libfluidsynth.so.1: cannot open shared object file: No such file or directory
00:01:19: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1011,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1012,wx containers,compatible with 2.8).


And when I try to join specific servers springlobby keeps crashing with error messages like this:

0x00007fffda0f4e32 in boost::object_cache<boost::re_detail::cpp_regex_traits_base<char>, boost::re_detail::cpp_regex_traits_implementation<char> >::do_get(boost::re_detail::cpp_regex_traits_base<char> const&, unsigned long) () from
/home/chris/.spring/engine/103.0/libunitsync.so

springlobby version is: 0.264-2
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 16 October 2018, 21:28 GMT
Reason for closing:  Upstream
Additional comments about closing:  No idea what to do here. If you have concrete info on how to fix this then request a reopen.
Comment by Eli Schwartz (eschwartz) - Wednesday, 05 September 2018, 23:51 GMT
  • Field changed: Attached to Project (Arch Linux → Community Packages)
  • Field changed: Severity (Critical → High)
warnings are not errors due to the fact that they are not errors but are in fact warnings. -_-

Stop chasing completely pointless messages *listed in the optdepends for alure*.

...

The boost error is at least interesting. But why do you say "specific servers", are there some that crash and some that don't? Where is libunitsync.so coming from and why is that a problem with the springlobby package itself?
Comment by Christian Rebischke (Shibumi) - Thursday, 06 September 2018, 21:09 GMT
> warnings are not errors due to the fact that they are not errors but are in fact warnings. -_-

Well, although I get the Error messages everything works as expected when I have an empty .spring directory. The segfault and above stacktrace will only occur when I change between two specific games.


> Stop chasing completely pointless messages *listed in the optdepends for alure*.

Alure is not in the optdepends. It's in the hard depends:
Depends On : hicolor-icon-theme wxgtk3 curl libtorrent-rasterbar boost-libs alure libsm
So I have definitly have it or do you want to tell me pacman is broken ;)

I have fixed the segfault for me with clearing the whole `$HOME/.spring` directory and I think I can reproduce it. Join the springlobby gameservers with empty `.spring` directory. Then join the `The cursed` server and download all necessary files and then try to join one of the spring1944 server. Springlobby will instantly crash with the above stacktrace.
Comment by Eli Schwartz (eschwartz) - Friday, 07 September 2018, 04:14 GMT
Sure, and an optional feature for *alure*, leaves those warnings. You may get rid of the warnings by installing the optdepends for one of springlobby's dependencies; recursive optdepends is not exactly uncommon...

Anyway. To the point.

It sounds like this upstream issue: https://github.com/springlobby/springlobby/issues/707
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 07 October 2018, 21:44 GMT
No idea what to do here.

Loading...