Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202773 - app-text/xpdf-3.02-r1 segfaults in continuous view mode
Summary: app-text/xpdf-3.02-r1 segfaults in continuous view mode
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL: http://www.ub.uib.no/elpub/2004/h/413...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 12:20 UTC by Michał Kiedrowicz
Modified: 2010-02-16 21:34 UTC (History)
0 users

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 Michał Kiedrowicz 2007-12-19 12:20:33 UTC
GNU gdb 6.7.1
Copyright (C) 2007 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"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -cont Masteroppgave.pdf 
Starting program: /usr/bin/xpdf -cont Masteroppgave.pdf
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff5e3fe000

Program received signal SIGSEGV, Segmentation fault.
0x000000327f438e57 in XPutImage () from /usr/lib/libX11.so.6
(gdb) bt
#0  0x000000327f438e57 in XPutImage () from /usr/lib/libX11.so.6
#1  0x000000000041c97f in XPDFCore::redrawRect (this=0x6e5500, tileA=0x76f360, xSrc=0, ySrc=0, xDest=0, 
    yDest=450, width=744, height=456, composited=1) at XPDFCore.cc:1340
#2  0x0000000000416600 in PDFCore::redrawWindow (this=0x6e5500, x=0, y=0, width=744, height=906, 
    needUpdate=0) at PDFCore.cc:2005
#3  0x000000000041a3e2 in PDFCore::update (this=0x6e5500, topPageA=0, scrollXA=1, scrollYA=1, zoomA=125, 
    rotateA=2, force=16, addToHist=0) at PDFCore.cc:700
#4  0x000000000041d8b2 in XPDFCore::update (this=0x670a30, topPageA=0, scrollXA=0, scrollYA=0, zoomA=90, 
    rotateA=0, force=0, addToHist=0) at XPDFCore.cc:285
#5  0x000000000041609a in PDFCore::scrollTo (this=0x670a30, x=744, y=<value optimized out>)
    at PDFCore.cc:1011
#6  0x0000000000426a64 in XPDFViewer::execCmd (this=0x68f890, cmd=0x71fa20, event=0x7fff5e304f00)
    at XPDFViewer.cc:716
#7  0x000000000042874c in XPDFViewer::keyPressCbk (data=0x68f890, key=<value optimized out>, 
    modifiers=<value optimized out>, event=0x7fff5e304f00) at XPDFViewer.cc:580
#8  0x000000000041f163 in XPDFCore::inputCbk (widget=<value optimized out>, ptr=0x6e5500, 
    callData=0x7fff5e304770) at XPDFCore.cc:1145
#9  0x0000003283013c69 in XtCallCallbackList () from /usr/lib/libXt.so.6
#10 0x0000003282aa96b9 in _XmDrawingAreaInput () from /usr/lib/libXm.so.4
#11 0x0000003283044fad in ?? () from /usr/lib/libXt.so.6
#12 0x000000328304534d in ?? () from /usr/lib/libXt.so.6
#13 0x000000328304596a in _XtTranslateEvent () from /usr/lib/libXt.so.6
#14 0x0000003283020385 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#15 0x0000003283020995 in ?? () from /usr/lib/libXt.so.6
#16 0x000000328301fc26 in XtDispatchEvent () from /usr/lib/libXt.so.6
#17 0x000000328301fd69 in XtAppMainLoop () from /usr/lib/libXt.so.6
#18 0x0000000000420346 in main (argc=2, argv=<value optimized out>) at xpdf.cc:316
#19 0x000000327e41e1f4 in __libc_start_main () from /lib/libc.so.6
#20 0x000000000040ce99 in _start ()
(gdb) bt full
#0  0x000000327f438e57 in XPutImage () from /usr/lib/libX11.so.6
No symbol table info available.
#1  0x000000000041c97f in XPDFCore::redrawRect (this=0x6e5500, tileA=0x76f360, xSrc=0, ySrc=0, xDest=0, 
    yDest=450, width=744, height=456, composited=1) at XPDFCore.cc:1340
	drawAreaWin = 37749154
	gcValues = {function = 6752816, plane_mask = 7696240, foreground = 140734773609536, 
  background = 216883542424, line_width = 1580221504, line_style = 32767, cap_style = 64, join_style = 0, 
  fill_style = 0, fill_rule = 0, arc_mode = 2135186149, tile = 8802935061833986, 
  stipple = 162131381881667677, ts_x_origin = 0, ts_y_origin = 31654355, font = 281543725744575, 
  subwindow_mode = 155564044, graphics_exposures = 37749311, clip_x_origin = 2121546112, 
  clip_y_origin = 1, clip_mask = 3195455669130, dash_offset = 7795552, dashes = 0 '\0'}
#2  0x0000000000416600 in PDFCore::redrawWindow (this=0x6e5500, x=0, y=0, width=744, height=906, 
    needUpdate=0) at PDFCore.cc:2005
	page = (PDFCorePage *) 0x757f70
	tile = (PDFCoreTile *) 0x76f360
	xDest = <value optimized out>
	yDest = <value optimized out>
	w = <value optimized out>
	i = <value optimized out>
	j = 0
