Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51226 - bibletime segfaults at start
Summary: bibletime segfaults at start
Status: RESOLVED DUPLICATE of bug 48523
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Jon Hood (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-16 13:20 UTC by Kees Bergwerf
Modified: 2012-05-16 21:00 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 Kees Bergwerf 2004-05-16 13:20:05 UTC
bibletime will not start, it ends with a segfault immediately.
a coredump is written.
GDB output:
[....]
Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x417aefbe in sword::toupperstr(char*) () from /usr/lib/libsword.so.3

(gdb) bt

#0  0x417aefbe in sword::toupperstr(char*) () from /usr/lib/libsword.so.3
#1  0x417a8d2e in sword::VerseKey::getBookAbbrev(char const*) ()
   from /usr/lib/libsword.so.3
#2  0x417a879d in sword::VerseKey::setBookAbbrevs(sword::abbrev const*, unsigned)
    () from /usr/lib/libsword.so.3
#3  0x417a8687 in sword::VerseKey::setLocale(char const*) ()
   from /usr/lib/libsword.so.3
#4  0x417a7c89 in sword::VerseKey::init() () from /usr/lib/libsword.so.3
#5  0x417a7ec2 in sword::VerseKey::VerseKey(char const*) ()
   from /usr/lib/libsword.so.3
#6  0x0810338b in ?? ()
#7  0x08154ec0 in ?? ()

(gdb) q

kernel is vanilla.2.4.25
Athlon XP cpu
KDE 3.2.1
I have unmerged bibletime and sword and emerged it again, but no luck.
If more info is needed, please tell me how to get it.
Comment 1 Kees Bergwerf 2004-05-16 13:24:00 UTC
forgot something..
CFLAGS="-march=athlon-xp -O2 -pipe"
ACCEPT_KEYWORDS="~x86"
USE="aalib alsa apache2 arts avi bonobo cups encode fbcon foomaticdb gd gdbm gif g
nome gphoto2 gpm gtk gtk2 imlib ipv6 -java jpeg kde ldap libg++ libwww maildir mbo
x mmx motif mozilla ncurses nls oggvorbis pdflib perl png ppds python qt quicktime
 readline sasl sdl sse ssl speex svga tcpd tiff truetype usb X -sis -rage128 -matr
ox -3dfx -gamma -i8x0 radeon"
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-05-16 13:35:37 UTC
Did you upgrade your compiler recently?
Comment 3 Kees Bergwerf 2004-05-16 13:54:54 UTC
every time when there is an update, gcc is updated.
bash-2.05b# gcc --version
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r3, ssp-3.3-7, pie-8.5.3)
Comment 4 Pietro Franchi 2004-05-20 07:12:18 UTC
Here the same:

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.14
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium3  -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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="-Os -march=pentium3  -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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="X aalib alsa apache2 apm avi berkdb cdr crypt cups dga directfb dnd doc dv dvb dvd encode esd evms2 fastcgi fbcon fbdev foomaticdb gatos gd gdbm gif gmtsuppl gpm gtk gtk2 gtkhtml imlib ipv6 java jpeg libg++ libwww mad mikmod motif mpeg mpeg4 mysql ncurses nls oggvorbis opengl pam pdflib perl php png python qt quicktime radeon readline samba sdk sdl slang spell ssl svga tcltk tcpd tetex tiff transcode truetype usb video_cards_radeon x86 xchattext xml2 xmms xv xvid zlib"


I've tryed also to emerge sword with both icu and curl, but no luck anyway.
Comment 5 Paul Dunwoody 2004-05-20 20:38:04 UTC
Same error here.  I'm using:

GCC 3.3.3
KDE 3.2.2

Comment 6 Jon Hood (RETIRED) gentoo-dev 2004-05-28 14:22:06 UTC
Could you try recompiling sword with CFLAGS="-O0" and letting me know if everything works when you do that? If that doesn't work, could you try recompiling without any -O* optimizations?
Comment 7 Kees Bergwerf 2004-05-28 15:10:06 UTC
John, it finally works!
I emerged bibletime with -O0 but no luck.
Then I emerges sword again with -O0 and bibletime worked!
Now I am emerging bibletime again with -O2 ...
Comment 8 Kees Bergwerf 2004-05-28 15:31:52 UTC
bibletime emerged with -O2 works fine!
So only sword needs -O0

Thanks for your Help John!
Comment 9 Paul Dunwoody 2004-06-01 05:59:38 UTC
Compiling with -O0 for both bibletime and sword works here as well.
Comment 10 Jon Hood (RETIRED) gentoo-dev 2004-06-15 17:09:56 UTC
This is a problem with sword, not bibletime.

*** This bug has been marked as a duplicate of 48523 ***