Bug 147878 - kpdf crashes every time on the same page of a specific pdf
Summary: kpdf crashes every time on the same page of a specific pdf
Status: RESOLVED WORKSFORME
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: 0.5.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-15 03:28 UTC by johnelliottmartin
Modified: 2007-12-24 16:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnelliottmartin 2007-07-15 03:28:13 UTC
Version:           0.5.5 (using KDE 3.5.5 "release 45.4" , openSUSE 10.2)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.22-rc5-git5-2-default

Page 12 of this PDF kills kpdf everytime.

http://manuals.info.apple.com/en/PowerBookG4_15inch1GHz-867MHzGettingStarted.PDF
Comment 1 Pino Toscano 2007-07-15 13:02:12 UTC
Confirmed with KPDF 0.5.7 as well. But not with SVN r688200.

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47701695624112 (LWP 1376)]
[KCrash handler]
#5  0x00002b626b2c7428 in DCTStream::transformDataUnit (
    this=<value optimized out>, quantTable=<value optimized out>, 
    dataIn=0x7fff460fcca0, dataOut=0x7fff460fcda0 '&#56319;&#57087;' <repeats 64 times>)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Stream.cc:2787
#6  0x00002b626b2d0758 in DCTStream::readMCURow (this=0xae05a0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Stream.cc:2134
#7  0x00002b626b2d0e5d in DCTStream::getChar (this=0xfffffff3)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Stream.cc:2038
#8  0x00002b626b2c6471 in ImageStream::getLine (this=0x99e010)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Stream.cc:371
#9  0x00002b626b2e4063 in SplashOutputDev::imageSrc (data=0x7fff460fd1f0, 
    colorLine=0xa48b68 '&#56319;&#57062;' <repeats 24 times>, '&#56319;&#57064;' <repeats 96 times>, '&#56319;&#57066;' <repeats 80 times>...)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/SplashOutputDev.cc:1835
#10 0x00002b626b368044 in Splash::drawImage (this=0xa1e560, 
    src=0x2b626b2e3e70 <SplashOutputDev::imageSrc(void*, unsigned char*, unsigned char*)>, srcData=0x7fff460fd1f0, srcMode=splashModeRGB8, srcAlpha=7, 
    w=874, h=58, mat=0x7fff460fd220)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/splash/Splash.cc:2533
#11 0x00002b626b2e4395 in SplashOutputDev::drawImage (this=0x927be0, 
    state=<value optimized out>, str=0xae05a0, width=874, height=58, 
    colorMap=0xa4fea0, maskColors=0x0, inlineImg=0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/SplashOutputDev.cc:2040
#12 0x00002b626b395ced in KPDFOutputDev::drawImage (this=0x927be0, 
    state=0xa2c2e0, ref=0x7fff460fd590, str=0xae05a0, _width=874, _height=58, 
    colorMap=0xa4fea0, maskColors=0x0, inlineImg=0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/core/generator_pdf/gp_outputdev.cpp:210
#13 0x00002b626b32a464 in Gfx::doImage (this=0x8e45d0, ref=0x7fff460fd590, 
    str=0xae05a0, inlineImg=0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Gfx.cc:3663
#14 0x00002b626b3383b0 in Gfx::opXObject (this=0x8e45d0, 
    args=<value optimized out>)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Gfx.cc:3330
#15 0x00002b626b32b3b7 in Gfx::go (this=0x8e45d0, topLevel=1)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Gfx.cc:581
#16 0x00002b626b32b70e in Gfx::display (this=0x8e45d0, obj=0x7fff460fd960, 
    topLevel=1) at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Gfx.cc:553
#17 0x00002b626b340aa7 in Page::displaySlice (this=0x949050, out=0x927be0, 
    hDPI=133.19999999999999, vDPI=133.11111111111111, 
    rotate=<value optimized out>, useMediaBox=0, crop=0, 
    sliceX=<value optimized out>, sliceY=-1, sliceW=-1, sliceH=-1, 
    printing=1, catalog=0x92a590, abortCheckCbk=0, abortCheckCbkData=0x0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Page.cc:434
