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"
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
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
please try 3.5.12 from ~arch and tell me if the crash is still there ACCEPT_KEYWORDS="~x86" emerge djvu then retest
That worked. Thanks.
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.