Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92311 - Blobwars doesn't run
Summary: Blobwars doesn't run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 15:26 UTC by Henrique Rodrigues
Modified: 2005-05-12 07:01 UTC (History)
1 user (show)

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 Henrique Rodrigues 2005-05-11 15:26:05 UTC
When i try to run Blobwars, it gives me this error message:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Aborted

I did an strace and found this information:

[SNIP]
open("/usr/share/games/parallelrealities/blobwars.pak", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0640, st_size=7469084, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3014e000
fstat64(3, {st_mode=S_IFREG|0640, st_size=7469084, ...}) = 0
_llseek(3, 7340032, [7340032], SEEK_SET) = 0
read(3, "\212OL/\0\31/\256\305\344\16oT\n\300\261\267\217,\234]"..., 129044) = 129044
read(3, "\0qAD\0\0\2\212", 131072)      = 8
mmap(NULL, 3499102208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument)
mmap(NULL, 3499233280, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument)
mmap(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x3016e000
munmap(0x3016e000, 598016)              = 0
munmap(0x30300000, 450560)              = 0
mprotect(0x30200000, 135168, PROT_READ|PROT_WRITE) = 0
mmap(NULL, 3499102208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument)
futex(0xf359998, FUTEX_WAKE, 2147483647) = 0
futex(0xf26d200, FUTEX_WAKE, 2147483647) = 0
write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
write(2, "std::bad_alloc", 14std::bad_alloc)          = 14
write(2, "\'\n", 2'
)                     = 2
write(2, "  what():  ", 11  what():  )             = 11
write(2, "St9bad_alloc", 12St9bad_alloc)            = 12
write(2, "\n", 1
)                       = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(15755, 15755, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

Reproducible: Always
Steps to Reproduce:
1. emerge blobwars
2. blobwars
3.

Actual Results:  
Blobwars wouldn't run

Expected Results:  
Blobwars should have been executed sucessfully

Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r6 ppc)
=================================================================
System uname: 2.6.11-gentoo-r6 ppc 7447A, altivec supported
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 10 2005, 16:13:25)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=G4 -mabi=altivec -pipe -fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -mabi=altivec -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo"
LC_ALL="en_IE"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/hmtr/ROOT/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apm artworkextra bitmap-fonts cdr cups dga dhcp eds
encode esd foomaticdb gnome gpm gstreamer gtk gtk2 gtkhtml hal jikes jpeg mad
mikmod mozilla moznomail mppe-mppc nls nptl nptlonly offensive oggvorbis opengl
pic png ppds samba sdl ssl truetype unicode usb xml2 userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-05-11 17:17:48 UTC
resync and remerge and see if that helps
Comment 2 Henrique Rodrigues 2005-05-12 04:51:12 UTC
It did work, allright, but I don't understand why. Could you please explain?
Comment 3 Henrique Rodrigues 2005-05-12 04:58:27 UTC
Oops, talked too early. The game launches, the intro plays, but then complains about a missing file:

An unforseen error has occured
A required file (gfx/main/prlogo.gif) was not found in PAK file

I reinstalled Blobwars to no avail.
Comment 4 SpanKY gentoo-dev 2005-05-12 05:21:35 UTC
there is a big endian issue with blobwars
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-05-12 07:01:40 UTC
and it's been patched.