Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188980 - app-text/epdfview-0.1.6 crashes on any pdf documents on many presses PageUp or PageDown key
Summary: app-text/epdfview-0.1.6 crashes on any pdf documents on many presses PageUp o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: David Shakaryan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 12:22 UTC by progserega
Modified: 2009-03-19 22:35 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 progserega 2007-08-15 12:22:51 UTC
app-text/epdfview latest version 0.1.6 receive Segmentation fault signal, if many pressing keys PageDown, PageDown to end documents and PageUp to begining of pdf documets.

Reproducible: Always

Steps to Reproduce:
1. start epdfview with pdf document as parameter.
2. Document showed.
3. Press PageDown, wait to go to end of document.
4. Press PageUp, wait to go to begin of document.
5. app receive SEGV signal.

Actual Results:  
App crashed: 

(epdfview:15814): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
Segmentation fault
Comment 1 progserega 2007-08-15 12:28:22 UTC
Portage 2.1.2.11 (default-linux/x86/2007.0, gcc-3.4.6, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 15 Aug 2007 10:00:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -m3dnow -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -m3dnow -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/"
LANG="ru_RU.KOI8-R"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr clamav cli cracklib crypt cups curl dga directfb dri dvd dvdr encode esd fbcon flac fortran ftp gdbm gif gnutls gpgme gpm gtk iconv ilbc imap ipv6 isdnlog jbig jpeg jpeg2k mbox midi mmx mmxext mp2 mp3 mudflap ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre perl png pop pppd python qt3 readline reflection rtc sasl sdl session smime spamassassin speex spell spl srt sse ssl svg syslog tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales vim-syntax vorbis win32codecs x264 x86 xorg xosd xv xvid xvmc zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sideris Michael 2007-10-20 05:06:43 UTC
Same for me here. Can't say the exact cause of the problem, but using PageUp/Down or even Up/Down arrows to navigate through a document(single click is enough in either case) results in segfault. I'd suggest masking the ebuild if the problem occurs to many people since the application is simply unstable. Reporting to upstream would be wise too if it hasn't been reported already. Another thing to mention is that if you try scrolling through a document using your mouse roller it works fine, at least for me. It would be nice to see this application working smoothly since it is the simplest, dependency-wise, gtk-based PDF viewer out there. Last but not least, the necessary `emerge --info`:

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Sat, 20 Oct 2007 03:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/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/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion bitmap-fonts bogofilter bzip2 cli cracklib crypt cscope dbus dts dv dvb dvd encode ffmpeg fortran ftp gif gnutls gpm gtk hal iconv imap isdnlog java jpeg libnotify midi mmx mp3 mpeg mudflap ncurses nls nodrm nptl nptlonly nsplugin opengl openmp pcmcia pcre perl plugins png pppd python readline reflection session spell spl sse sse2 ssl startup-notification symlink tcl tiff trayicon truetype truetype-fonts type1-fonts v4l vim-syntax win32codecs x86 xorg xscreensaver" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 David Shakaryan (RETIRED) gentoo-dev 2007-10-21 08:30:43 UTC
I'm not able to reproduce this bug, it seems.

Anyhow, I checked their homepage and found this bug: http://trac.emma-soft.com/epdfview/ticket/70

From what I understand from the description, this only applies when the page is set to the width of the browser. If you have been using this setting, can you change the zoom manually and see if this bug still prevails?

Anyhow, as this is an upstream bug, and I have virtually no C++ knowledge, I can't really fix this. I would prefer not to mask the package as a result of this, as it is still usable. I, for one, have been using the package for about a year, and have not yet experienced this problem.
Comment 4 Sideris Michael 2007-10-21 10:44:07 UTC
Actually it crashes on any way you view it, at any zoom, no matter what. If you move with page down/up or the arrows, it simply crashes. Mouse wheel scrolling, surprisingly, works and this is what makes me wonder even more regarding the nature of the problem. Anyway, of course you shouldn't mask it if the problem is not generic and I understand that you cannot fix it yourself, as I can't too. I will also try without the nvidia driver, using the nv one, maybe that causes the problem, who knows.
Comment 5 Stefan de Konink 2008-03-26 01:21:41 UTC
I had the same problem but only on PPC. I have downloaded the SVN tree compiled it and the error seems to be gone :)
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-19 22:35:21 UTC
+*epdfview-0.1.7 (19 Mar 2009)
+
+  19 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> +epdfview-0.1.7.ebuild:
+  Bump, bug 261123. Fix icons, bug 253993. Bump also presumably fixes bug
+  188980, since it was fixed in SVN at the time.
+