[Okular-devel] [Bug 232314] Okular crashed when reloading DVI
Vladimír Čunát
vcunat at gmail.com
Sat Mar 27 14:50:45 CET 2010
https://bugs.kde.org/show_bug.cgi?id=232314
--- Comment #3 from Vladimír Čunát <vcunat gmail com> 2010-03-27 14:50:43 ---
Valgrind reports loads of stuff on every start of Okular (most is in
QTextFormatCollection::indexForFormat as well), but I don't know whether it
could be connected to the crashes.
This is the output just before a crash:
okular(28366)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open
ksycoca from "/var/tmp/kdecache-admin/ksycoca4"
okular(28366)/kdecore (trader) KMimeTypeTrader::query: query for mimeType
"application/x-dvi" , "okular/Generator" : returning 1 offers
okular(28366)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing
"/usr/share/mime/magic"
okular(28366)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing
"/home/admin/.local/share/mime/magic"
==28366== Syscall param writev(vector[...]) points to uninitialised byte(s)
==28366== at 0x5A8CB1B: writev (writev.c:56)
==28366== by 0x68919E4: ??? (in /usr/lib/libORBit-2.so.0.1.0)
==28366== by 0x65588D7: ???
==28366== Address 0x655913a is 10 bytes inside a block of size 2,048 alloc'd
==28366== at 0x40278FF: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28366== by 0x5E45FB3: g_malloc (gmem.c:131)
==28366== by 0x686F88A: ??? (in /usr/lib/libORBit-2.so.0.1.0)
==28366==
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kdecore (trader) KMimeTypeTrader::query: query for mimeType
"application/x-dvi" , "okular/Generator" : returning 1 offers
==28366== Conditional jump or move depends on uninitialised value(s)
==28366== at 0x51D4BFF: QTextFormatCollection::indexForFormat(QTextFormat
const&) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51F3582: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51F4A00: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51DD27E: QTextDocument::setPlainText(QString const&) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6274: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6307: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6515: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6CB6: QLabel::paintEvent(QPaintEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F89F31: QWidget::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A18F4: QFrame::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A5C3B: QLabel::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F28F1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366==
==28366== Use of uninitialised value of size 4
==28366== at 0x51D4B4B: QTextFormatCollection::indexForFormat(QTextFormat
const&) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51D9898: QTextObject::setFormat(QTextFormat const&) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A63EB: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6515: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6CB6: QLabel::paintEvent(QPaintEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F89F31: QWidget::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A18F4: QFrame::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A5C3B: QLabel::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F28F1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366==
==28366== Conditional jump or move depends on uninitialised value(s)
==28366== at 0x51D4B59: QTextFormatCollection::indexForFormat(QTextFormat
const&) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51D9898: QTextObject::setFormat(QTextFormat const&) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A63EB: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6515: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6CB6: QLabel::paintEvent(QPaintEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F89F31: QWidget::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A18F4: QFrame::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A5C3B: QLabel::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F28F1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366==
==28366== Conditional jump or move depends on uninitialised value(s)
==28366== at 0x51D4B6F: QTextFormatCollection::indexForFormat(QTextFormat
const&) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51D9898: QTextObject::setFormat(QTextFormat const&) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A63EB: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6515: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6CB6: QLabel::paintEvent(QPaintEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F89F31: QWidget::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A18F4: QFrame::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A5C3B: QLabel::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F28F1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366==
==28366== Use of uninitialised value of size 4
==28366== at 0x51D4D5F: QTextFormatCollection::indexForFormat(QTextFormat
const&) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51D9898: QTextObject::setFormat(QTextFormat const&) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A63EB: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6515: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6CB6: QLabel::paintEvent(QPaintEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F89F31: QWidget::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A18F4: QFrame::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A5C3B: QLabel::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F28F1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366==
==28366== Conditional jump or move depends on uninitialised value(s)
==28366== at 0x51D4D77: QTextFormatCollection::indexForFormat(QTextFormat
const&) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x51D9898: QTextObject::setFormat(QTextFormat const&) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A63EB: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6515: ??? (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A6CB6: QLabel::paintEvent(QPaintEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F89F31: QWidget::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A18F4: QFrame::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x53A5C3B: QLabel::event(QEvent*) (in
/usr/lib/qt4/libQtGui.so.4.6.2)
==28366== by 0x4F28F1B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.2)
==28366==
okular(28366)/okular (DVI) DviGenerator::loadDocument: # of pages: 7
okular(28366)/okular (DVI) DviGenerator::loadPages: pagesVector successfully
inizialized!
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 3
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 4
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 6
okular(28366)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=4 99x140 at 3 async == true
okular(28366)/okular (DVI) DviGenerator::textPage:
okular(28366)/okular (DVI) DviGenerator::image: Image OK
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3
731x1034 at 5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3
731x1034 at 6
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3
731x1034 at 4
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3
731x1034 at 5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3
731x1034 at 6
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3
731x1034 at 4
okular(28366)/okular (app) Okular::Document::setViewport: invalid viewport:
"-1"
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 3
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 4
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4
99x140 at 6
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
okular(28366)/kdecore (trader) KMimeTypeTrader::query: query for mimeType
"application/x-dvi" , "okular/Generator" : returning 1 offers
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr/vebt.dvi"
okular(28366)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know
"/home/admin/Source/text/mgr"
ASSERT: "genIt != d->m_loadedGenerators.constEnd()" in file
/var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1/okular/core/document.cpp,
line 1809
KCrash: Application 'okular' crashing...
sock_file=/home/admin/.kde4/socket-prestigio/kdeinit4__0
Job 1, 'valgrind okular --unique vebt.dvi ' has stopped
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Okular-devel
mailing list