Bug 232314 - Okular crashed when reloading DVI
Summary: Okular crashed when reloading DVI
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-27 09:00 UTC by Vladimír Čunát
Modified: 2012-04-16 17:21 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.06 KB, text/plain)
2011-07-19 21:28 UTC, stefano82x
Details
New crash information added by DrKonqi (4.40 KB, text/plain)
2011-09-04 15:10 UTC, ste.petrucci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimír Čunát 2010-03-27 09:00:35 UTC
Application: okular (0.10.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r10-ge0217f0 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I use use Okular to preview my work from Kile (started with --unique). Sometimes it crashes when I update the DVI by quick-build (rebuild by LaTeX + forwardDVI). However, doing the same again on the same file works (Okular starts normally). Perhaps there is some kind of race between reloading changed DVI and forwarding.

Okular's version is 4.4.1 with options (-aqua) (chm) (crypt) (debug) (djvu) (ebook) (handbook) (jpeg) (-kdeenablefinal) (-kdeprefix) (pdf) (ps) (tiff).
Do You need more information about my packages and configuration? I could also rebuild with different flags and try to reproduce the crash.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb539c700 (LWP 2548))]

Thread 2 (Thread 0xb0602b70 (LWP 4333)):
#0  0xb76fe424 in __kernel_vsyscall ()
#1  0xb69432c5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb69eaee4 in QWaitConditionPrivate::wait (this=0x9893740, mutex=0x98bb490, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9893740, mutex=0x98bb490, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb30e6dd9 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9893728, th=0x96024e8)
    at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb30e9bdc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9954b48, th=0x96024e8)
    at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb30e585b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9893728, th=0x96024e8) at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb30e9cd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9954b48, th=0x96024e8)
    at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb30e6a51 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9893728, th=0x96024e8, previous=0x96866b0)
    at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb30e7bd6 in ThreadWeaver::ThreadRunHelper::run (this=0xb0602320, parent=0x9893728, th=0x96024e8)
    at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/Thread.cpp:87
#10 0xb30e8215 in ThreadWeaver::Thread::run (this=0x96024e8) at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/threadweaver/Weaver/Thread.cpp:142
#11 0xb69e9faa in QThreadPrivate::start (arg=0x96024e8) at thread/qthread_unix.cpp:248
#12 0xb693f51f in start_thread () from /lib/libpthread.so.0
#13 0xb5cf17be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb539c700 (LWP 2548)):
[KCrash Handler]
#6  ~TextPage (this=0x18ffffff, __in_chrg=<value optimized out>) at /var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1/okular/core/textpage.cpp:198
#7  0xb322bc71 in Okular::Page::setTextPage (this=0x968e3e8, textPage=0x95f48e0) at /var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1/okular/core/page.cpp:449
#8  0xb3227533 in Okular::GeneratorPrivate::textpageGenerationFinished (this=0x95329e8) at /var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1/okular/core/generator.cpp:133
#9  0xb32277b3 in Okular::Generator::qt_metacall (this=0x9531688, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x95e8f50)
    at /var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1_build/okular/generator.moc:94
#10 0xb1adff62 in DviGenerator::qt_metacall (this=0x9531688, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x95e8f50)
    at /var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1_build/okular/generators/dvi/generator_dvi.moc:66
#11 0xb6af71ed in QMetaObject::metacall (object=0x0, cl=QMetaObject::InvokeMetaMethod, idx=10, argv=0x95e8f50) at kernel/qmetaobject.cpp:237
#12 0xb6b01974 in QMetaCallEvent::placeMetaCall (this=0x990f1e0, object=0x9531688) at kernel/qobject.cpp:561
#13 0xb6b02f43 in QObject::event (this=0x9531688, e=0x990f1e0) at kernel/qobject.cpp:1240
#14 0xb5fc4f1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#15 0xb5fcc98c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#16 0xb710e5ed in KApplication::notify (this=0xbfd9dcd0, receiver=0x9531688, event=0x990f1e0) at /var/tmp/paludis/kde-base-kdelibs-4.4.1-r1/work/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#17 0xb6af1dc2 in QCoreApplication::notifyInternal (this=0xbfd9dcd0, receiver=0x9531688, event=0x990f1e0) at kernel/qcoreapplication.cpp:704
#18 0xb6af2cfe in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x92f4038) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92f4038) at kernel/qcoreapplication.cpp:1345
#20 0xb6af2ead in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#21 0xb6b1e47d in QCoreApplication::sendPostedEvents (s=0x93052a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0x93052a8) at kernel/qeventdispatcher_glib.cpp:276
#23 0xb588989f in g_main_dispatch (context=0x9304820) at gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x9304820) at gmain.c:2513
#25 0xb588d10b in g_main_context_iterate (context=0x9304820, block=1, dispatch=1, self=0x9301bc0) at gmain.c:2591
#26 0xb588d298 in IA__g_main_context_iteration (context=0x9304820, may_block=1) at gmain.c:2654
#27 0xb6b1df91 in QEventDispatcherGlib::processEvents (this=0x93024e0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#28 0xb608800a in ?? () from /usr/lib/qt4/libQtGui.so.4
#29 0xb6af03ea in QEventLoop::processEvents (this=0xbfd9dc80, flags=...) at kernel/qeventloop.cpp:149
#30 0xb6af084a in QEventLoop::exec (this=0xbfd9dc80, flags=...) at kernel/qeventloop.cpp:201
#31 0xb6af2f77 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0xb5fc4fc4 in QApplication::exec() () from /usr/lib/qt4/libQtGui.so.4
#33 0x0804f4e0 in main (argc=) at /var/tmp/paludis/kde-base-okular-4.4.1/work/okular-4.4.1/okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-03-27 13:26:45 UTC
Can you try running okular with valgrind?
valgrind okular --unique
And try to reproduce the crash and paste anything in the valgrind output that seems like an error?
Comment 2 Vladimír Čunát 2010-03-27 14:08:50 UTC
I've had no luck with valgrind yet, but It seems like it stops happening when I switch off trimming the margins. I should also mention, that I use the color-inverting feature. I managed to aquire terminal output when crashing.
I suppose, these messages:
  okular(24077): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" " (wrong format: expected 3 items, got 1)" 
  QClipboard: Unable to receive an event from the clipboard manager in a reasonable time
make no problems, because I get them every time.
This output just before a crash:

...
okular(22705)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/x-dvi" ,  "okular/Generator"  : returning  1  offers
okular(22705)/okular (DVI) DviGenerator::loadDocument: # of pages: 7
okular(22705)/okular (DVI) DviGenerator::loadPages: pagesVector successfully inizialized!
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@3
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@4
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@6
okular(22705)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 99x140@3 async == true
okular(22705)/okular (DVI) DviGenerator::image: Image OK
okular(22705)/okular (DVI) DviGenerator::textPage:
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(22705)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 731x1034@5 async == true
okular(22705)/okular (DVI) DviGenerator::image: Image OK
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(22705)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 99x140@4 async == true
okular(22705)/okular (DVI) DviGenerator::image: Image OK
okular(22705)/okular (DVI) DviGenerator::textPage:
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 923x1305@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 923x1305@5
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(22705)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(22705)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 923x1305@5 async == true
okular(22705)/okular (DVI) DviGenerator::image: Image OK
okular(22705)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/x-dvi" ,  "okular/Generator"  : returning  1  offers
okular(22705)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/x-zerosize" ,  "okular/Generator"  : returning  0  offers
okular(22705)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/admin/Source/text/mgr" 
okular(22705)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/x-dvi" ,  "okular/Generator"  : returning  1  offers
okular(22705)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/admin/Source/text/mgr/vebt.dvi" 
okular(22705)/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, 'okular --unique vebt.dvi ' has stopped


I hope it helps. Othewise, I'll try valgrind again.
Comment 3 Vladimír Čunát 2010-03-27 14:50:43 UTC
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@3
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@4
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@6
okular(28366)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=4 99x140@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@5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@6
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=3 731x1034@4
okular(28366)/okular (app) Okular::Document::setViewport: invalid viewport: "-1"
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@3
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@4
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@5
okular(28366)/okular (app) Okular::Document::requestPixmaps: request id=4 99x140@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
Comment 4 stefano82x 2011-07-19 21:28:26 UTC
Created attachment 61996 [details]
New crash information added by DrKonqi

okular (0.12.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed: browsing	

- Unusual behavior I noticed:cpu peaked at some point when reading djvu file

- Custom settings of the application: default

-- Backtrace (Reduced):
#7  Okular::Page::setTextPage (this=0x0, textPage=0x973f448) at ../../okular/core/page.cpp:449
#8  0x02068043 in Okular::GeneratorPrivate::textpageGenerationFinished (this=0x9649cd0) at ../../okular/core/generator.cpp:133
#9  0x0206967e in Okular::Generator::qt_metacall (this=0x9643b30, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x973f3c8) at ./generator.moc:98
#10 0x06705542 in DjVuGenerator::qt_metacall (this=0x9643b30, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x973f3c8) at ./generator_djvu.moc:66
[...]
#13 0x02c2a3b7 in QObject::event (this=0x9643b30, e=0x9743340) at kernel/qobject.cpp:1226
Comment 5 Albert Astals Cid 2011-07-19 22:49:52 UTC
Stefano, please do not hijack other people bugs, this is about "reloading a dvi file" and you are not reloading your file, just reading it, and it is not a dvi file but a djvu file, so please open a separate bug since your issue has nothing to do with this one.
Comment 6 ste.petrucci 2011-09-04 15:10:45 UTC
Created attachment 63375 [details]
New crash information added by DrKonqi

okular (0.12.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
using firefox to see my facebook account, downloading with amule adunanza and ktorrent and using dolphin to explore my files.

-- Backtrace (Reduced):
#6  Okular::Page::setTextPage (this=0x0, textPage=0x20f3da0) at ../../okular/core/page.cpp:449
#7  0x00007f9ec7852ad5 in Okular::GeneratorPrivate::textpageGenerationFinished (this=<value optimized out>) at ../../okular/core/generator.cpp:133
#8  0x00007f9ec7853fca in Okular::Generator::qt_metacall (this=0x1999f20, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x4d42050) at ./generator.moc:98
#9  0x00007f9ed60a149a in QObject::event (this=0x1999f20, e=<value optimized out>) at kernel/qobject.cpp:1226
#10 0x00007f9ed6a4c9f4 in QApplicationPrivate::notify_helper (this=0x1366d00, receiver=0x1999f20, e=0x1f4d010) at kernel/qapplication.cpp:4462
Comment 7 jordonwii 2011-12-23 17:04:30 UTC
This could be a duplicate of bug 211765
Comment 8 Albert Astals Cid 2011-12-23 18:21:53 UTC
Backtrace is different enough, doesn't seem to be a direct duplicate to me
Comment 9 Albert Astals Cid 2012-04-16 17:21:07 UTC
I fixed the issue with setTextPage on a 0x0 page for KDE 4.8.3 if you can still reproduce this crash in KDE >= 4.8.3 please open a new bug.

Thanks for caring about Okular