[Okular-devel] [Bug 153849] New: Okular crashes when trying to print *.ps file without ps backend installed
Oliver Putz
Regnaron at web.de
Tue Dec 11 17:02:06 CET 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=153849
Summary: Okular crashes when trying to print *.ps file without ps
backend installed
Product: okular
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: okular-devel kde org
ReportedBy: Regnaron web de
Version: (using KDE Devel)
Installed from: Compiled sources
OS: Linux
I tried to read http://www.mpi-sb.mpg.de/~mehlhorn/ftp/DirCycleBasis.ps in okular with kde4daily. As there apparently is no *.ps backend in the okular version shipped in kde4daily right now, none of the pages of the document could be displayed. When I tried to print the document to a file, okular crashed.
I use kde4daily ver 747104 with VirtualBox on a Gentoo machine
The console output of okular during this incident was:
[~]>okular oliver/papers/DirCycleBasis.ps
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 0x8113cc0 )
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig()
okular(4522)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-kde4daily/ksycoca4"
okular(4522)/kdecore (trader) KServiceTypeTrader::defaultOffers: query for serviceType "okular/Generator" : returning 1 offers
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: KCoreConfigSkeleton::writeConfig()
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig()
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: KCoreConfigSkeleton::writeConfig()
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig()
okular(4522)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: Available methods: ("Stat", "INotify")
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: KCoreConfigSkeleton::writeConfig()
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig()
okular(4522)/kparts KParts::MainWindow::createGUI: MainWindow::createGUI, part= Part(0x810dd98) Part ""
okular(4522)/kdeui (KXmlGui) KXMLGUIFactory::addClient: KXMLGUIFactory::addClient( 0x80f0d30 )
okular(4522)/kdeui (KXmlGui) KXMLGUIFactory::addClient: KXMLGUIFactory::addClient( 0x82f1050 )
okular(4522)/kdeui (KXmlGui) KXMLGUIFactory::addClient: KXMLGUIFactory::addClient( 0x810debc )
okular(4522)/kdecore (trader) KMimeTypeTrader::weightedOffers: KMimeTypeTrader::weightedOffers( "application/postscript" , "okular/Generator" )
okular(4522)/kdecore (trader) KMimeTypeTrader::query: query for mimeType "application/postscript" , "okular/Generator" : returning 1 offers
okular(4522) GSGenerator::loadDocument: Page count: 27
okular(4522)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/kde4daily/oliver/papers/DirCycleBasis.ps" for "" ["KDirWatch-1"]
okular(4522)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring
okular(4522)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring
okular(4522)/kdeui (KXmlGui) KXMLGUIFactory::addClient: KXMLGUIFactory::addClient( 0x8421f58 )
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 1
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 2
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 3
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 0
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 1 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 1, pageNo 1
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::KCoreConfigSkeleton: Creating KCoreConfigSkeleton ( 0x8119c78 )
okular(4522)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::readConfig: KCoreConfigSkeleton::readConfig()
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=4 51x72 1
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=4 51x72 2
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=4 51x72 3
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 2 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 1, pageNo 2
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 51x72 1 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 4) (51x72), prio 2, pageNo 1
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 51 0 72
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 51x72 2 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 4) (51x72), prio 2, pageNo 2
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 51 0 72
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 51x72 3 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 4) (51x72), prio 2, pageNo 3
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 51 0 72
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 3 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 4, pageNo 3
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 0 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 4, pageNo 0
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 1
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 2
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 3
okular(4522)/okular (app) Okular::Document::requestPixmaps: request id=3 398x563 0
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 1 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 1, pageNo 1
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 2 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 1, pageNo 2
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 3 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 4, pageNo 3
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
okular(4522)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 398x563 0 async == true
okular(4522) GSGenerator::generatePixmap: receiving Async PixmapRequest (id: 3) (398x563), prio 4, pageNo 0
ESP Ghostscript 815.04: Can't find initialization file gs_init.ps.
fatal internal error -100okular(4522)/okular (libgs::GVGenerator) GSRendererThread::run: Generated image does not match wanted size 0 398 0 563
QImage::scaled: Image is a null image
QPixmap::fromImage: Cannot convert a null image
ASSERT: "!isOpen()" in file io/qtemporaryfile.cpp, line 552
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = okular path = <unknown> pid = 4522
sock_file=/home/kde4daily/.kde4/socket-ubuntu/kdeinit4__0
Alarm clock
The backtrace of the crash is:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1236019504 (LWP 4575)]
[New Thread -1275642992 (LWP 4576)]
[KCrash handler]
#6 0xffffe402 in __kernel_vsyscall ()
#7 0xb684cdf0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb684e641 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb7e06fad in qt_message_output ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#10 0xb7e07031 in qFatal ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#11 0xb7e0719d in qt_assert ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#12 0xb7e7c973 in QTemporaryFile::setFileTemplate ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#13 0xb7c99e1b in KTemporaryFile::setSuffix (this=0xbf9c6af0,
suffix= 0xbf9c6b10)
at /storage/tmp/kde4dev/kdelibs/kdecore/io/ktemporaryfile.cpp:75
#14 0xb4743807 in GSGenerator::print (this=0x84f4408, printer= 0xbf9c6bcc)
at /storage/tmp/kde4dev/kdegraphics/okular/generators/spectre/generator_ghostview.cpp:104
#15 0xb4f20051 in Okular::Document::print (this=0x8116600,
printer= 0xbf9c6bcc)
at /storage/tmp/kde4dev/kdegraphics/okular/core/document.cpp:2474
#16 0xb4f9c61a in Part::doPrint (this=0x810db18, printer= 0xbf9c6bcc)
at /storage/tmp/kde4dev/kdegraphics/okular/part.cpp:1586
#17 0xb4f9cb50 in Part::slotPrint (this=0x810db18)
at /storage/tmp/kde4dev/kdegraphics/okular/part.cpp:1538
#18 0xb4fa20e4 in Part::qt_metacall (this=0x810db18,
_c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbf9c713c)
at /storage/tmp/kde4dev/kdegraphics-build/okular/part.moc:213
#19 0xb7ed6bc0 in QMetaObject::activate ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#20 0xb7ed6dbc in QMetaObject::activate ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#21 0xb6bc010c in QAction::triggered ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#22 0xb6bc1e7a in QAction::activate ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#23 0xb6fb07a5 in QMenuPrivate::activateAction ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#24 0xb6fb30ca in QMenu::mouseReleaseEvent ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#25 0xb7b22bb4 in KMenu::mouseReleaseEvent (this=0x82fd390, e=0xbf9c79cc)
at /storage/tmp/kde4dev/kdelibs/kdeui/widgets/kmenu.cpp:423
#26 0xb6c19719 in QWidget::event ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#27 0xb6fae790 in QMenu::event ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#28 0xb6bc7ce1 in QApplicationPrivate::notify_helper ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#29 0xb6bc8852 in QApplication::notify ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#30 0xb7a6292b in KApplication::notify (this=0xbf9c8198, receiver=0x82fd390,
event=0xbf9c79cc)
at /storage/tmp/kde4dev/kdelibs/kdeui/kernel/kapplication.cpp:319
#31 0xb7ec541e in QCoreApplication::notifyInternal ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#32 0xb6bd30b1 in QCoreApplication::sendSpontaneousEvent ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#33 0xb6c3443f in QETWidget::translateMouseEvent ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#34 0xb6c321e2 in QApplication::x11ProcessEvent ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#35 0xb6c5fdc3 in x11EventSourceDispatch ()
from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#36 0xb67acdf2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb67afdcf in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x08067858 in ?? ()
#39 0x00000000 in ?? ()
#0 0xffffe402 in __kernel_vsyscall ()
More information about the Okular-devel
mailing list