[Poppler-bugs] [Bug 93299] Poppler fails to display pdf correctly
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 30 09:31:28 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93299
--- Comment #3 from Albert Astals Cid <aacid at kde.org> ---
Crashes with bug97131-2.pdf
Displaying page using "Splash" backend: 116
Program received signal SIGSEGV, Segmentation fault.
NameToCharCode::hash (this=this at entry=0x6e04d0,
name=name at entry=0xd20657079546500 <error: Cannot access memory at address
0xd20657079546500>) at
/home/tsdgeos/devel/poppler/poppler/NameToCharCode.cc:112
112 for (p = name; *p; ++p) {
(gdb) bt
#0 0x00007ffff5f08380 in NameToCharCode::hash(char const*)
(this=this at entry=0x6e04d0, name=name at entry=0xd20657079546500 <error: Cannot
access memory at address 0xd20657079546500>) at
/home/tsdgeos/devel/poppler/poppler/NameToCharCode.cc:112
#1 0x00007ffff5f08553 in NameToCharCode::lookup(char const*) (this=0x6e04d0,
name=0xd20657079546500 <error: Cannot access memory at address
0xd20657079546500>) at /home/tsdgeos/devel/poppler/poppler/NameToCharCode.cc:95
#2 0x00007ffff5ef2039 in GlobalParams::mapNameToUnicodeText(char const*)
(this=<optimized out>, charName=<optimized out>) at
/home/tsdgeos/devel/poppler/poppler/GlobalParams.cc:858
#3 0x00007ffff5ef293e in GlobalParams::findSystemFontFile(GfxFont*,
SysFontType*, int*, GooString*, GooString*) (base14Name=0x0, font=0x9ae460) at
/home/tsdgeos/devel/poppler/poppler/GlobalParams.cc:1112
#4 0x00007ffff5ef293e in GlobalParams::findSystemFontFile(GfxFont*,
SysFontType*, int*, GooString*, GooString*) (this=0x6e8410,
font=font at entry=0x9ae460, type=type at entry=0x7fffffffc3d8,
fontNum=fontNum at entry=0x7fffffffc3dc,
substituteFontName=substituteFontName at entry=0x0,
base14Name=base14Name at entry=0x0) at
/home/tsdgeos/devel/poppler/poppler/GlobalParams.cc:1209
#5 0x00007ffff5ed3da5 in GfxFont::locateFont(XRef*, PSOutputDev*)
(this=this at entry=0x9ae460, xref=<optimized out>, ps=ps at entry=0x0) at
/home/tsdgeos/devel/poppler/poppler/GfxFont.cc:710
#6 0x00007ffff5f5a009 in SplashOutputDev::doUpdateFont(GfxState*)
(this=this at entry=0x7fffffffcc10, state=state at entry=0x7c3440) at
/home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:1969
#7 0x00007ffff5f5a9c2 in SplashOutputDev::drawChar(GfxState*, double, double,
double, double, double, double, unsigned int, int, unsigned int*, int)
(this=0x7fffffffcc10, state=0x7c3440, x=<optimized out>, y=<optimized out>,
dx=<optimized out>, dy=<optimized out>, originX=<optimized out>,
originY=<optimized out>, code=1, nBytes=<optimized out>, u=<optimized out>,
uLen=<optimized out>) at
/home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:2338
#8 0x00007ffff5ece823 in Gfx::doShowText(GooString*)
(this=this at entry=0xc19820, s=0x835370) at
/home/tsdgeos/devel/poppler/poppler/Gfx.cc:4066
#9 0x00007ffff5ecf105 in Gfx::opShowText(Object*, int) (this=0xc19820,
args=0x7fffffffc7e0, numArgs=<optimized out>) at
/home/tsdgeos/devel/poppler/poppler/Gfx.cc:3809
#10 0x00007ffff5ec752e in Gfx::go(bool) (this=this at entry=0xc19820,
topLevel=topLevel at entry=true) at /home/tsdgeos/devel/poppler/poppler/Gfx.cc:763
#11 0x00007ffff5ec79d0 in Gfx::display(Object*, bool)
(this=this at entry=0xc19820, obj=obj at entry=0x7fffffffcae0,
topLevel=topLevel at entry=true) at /home/tsdgeos/devel/poppler/poppler/Gfx.cc:729
#12 0x00007ffff5f0da65 in Page::displaySlice(OutputDev*, double, double, int,
bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*,
void*), void*, bool) (this=0x7ccf80, out=0x7fffffffcc10,
out at entry=0xffffffff00000000, hDPI=72,
hDPI at entry=0, vDPI=72, vDPI at entry=4,0413305021760614e-317,
rotate=rotate at entry=0, useMediaBox=false, useMediaBox at entry=8,
crop=crop at entry=true, sliceX=-1,
sliceX at entry=0, sliceY=-1, sliceW=-1, sliceH=-1, printing=false,
abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x0,
annotDisplayDecideCbkData=0x0, copyXRef=true) at
/home/tsdgeos/devel/poppler/poppler/Page.cc:599
#13 0x00007ffff5f152e9 in PDFDoc::displayPageSlice(OutputDev*, int, double,
double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool
(*)(Annot*, void*), void*, bool) (this=<optimized out>, out=0xffffffff00000000,
out at entry=0x7fffffffcc10, page=913297635, hDPI=0, hDPI at entry=72,
vDPI=4,0413305021760614e-317,
vDPI at entry=72, rotate=rotate at entry=0, useMediaBox=useMediaBox at entry=false,
crop=crop at entry=true, printing=255, sliceX=-1, sliceY=-1, sliceW=0, sliceH=0,
abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=
0x0, annotDisplayDecideCbkData=0x1, copyXRef=true) at
/home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:504
#14 0x00007ffff7bc1731 in Poppler::Page::renderToImage(double, double, int,
int, int, int, Poppler::Page::Rotation) const (this=this at entry=0x88fd60,
xres=xres at entry=72, yres=yres at entry=72, x=x at entry=-1, y=y at entry=-1,
w=w at entry=-1, h=h at entry=-1, rotate=Poppler::Page::Rotate0) at
/home/tsdgeos/devel/poppler/qt4/src/poppler-page.cc:358
#15 0x0000000000405f04 in PDFDisplay::display() (this=0x7fffffffdc50) at
/home/tsdgeos/devel/poppler/qt4/tests/test-poppler-qt4.cpp:65
#16 0x00007ffff6ba18c3 in QWidget::event(QEvent*) (this=0x7fffffffdc50,
event=0x7fffffffd230) at kernel/qwidget.cpp:8435
#17 0x00007ffff6b4ccdc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this at entry=0x626c30, receiver=receiver at entry=0x7fffffffdc50,
e=e at entry=0x7fffffffd230) at kernel/qapplication.cpp:4570
#18 0x00007ffff6b54f63 in QApplication::notify(QObject*, QEvent*)
(this=<optimized out>, receiver=0x7fffffffdc50, e=0x7fffffffd230) at
kernel/qapplication.cpp:4011
#19 0x00007ffff780385d in QCoreApplication::notifyInternal(QObject*, QEvent*)
(this=0x7fffffffdc40, receiver=receiver at entry=0x7fffffffdc50,
event=event at entry=0x7fffffffd230) at kernel/qcoreapplication.cpp:955
#20 0x00007ffff6b4b146 in qt_sendSpontaneousEvent(QObject*, QEvent*)
(event=event at entry=0x7fffffffd230, receiver=receiver at entry=0x7fffffffdc50) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#21 0x00007ffff6b4b146 in qt_sendSpontaneousEvent(QObject*, QEvent*)
(receiver=receiver at entry=0x7fffffffdc50, event=event at entry=0x7fffffffd230) at
kernel/qapplication.cpp:5568
#22 0x00007ffff6bf4cc3 in QKeyMapper::sendKeyEvent(QWidget*, bool,
QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int,
unsigned int, unsigned int, unsigned int, bool*)
(keyWidget=keyWidget at entry=0x7fffffffdc50, grab=grab at entry=false,
type=QEvent::KeyPress, code=16777237, modifiers=..., text=..., autorepeat=true,
count=1, nativeScanCode=116, nativeVirtualKey=65364, nativeModifiers=0) at
kernel/qkeymapper_x11.cpp:1866
#23 0x00007ffff6bf51d2 in QKeyMapperPrivate::translateKeyEvent(QWidget*,
_XEvent const*, bool) (this=0x7fffffffd7a0, keyWidget=0x7fffffffdc50,
event=0x0, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836
#24 0x00007ffff6bcd2c1 in QApplication::x11ProcessEvent(_XEvent*)
(this=0x7fffffffdc40, event=event at entry=0x7fffffffd7a0) at
kernel/qapplication_x11.cpp:3641
#25 0x00007ffff6bf7b52 in x11EventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x629720, callback=0x0, user_data=0x0) at
kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007ffff5268117 in g_main_context_dispatch (context=0x6282e0) at
/build/glib2.0-IfQpAv/glib2.0-2.47.3/./glib/gmain.c:3154
#27 0x00007ffff5268117 in g_main_context_dispatch
(context=context at entry=0x6282e0) at
/build/glib2.0-IfQpAv/glib2.0-2.47.3/./glib/gmain.c:3769
#28 0x00007ffff5268370 in g_main_context_iterate
(context=context at entry=0x6282e0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/build/glib2.0-IfQpAv/glib2.0-2.47.3/./glib/gmain.c:3840
#29 0x00007ffff526841c in g_main_context_iteration (context=0x6282e0,
may_block=may_block at entry=1) at
/build/glib2.0-IfQpAv/glib2.0-2.47.3/./glib/gmain.c:3901
#30 0x00007ffff78341ee in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x6281a0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#31 0x00007ffff6bf7c26 in
QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007ffff78020d1 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fffffffdb80, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007ffff7802445 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fffffffdb80, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007ffff7808429 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1227
#35 0x00007ffff6b4af2c in QApplication::exec() () at
kernel/qapplication.cpp:3828
#36 0x0000000000405445 in main(int, char**) (argc=2, argv=0x7fffffffddd8) at
/home/tsdgeos/devel/poppler/qt4/tests/test-poppler-qt4.cpp:223
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20151230/e3d93f9b/attachment.html>
More information about the Poppler-bugs
mailing list