[Okular-devel] [Bug 232314] New: Okular crashed when reloading DVI

Vladimír Čunát vcunat at gmail.com
Sat Mar 27 09:00:37 CET 2010


https://bugs.kde.org/show_bug.cgi?id=232314

           Summary: Okular crashed when reloading DVI
           Product: okular
           Version: 0.10.1
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: vcunat at gmail.com


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

-- 
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