Bug 179315 - app-emulation/vice-1.21 - Crashes during boot - x64 glibc realloc(): invalid old size: 0x00000000004ad860
Bug#: 179315 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: deepspace@dataswamp.net
Component: Applications
URL: 
Summary: app-emulation/vice-1.21 - Crashes during boot - x64 glibc realloc(): invalid old size: 0x00000000004ad860
Keywords:  
Status Whiteboard: 
Opened: 2007-05-21 12:06 0000
Description:   Opened: 2007-05-21 12:06 0000
When running any of the machines - such as x64, an error occurs.  The
application never displays.  I tried re-emerging this with --emptytree; same
results.  I don't know if this is related to #177104.





Reproducible: Always

Steps to Reproduce:
From the command line, run:

/usr/games/bin/x64
Actual Results:  
The crash described in the description.

Expected Results:  
Emulated C=64 window should have appeared.

: emerge --info          
Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r2,
2.6.18-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU          6700  @
2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 20 May 2007 08:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 amr automount bash-completion
berkdb binary-drivers bitmap-fonts bogofilter bonobo buttons bzip2 cairo
cdparanoia cdr cdrom cgi chroot cli cpudetection cracklib crypt cups curl
curlwrappers custom-flags dbus dga directfb divx doc dri dv dvb dvd dvdr
dvdread effects emul-linux-x86 enca encode epiphany evo exif fam fbcon ffmpeg
flac fortran ftp gaim gd gdbm geoip gif gimp gimpprint gnome gnome-print
gnomecanvas gnomedb gphoto2 gpm gps graphviz gtk gtk2 hal hash iconv icq idn
ieee1394 imagemagick insecure-savers ipv6 isdnlog jabber jack java javascript
jingle jit joystick jpeg jpeg2k kqemu lcms libcaca libg++ libnotify
libsamplerate live lm_sensors lzo lzw mad maildir mbox mbrola meanwhile midi
mikmod mime mng mp3 mp4 mpeg2 mplayer msn mudflap multiuser musepack ncurses
network nls nntp nptl nptlonly nsplugin nvidia offensive ogg ole openal openexr
opengl openmp oscar pam pcre pdf perl php plotutils png posix pppd print python
qemu-fast qt3 qt4 readline reflection rle rtc samba scanner sdl sensord session
silc slp snmp sockets socks5 speex spell spl sqlite sse3 sse4 ssl stats svg
sysfs syslog tagwriting tcl tcltk tcpd tga theora threads tidy tiff tk
tokenizer truetype truetype-fonts type1-fonts usb v4l v4l2 vcd verbose vnc
vncviewer vorbis vorbis-psy webdav wma wmf x264 xanim xchatdccserver xcomposite
xext xine xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xtended xv xvid xvmc
xvnc yaepg yahoo zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint
i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo
ivtvdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT

------- Comment #1 From Joe Roberts 2007-05-21 12:07:26 0000 -------
Created an attachment (id=119877) [details]
The output from Vice after it crashes.

------- Comment #2 From David Leverton 2007-06-12 17:26:12 0000 -------
Created an attachment (id=121827) [details]
fix

Problem is that it allocates space for 3 fullscreen drivers and then tries to
register 4, overwriting the following data.

------- Comment #3 From Tristan Heaven 2007-06-16 16:22:00 0000 -------
thanks