Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96880 - planeshift crashes with glibc invalid next size
Summary: planeshift crashes with glibc invalid next size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 09:52 UTC by Dustin
Modified: 2009-07-24 21:21 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 Dustin 2005-06-23 09:52:45 UTC
The window for planeshift starts, sound starts, then crashes, below is the
output to the terminal.

Skipping 'radioon' because it's already loaded
  ps Engine Initialized
Creating psnetconnection 87c5d00!
Using fontsize 22 for resolution 1280x960
*** glibc detected *** free(): invalid next size (fast): 0x08405478 ***
/usr/games/bin/planeshift: line 8:18805 aborted.


Reproducible: Always
Steps to Reproduce:
1.Installed Ebuild for verson 0.3.010 of planeshift.
2.ran planeshift-setup and sucessfully installed all updates.
3.ran planeshift.

Actual Results:  
Planeshift crashes with the error. Sound/video starts, then crashes.

Expected Results:  
planeshift should have loaded sucessfully.

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  2 2005, 11:29:52)]
ccache version 2.3 [enabled]
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-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O3 -march=pentium4 -mtune=pentium4 -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl eds
emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml
imagemagick imlib ipv6 ithreads java jpeg kde libg++ libwww mad mikmod motif
mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline samba sdl speex spell ssl tcpd tiff truetype
truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Dustin 2005-06-23 09:59:16 UTC
strace planeshift gives this output.

stat64("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/opt/planeshift", {st_mode=S_IFDIR|S_ISGID|0770, st_size=4096, ...}) = 0
chdir("/opt/planeshift")                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
                                
d_tidptr=0xb7e9a708) = 18939
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8073719, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, opening audio device: Device or resource busy
*** glibc detected *** free(): invalid next size (fast): 0x08405478 ***
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0) = 18939
fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
                                
fe8000
write(2, "/usr/games/bin/planeshift: line "..., 79/usr/games/bin/planeshift: lin
                                
e 8: 18939 Aborted                 ./psclient $@
) = 79
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffcdb4, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8073719, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 114)                      = 0
munmap(0xb7fe8000, 4096)                = 0
exit_group(134)                         = ?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 10:08:48 UTC
try turning down your CFLAGS and doing emerge -ev planeshift
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 10:24:04 UTC
also... what's the output from "emerge -evp world" ?
Comment 4 SpanKY gentoo-dev 2005-06-23 10:32:39 UTC
if glibc crashes with that error it's usually because the program has a bug in
memory handling
Comment 5 Dustin 2005-06-24 08:40:08 UTC
Did 'emerge -ev planeshift'. Same glibc error. 
Running kernel 2.6.11 with glibc 3.5 with close to same error (below), however I
have seen others run with these and no problems?

----------error----------

Creating psnetconnection 86ef7f8!
Using fontsize 18 for resolution 1024x768

<src/common/paws/pawstexturemanager.cpp:360> CreateTexture
:
  Could not open image: >/paws/skin/backdrop/charborder.png<

<src/common/paws/pawswidget.cpp:2374> SetMaskingImage
:
  Could not locate masking image charborder for widget PaperDollView
*** glibc detected *** double free or corruption (out): 0x08335bd0 ***
./planeshift: line 8: 25617 Aborted                 ./psclient $@
Comment 6 SpanKY gentoo-dev 2005-06-24 08:51:49 UTC
he didnt ask you to do `emerge -ev`, he said do `emerge -evp` and to turn down
your CFLAGS and re-emerge planeshift/crystalspace
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-06-24 10:18:37 UTC
well...I did in comment #2  but it didn't help him. ;-)
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2009-07-24 21:21:21 UTC
bugzilla
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2009-07-24 21:21:33 UTC
it's dead Jim