Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18763 - grip crashes on startup with relocation error
Summary: grip crashes on startup with relocation error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-04 15:16 UTC by Timo Boettcher
Modified: 2003-04-15 09:56 UTC (History)
0 users

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


Attachments
Compile Output (grip.log.gz,68.82 KB, application/x-gzip)
2003-04-10 19:02 UTC, Timo Boettcher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Boettcher 2003-04-04 15:16:11 UTC
grip crashes on startup with this error:
"grip: relocation error: /usr/lib/libid3-3.8.so.0: undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE"

I unmerged and reemerge both grip and id3lib, with no success
*  media-sound/grip
      Latest version available: 3.0.3
      Latest version installed: 3.0.3
      Size of downloaded files: 864 kB
      Homepage:    http://www.nostatic.org/grip
      Description: GTK+ based Audio CD Player/Ripper.
*  media-libs/id3lib
      Latest version available: 3.8.0
      Latest version installed: 3.8.0
      Size of downloaded files: 912 kB
      Homepage:    http://id3lib.sourceforge.net/
      Description: Id3 library for C/C++


Reproducible: Always
Steps to Reproduce:
1.start grip

Actual Results:  
error as above

Expected Results:  
run

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla ldap snmp cdr scanner"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-06 17:47:39 UTC
please try 3.8.3-r1
Comment 2 Timo Boettcher 2003-04-07 04:18:41 UTC
Unmerged id3lig/grip old version, emerged your version, test failed. grip worked earlier on my machine, I don't know since when it doesn't run anymore... If you want me to run specific test, look for specific files with xy content/version, please say so. 

imo1 / # emerge -C id3lib grip
timo1 / # ACCEPT_KEYWORDS="~x86" emerge id3lib
timo1 / # emerge grip

*  media-libs/id3lib
      Latest version available: 3.8.0
      Latest version installed: 3.8.3-r1
      Size of downloaded files: 912 kB
      Homepage:    http://id3lib.sourceforge.net/
      Description: Id3 library for C/C++
*  media-sound/grip
      Latest version available: 3.0.3
      Latest version installed: 3.0.3
      Size of downloaded files: 864 kB
      Homepage:    http://www.nostatic.org/grip
      Description: GTK+ based Audio CD Player/Ripper.

timo1 / # grip
grip: relocation error: /usr/lib/libid3-3.8.so.3: undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-09 15:55:23 UTC
try 
emerge -pD grip

also try grip 3.0.6 
Comment 4 Timo Boettcher 2003-04-10 13:00:24 UTC
id3lib -3.8.3-r1 with grip 3.0.6 does not work.
grip: relocation error: /usr/lib/libid3-3.8.so.3: undefined symbol: _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
Comment 5 Timo Boettcher 2003-04-10 13:23:38 UTC
during building grip 3.0.3, I noticed these messages:
...
configure: warning: could not determine id3lib version
...
checking for bison... bison
checking version of bison... v. ?.??, bad
checking for catalogs to be installed...  fr de zh_CN zh_HK zh_TW ja pt_BR ru es ca
checking for cdda_interface.h... yes
checking for cdda_paranoia.h... yes
checking for main in -lcdda_interface... yes
using shared cdparanoia libraries
checking for library containing ID3Tag_Link... -lid3 -lz -lstdc++
using shared id3lib
checking for id3lib version... updating cache ./config.cache
...


some 3.0.6-messages:
...
configure: WARNING: cdda_paranoia.h: present but cannot be compiled
configure: WARNING: cdda_paranoia.h: check for missing prerequisite headers?
configure: WARNING: cdda_paranoia.h: proceeding with the preprocessor's result
configure: WARNING: could not determine id3lib version
...
checking for bison... bison
checking version of bison... v. ?.??, bad
checking for catalogs to be installed...  fr de zh_CN zh_HK zh_TW ja pt_BR ru es ca
checking cdda_interface.h usability... yes
checking cdda_interface.h presence... yes
checking for cdda_interface.h... yes
checking cdda_paranoia.h usability... no
checking cdda_paranoia.h presence... yes
checking for cdda_paranoia.h... yes
checking for main in -lcdda_interface... yes
using shared cdparanoia libraries
checking for library containing ID3Tag_Link... -lid3 -lz -lstdc++
using shared id3lib
... 

both builds are with id3lib-3.8.3-r1 . The messages are the same for id3lib-3.8.0

Comment 6 Timo Boettcher 2003-04-10 19:02:39 UTC
Created attachment 10486 [details]
Compile Output

Gzipped textfile with a small script I used to emerge id3lib and grip in the
all 4 combinations of their actual stable and testing versions and the messages
which where generated during their compilation.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-04-11 06:19:43 UTC
do you have media-sound/cdparanoia installed, and which version ?
Comment 8 Stefan Jones (RETIRED) gentoo-dev 2003-04-14 05:10:56 UTC
Could you do a 


"objdump -T /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so | grep _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE"

you should get something like
"459f7530  w   DO .data  00000004  GLIBCPP_3.2.2 _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE"

If not then there is the error. Sort out your gcc and the gcc libs, inperticular libstdc++.so. Check for multiple versions, old versions, gcc not being installed correctly, etc .....

For your info, 
c++filt _ZNSt24__default_alloc_templateILb1ELi0EE12_S_force_newE
gives:

std::__default_alloc_template<(bool)1, (int)0>::_S_force_new

Comment 9 Stefan Jones (RETIRED) gentoo-dev 2003-04-15 09:56:51 UTC
Well, I'm closing this bug as it is not a generic error.
Let me know if you find a error with gentoo (as opposed to your system setup).

Best of luck,

Stefan