Application: okular (0.12.2) KDE Platform Version: 4.6.2 (4.6.2) Qt Version: 4.7.2 Operating System: Linux 2.6.38-8-generic i686 Distribution: Ubuntu 11.04 -- Information about the crash: i tried to open an xps file and then okular crashed. a file was open already but crashed when tried to opne another file. The crash can be reproduced some of the time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [Current thread is 1 (Thread 0xb78c7710 (LWP 2104))] Thread 4 (Thread 0xb769db70 (LWP 2105)): #0 0x00aba659 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6 #1 0x088150b4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0x0881592b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x06c00304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0 #4 0x0883e2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0x0481fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #6 0x00aac73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 3 (Thread 0xb27d7b70 (LWP 2107)): #0 0x009db416 in __kernel_vsyscall () #1 0x0482448c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x00aba3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6 #3 0x050b2daa in QMutexPrivate::wait (this=0x90e3078, timeout=-1) at thread/qmutex_unix.cpp:84 #4 0x050af4b2 in QMutex::lock (this=0x9085538) at thread/qmutex.cpp:204 #5 0x05b74c0d in QMutexLocker (this=0x90e4cc8, request=0x8f5b8f8) at /usr/include/qt4/QtCore/qmutex.h:102 #6 XpsGenerator::image (this=0x90e4cc8, request=0x8f5b8f8) at ../../../../okular/generators/xps/generator_xps.cpp:2124 #7 0x0450bb02 in Okular::PixmapGenerationThread::run (this=0x90e1ea0) at ../../okular/core/generator_p.cpp:64 #8 0x050b3da2 in QThreadPrivate::start (arg=0x90e1ea0) at thread/qthread_unix.cpp:320 #9 0x0481fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #10 0x00aac73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 2 (Thread 0xb1fd6b70 (LWP 2108)): [KCrash Handler] #7 0x00000000 in ?? () #8 0x05b796c9 in XpsPage::textPage (this=0x91059d0) at ../../../../okular/generators/xps/generator_xps.cpp:1599 #9 0x05b7b53d in XpsGenerator::textPage (this=0x90e4cc8, page=0x90e12c0) at ../../../../okular/generators/xps/generator_xps.cpp:2136 #10 0x0450b85a in Okular::TextPageGenerationThread::run (this=0x90e1870) at ../../okular/core/generator_p.cpp:103 #11 0x050b3da2 in QThreadPrivate::start (arg=0x90e1870) at thread/qthread_unix.cpp:320 #12 0x0481fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #13 0x00aac73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 1 (Thread 0xb78c7710 (LWP 2104)): #0 0x009db416 in __kernel_vsyscall () #1 0x00a9df76 in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x0404ffe0 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1 #3 0x04051937 in xcb_wait_for_reply () from /usr/lib/i386-linux-gnu/libxcb.so.1 #4 0x03651b00 in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6 #5 0x0364711e in XQueryPointer () from /usr/lib/i386-linux-gnu/libX11.so.6 #6 0x00e1d670 in QCursor::pos () at kernel/qcursor_x11.cpp:159 #7 0x024f32d5 in PageView::notifyViewportChanged (this=0x90067b8, smoothMove=false) at ../../okular/ui/pageview.cpp:939 #8 0x044f55d2 in Okular::Document::setViewport (this=0x8f622a8, viewport=..., excludeId=-1, smoothMove=false) at ../../okular/core/document.cpp:2478 #9 0x045026d5 in Okular::Document::openDocument (this=0x8f622a8, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1679 #10 0x02499e0b in Okular::Part::openFile (this=0x8f57268) at ../../okular/part.cpp:955 #11 0x00c367f4 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x8f41800) at ../../kparts/part.cpp:592 #12 0x00c36ec2 in KParts::ReadOnlyPart::openUrl (this=0x8f57268, url=...) at ../../kparts/part.cpp:556 #13 0x024922d8 in Okular::Part::openUrl (this=0x8f57268, _url=...) at ../../okular/part.cpp:1076 #14 0x0804f3f2 in Shell::openUrl (this=0x8f476e0, url=...) at ../../../okular/shell/shell.cpp:133 #15 0x0804f508 in Shell::delayedOpen (this=0x8f476e0) at ../../../okular/shell/shell.cpp:116 #16 0x08051003 in Shell::qt_metacall (this=0x8f476e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x90b91d8) at ./shell.moc:94 #17 0x051ae6ba in QMetaObject::metacall (object=0x8f476e0, cl=QMetaObject::InvokeMetaMethod, idx=57, argv=0x90b91d8) at kernel/qmetaobject.cpp:237 #18 0x051b8e16 in QMetaCallEvent::placeMetaCall (this=0x8f9ac20, object=0x8f476e0) at kernel/qobject.cpp:535 #19 0x051bd3b7 in QObject::event (this=0x8f476e0, e=0x8f9ac20) at kernel/qobject.cpp:1226 #20 0x00de2b62 in QWidget::event (this=0x8f476e0, event=0x8f9ac20) at kernel/qwidget.cpp:8718 #21 0x011f1a97 in QMainWindow::event (this=0x8f476e0, event=0x8f9ac20) at widgets/qmainwindow.cpp:1480 #22 0x0061d2bc in KMainWindow::event (this=0x8f476e0, ev=0x8f9ac20) at ../../kdeui/widgets/kmainwindow.cpp:1100 #23 0x0065db5f in KXmlGuiWindow::event (this=0x8f476e0, ev=0x8f9ac20) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126 #24 0x00d8ad24 in QApplicationPrivate::notify_helper (this=0x8e12d30, receiver=0x8f476e0, e=0x8f9ac20) at kernel/qapplication.cpp:4462 #25 0x00d8f97b in QApplication::notify (this=0xbfca8a9c, receiver=0x8f476e0, e=0x8f9ac20) at kernel/qapplication.cpp:4427 #26 0x005423ca in KApplication::notify (this=0xbfca8a9c, receiver=0x8f476e0, event=0x8f9ac20) at ../../kdeui/kernel/kapplication.cpp:311 #27 0x051a80bb in QCoreApplication::notifyInternal (this=0xbfca8a9c, receiver=0x8f476e0, event=0x8f9ac20) at kernel/qcoreapplication.cpp:731 #28 0x051abc79 in sendEvent (receiver=0x0, event_type=0, data=0x8ddc778) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8ddc778) at kernel/qcoreapplication.cpp:1372 #30 0x051abe0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265 #31 0x051d53c4 in sendPostedEvents (s=0x8e157a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220 #32 postEventSourceDispatch (s=0x8e157a8) at kernel/qeventdispatcher_glib.cpp:277 #33 0x08814aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #34 0x08815270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #35 0x08815524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #36 0x051d553c in QEventDispatcherGlib::processEvents (this=0x8e12088, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #37 0x00e3e775 in QGuiEventDispatcherGlib::processEvents (this=0x8e12088, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #38 0x051a7289 in QEventLoop::processEvents (this=0xbfca8934, flags=...) at kernel/qeventloop.cpp:149 #39 0x051a7522 in QEventLoop::exec (this=0xbfca8934, flags=...) at kernel/qeventloop.cpp:201 #40 0x051abecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #41 0x00d888e7 in QApplication::exec () at kernel/qapplication.cpp:3736 #42 0x0804e6d8 in main (argc=) at ../../../okular/shell/main.cpp:85 Possible duplicates by query: bug 250728. Reported using DrKonqi
Can you attach the file causing such crash?
This looks like one of the two cases in #274482 - waiting for a document to be sure.
Created attachment 69011 [details] can t open it with okular 0.14.0 (kde 4.8.00 under windows xp) crash when try to open with okular
Closing the bug, the original reporter did not mind to follow up our anwers, the crash from comment #3 is exactly the same as bug 294633