#3  0x000000000041a3e2 in PDFCore::update (this=0x6e5500, topPageA=0, scrollXA=1, scrollYA=1, zoomA=125, 
    rotateA=2, force=16, addToHist=0) at PDFCore.cc:700
	hDPI = <value optimized out>
	vDPI = <value optimized out>
	dpiA = 90
	uw = 595
	uh = <value optimized out>
	w = <value optimized out>
	h = <value optimized out>
	x0 = <value optimized out>
	x1 = 1
	y0 = 0
	y1 = 1
	x = 16
	y = 2
	rot = <value optimized out>
	pg1 = 1
	tile = <value optimized out>
	page = (PDFCorePage *) 0x1
	xorColor = "\020_k"
	needUpdate = 0
---Type <return> to continue, or q <return> to quit---
	i = 16
	j = 16
#4  0x000000000041d8b2 in XPDFCore::update (this=0x670a30, topPageA=0, scrollXA=0, scrollYA=0, zoomA=90, 
    rotateA=0, force=0, addToHist=0) at XPDFCore.cc:285
	oldPage = 2
#5  0x000000000041609a in PDFCore::scrollTo (this=0x670a30, x=744, y=<value optimized out>)
    at PDFCore.cc:1011
No locals.
#6  0x0000000000426a64 in XPDFViewer::execCmd (this=0x68f890, cmd=0x71fa20, event=0x7fff5e304f00)
    at XPDFViewer.cc:716
	name = (GooString *) 0x6e64f0
	args = {0x0, 0x0}
	p0 = <value optimized out>
	p1 = <value optimized out>
	nArgs = 0
	i = <value optimized out>
	a = <value optimized out>
	b = 35
	m = <value optimized out>
	cmp = <value optimized out>
#7  0x000000000042874c in XPDFViewer::keyPressCbk (data=0x68f890, key=<value optimized out>, 
    modifiers=<value optimized out>, event=0x7fff5e304f00) at XPDFViewer.cc:580
	viewer = (XPDFViewer *) 0x670a30
	keyCode = <value optimized out>
	cmds = (GooList *) 0x6deea0
	i = 0
#8  0x000000000041f163 in XPDFCore::inputCbk (widget=<value optimized out>, ptr=0x6e5500, 
    callData=0x7fff5e304770) at XPDFCore.cc:1145
	core = <value optimized out>
	action = <value optimized out>
	pg = <value optimized out>
	x = <value optimized out>
	y = <value optimized out>
	xu = <value optimized out>
	yu = <value optimized out>
	s = <value optimized out>
	key = 0
	ok = <value optimized out>
#9  0x0000003283013c69 in XtCallCallbackList () from /usr/lib/libXt.so.6
No symbol table info available.
#10 0x0000003282aa96b9 in _XmDrawingAreaInput () from /usr/lib/libXm.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#11 0x0000003283044fad in ?? () from /usr/lib/libXt.so.6
No symbol table info available.
#12 0x000000328304534d in ?? () from /usr/lib/libXt.so.6
No symbol table info available.
#13 0x000000328304596a in _XtTranslateEvent () from /usr/lib/libXt.so.6
No symbol table info available.
#14 0x0000003283020385 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
No symbol table info available.
#15 0x0000003283020995 in ?? () from /usr/lib/libXt.so.6
No symbol table info available.
#16 0x000000328301fc26 in XtDispatchEvent () from /usr/lib/libXt.so.6
No symbol table info available.
#17 0x000000328301fd69 in XtAppMainLoop () from /usr/lib/libXt.so.6
No symbol table info available.
#18 0x0000000000420346 in main (argc=2, argv=<value optimized out>) at xpdf.cc:316
	app = (XPDFApp *) 0x66c5f0
	fileName = (GooString *) 0x6ab0f0
	pg = 1
	destName = (GooString *) 0x0
	userPasswordStr = (GooString *) 0x0
	ownerPasswordStr = (GooString *) 0x0
	ok = <value optimized out>
	exitCode = <value optimized out>
#19 0x000000327e41e1f4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#20 0x000000000040ce99 in _start ()
No symbol table info available.


Reproducible: Always

Steps to Reproduce:
1. Open file from bug URL with continuous view mode.
2. Scroll down few pages
3. xpdf crashes always in the same place of pdf.




Portage 2.1.4_rc9 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-tuxonice-r4 x86_64)
=================================================================
System uname: 2.6.23-tuxonice-r4 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Wed, 12 Dec 2007 17:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 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.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -ggdb"
DISTDIR="/usr/portage.distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl ftp://gentoo.po.opole.pl ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j3"
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/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 apache2 bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode flac gdbm gif gnutls gpm gstreamer gtk hal iconv java jpeg kdeenablefinal kdehiddenvisibility lcms logrotate mad midi mmx mp3 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png postgres python quicktime readline sasl sdl session slang spell spl sse sse2 ssl svg tcpd test threads truetype truetype-fonts type1-fonts unicode vim-syntax vorbis xcomposite xml xorg xvid zlib" 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" 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="pl" USERLAND="GNU" VIDEO_CARDS="i810 i830 i915 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-02-11 04:25:12 UTC
What's the status of this with app-text/poppler-0.12.3-r3 and xpdf-3.02-r4?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-02-16 21:34:09 UTC
(In reply to comment #1)
> What's the status of this with app-text/poppler-0.12.3-r3 and xpdf-3.02-r4?
> 

poppler-0.12.3-r5 actually

reopen if it's still a problem