Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101301 - app-emulation/basiliskII-jit - double free or corruption when run
Summary: app-emulation/basiliskII-jit - double free or corruption when run
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 01:21 UTC by Kimmo Sundqvist
Modified: 2006-10-13 04:04 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 Kimmo Sundqvist 2005-08-04 01:21:22 UTC
$ BasiliskII-jit
Basilisk II V1.0 by Christian Bauer et al.
ScratchMem starts at 0xa73bc000 (+/- 32 KB)
Mac RAM starts at 0xa74c4000 (00000000)
Mac ROM starts at 0xa73c4000 (fff00000)
Reading ROM file...
*** glibc detected *** double free or corruption (out): 0x08304450 ***
$

Reproducible: Always
Steps to Reproduce:
1. randomly emerge and unmerge BasiliskII-jit and BasiliskII, ending up with
both unmerged and then BasiliskII-jit emerged
2. Try to run BasiliskII-jit
3.



Expected Results:  
To have BasiliskII run.  I've tried JIT and no JIT, with all combinations and
possibilities, and never have got anything but errors or a black screen and
nothing happening.  Except that sometimes it has tried reading fd0.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-ck9 i686)
=================================================================
System uname: 2.6.11-ck9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="C"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga
eds emboss encode f77 fam fbcon flac foomaticdb fortran gd gdbm gif glut gnome
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java
jikes jpeg jpg junit kde ladcca libg++ libwww mad mikmod mmx motif mp3 mpeg mpi
nas ncurses nls nptl objc ogg oggvorbis opengl pam pdflib perl png ppds python
qt quicktime readline rtc samba sdl slang speex sqlite sse ssl svga tcltk tcpd
tiff truetype truetype-fonts type1-fonts unicode vorbis wmf x86 xine xml xml2
xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-11 16:07:33 UTC
dholm, you commited this one...
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-13 04:04:18 UTC
Works just fine here on up-to-date system. 


$ emerge -pv basiliskII-jit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-emulation/basiliskII-jit-1.0.0-r1  USE="X dga -esd gtk xv" 0 kB

<snip>
$ BasiliskII-jit 
Basilisk II V1.0 by Christian Bauer et al.

ScratchMem starts at 0xb785a000 (+/- 32 KB)
Mac RAM starts at 0xb7037000 (00000000)
Mac ROM starts at 0xb6f37000 (fff00000)
</snip>

Your toolchain is way too outdated and unsupported, reopen if you can reproduce with with current stable gcc/glibc.

http://www.gentoo.org/doc/en/gcc-upgrading.xml