FreeOrion execution failed with code 139(segmentation fault)

Bug #1559523 reported by Anton Bochkarev on 2016-03-19
6
Affects Status Importance Assigned to Milestone
freeorion (Ubuntu)
Medium
Unassigned

Bug Description

strace output:

CWD: /usr/share/games/freeorion
Segmentation fault (core dumped)
anton@ANTONBOCH1244:~$ strace freeorion
execve("/usr/games/freeorion", ["freeorion"], [/* 42 vars */]) = 0
brk(NULL) = 0x55c862e67000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f270a432000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=102173, ...}) = 0
mmap(NULL, 102173, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f270a419000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \v\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1869456, ...}) = 0
mmap(NULL, 3972864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2709e47000
mprotect(0x7f270a007000, 2097152, PROT_NONE) = 0
mmap(0x7f270a207000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7f270a207000
mmap(0x7f270a20d000, 16128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f270a20d000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f270a418000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f270a417000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f270a416000
arch_prctl(ARCH_SET_FS, 0x7f270a417700) = 0
mprotect(0x7f270a207000, 16384, PROT_READ) = 0
mprotect(0x55c86288c000, 8192, PROT_READ) = 0
mprotect(0x7f270a434000, 4096, PROT_READ) = 0
munmap(0x7f270a419000, 102173) = 0
getuid() = 1000
getgid() = 1000
getpid() = 14579
rt_sigaction(SIGCHLD, {0x55c862680540, ~[RTMIN RT_1], SA_RESTORER, 0x7f2709e7c2b0}, NULL, 8) = 0
geteuid() = 1000
brk(NULL) = 0x55c862e67000
brk(0x55c862e88000) = 0x55c862e88000
getppid() = 14577
stat("/home/anton", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/games/freeorion", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl(10, F_SETFD, FD_CLOEXEC) = 0
geteuid() = 1000
getegid() = 1000
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x55c862680540, ~[RTMIN RT_1], SA_RESTORER, 0x7f2709e7c2b0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f2709e7c2b0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f2709e7c2b0}, NULL, 8) = 0
read(10, "#!/bin/sh\n\nset -e\n\nROOT=/usr/sha"..., 8192) = 248
chdir("/usr/share/games/freeorion") = 0
write(1, "CWD: ", 5CWD: ) = 5
write(1, "/usr/share/games/freeorion\n", 27/usr/share/games/freeorion
) = 27
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f270a4179d0) = 14580
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 14580
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=14580, si_uid=1000, si_status=SIGSEGV, si_utime=6, si_stime=3} ---
rt_sigreturn({mask=[]}) = 14580
write(2, "Segmentation fault (core dumped)"..., 33Segmentation fault (core dumped)
) = 33
exit_group(139) = ?
+++ exited with 139 +++

lsb_release -rd output:

Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04

apt-cache policy freeorion output:

  Installed: 0.4.5-1build1
  Condidate: 0.4.5-1build1
  Version table:
 *** 0.4.5-1build1 500
        500 http://ru.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: freeorion 0.4.5-1build1
ProcVersionSignature: Ubuntu 4.4.0-7.22-generic 4.4.2
Uname: Linux 4.4.0-7-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: LXDE
Date: Sat Mar 19 22:08:49 2016
ExecutablePath: /usr/lib/freeorion/freeorion
InstallationDate: Installed on 2016-03-19 (0 days ago)
InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
ProcCmdline: /usr/lib/freeorion/freeorion --resource-dir /usr/share/games/freeorion/default
SegvAnalysis: Skipped: missing required field "Disassembly"
Signal: 11
SourcePackage: freeorion
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Anton Bochkarev (antonboch12-44) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 GG::GLClientAndServerBufferBase<float>::createServerBuffer (this=0x18bb5e8) at /build/freeorion-XNF97M/freeorion-0.4.5/GG/src/GLClientAndServerBuffer.cpp:94
 CUIWnd::InitBuffers (this=0x18bb460) at /build/freeorion-XNF97M/freeorion-0.4.5/UI/CUIWnd.cpp:560
 CUIWnd::SizeMove (this=this@entry=0x18bb460, ul=..., lr=...) at /build/freeorion-XNF97M/freeorion-0.4.5/UI/CUIWnd.cpp:298
 GG::Wnd::Resize (this=this@entry=0x18bb460, sz=...) at /build/freeorion-XNF97M/freeorion-0.4.5/GG/src/Wnd.cpp:523

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in freeorion (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
information type: Private → Public
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers