[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 70946] New: kpdf crashes when trying to open any pdf document
From:       Torsten Kasch <tk () CeBiTec ! Uni-Bielefeld ! DE>
Date:       2003-12-20 23:35:56
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=70946     
           Summary: kpdf crashes when trying to open any pdf document
           Product: kpdf
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: oelewapperke@ulyssis.org
        ReportedBy: tk@CeBiTec.Uni-Bielefeld.DE


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 2.95.3 20010315 (release) 
OS:          Solaris

After having compiled a fresh kdelibs/base/graphics on my Solaris 8 x86 box (from \
scratch, using qt 3.2.3), kdpf crashes when trying to open any pdf file. The fact \
that acroread can display them suggests that the pdfs are intact.

Here's the backtrace:

--- snip ---
Retry #4:
[New LWP    1        ]
[New Thread 1 (LWP 1)]
[Switching to Thread 1 (LWP 1)]
0xde5db14c in _waitid () from /usr/lib/libc.so.1
#0  0xde5db14c in _waitid () from /usr/lib/libc.so.1
#1  0xde5f3c2f in _waitpid () from /usr/lib/libc.so.1
#2  0xde4f7f24 in waitpid () from /usr/lib/libthread.so.1
#3  0xde4e7a4f in __sighndlr () from /usr/lib/libthread.so.1
#4  0xde4f5b3d in sigacthandler () from /usr/lib/libthread.so.1
#5  <signal handler called>
#6  0xdf069480 in XSetForeground () from /usr/lib/libX11.so.4
#7  0xdea21821 in QPainter::updatePen (this=0x819bdd8)
    at kernel/qpainter_x11.cpp:793
#8  0xdead73e4 in QPainter::setPen (this=0x819bdd8, pen=@0x8046258)
    at kernel/qpainter.cpp:932
#9  0xde07f423 in QOutputDevPixmap::updateLineAttrs (this=0x80ec3a8, 
    state=0x8235110, updateDash=1) at QOutputDevPixmap.cpp:337
#10 0xde07f15f in QOutputDevPixmap::updateAll (this=0x80ec3a8, state=0x8235110)
    at QOutputDevPixmap.cpp:252
#11 0xde09b3d8 in Gfx::Gfx (this=0x81723e0, xrefA=0x8195a00, outA=0x80ec3a8, 
    pageNum=1, resDict=0x815cff0, dpi=74, box=0x804638c, crop=1, 
    cropBox=0x819de40, rotate=0, abortCheckCbkA=0, abortCheckCbkDataA=0x0)
    at Gfx.cc:405
#12 0xde0c957e in Page::displaySlice (this=0x818bda8, out=0x80ec3a8, dpi=74, 
    rotate=0, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, links=0x80b7730, 
    catalog=0x812f108, abortCheckCbk=0, abortCheckCbkData=0x0) at Page.cc:308
#13 0xde0c917e in Page::display (this=0x818bda8, out=0x80ec3a8, dpi=74, 
    rotate=0, links=0x80b7730, catalog=0x812f108, abortCheckCbk=0, 
    abortCheckCbkData=0x0) at Page.cc:222
#14 0xde0c0ef5 in PDFDoc::displayPage (this=0x8132d60, out=0x80ec3a8, page=1, 
    zoom=74, rotate=0, doLinks=1, abortCheckCbk=0, abortCheckCbkData=0x0)
    at PDFDoc.cc:217
#15 0xde08541e in KPDF::PageWidget::updatePixmap (this=0x80eabf8)
    at kpdf_pagewidget.cc:272
#16 0xde084ab8 in KPDF::PageWidget::setPDFDocument (this=0x80eabf8, 
    doc=0x8132d60) at kpdf_pagewidget.cc:38
#17 0xde083243 in KPDF::Part::openFile (this=0x80c0fc8) at kpdf_part.cpp:369
#18 0xdfb8bb4c in KParts::ReadOnlyPart::openURL (this=0x80c0fc8, 
    url=@0x8046674) at part.cpp:339
#19 0x0804f621 in KPDF::Shell::openURL (this=0x80998b8, url=@0x8046674)
    at kpdf_shell.cpp:84
#20 0x0804fbb5 in KPDF::Shell::fileOpen (this=0x80998b8) at kpdf_shell.cpp:174
#21 0x0804f081 in KPDF::Shell::qt_invoke (this=0x80998b8, _id=72, _o=0x8046798)
    at kpdf_shell.moc:103
#22 0xdead308b in QObject::activate_signal (this=0x80b1240, clist=0x80b00e8, 
    o=0x8046798) at kernel/qobject.cpp:2333
#23 0xdead2ead in QObject::activate_signal (this=0x80b1240, signal=2)
    at kernel/qobject.cpp:2302
#24 0xdf70f714 in KAction::activated (this=0x80b1240) at kaction.moc:157
#25 0xdf70ede2 in KAction::slotActivated (this=0x80b1240) at kaction.cpp:1054
#26 0xdf70f978 in KAction::qt_invoke (this=0x80b1240, _id=14, _o=0x8046908)
    at kaction.moc:181
