crossfire-server segfault on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crossfire (Ubuntu) |
In Progress
|
Undecided
|
osprey |
Bug Description
On 11.10 crossfire-servers crashes with a sefault in libc
[10250.984492] crossfire-
The Package information details are:
crossfire-server:
Installed: 1.50.0-1.1
Candidate: 1.50.0-1.1
Version table:
*** 1.50.0-1.1 0
500 http://
100 /var/lib/
I've tried to run the crossfire-server in debug mode invoking the -d flag, obtaining only a segmentation fault error,
games@gigetto:~$ /usr/sbin/
Segmentation fault
the log file generated by the crossfire-server is in the attached file.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: crossfire-server 1.50.0-1.1
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 22 13:49:15 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: crossfire
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (8 days ago)
Changed in crossfire (Ubuntu): | |
assignee: | nobody → osprey (theosprey) |
Changed in crossfire (Ubuntu): | |
status: | New → In Progress |
It seems that the problem is related to a missing file "/var/games/ crossfire/ accounts" .
Here is the output of strace when running crossfire-server
munmap(0xb785a000, 4096) = 0 var/games/ crossfire/ accounts" , O_RDONLY) = -1 ENOENT (No such file or directory) "/etc/localtime ", {st_mode= S_IFREG| 0644, st_size=2652, ...}) = 0
open("/
time(NULL) = 1319286235
stat64(
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
Just touching the file solves the problem. I think that the creation of that file should be included in the installation process.