Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95110 - unace-1.2b segfaults on AMD64 long int 64bitness...
Summary: unace-1.2b segfaults on AMD64 long int 64bitness...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-06-05 03:46 UTC by Juan J. García de Soria
Modified: 2005-06-21 13:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for fixing unace-1.2b for 64bitness (unace-1.2b-amd64-fix.patch,1.57 KB, patch)
2005-06-05 03:47 UTC, Juan J. García de Soria
Details | Diff
updated ebuild that applies the above patch. (unace-1.2b-r1.ebuild,864 bytes, text/plain)
2005-06-05 03:48 UTC, Juan J. García de Soria
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan J. García de Soria 2005-06-05 03:46:13 UTC
On amd64 unace-1.2b builds and installs, but it segfaults at run-time when
performing any operation.

I've traced it to the datatype-defined macros in unace, that seem to cater for
16 and 32 bit architectures, but not 64 bit ones...

Reproducible: Always
Steps to Reproduce:
1. unace l archive.ace
2. 
3.

Actual Results:  
unace segfaults

Expected Results:  
Work properly.

I'll post a patch and a updated ebuild after submitting the bug...

holly unace # emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 12 2005, 23:56:42)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -mtune=athlon64 -march=athlon64"
CHOST="x86_64-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
/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="-O3 -pipe -fomit-frame-pointer -mtune=athlon64 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES.UTF8"
LC_ALL="es_ES.UTF8"
LINGUAS="es en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 audiofile avi berkdb bitmap-fonts bmp bzlib
c++ cdr crypt ctype cups curl dbm dga doc dvd dvdr dvdread eds encode esd exif
fam fbcon flac flash font-server foomaticdb fortran ftp gcj gdbm gif gimpprint
gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6
java javascript joystick jp2 jpeg junit libg++ libwww lirc lzw lzw-tiff mad mbox
mikmod mime mjpeg mmap mng motif mozilla mp3 mysql ncurses nls nptl nvidia ogg
oggvorbis openal opengl oss pam pcmcia pcre perl png pnp postgres ppds python
quicktime readline recode samba sasl scanner sdl sharedmem sndfile sockets speex
spell sqlite ssl svg tcltk tcpd tetex theora threads tiff transcode truetype
truetype-fonts type1-fonts unicode usb vorbis wmf xine xml xml2 xosd xpm xrandr
xv xvid zlib linguas_es linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Juan J. García de Soria 2005-06-05 03:47:12 UTC
Created attachment 60630 [details, diff]
Patch for fixing unace-1.2b for 64bitness

I attach the patch for the source code.
Comment 2 Juan J. García de Soria 2005-06-05 03:48:16 UTC
Created attachment 60632 [details]
updated ebuild that applies the above patch.

I attach an updated ebuild that applies the fix patch.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2005-06-21 13:44:23 UTC
In CVS now, thanks!