Version: unknown (using KDE 3.4.0 Level "b" , SUSE 9.2 UNSUPPORTED) Compiler: gcc version 3.3.4 (pre 3.3.5 20040809) OS: Linux (i686) release 2.6.8-24.14-default KGhostView crashes if dvi2ps updates the .ps file that's open in KGhostView. I'm using the "watch file" feature. Here is the produced backtrace: #7 0x00000b59 in ?? () #8 0x40d7ff1c in QObject::connect () from /usr/lib/qt3/lib/libqt-mt.so.3 #9 0x4007293e in ThumbnailService::processOne () from /opt/kde3/lib/libkghostviewlib.so.0 #10 0x40072c46 in ThumbnailService::slotDone () from /opt/kde3/lib/libkghostviewlib.so.0 #11 0x40072dd0 in ThumbnailService::qt_invoke () from /opt/kde3/lib/libkghostviewlib.so.0 #12 0x40d7e31e in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #13 0x4005d00c in KPSWidget::newPageImage () from /opt/kde3/lib/libkghostviewlib.so.0 #14 0x4005f3c0 in KPSWidget::x11Event () from /opt/kde3/lib/libkghostviewlib.so.0 #15 0x40cb794f in QApplication::x11ProcessEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #16 0x40cc8b08 in QEventLoop::processEvents () from /usr/lib/qt3/lib/libqt-mt.so.3 #17 0x40d33b41 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3 #18 0x40d33986 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #19 0x40d1d63f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3 #20 0x08049a4f in main () My ghostscript version is: ESP Ghostscript 7.07.1 (2003-07-12)
Hello, this bug seems still to be in 3.4.0 and it's related to Bug 79034 and Bug 55653. I would guess that the only real way to close this bug is to enable Kghostview / KPDF to check the file integrity _before_ trying to load it. I.e. check if the PDF / Postscript file is not corrupt. I don't know if searching for an "%%EOF" marker at the end of the file will do the trick, but this might avoid waiting for a fixed time (after all, loading a corrupt PDF or Postscript file can happen all the time, not just during re-creation by e.g. pdflatex).
*** This bug has been marked as a duplicate of 86637 ***