Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41659 - djvu-3.5.9 seg faults on startup
Summary: djvu-3.5.9 seg faults on startup
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-15 05:56 UTC by jsado_sc3
Modified: 2004-02-21 04:34 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 jsado_sc3 2004-02-15 05:56:33 UTC
When I type djview I get "Segmentation fault"

Reproducible: Always
Steps to Reproduce:




Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23)
=================================================================
System uname: 2.4.23 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k6"
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="/usr/src"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X alsa arts avi berkdb bonobo crypt cups encode esd evo
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg lcms libg++
libwww mad mikmod mmx motif mozilla mpeg ncurses oggvorbis opengl oss pam pda
pdflib perl png python qt readline sdl slang spell ssl svga tcltk tetex tiff
truetype voodoo3 x86 xinerama xml2 xmms zlib"
Comment 1 Stephane Loeuillet 2004-02-15 07:34:54 UTC
from the djvu viewer package ?

try running ldd /usr/bin/djview and look for some "missing" lines
(perhaps a broken dependency)

i really can't tell without a proper back-trace
Comment 2 jsado_sc3 2004-02-15 13:08:47 UTC
Yes, the Djvu package.

ldd /usr/bin/djview
        libdjvulibre-3.5.9.so => /usr/lib/libdjvulibre-3.5.9.so (0x40014000)
        libqt-mt.so.3 => /usr//qt/3/lib/libqt-mt.so.3 (0x40196000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4081f000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40827000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4083d000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4084b000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40924000)
        libdl.so.2 => /lib/libdl.so.2 (0x4093f000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x40942000)
        libm.so.6 => /lib/libm.so.6 (0x409f0000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x40a13000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40a1b000)
        libc.so.6 => /lib/libc.so.6 (0x40a6b000)
        libmng.so.1 => /usr/lib/libmng.so.1 (0x40b8e000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0x40bca000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40bf1000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40c00000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40c63000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40c78000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40c81000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40c89000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40c8d000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40c96000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40ca7000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40cf1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40d15000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40d62000)

gdb /usr/bin/djview
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/djview 
[New Thread 16384 (LWP 15255)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 15255)]
0x400526ea in GStringRep::Native::toUTF8(bool) const () from /usr/lib/libdjvulibre-3.5.9.so
(gdb) bt
#0  0x400526ea in GStringRep::Native::toUTF8(bool) const () from /usr/lib/libdjvulibre-3.5.9.so
#1  0x40135aff in djvu_programname () from /usr/lib/libdjvulibre-3.5.9.so
#2  0x08116249 in DArray<GUTF8String>::insert(void*, int, int, void const*, int) ()
#3  0x40a80910 in __libc_start_main () from /lib/libc.so.6
Comment 3 Stephane Loeuillet 2004-02-15 14:09:23 UTC
please try 3.5.12 from ~arch and tell me if the crash is still there

ACCEPT_KEYWORDS="~x86" emerge djvu

then retest
Comment 4 jsado_sc3 2004-02-15 15:57:06 UTC
That worked. Thanks.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-21 04:34:44 UTC
I've just marked 3.5.12 stable on x86. I don't have time to fix
djvu-3.5.9 atm and if the problem doesn't occur with the recent
version of djvu, I hope this is the best thing what I can do.