#27 0xdead3233 in QObject::activate_signal (this=0x80fc260, clist=0x8104550, 
    o=0x8046908) at kernel/qobject.cpp:2357
#28 0xdead2ead in QObject::activate_signal (this=0x80fc260, signal=4)
    at kernel/qobject.cpp:2302
#29 0xdee58e65 in QButton::clicked (this=0x80fc260)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#30 0xdeb64609 in QButton::mouseReleaseEvent (this=0x80fc260, e=0x8046dd4)
    at widgets/qbutton.cpp:820
#31 0xdeb09120 in QWidget::event (this=0x80fc260, e=0x8046dd4)
    at kernel/qwidget.cpp:4426
#32 0xdea6a5f3 in QApplication::internalNotify (this=0x80472d4, 
    receiver=0x80fc260, e=0x8046dd4) at kernel/qapplication.cpp:2582
#33 0xdea69b0e in QApplication::notify (this=0x80472d4, receiver=0x80fc260, 
    e=0x8046dd4) at kernel/qapplication.cpp:2368
#34 0xdf4a23d6 in KApplication::notify (this=0x80472d4, receiver=0x80fc260, 
    event=0x8046dd4) at kapplication.cpp:503
#35 0xdee4557b in QApplication::sendSpontaneousEvent (receiver=0x80fc260, 
    event=0x8046dd4) at .moc/debug-shared-mt/../../kernel/qapplication.h:495
#36 0xde9f628d in QETWidget::translateMouseEvent (this=0x80fc260, 
    event=0x804716c) at kernel/qapplication_x11.cpp:4351
#37 0xde9f3b1c in QApplication::x11ProcessEvent (this=0x80472d4, 
    event=0x804716c) at kernel/qapplication_x11.cpp:3529
#38 0xdea0e6f0 in QEventLoop::processEvents (this=0x8076168, flags=4)
    at kernel/qeventloop_x11.cpp:192
#39 0xdea81544 in QEventLoop::enterLoop (this=0x8076168)
    at kernel/qeventloop.cpp:198
#40 0xdea8146d in QEventLoop::exec (this=0x8076168)
    at kernel/qeventloop.cpp:145
#41 0xdea6a7d1 in QApplication::exec (this=0x80472d4)
    at kernel/qapplication.cpp:2705
#42 0x0804ec91 in main (argc=1, argv=0x8047404) at main.cpp:61
--- snip ---

FWIW, on stderr I have:

torsten@edradour kpdf
kparts: MainWindow::createGUI, part=80c0fc8 KPDF::Part kpdf_part
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-torsten/ksycoca
kio (KDirLister): +KDirLister
kio (KDirListerCache): +KDirListerCache
kio (KDirWatch): Available methods: Stat
kio (KTrader): KServiceTypeProfile::offers( ThumbCreator, )
kio (KTrader): Returning 10 offers
kio (KTrader): KServiceTypeProfile::offers( ThumbCreator, )
kio (KTrader): Returning 10 offers
kio (KDirLister): [bool KDirLister::openURL(const KURL &, bool = false, bool = \
false)] file:/homes/torsten/ keep=false reload=false kio (KDirListerCache): [void \
KDirListerCache::listDir(KDirLister *, const KURL &, bool, bool)] 81437c8 \
url=file:/homes/torsten keep=false reload=false kio (KDirListerCache): [void \
KDirListerCache::stop(KDirLister *)] lister: 81437c8 kio (KDirListerCache): [void \
KDirListerCache::forgetDirs(KDirLister *)] 81437c8 kio (KDirListerCache): listDir: \
Entry not in cache or reloaded: file:/homes/torsten kio (KDirWatch): Added Dir \
/homes/torsten [KDirWatch-1] kio (KDirWatch): Global Poll Freq is now 5000 msec
kio (KDirWatch):  Started Polling Timer, freq 5000
kio (KDirWatch):  Setup Stat (freq 5000) for /homes/torsten
kio (KDirListerCache): [void KDirListerCache::slotEntries(KIO::Job *, const \
KIO::UDSEntryList &)] new entries for file:/homes/torsten kio (KDirListerCache): \
[void KDirListerCache::slotResult(KIO::Job *)] finished listing file:/homes/torsten \
kio (KDirLister): [void KDirLister::stop()]  kio (KDirListerCache): [void \
KDirListerCache::stop(KDirLister *)] lister: 81437c8 kio (KDirLister): -KDirLister
kio (KDirLister): [void KDirLister::stop()] 
kio (KDirListerCache): [void KDirListerCache::stop(KDirLister *)] lister: 81437c8
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister *)] 81437c8
kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister *, const KURL &, \
bool)] 81437c8 url: file:/homes/torsten kio (KDirListerCache): [void \
KDirListerCache::forgetDirs(KDirLister *, const KURL &, bool)] 81437c8 item moved \
into cache: file:/homes/torsten QPainter::begin: Cannot paint null pixmap
QColor::setRgb: RGB parameter(s) out of range
QPainter::setPen: Will be reset by begin()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic