FreeCiv seg fault

Jens Rehsack rehsack at liwing.de
Wed Oct 6 15:36:15 PDT 2004


Andrew Firestone wrote:
> Dear FreeCiv Maintainer, can you please advise

Hi Andrew,

please ask on problems on ports everytime the ports@ list on 
freebsd.org, because other users may have the same problem and
maybe I don't have it.

> if my segmentation fault is common or am i stupid?

I hear it for the first time (but surely I didn't read the ports@ list
completely the last months, because of many other things I have to do).
But I assume that you aren't stupid, maybe you've bad luck ;-)

> Freebsd 4.10 installed today off ftp server. as soon 
> as i type in "civclient" it exits like so: 
> 
> alf# su andrew

As far as I know, without an
# xhost + (or using xauth(8))
the new shell started from su can't access to you xserver.

 > alf# civclient
 > 2: No real audio plugin present, Proceeding with sound support disabled
 > 2: For sound support, install either esound or SDL_mixer
 > 2: Esound: http://www.tux.org/~ricdude/EsounD.html
 > 2: SDL_mixer: http://www.libsdl.org/projects/SDL_mixer/index.html
 > 2: Using fallback resources - which is OK
 > Segmentation fault

I tried and on my machine I get
me at hostname $ su - username_of_fried
friend at hostname $ civclient
1: Cannot find sound spec-file "stdsounds".
1: To get sound you need to download a sound set!
1: Get sound sets from <ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets>.
1: Will continue with disabled sounds.

(civclient:12930): Gtk-WARNING **: cannot open display:

Since I don't use SDL, I cannot be sure whether it's responsible for
the crash without seeing a dump (see gdb(1)).

