First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 100987
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Frank Weinberg <gentoo@usenet-rundfahrt.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ClanLib-0.6.5-bounds.patch ClanLib-0.6.5-bounds.patch patch Pacho Ramos 2006-09-13 05:38 0000 471 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100987 depends on: Show dependency tree
Bug 100987 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-01 06:29 0000
Whenever I try to play games-sports/trophy-1.1.3 the game crashes after a few 
seconds of racing.

Reproducible: Always
Steps to Reproduce:
1. start trophy
2. start racing
3. drive for a few seconds

Actual Results:  
The game segfaults.

Expected Results:  
The game should have continued.

$ gdb trophy
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/games/bin/trophy 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 182916390080 (LWP 19829)]
[New Thread 1082132832 (LWP 19832)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182916390080 (LWP 19829)]
0x0000002a961d7b00 in memcpy () from /lib/libc.so.6

# emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.
6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/
3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/
kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/
xkb /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=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv 
usersandbox"
GENTOO_MIRRORS="ftp://ftp.uni-kl.de/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.uni-kl.de/ftp/linux/gentoo-portage"
USE="amd64 X aalib alsa apache2 avi bash-completion berkdb bitmap-fonts cdr 
crypt curl doc dvd dvdr emacs encode fam flac foomaticdb fortran gdbm gif gpm 
gstreamer gtk gtk2 imagemagick imlib jabber java jpeg junit leim libwww lzw lzw-
tiff mad mbox mng motif mp3 mpeg mule mysql ncurses nls nptl nptlonly ogg 
oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang ssl 
svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb 
userlocales vorbis wmf xface xine xml2 xpm xv xvid zlib userland_GNU 
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Pacho Ramos 2005-12-22 05:29:38 0000 -------
I also have this problem :( If I run it from gentoo it segfaults

If I run the gentoo trophy binary from my Mandriva 2006 instalation it works
fine.

Steps:
1. Boot on Mandriva 2006.
2. mount /dev/hda1 /gentoo
3. /gentoo/usr/games/bin/trophy

It works fine from mandriva

------- Comment #2 From Pacho Ramos 2005-12-27 05:42:36 0000 -------
Mandriva trophy binary crashes with the SAME error on gentoo.

1. mount /dev/hda3 /mandriva
2. cp -f /mandriva/usr/games/trophy* /usr/games/bin/.
3. /usr/games/bin/trophy -> I can start racing but it crashes after a few
seconds.

gentoo glibc problem?

------- Comment #3 From Pacho Ramos 2006-09-13 05:38:55 0000 -------
Created an attachment (id=96870) [edit]
ClanLib-0.6.5-bounds.patch

This patch applied to clanlib-0.6.5 fixes this bug.

Thanks for try to add it :-)

------- Comment #4 From Frank Weinberg 2006-09-13 08:06:04 0000 -------
(In reply to comment #3)
> ClanLib-0.6.5-bounds.patch
> 
> This patch applied to clanlib-0.6.5 fixes this bug.

I just tried it out and it works for me, too. Thanks.

------- Comment #5 From Tupone Alfredo 2006-09-13 16:05:57 0000 -------
Clanlib change is now in portage, thanks for report and solution

First Last Prev Next    No search results available      Search page      Enter new bug