When starting a game on amd64 architecture the application will segfault. Widelands will start but not allow user to begin a game. # emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Wed, 28 Jul 2010 20:25:02 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo ftp://ftp.iinet.net.au/pub/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo " LANG="en_AU" LC_ALL="en_AU" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_AU en_US ja ko zh_CN zh_TW" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/sunrise" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit X a52 aac acl acpi alsa amd64 apic avahi berkdb bzip2 cdr clflush cli cmov cracklib crypt cups cx8 cxx dbus de dri dv dvd dvdr emovix encode faad ffmpeg flac fortran fpu fxsr fxsr_opt gdbm gpm hal iconv jpeg kde lahf_lm lame lm lm_sensors logrotate mad mca mce mjpeg mmx mmxext modules mp2 mp3 mp4 mpeg msr mtrr mudflap multilib musicbrainz ncurses nls nptl nptlonly nx ogg opengl openmp pae pam pat pcre pdf perl pge png pppd pse pse36 python qt3support qt4 readline reflection rep_good scanner semantic-desktop sep session smbclient sndfile spell spl sse sse2 ssl syscall sysfs taglib tcpd theora tiff tsc unicode v4l v4l2 vcd vme vorbis wav x264 xinerama xorg xvid zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_AU en_US ja ko zh_CN zh_TW" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS WIDELANDS SEGFAULT INFO # widelands Adding directory:.//usr/share/games/widelands Adding directory:/usr/share/games/widelands Version file found with id "Build14" (real "Build14" ) No version file found Adding directory:. No version file found Set home directory: /home/noel/.widelands No version file found SDL_VIDEODRIVER=& Graphics: Trying Video driver: 0 x11 SDL_VIDEODRIVER=x11 Graphics: Trying FULLSCREEN Graphics: FULLSCREEN ENABLED **** GRAPHICS REPORT **** VIDEO DRIVER x11 hw surface possible 0 window manager available 1 blitz_hw 0 blitz_hw_CC 0 blitz_hw_A 0 blitz_sw 0 blitz_sw_CC 0 blitz_sw_A 0 blitz_fill 0 video_mem 0 vfmt 0xa1c7e0 size 1920 1080 **** END GRAPHICS REPORT **** hw avail:0Graphics: flags: 80000000 [] Section [global], key 'EXENAME' not used (did you spell the name correctly?) Sound_Handler: loaded song "music/intro_00.ogg" Sound_Handler: loaded song "music/menu_00.ogg" No version file found Parsing world bobs... Parsing global bobs in world... Reading Elemental Data ... done! Reading Player Names And Tribe Data ... done! Reading Heights Data ... done! Reading Terrain Data ... done! Reading Map Objects ... done Reading Player Start Position Data ... done! Reading Bob Data ... WARNING: Found a duck at (84, 10), but it can not move there. Put it somewhere else instead. (Node has movecaps 32, bob type has movecaps 64.) WARNING: Found a duck at (18, 38), but it can not move there. Put it somewhere else instead. (Node has movecaps 32, bob type has movecaps 64.) WARNING: Found a brownbear at (89, 40), but it can not move there. Put it somewhere else instead. (Node has movecaps 0, bob type has movecaps 32.) WARNING: Found a bunny at (92, 71), but it can not move there. Put it somewhere else instead. (Node has movecaps 0, bob type has movecaps 32.) done! Reading Resources Data ... done! Reading Map Extra Data ... done! Reading Trigger Data ... done! Reading Objective Data ... done! Reading Event Data ... done! Reading Event Chain Data ... done! Reading Allowed Buildings Data ... done! Reading Owned-Fields Data ... done! Reading Seen-Fields Data ... done! Reading AreaWatchers Data ... done! Reading Flag Data ... done! Reading Road Data ... done! Reading Building Data ... done! Reading Map Ware Data ... done! Reading Flagdata Data ... done! Reading Roaddata Data ... done! Reading Buildingdata Data ... done! Reading Waredata Data ... done! Reading Bobdata Data ... done! Reading Immovabledata Data ... done! Second and third phase loading Map Objects ... done Reading Players View Data ... done! Reading Variable Data ... done! WARNING: There are 112 unloaded objects. This is a bug, please consider committing! Forcing flag at (45, 49) Message: adding (wh) (warehouse) 1 Forcing flag at (89, 77) Message: adding (wh) (warehouse) 2 Starting replay writer Game: Writing Preload Data ... done Game: Writing Game Class Data ... done Game: Writing Player Info ... done Game: Writing Map Data! Writing Elemental Data ... done! Writing Player Names And Tribe Data ... done! Writing Heights Data ... done! Writing Terrain Data ... done! Writing Player Start Position Data ... done! Writing Bob Data ... done! Writing Resources Data ... done! Writing Map Extra Data ... done! Writing Flag Data ... done! Writing Road Data ... done! Writing Building Data ... done! Writing Map Ware Data ... done! Writing Area Watchers Data ... done! Writing Map Objects ... done! Writing Flagdata Data ... done! Writing Buildingdata Data ... done! Writing Bobdata Data ... done! Writing Owned-Fields Data ... done! Writing Seen-Fields Data ... done! Writing Players Unseen Data ... done! Writing Variable Data ... done! Writing Objective Data ... done! Game: Writing Map Data done! Game: Writing Player Economies Info ... done Game: Writing Command Queue Data ... done Game: Writing Interactive Player Data ... done Reloading the game from replay Game: Reading Preload Data ... done Game: Reading Game Class Data ... done Game: Reading Map Data ... No version file found Parsing world bobs... Parsing global bobs in world... done Game: Reading Player Info ... done Game: Reading Map Data Complete! Reading Elemental Data ... done! Reading Player Names And Tribe Data ... done! Reading Heights Data ... done! Reading Terrain Data ... done! Reading Map Objects ... done Reading Player Start Position Data ... done! Reading Bob Data ... WARNING: Found a duck at (84, 10), but it can not move there. Put it somewhere else instead. (Node has movecaps 32, bob type has movecaps 64.) WARNING: Found a duck at (18, 38), but it can not move there. Put it somewhere else instead. (Node has movecaps 32, bob type has movecaps 64.) WARNING: Found a brownbear at (89, 40), but it can not move there. Put it somewhere else instead. (Node has movecaps 0, bob type has movecaps 32.) WARNING: Found a bunny at (92, 71), but it can not move there. Put it somewhere else instead. (Node has movecaps 0, bob type has movecaps 32.) done! Reading Resources Data ... done! Reading Map Extra Data ... done! Reading Trigger Data ... done! Reading Objective Data ... done! Reading Event Data ... done! Reading Event Chain Data ... done! Reading Allowed Buildings Data ... done! Reading Owned-Fields Data ... done! Reading Seen-Fields Data ... done! Reading AreaWatchers Data ... done! Reading Flag Data ... done! Reading Road Data ... done! Reading Building Data ... Message: adding (wh) (warehouse) 1 Message: adding (wh) (warehouse) 2 done! Reading Map Ware Data ... done! Reading Flagdata Data ... done! Reading Roaddata Data ... done! Reading Buildingdata Data ... Reading warehouse stuff for 0x6f65d70 Read warehouse stuff for 0x6f65d70 Reading warehouse stuff for 0x8c42b30 Read warehouse stuff for 0x8c42b30 done! Reading Waredata Data ... done! Reading Bobdata Data ... done! Reading Immovabledata Data ... done! Second and third phase loading Map Objects ... done Reading Players View Data ... Vision check successful for player 1 Vision check successful for player 2 done! Reading Variable Data ... done! Game: Reading Map Data Complete done! Game: Reading Player Economies Info ... done Game: Reading Command Queue Data ... done Game: Reading Interactive Player Data ... done Done reloading the game from replay Replay writer has started [sync] Reset ComputerPlayer(2): initializing (2) Autosave: initialized Segmentation fault
Your optimization is the problem, -O3 in this case. So I can confirm that with -O3.
i am getting a segmentation fault too on amd64 matt@gentoo64at ~ $ emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-1.12.13 Timestamp of tree: Sat, 25 Sep 2010 14:45:03 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* @FSF-APPROVED" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/crossdev-powerpc /usr/local/portage/nesicide /usr/local/portage/mupen64plus" SYNC="rsync://192.168.168.16/portage" USE="aac acl acpi alsa amd64 berkdb bullet bzip2 cli cracklib crypt cxx dbus devil dri ffmpeg flac fortran gdbm gpm iconv imap irrlicht jpeg mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre png pppd qt3support readline reflection sdl session spell sse sse2 ssl svg sysfs tiff unicode vdpau vorbis xml xorg xv zlib" ALSA_CARDS="hda-intel loopback" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 248631 [details] run info and backtrace
0.14 is no more in the tree.