Bug#1074357: freeorion: The connection to the server has been lost - libpython3.12.so.1.0 segfault
Davide Prina
Davide.Prina at null.net
Sat Aug 3 16:27:02 BST 2024
Package: freeorion
Version: 0.5+git20230820-4+b3
Followup-For: Bug #1074357
X-Debbugs-Cc: Davide.Prina at null.net
Dear Maintainer,
I have done some extra search.
# apt install coredumpctl
# ulimit -c unlimited
$ freeorion
I have the segfault
$ coredumpctl list
TIME PID UID GID SIG COREFILE EXE SIZE
Sat 2024-07-20 12:41:44 CEST 19100 1000 1000 SIGSEGV none /usr/lib/freeorion/freeoriond -
$ coredumpctl info 19100
PID: 19100 (freeoriond)
UID: 1000 ($USER)
GID: 1000 ($USER)
Signal: 11 (SEGV)
Timestamp: Sat 2024-07-20 12:41:44 CEST (4min 11s ago)
Command Line: $'"/usr/lib/freeorion/freeoriond"' --resource.path $'"/usr/share/games/freeorion/default"' --singleplayer --skip-checksum
Executable: /usr/lib/freeorion/freeoriond
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 ($USER)
Boot ID: ea5ca9be3c614627978d041b2a262108
Machine ID: 157daffcbe2f71ce501fefa64b374535
Hostname: $HOSTNAME
Storage: none
Message: Process 19100 (freeoriond) of user 1000 terminated abnormally without generating a coredump.
If I try to use gdb with this I get:
Coredump entry has no core attached (neither internally in the journal nor
externally on disk).
I have try to get some info, but the coredump was never generated. I also
slow down freeorion and used gdb, but the segfault process go to zombi
state immediatly and I cannot get any info.
I see that also on Ubuntu there is the same bug open:
https://bugs.launchpad.net/ubuntu/+source/freeorion/+bug/2065925
I have found, with lsof, that the log files are not in .config/freeorion/
directory, but they are in .local/share/freeorion/freeorion.log and the
log don't have any more info than my previous report.
I have fount that if I download the 3.11.9-1 package from shapshost
https://snapshot.debian.org/archive/debian/20240410T203634Z/pool/main/p/python3.11/libpython3.11t64_3.11.9-1_amd64.deb
and replace the libpython3.12.so.1.0 library with the libpython3.11.so.1.0
one the game work correctly
I have also try to set logs to debug and than trace for the freeorion server
but I don't have any more interesting info.
With debug option for freeoriond there are few line that are present also
with 3.11 python library. With strace it generate big log files, but I
haven't see anything.
Ciao
Davide
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-security')
Architecture: amd64 (x86_64)
Kernel: Linux 6.9.10-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages freeorion depends on:
ii freeorion-data 0.5+git20230820-4
ii libboost-filesystem1.83.0 1.83.0-3+b2
ii libboost-iostreams1.83.0 1.83.0-3+b2
ii libboost-locale1.83.0 1.83.0-3+b2
ii libboost-log1.83.0 1.83.0-3+b2
ii libboost-python1.83.0 [libboost-python1.83.0-py312] 1.83.0-3+b2
ii libboost-serialization1.83.0 1.83.0-3+b2
ii libboost-thread1.83.0 1.83.0-3+b2
ii libc6 2.39-6
ii libfreetype6 2.13.2+dfsg-1+b4
ii libgcc-s1 14-20240330-1
ii libglew2.2 2.2.0-4+b1
ii libopenal1 1:1.23.1-4+b1
ii libopengl0 1.7.0-1+b1
ii libpng16-16t64 1.6.43-5
ii libpython3.12t64 3.12.4-3
ii libsdl2-2.0-0 2.30.5+dfsg-1
ii libstdc++6 14-20240330-1
ii libvorbis0a 1.3.7-2
ii libvorbisfile3 1.3.7-2
freeorion recommends no packages.
freeorion suggests no packages.
-- no debconf information
More information about the Pkg-games-devel
mailing list