#18 0x00002b626b3416d9 in Page::display (this=0xfffffff3, out=0xfffffffd, 
    hDPI=0, vDPI=0, rotate=0, useMediaBox=1801624128, crop=17358, 
    printing=<value optimized out>, catalog=0x92a590, abortCheckCbk=0, 
    abortCheckCbkData=0x0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/xpdf/xpdf/Page.cc:383
#19 0x00002b626b390445 in PDFGenerator::generatePixmap (this=0x9100b0, 
    request=0x9ac0b0)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/core/generator_pdf/generator_pdf.cpp:319
#20 0x00002b626b3880ea in KPDFDocument::sendGeneratorRequest (this=0x75a660)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/core/document.cpp:1163
#21 0x00002b626b38860a in KPDFDocument::requestPixmaps (this=0x75a660, 
    requests=<value optimized out>)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/core/document.cpp:504
#22 0x00002b626b39ec11 in PageView::slotRequestVisiblePixmaps (this=0x820360, 
    newLeft=<value optimized out>, newTop=<value optimized out>)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/ui/pageview.cpp:1925
#23 0x00002b626b3aad0d in PageView::qt_invoke (this=0x820360, _id=67, 
    _o=0x7fff460fde10) at ./pageview.moc:196
#24 0x00002b6266dbb4ee in QObject::activate_signal (this=0x820360, 
    clist=0x823560, o=0x7fff460fde10) at kernel/qobject.cpp:2356
#25 0x00002b6267145c31 in QScrollView::contentsMoving (this=0x820360, t0=0, 
    t1=11400) at .moc/debug-shared-mt/moc_qscrollview.cpp:216
#26 0x00002b6266eeb397 in QScrollView::moveContents (this=0x820360, x=0, 
    y=-11400) at widgets/qscrollview.cpp:2073
#27 0x00002b6266eecad1 in QScrollView::vslide (this=0x820360, pos=11400)
    at widgets/qscrollview.cpp:727
#28 0x00002b6267145a5f in QScrollView::qt_invoke (this=0x820360, _id=56, 
    _o=0x7fff460fe060) at .moc/debug-shared-mt/moc_qscrollview.cpp:256
#29 0x00002b626b3aacad in PageView::qt_invoke (this=0x820360, _id=56, 
    _o=0x7fff460fe060) at ./pageview.moc:217
#30 0x00002b6266dbb4ee in QObject::activate_signal (this=0x820dd0, 
    clist=0x821eb0, o=0x7fff460fe060) at kernel/qobject.cpp:2356
#31 0x00002b6266dbbedf in QObject::activate_signal (this=0x820dd0, signal=2, 
    param=11400) at kernel/qobject.cpp:2449
#32 0x00002b6267144d02 in QScrollBar::valueChanged (this=0x820dd0, t0=11400)
    at .moc/debug-shared-mt/moc_qscrollbar.cpp:126
#33 0x00002b6266ee4733 in QScrollBar::valueChange (this=0x820dd0)
    at widgets/qscrollbar.cpp:408
#34 0x00002b6266ee3135 in QRangeControl::setValue (this=0x820e98, value=11400)
    at widgets/qrangecontrol.cpp:200
#35 0x00002b6266ee3a40 in QScrollBar::setValue (this=0x820dd0, i=11400)
    at widgets/qscrollbar.cpp:1053
#36 0x00002b6266ee4a51 in QScrollBar::wheelEvent (this=0x820dd0, 
    e=0x7fff460fea20) at widgets/qscrollbar.cpp:521
#37 0x00002b6266defc2e in QWidget::event (this=0x820dd0, e=0x7fff460fea20)
    at kernel/qwidget.cpp:4714
