[Freeciv-Dev] civclient segfaults on startup (PR#35)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Full_Name: Gary Cameron
Version: 1.8.0
OS: SuSE Linux kernel 2.2.10
Submission from: (NULL) (137.186.208.8)
The configure script appears to work correctly, and the code compiles without
error.
The civserver seems to start up ok, but the civclient always segfaults after
startup.
when I run the civclient with debug messages enabled, I get the following
bash-2.02# ./civ -debug 2
2: Booting help texts
2: color system booted ok.
Segmentation fault
bash-2.02#
This game looks really cool, but I have no idea why it isn't working.
Are there any tests you could suggest to determine why it is crashing?
I am using SuSE 6.0 Linux with kernel 2.2.10
./configure generates the following: (Sorry about the long listing - I hope it
helps)
bash-2.02# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking extra paths for Xpm... library no, include no
checking for XOpenDisplay in X library -lX11... yes
checking for XShapeCombineMask in X library -lXext... yes
checking for main in X library -lXt... yes
checking for main in X library -lXmu... yes
checking for XpmReadFileToPixmap in X library -lXpm... yes
checking for main in X library -lXaw... yes
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for main in -lnls... no
checking for ANSI C header files... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for X11/xpm.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for gethostname... yes
checking for select... yes
checking for strerror... yes
checking for strstr... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating data/Makefile
creating data/default/Makefile
creating data/civ1/Makefile
creating data/classic/Makefile
creating common/Makefile
creating ai/Makefile
creating client/Makefile
creating server/Makefile
creating undep.sh
creating config.h
make gives the following output:
bash-2.02# make
make all-recursive
make[1]: Entering directory `/usr/src/games/freeciv-1.8.0'
Making all in data
make[2]: Entering directory `/usr/src/games/freeciv-1.8.0/data'
Making all in default
make[3]: Entering directory `/usr/src/games/freeciv-1.8.0/data/default'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/games/freeciv-1.8.0/data/default'
Making all in civ1
make[3]: Entering directory `/usr/src/games/freeciv-1.8.0/data/civ1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/games/freeciv-1.8.0/data/civ1'
Making all in classic
make[3]: Entering directory `/usr/src/games/freeciv-1.8.0/data/classic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/games/freeciv-1.8.0/data/classic'
make[2]: Leaving directory `/usr/src/games/freeciv-1.8.0/data'
Making all in common
make[2]: Entering directory `/usr/src/games/freeciv-1.8.0/common'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c capability.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c city.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c diptreaty.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c game.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c genlist.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c map.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c packets.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c player.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c shared.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c spaceship.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c tech.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c unit.c
unit.c: In function `best_role_unit':
unit.c:1140: warning: `u' might be used uninitialized in this function
rm -f libcivcommon.a
ar cru libcivcommon.a capability.o city.o diptreaty.o game.o genlist.o log.o
map.o packets.o player.o shared.o sp
aceship.o tech.o unit.o
ranlib libcivcommon.a
make[2]: Leaving directory `/usr/src/games/freeciv-1.8.0/common'
Making all in ai
make[2]: Entering directory `/usr/src/games/freeciv-1.8.0/ai'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advattitude.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advdomestic.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advforeign.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advisland.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advleader.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advmilitary.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advscience.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
advtrade.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
aicity.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
aihand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
aitech.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
aitools.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../server -g -O2 -Wall -c
aiunit.c
rm -f libcivai.a
ar cru libcivai.a advattitude.o advdomestic.o advforeign.o advisland.o
advleader.o advmilitary.o advscience.o adv
trade.o aicity.o aihand.o aitech.o aitools.o aiunit.o
ranlib libcivai.a
make[2]: Leaving directory `/usr/src/games/freeciv-1.8.0/ai'
Making all in server
make[2]: Entering directory `/usr/src/games/freeciv-1.8.0/server'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
autoattack.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
cityhand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
citytools.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
cityturn.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
civserver.c
^[[Bgcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
diplhand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
gamehand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
gamelog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
gotohand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
handchat.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
mapgen.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
maphand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
meta.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
plrhand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
registry.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
ruleset.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
sernet.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
settlers.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
spacerace.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
stdinhand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
unitfunc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
unithand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I./../ai -g -O2 -Wall -c
unittools.c
gcc -g -O2 -Wall -o civserver autoattack.o cityhand.o citytools.o cityturn.o
civserver.o diplhand.o gamehand.o
gamelog.o gotohand.o handchat.o mapgen.o maphand.o meta.o plrhand.o registry.o
ruleset.o sernet.o settlers.o spac
erace.o stdinhand.o unitfunc.o unithand.o unittools.o ../common/libcivcommon.a
../ai/libcivai.a
make[2]: Leaving directory `/usr/src/games/freeciv-1.8.0/server'
Making all in client
make[2]: Entering directory `/usr/src/games/freeciv-1.8.0/client'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c canvas.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c chatline.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c citydlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c cityrep.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c civclient.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c climisc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c clinet.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c colors.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c connectdlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c dialogs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c diplodlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c finddlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c gotodlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c graphics.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c helpdlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c inputdlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c inteldlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c mapctrl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c mapview.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c menu.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c messagedlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c messagewin.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c optiondlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c packhand.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c pixcomm.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c plrdlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c ratesdlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c repodlgs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c resources.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c spaceshipdlg.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c xmain.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../common -I. -I/usr/X11R6/include -g -O2
-Wall -c xstuff.c
gcc -g -O2 -Wall -o civclient canvas.o chatline.o citydlg.o cityrep.o
civclient.o climisc.o clinet.o colors.o c
onnectdlg.o dialogs.o diplodlg.o finddlg.o gotodlg.o graphics.o helpdlg.o
inputdlg.o inteldlg.o mapctrl.o mapview
.o menu.o messagedlg.o messagewin.o optiondlg.o packhand.o pixcomm.o plrdlg.o
ratesdlg.o repodlgs.o resources.o s
paceshipdlg.o xmain.o xstuff.o ../common/libcivcommon.a -L/usr/X11R6/lib -lXaw
-lXpm -lXmu -lXt -lSM -lICE -lXe
xt -lX11
make[2]: Leaving directory `/usr/src/games/freeciv-1.8.0/client'
make[1]: Leaving directory `/usr/src/games/freeciv-1.8.0'
- [Freeciv-Dev] civclient segfaults on startup (PR#35),
garyc <=
|
|