> I am running in KDE and launching from one of its terminal windows, civserver 
> starts up and appears to be functional.
> 
> Also i have installed SDL_mixer but civclient is not findng it.
> 
> alf# pkg_info
> WordNet-2.0         Dictionaries and thesauri with devel. libraries (C, TCL) 
> an
> XFree86-4.3.0,1     X11/XFree86 core distribution (complete, using 
> mini/meta-po
> XFree86-FontServer-4.3.0_3 XFree86-4 font server
> XFree86-Server-4.3.0_14 XFree86-4 X server and related programs
> XFree86-clients-4.3.0_7 XFree86-4 client programs and related files
> XFree86-documents-4.3.0 XFree86-4 documentation
> XFree86-font100dpi-4.3.0 XFree86-4 bitmap 100 dpi fonts
> XFree86-font75dpi-4.3.0 XFree86-4 bitmap 75 dpi fonts
> XFree86-fontCyrillic-4.3.0 XFree86-4 Cyrillic fonts
> XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts
> XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files
> XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts
> XFree86-libraries-4.3.0_7 XFree86-4 libraries and headers
> Xaw3d-1.5           A 3-D Athena Widget set that looks like Motif
> aalib-1.4.r5_1      An ascii art library
> arts-1.2.2,1        Audio system for the KDE integrated X11 desktop
> artswrapper-1.2.1   Setuid wrapper for arts
> aspell-0.50.5_2     Spelling checker with better suggestion logic than ispell
> atk-1.6.1           A GNOME accessibility toolkit (ATK)
> autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
> platforms
> autoconf-2.57_1     Automatically configure source code on many Un*x platforms
> automake-1.4.5_9    GNU Standards-compliant Makefile generator (legacy version
> automake-1.7.5_1    GNU Standards-compliant Makefile generator (version 1.7)
> bison-1.75_2        A parser generator from FSF, (mostly) compatible with Yacc
> cdparanoia-3.9.8_7  A CDDA extraction tool (also known as ripper)
> crafty-19.1         A chess programm for playing and analyzing games
> cups-base-1.1.20.0  The Common UNIX Printing System: headers, libs, & daemons
> db4-4.0.14_1,1      The Berkeley DB package, revision 4
> dri-4.3.0,1         OpenGL hardware acceleration drivers for XFree86
> expat-1.95.7        XML 1.0 parser written in C
> fam-2.6.9_4         A file alteration monitor
> flac-1.1.0_3        Free lossless audio codec
> fontconfig-2.2.2,1  An XML-based font configuration API for X Windows
> freeciv-1.14.0_1    A civilisation clone for X11; multiplayer
> freetype2-2.1.7_3   A free and portable TrueType font rendering engine
> fribidi-0.10.4_1    A Free Implementation of the Unicode Bidirectional 
> Algorith
> gettext-0.13.1_1    GNU gettext package
> glib-2.4.0          Some useful routines of C programming (current stable 
> versi
> gmake-3.80_2        GNU version of 'make' utility
> gnupg-1.2.4_1       The GNU Privacy Guard
> gtk-2.4.0           Gimp Toolkit for X11 GUI (current stable version)
> hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop 
> project
> id3lib-3.8.3_1      Library for manipulating ID3v1/v1.1 and ID3v2 tags
> imake-4.3.0_2       Imake and other utilities from XFree86
> intltool-0.30_1     Xml internationalization support for GNOME, and others
> jasper-1.701.0      An implementation of the codec specified in the JPEG-2000 
> s
> javavmwrapper-1.5   Wrapper script for various Java Virtual Machines
> jdk-1.4.2p6_4       Java Development Kit 1.4.2
> jpeg-6b_2           IJG's jpeg compression utilities
> kde-3.2.2           The "meta-port" for KDE
> kdeaccessibility-3.2.2 Accessibility applications for KDE
> kdeadmin-3.2.2      KDE applications related to system administration
> kdeartwork-3.2.2    Additional themes, sounds, wallpapers and window styles 
> for
> kdebase-3.2.2       Basic applications for the KDE system
> kdeedu-3.2.2        Collection of entertaining, educational programs for KDE
> kdegames-3.2.2      Games for the KDE integrated X11 desktop
> kdegraphics-3.2.2   Graphics utilities for the KDE3 integrated X11 desktop
> kdelibs-3.2.2_1     Base set of libraries needed by KDE programs
> kdemultimedia-3.2.2 Multimedia utilities for the KDE integrated X11 desktop
> kdenetwork-3.2.2    Network-related programs and modules for KDE
> kdepim-3.2.2        Personal Information Management tools for KDE
> kdesdk-3.2.2        KDE Software Development Kit
> kdetoys-3.2.2       Small applications for KDE
> kdeutils-3.2.2      Utilities for the KDE integrated X11 desktop
> kdevelop-3.0.3      Powerful IDE for developing KDE/Qt-based apps
> knights-0.5.6_2     A KDE chess interface (gnuchess/crafty)
> koffice-1.3,1       Office Suite for KDE3
> lcms-1.09_1,1       Light Color Management System -- a color management 
> library
> libIDL-0.8.3_2      A library for creating trees of CORBA Interface Definition
> libXft-2.1.6        A client-sided font API for X applications
> libart_lgpl2-2.3.16 Library for high-performance 2D graphics
> libaudiofile-0.2.6  A sound library for SGI audio file
> libglut-6.0.1       A graphics library similar to SGI's OpenGL
> libgnugetopt-1.2    GNU getopt library
> libiconv-1.9.1_3    A character set conversion library
> libidn-0.4.2        Internationalized Domain Names command line tool
> libmad-0.15.0b      Libmad library (part of MAD project)
> libmng-1.0.7        Multiple-image Network Graphics (MNG) reference library
> libmusicbrainz-2.1.1 2nd generation incarnation of the CD Index - audio 
> metadata
> libogg-1.1,3        Ogg bitstream library
> libpaper-1.1.14     A library providing routines for paper size management
> libtool-1.3.5_2     Generic shared library support script (version 1.3)
> libvorbis-1.0.1,3   Audio compression codec library
> libxml2-2.6.9       Xml parser library for GNOME
> libxslt-1.1.6       The XSLT C library for GNOME
> linux-sun-jdk-1.4.2.04 Sun Java Development Kit 1.4 for Linux
> linux_base-8-8.0_4  Base set of packages needed in Linux mode (only for i386)
> m4-1.4_1            GNU m4
> mkisofs-2.0.3_2     Create iso9660/Rock Ridge/Joliet filesystems
> mozilla-1.6_4,2     The open source, standards compliant web browser
> nas-1.6             Network Audio System
> nasm-0.98.38_1,1    General-purpose multi-platform x86 assembler
> net-snmp-5.1.1_1    An extendable SNMP implementation
> nspr-4.4.1_1        A platform-neutral API for system level and libc like 
> funct
> nvidia-driver-1.0.4365_2 NVidia graphics card binary drivers for hardware 
> OpenGL ren
> open-motif-2.2.2_2  Motif X11 Toolkit (industry standard GUI (IEEE 1295))
> openldap-client-2.1.30 Open source LDAP client implementation
> p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, 
> expat
> pango-1.4.0         An open-source framework for the layout and rendering of 
> i1
> pcre-4.5            Perl Compatible Regular Expressions library
> pkgconfig-0.15.0_1  A utility used to retrieve information about installed 
> libr
> png-1.2.5_3         Library for manipulating PNG images
> popt-1.6.4_2        A getopt(3) like library with a number of enhancements, 
> fro
> python-2.3.3_5      An interpreted object-oriented programming language
> qt-3.3.1_1          Multiplatform C++ application framework
> quanta-3.2.2,2      Comprehensive html/website development environment
> rc_subr-1.16        Common startup and shutdown subroutines used by scripts
> rpm-3.0.6_9         The Red Hat Package Manager
> samba-libsmbclient-3.0.3.p2 The shared lib from the samba packages
> sdl-1.2.7_1,1       Cross-platform multi-media development API (developm. 
> vers.
> sdl_mixer-1.2.5_3   A sample multi-channel audio mixer library
> shared-mime-info-0.14_2 A MIME type database from the FreeDesktop project
> smpeg-0.4.4_3       A free MPEG1 video player library with sound support
> svgalib-1.4.3_3     A low level console graphics library
> t1lib-5.0.1,1       A Type 1 Rasterizer Library for UNIX/X11
> taglib-1.0_1        Library for manipulating ID3v1 and ID3v2 tags in MP3 and 
> OG
> tcl-8.4.6,1         Tool Command Language
> tiff-3.6.1_1        Tools and library routines for working with TIFF images
> tk-8.4.6,1          Graphical toolkit for TCL
> trm-0.2.1_6         TRM generator to generate acoustic fingerprints
> unzip-5.50_2        List, test and extract compressed files in a ZIP archive
> urwfonts-1.0        Another font package for X
> wrapper-1.0_3       Wrapper for XFree86-4 server
> xpdf-3.00_1         Display PDF files, and convert them to other formats
> zip-2.3_1           Create/update ZIP files compatible with pkzip

Maybe someone other can help him? I would recommend either logging in as
andrew if andrew is the main user on the machine (and not root) or use
something like xauth(1) or ssh -X (see ssh(1)).

Best regards,
Jens


More information about the freebsd-ports mailing list