Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28149 - duke3d makefile patch causes various in-game crashes.
Summary: duke3d makefile patch causes various in-game crashes.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-07 23:13 UTC by mcverne
Modified: 2003-09-08 18:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mcverne 2003-09-07 23:13:06 UTC
The duke3d ebuild contains patch 20030817-buildengine-makefile-cflags.patch
which removes -funsigned-char from CFLAGS. This causes a number of "comparison
is always true due to limited range of data type" compiler warnings during the
build stage, and more seriously, results a number of in-game crashes. 

Reproducible: Always
Steps to Reproduce:
1. Start duke3d.
2. Begin a new game.
3. Attempt to look left or right using the quick look (default is the insert and
delete keys).

or

1. Start duke3d.
2. Begin a new game.
3. Find a security cam terminal, attempt to cycle completely through the cam views.

or 

1. Set the game resolution to 640x480 by editing ~/.duke3d/duke3d.cfg.
2. Start duke3d.
3. Attempt to start a new game.
Actual Results:  
Duke3d crashes with a message such as:
  Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Expected Results:  
Not crash.

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Celeron (Mendocino)
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu"
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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
gdbm berkdb slang readline arts bonobo svga ggi tcltk guile ruby mysql X sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif
opengl mozilla cdr -3dnow ldap -alsa java aalib samba tiff tetex mozsvg mbox
xface moznoirc moznomail apache2 gtk2 dga"
Comment 1 SpanKY gentoo-dev 2003-09-08 18:11:02 UTC
interesting, thats what that option does :x

fixed the patch in cvs, thanks for the in depth bug that illustrated my lack of knowledge :)