Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289370 - app-text/evince-2.26.2 crashes when opening cbr/cbz files
Summary: app-text/evince-2.26.2 crashes when opening cbr/cbz files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-10-16 18:45 UTC by ProTech
Modified: 2009-10-27 17:45 UTC (History)
1 user (show)

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


Attachments
a dummy cbz file created from one of the pictures on the gentoo site (gentoo.cbz,2.94 KB, application/octet-stream)
2009-10-26 15:51 UTC, ProTech
Details
backtrace.log from comment #6 (backtrace.log,2.66 KB, text/plain)
2009-10-26 17:54 UTC, ProTech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ProTech 2009-10-16 18:45:36 UTC
I tried to open comic files with evince, but it crashes on every file. It opens displays a big loading text then closes. I did not get any error message. I tried running it from gnome-terminal, but did not wrote any message there either. Evince works with pdf files fine. The previous stable version (2.24.x) had no problem with cbr/cbz files.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 16 Oct 2009 05:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp.fsn.hu/pub/linux/distributions/gentoo http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="hu en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/protech /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups dbus devhelp doc dri dts dvb dvd dvdnav dvdr eds emacs emboss encode evo fam fbcon ffmpeg flac gdbm gif git glitz gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java jce jpeg libffi libnotify mad matroska mikmod mmx modules mono moonlight mp2 mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection rtc samba sdl session source spell spl srt sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vorbis x264 xcb xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="ca0106 ens1371 virtuoso" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon radeonhd v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-21 23:55:29 UTC
Please provide a backtrace [1] or attach a file that will enable us to reproduce the problem. Thanks.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 ProTech 2009-10-26 15:51:08 UTC
Created attachment 208320 [details]
a dummy cbz file created from one of the pictures on the gentoo site
Comment 3 ProTech 2009-10-26 15:56:03 UTC
The error was not specific to one cbz file. It was not working with any of the cbr/cbz files on my system. I created a dummy cbz file (which format is in reality a zip containing a jpeg file(s)) for testing.

It is working with evince 2.24.2 on my work laptop. I will try it out at home to see if it fails with the new version, but my guess that it will be because everything failed that I tried.

I give a try to this backtrace thing, but it looks complicated from the documentation.
Comment 4 Paulo J. Matos 2009-10-26 16:21:16 UTC
My evince 2.26.2 _works_ using poppler (0.12.1) cairo. My emerge info is:

Portage 2.1.7.1 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.31-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r2-x86_64-Intel-R-_Pentium-R-_D_CPU_3.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 25 Oct 2009 12:15:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/X11/xkb /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en pt de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 applet auctex autotrace avahi bash-completion berkdb bluetooth branding bzip2 cairo capi caps cdda cdr cdrom chipcard cleartype cli consolekit context cracklib crypt css csv cups cupsddk curl daap dbus deskbar detex disk-partition djvu dri dts dvb dvd dvdr dvi2tty dvipdfm ebook ecsteve ecsteve2 eds elf elisp emacs emacs22icons emboss encode evo exif expat extra extra-algorithms extras extratools faac faad fam fat fax ffmpeg fftw firefox firefox3 flac flash flickr fltk fontconfig fontforge foomatic foomaticdb fortran fuse games gconf gdbm ggi gif gimp gmp gnome gnutls gpm graphics graphviz gs gsf gstreamer gtk guile h323 hal hbci humanities iconv int64 ipv6 isdnlog jadetex java java6 javascript jpeg jpeg2k karma kpathsea lame latex latex3 ldap libffi libnotify libssh2 lua mad md5sum mikmod mmx modules mono mp3 mp4 mpeg mpi mtp mudflap multilib music mysql nautilus ncurses networking nls nptl nptlonly nsplugin odk ofx ogg omega opengl openmp pam pango pcre pdf perl plotutils png ppds pppd preview-latex pstricks publishers python qt3 qt3support qt4 quicktime quotes readline reflection science sdl server session sip smp sourceview speex spell spl sqlite sqlite3 srtp sse sse2 ssl startup-notification stats subversion svg swig sysfs taglib tcl tcpd templates tex tex4ht theora thunar tiff tk toolkit-scroll-bars tracker truetype type3 unicode usb vorbis wav webkit wifi wmf wxwidgets x264 xft xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 ProTech 2009-10-26 17:35:35 UTC
I tried the attached file at home (2.26.2) and not working, so it's constantly fails with any cbr or cbz file.
Comment 6 ProTech 2009-10-26 17:53:06 UTC
I'm new to this gdb thing, so what I done is:
- add -ggdb to CFLAGS
- add splitdebug to FEATURES
- recompile evince
- run gdb with the following options:

andrewjr@elune ~ $ gdb /usr/bin/evince
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
(gdb) set args /mnt/high/Download/0_Mozilla/gentoo.cbz
(gdb) set logging file backtrace.log
(gdb) set logging on
Copying output to backtrace.log.
(gdb) run
Starting program: /usr/bin/evince /mnt/high/Download/0_Mozilla/gentoo.cbz
[Thread debugging using libthread_db enabled]
[New Thread 0x7f6980c96760 (LWP 15290)]
[New Thread 0x7f6975079950 (LWP 15293)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6980c96760 (LWP 15290)]
0x00007f69786f01dc in jpeg_CreateDecompress () from /usr/lib/libjpeg.so.62
(gdb) bt
Comment 7 ProTech 2009-10-26 17:54:01 UTC
Created attachment 208337 [details]
backtrace.log from comment #6
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-26 18:07:51 UTC
ok 2 cases here:
 * did you recently switch to jpeg-7 and haven't finished rebuilding packages against the new lib ?
 * do you have media-libs/jpeg-compat installed ?
Comment 9 ProTech 2009-10-26 18:27:16 UTC
I'm using the stable tree and recently a new version of xorg and GNOME got stabilized, with something like 200 new packages. As I see from the logs jpeg-7 was among those. I don't have jpeg-compat installed.

I run a revdep-rebuild now, but it did not found any broken packages. I remember that I run lots of revdep-rebuild during the GNOME/Xorg update because the xcb thing. So after the update the system was definitely fine, or revdep-rebuild didn't found the problem.

What should I rebuild or is there any special revdep-rebuild argument that would help to find the problematic package?
Comment 10 Romain Perier (RETIRED) gentoo-dev 2009-10-27 13:31:32 UTC
Could you install jpeg-compat and retry ? /usr/lib/libjpeg.so.62 is installed by jpeg-compat since jpeg7 has some API/ABI changes and a new soname.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-27 13:36:56 UTC
no, do not install jpeg-compat, it is only provided for binary packages and shouldn't be used on a sane system. If the revdep-rebuild didn't work, we will try something else to figure out what hasn't been rebuilt correctly.
Comment 12 ProTech 2009-10-27 17:39:41 UTC
I checked my old elogs to see if there anything related to jpeg-7, and found the following command, which solved the problem:

revdep-rebuild --library libjpeg.so.62

If I understand correctly the old jpeg lib was left on the system to prevent breakage in packages, but the old lib was not working with evince for some reason. revdep-rebuild (whitout params) didn't found any problem because the old lib was there.

Thanks for the help!
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-27 17:45:17 UTC
ok closing invalid then, thanks for reporting.