http://bugzilla.novell.com/show_bug.cgi?id=617623
http://bugzilla.novell.com/show_bug.cgi?id=617623#c0
Summary: xpdf crashes in XPutImage, *image is NULL
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X11 Applications
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: olaf@aepfle.de
QAContact: qa@suse.de
Found By: Outsourced Testing
Blocker: ---
Created an attachment (id=371912)
--> (http://bugzilla.novell.com/attachment.cgi?id=371912)
hwinfo-fsc-esprimo-mobile-m9400.txt
11.2-x86_64, kde4, FSC ESPRIMO Mobile M9400
xpdf crashes on certain pages when xpdf window is maximized.
This is with "Understanding the Linux Virtual Memory Manager":
http://ptgmedia.pearsoncmg.com/images/0131453483/downloads/gorman_book.pdf
olaf@esprimo:~ $ env -i /bin/rpm -qfi /usr/bin/xpdf
Name : xpdf-poppler Relocations: (not relocatable)
Version : 3.02 Vendor: openSUSE
Release : 4.5.1 Build Date: Tue Feb 16 00:58:37
2010
Install Date: Mon Mar 1 23:13:03 2010 Build Host: build30
Group : Productivity/Publishing/PDF Source RPM:
xpdf-poppler-3.02-4.5.1.src.rpm
Size : 382953 License: GPLv2
Signature : RSA/8, Tue Feb 16 00:59:00 2010, Key ID b88b2fd43dbdc284
Packager : http://bugs.opensuse.org
URL : http://www.foolabs.com/xpdf/
Summary : A PDF File Viewer for the X Window System
Description :
This tool is used for viewing PDF (Portable Document Format) files. It
is designed to be small and efficient.
Authors:
--------
Derek B. Noonburg
Distribution: openSUSE 11.2
olaf@esprimo:~ $ gdb --readnow -ex 'r gorman_book.pdf ' /usr/bin/xpdf
GNU gdb (GDB) SUSE (6.8.91.20090930-2.4)
Copyright (C) 2009 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-suse-linux".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/xpdf...expanding to full symbols...Reading
symbols from /usr/lib/debug/usr/bin/xpdf.debug...expanding to full
symbols...done.
done.
Starting program: /usr/bin/xpdf gorman_book.pdf
type this in the xpdf window:
ALT+F3 x to maximize xpdf window
w to fit pdf document to window width
g 133 to go to page 133
PG-DOWN a few times to scroll down
now xpdf will crash in page 134. *image is NULL.
Program received signal SIGSEGV, Segmentation fault.
XPutImage (dpy=0x6a4180, d=50331831, gc=<value optimized out>, image=0x0,
req_xoffset=0, req_yoffset=0, x=0, y=431, req_width=1242, req_height=258) at
PutImage.c:969
969 if ((req_xoffset + width) > image->width)
Current language: auto
The current source language is "auto; currently c".
(gdb) bt
#0 XPutImage (dpy=0x6a4180, d=50331831, gc=<value optimized out>, image=0x0,
req_xoffset=0, req_yoffset=0, x=0, y=431, req_width=1242, req_height=258) at
PutImage.c:969
#1 0x000000000041dd19 in XPDFCore::redrawRect (this=0x731240, tileA=0x9b59d0,
xSrc=<value optimized out>, ySrc=0, xDest=0, yDest=431, width=1242, height=258,
composited=1) at XPDFCore.cc:1347
#2 0x0000000000417822 in PDFCore::redrawWindow (this=0x731240, x=0, y=0,
width=1242, height=689, needUpdate=<value optimized out>) at PDFCore.cc:2027
#3 0x000000000041a951 in PDFCore::update (this=0x731240, topPageA=689,
scrollXA=2, scrollYA=<value optimized out>, zoomA=<value optimized out>,
rotateA=0, force=0, addToHist=0) at PDFCore.cc:704
#4 0x000000000041fce8 in XPDFCore::update (this=0x6a4180, topPageA=50331831,
scrollXA=0, scrollYA=0, zoomA=-2, rotateA=0, force=0, addToHist=0) at
XPDFCore.cc:286
#5 0x000000000041673d in PDFCore::scrollTo (this=0x6a4180, x=7541312, y=<value
optimized out>) at PDFCore.cc:1015
#6 0x0000000000429746 in XPDFViewer::execCmd (this=<value optimized out>,
cmd=0xc389c0, event=<value optimized out>) at XPDFViewer.cc:726
#7 0x0000000000429cab in XPDFViewer::keyPressCbk (data=0x6f9680, key=<value
optimized out>, modifiers=<value optimized out>, event=0x7fffffffdc10) at
XPDFViewer.cc:590
#8 0x000000000041e900 in XPDFCore::inputCbk (widget=<value optimized out>,
ptr=0x731240, callData=0x7fffffffd5f0) at XPDFCore.cc:1152
#9 0x00007ffff63a1c7f in XtCallCallbackList (widget=0x739100,
callbacks=0x7393b0, call_data=0x7fffffffd5f0) at Callback.c:617
#10 0x00007ffff75bb333 in _XmDrawingAreaInput (wid=0x739100,
event=0x7fffffffdc10, params=<value optimized out>, num_params=<value optimized
out>) at DrawingA.c:440
#11 0x00007ffff63d8b5d in HandleActions (w=<value optimized out>,
event=0x7fffffffdc10, stateTree=<value optimized out>, accelWidget=<value
optimized out>, procs=<value optimized out>, actions=0x72c810)
at TMstate.c:636
#12 0x00007ffff63d8cb8 in HandleSimpleState (w=<value optimized out>,
tmRecPtr=<value optimized out>, curEventPtr=0x7fffffffd7c0) at TMstate.c:875
#13 0x00007ffff63d9618 in _XtTranslateEvent (w=<value optimized out>,
event=<value optimized out>) at TMstate.c:1093
#14 0x00007ffff63aff2b in XtDispatchEventToWidget (widget=0x739100,
event=0x7fffffffdc10) at Event.c:898
#15 0x00007ffff63b0783 in _XtDefaultDispatcher (event=0x7fffffffdc10) at
Event.c:1359
#16 0x00007ffff63af6e4 in XtDispatchEvent (event=0x30000b7) at Event.c:1415
#17 0x00007ffff63af88b in XtAppMainLoop (app=0x6a30b0) at Event.c:1552
#18 0x000000000042b37a in main (argc=2, argv=<value optimized out>) at
xpdf.cc:328
(gdb) info threads
* 1 process 31458 XPutImage (dpy=0x6a4180, d=50331831, gc=<value optimized
out>, image=0x0, req_xoffset=0, req_yoffset=0, x=0, y=431, req_width=1242,
req_height=258) at PutImage.c:969
(gdb) l
969 if ((req_xoffset + width) > image->width)
970 width = image->width - req_xoffset;
971 if ((req_yoffset + height) > image->height)
972 height = image->height - req_yoffset;
973 if ((width <= 0) || (height <= 0))
974 return 0;
(gdb)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.