Bug 302967 - okular crashed when reloading via emacs-scripts command kdvi-jump-to-line
Summary: okular crashed when reloading via emacs-scripts command kdvi-jump-to-line
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.13.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 14:20 UTC by schochet
Modified: 2012-11-14 14:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schochet 2012-07-03 14:20:29 UTC
Application: okular (0.13.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.10-1.13-desktop i686
Distribution: "openSUSE 12.1 (i586)"

-- Information about the crash:
- What I was doing when the application crashed: The crash occurred immediately after I entered in emacs my shortcut for the kdvi-jump-to-line command

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0xb1754b70 (LWP 15010)):
#0  0xb57a0782 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb5e545cc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb60ad413 in QMutexPrivate::wait (this=0x830cb48, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0xb60a966a in QMutex::lock (this=0x82e9d28) at thread/qmutex.cpp:204
#4  0xb2a2f291 in QMutexLocker (m=<optimized out>, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:102
#5  DviGenerator::image (this=0x8309c30, request=0x8957a78) at /usr/src/debug/okular-4.7.2/generators/dvi/generator_dvi.cpp:229
#6  0xb3c3cf36 in Okular::PixmapGenerationThread::run (this=0x882b470) at /usr/src/debug/okular-4.7.2/core/generator_p.cpp:64
#7  0xb60ae613 in QThreadPrivate::start (arg=0x882b470) at thread/qthread_unix.cpp:331
#8  0xb579ca7d in start_thread () from /lib/libpthread.so.0
#9  0xb5e46abe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1f54b70 (LWP 15011)):
[KCrash Handler]
#6  operator!= (value=1, this=0xb1fff008) at /usr/include/QtCore/qbasicatomic.h:75
#7  detach (this=0x863d580) at /usr/include/QtCore/qvector.h:134
#8  data (this=0x863d580) at /usr/include/QtCore/qvector.h:139
#9  dvi_Data (this=0x863d530) at /usr/src/debug/okular-4.7.2/generators/dvi/dviFile.h:46
#10 drawPage (page=0x87c8170, this=0x8361908) at /usr/src/debug/okular-4.7.2/generators/dvi/dviRenderer.cpp:148
#11 dviRenderer::drawPage (this=0x8361908, page=0x87c8170) at /usr/src/debug/okular-4.7.2/generators/dvi/dviRenderer.cpp:118
#12 0xb2a3189d in dviRenderer::getText (this=0x8361908, page=0x87c8170) at /usr/src/debug/okular-4.7.2/generators/dvi/dviRenderer.cpp:264
#13 0xb2a2dd00 in DviGenerator::textPage (this=0x8309c30, page=0x8473c78) at /usr/src/debug/okular-4.7.2/generators/dvi/generator_dvi.cpp:298
#14 0xb3c3cc68 in Okular::TextPageGenerationThread::run (this=0x87d6b10) at /usr/src/debug/okular-4.7.2/core/generator_p.cpp:103
#15 0xb60ae613 in QThreadPrivate::start (arg=0x87d6b10) at thread/qthread_unix.cpp:331
#16 0xb579ca7d in start_thread () from /lib/libpthread.so.0
#17 0xb5e46abe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4f00710 (LWP 12642)):
#0  0xb5e3bbb4 in poll () from /lib/libc.so.6
#1  0xb5122490 in ?? () from /usr/lib/libxcb.so.1
#2  0xb5122a9c in ?? () from /usr/lib/libxcb.so.1
#3  0xb5122b51 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0xb59876b0 in _XSend () from /usr/lib/libX11.so.6
#5  0xb5987cea in _XReply () from /usr/lib/libX11.so.6
#6  0xb597d22e in XQueryPointer () from /usr/lib/libX11.so.6
#7  0xb678fd6b in QCursor::pos() () from /usr/lib/libQtGui.so.4
#8  0xb3d2fd40 in PageView::notifySetup (this=0x81ad770, pageSet=..., setupFlags=1) at /usr/src/debug/okular-4.7.2/ui/pageview.cpp:788
#9  0xb3c2dd57 in Okular::Document::closeDocument (this=0x8179168) at /usr/src/debug/okular-4.7.2/core/document.cpp:1824
#10 0xb3ce1d07 in Okular::Part::closeUrl (this=0x815fc90) at /usr/src/debug/okular-4.7.2/part.cpp:1145
#11 0xb777ec8a in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#12 0xb3cd0a3f in Okular::Part::openUrl (this=0x815fc90, _url=...) at /usr/src/debug/okular-4.7.2/part.cpp:1084
#13 0xb3cd0e94 in Okular::Part::openDocument (this=0x815fc90, doc=...) at /usr/src/debug/okular-4.7.2/part.cpp:849
#14 0xb3ce295f in Okular::Part::qt_metacall (this=0x815fc90, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8b114c) at /usr/src/debug/okular-4.7.2/build/part.moc:183
#15 0xb5feb400 in QDBusConnectionPrivate::deliverCall (this=0x80d7488, object=0x815fc90, msg=..., metaTypes=..., slotIdx=1) at qdbusintegrator.cpp:942
#16 0xb5fec6f0 in QDBusConnectionPrivate::activateCall (this=0x80d7488, object=0x815fc90, flags=16, msg=...) at qdbusintegrator.cpp:852
#17 0xb5fecf84 in QDBusConnectionPrivate::activateObject (this=0x80d7488, node=..., msg=..., pathStartPos=-1081404756) at qdbusintegrator.cpp:1430
#18 0xb5fed1a8 in QDBusActivateObjectEvent::placeMetaCall (this=0x85982f8) at qdbusintegrator.cpp:1524
#19 0xb61c183f in QObject::event (this=0x815fc90, e=0x85982f8) at kernel/qobject.cpp:1226
#20 0xb66fcf24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb67022b2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb725d681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb61a943e in QCoreApplication::notifyInternal (this=0xbf8b1ab0, receiver=0x815fc90, event=0x85982f8) at kernel/qcoreapplication.cpp:787
#24 0xb61acc04 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80599f8) at kernel/qcoreapplication.cpp:1428
#26 0xb61acd4c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#27 0xb61d7414 in sendPostedEvents () at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x80782a0) at kernel/qeventdispatcher_glib.cpp:277
#29 0xb5549e2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb554a560 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb554a7fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb61d7847 in QEventDispatcherGlib::processEvents (this=0x8059590, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#33 0xb67b0b1a in ?? () from /usr/lib/libQtGui.so.4
#34 0xb61a845d in QEventLoop::processEvents (this=0xbf8b1a24, flags=...) at kernel/qeventloop.cpp:149
#35 0xb61a86a1 in QEventLoop::exec (this=0xbf8b1a24, flags=...) at kernel/qeventloop.cpp:201
#36 0xb61acdfa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0xb66fada4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#38 0x0804e890 in main (argc=) at /usr/src/debug/okular-4.7.2/shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-07-11 21:08:48 UTC
This code has changed quite a bit lately, would it be possible for you to update to something newer like KDE 4.8.4 and try again?
Comment 2 Albert Astals Cid 2012-11-14 14:14:00 UTC
No answer in 4 months, I'll assume it's fixed, please reopen if you can still reproduce