FreedroidRPG crashes when I
FreedroidRPG crashes when I´m running, inadvertantly enter a zone and then try to go back to the zone I was originally in. This isn´t what I care about though because all I have to do is avoid the far edges of a zone and I´m fine. The real problem is that now I can´t load my game. I´ve been able to load before, and load after the aformentioned zone-related crashes but now just loading gets me a sigsegv. The game preview works and the game actually completes loading itself before my monitor clicks as it changes resolution and I´m sent gracelessly back to the terminal (which I´m only using to get the it´s debugging info). Reproducible: Always Steps to Reproduce: 1. Start freedroidRPG (in my case using -n for no opengl because my graphics card is in effect nothing but a placeholder, it´s 8mb...). 2. Select `Load an existing character´. 3. Stare mystified at the SIGSEGV message. Actual Results: CRASH! Expected Results: Instead, I should have loaded my game fine and dandy and resumed my quest to triumph over the evil M$ Corp... gamer@speedy ~ $ freedroidRPG -n This seems to be a 'stable' release, so no exit on floating point exceptions. -Signal Handling------------------------------------------------------ Setting up signal handlers for internal backtrace: Now catching SIGSEGV: YES Now catching FPE (if raised, that is!): YES Video system type: x11. Using screen resolution 640 x 480.Topher.savegame print_trace: Obtained 2 stack frames. print_trace: Obtaining symbols now done. freedroidRPG(print_trace+0x1d) [0x80a72cd] [0xffffe420] print_trace(): received SIGSEGV! ---------------------------------------------------------------------- Termination of freedroidRPG initiated...Thank you for playing freedroidRPG.
works fine for me. please add the output from emerge --info and reopen the bug after you've done that.
Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Celeron(R) CPU 1.70GHz Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jun 13 2004, 20:36:48)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r1 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aac aalib alsa apm avi bitmap-fonts bonobo cdr crypt cups dba doc editor encode esd fam flac flash foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java javascript jikes jpeg junit ldap libclamav libg++ libwww mad mikmod mng motif mozilla mpeg mysql nas ncurses nls nocd oav odbc oggvorbis opengl oss pam pdflib perl php png ppds prelude python quicktime readline samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex tiff timidity truetype videos wmf x86 xml xml2 xmms xv zlib"
Couple of things to try: Try it with CFLAGS="-pipe" and CXXFLAGS="-pipe" Try it with gcc-3.3
Without recompiling, I created a new character and retraced my steps from the last game. When I went into a specific zone (the Reactor) and back (into town) freedroidRPG crashed. Trying to load my character after that caused a crash, just like before. I'll try recompiling with the different cflags and compiler and report back in less than two days.
I set my CFLAGS and CXXFLAGS to be "-pipe" only and recompiled. Results were basically the same. I did find however that the transition from reactor to town only crashed freedroidrpg when I was in posession of the mapping device--regardless of whether it was on or off. I'll try using the earlier compiler another day and get back.
Continues to work fine for me.