#38 0x00002b6266d56842 in QApplication::internalNotify (this=0x7fff460ff790, 
    receiver=0x820dd0, e=0x7fff460fea20) at kernel/qapplication.cpp:2635
#39 0x00002b6266d58c2e in QApplication::notify (this=0x7fff460ff790, 
    receiver=0x820dd0, e=0x7fff460fea20) at kernel/qapplication.cpp:2455
#40 0x00002b62666b7438 in KApplication::notify (this=0x7fff460ff790, 
    receiver=0x820dd0, event=0x7fff460fea20)
    at /build/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#41 0x00002b6266ce97f2 in QApplication::sendEvent (receiver=0x820dd0, 
    event=0x7fff460fea20) at ../include/qapplication.h:520
#42 0x00002b6266ee8709 in QScrollView::wheelEvent (this=0x820360, 
    e=0x7fff460fea20) at widgets/qscrollview.cpp:1188
#43 0x00002b626b3aaa7c in PageView::wheelEvent (this=0x820360, 
    e=0x7fff460fea20)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/ui/pageview.cpp:1279
#44 0x00002b6266defc2e in QWidget::event (this=0x820360, e=0x7fff460fea20)
    at kernel/qwidget.cpp:4714
#45 0x00002b6266d56842 in QApplication::internalNotify (this=0x7fff460ff790, 
    receiver=0x820360, e=0x7fff460fea20) at kernel/qapplication.cpp:2635
#46 0x00002b6266d58c2e in QApplication::notify (this=0x7fff460ff790, 
    receiver=0x821220, e=0x7fff460fed80) at kernel/qapplication.cpp:2455
#47 0x00002b62666b7438 in KApplication::notify (this=0x7fff460ff790, 
    receiver=0x821220, event=0x7fff460fed80)
    at /build/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#48 0x00002b6266ce9864 in QApplication::sendSpontaneousEvent (
    receiver=0x821220, event=0x7fff460fed80) at kernel/qapplication.h:523
#49 0x00002b6266cdb7c2 in QETWidget::translateWheelEvent (this=0x821220, 
    global_x=433, global_y=357, delta=-120, state=0, orient=Qt::Vertical)
    at kernel/qapplication_x11.cpp:4324
#50 0x00002b6266ce7c2c in QETWidget::translateMouseEvent (this=0x821220, 
    event=0x7fff460ff440) at kernel/qapplication_x11.cpp:4125
#51 0x00002b6266ce67e7 in QApplication::x11ProcessEvent (this=0x7fff460ff790, 
    event=0x7fff460ff440) at kernel/qapplication_x11.cpp:3478
#52 0x00002b6266cfc93f in QEventLoop::processEvents (this=0x652b30, flags=4)
    at kernel/qeventloop_x11.cpp:192
#53 0x00002b6266d6fe27 in QEventLoop::enterLoop (this=0x652b30)
    at kernel/qeventloop.cpp:198
#54 0x00002b6266d6fc2f in QEventLoop::exec (this=0x652b30)
    at kernel/qeventloop.cpp:145
#55 0x00002b6266d58324 in QApplication::exec (this=0x7fff460ff790)
    at kernel/qapplication.cpp:2758
#56 0x000000000040a153 in main (argc=7322720, argv=<value optimized out>)
    at /build/buildd/kdegraphics-3.5.7/./kpdf/shell/main.cpp:79
#57 0x00002b62655d58e4 in __libc_start_main () from /lib/libc.so.6
#58 0x0000000000408f59 in _start ()
Comment 2 Albert Astals Cid 2007-07-15 19:08:32 UTC
Any chance you can update to kpdf 0.5.7 (kde 3.5.7), Pino is getting the crash but it works for me.
Comment 3 Pino Toscano 2007-12-24 16:31:06 UTC
I cannot reproduce with KPDF 0.5.7 and with current post-3.5.8 branch, so I assume updating at least to KPDF 0.5.7 or later would make the document work.