Bug 283292 - Crash when opening xps
Summary: Crash when opening xps
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 01:30 UTC by Endeavor
Modified: 2011-10-04 21:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
xps file (crash when opening) (240.61 KB, application/oxps)
2011-10-04 20:50 UTC, Endeavor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Endeavor 2011-10-04 01:30:55 UTC
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-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was opening the file .xps. I tried to open it some times, but without sucess.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f85c9da9700 (LWP 7200)):
#0  0x00007f85d27aef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f85cf6ab104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f85cf6ab9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f85ca708c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f85cf6d23e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f85cfb76d8c in start_thread (arg=0x7f85c9da9700) at pthread_create.c:304
#6  0x00007f85d27bc04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f85b2cf1700 (LWP 7203)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f85d305a2b3 in QMutexPrivate::wait (this=0x19ca8a0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f85d3056d05 in QMutex::lock (this=0x17b7420) at thread/qmutex.cpp:204
#3  0x00007f85b2d022c3 in QMutexLocker (this=0x19da5a0, request=0x19cc340) at /usr/include/qt4/QtCore/qmutex.h:102
#4  XpsGenerator::image (this=0x19da5a0, request=0x19cc340) at ../../../../okular/generators/xps/generator_xps.cpp:2124
#5  0x00007f85b76bb329 in Okular::PixmapGenerationThread::run (this=0x19be060) at ../../okular/core/generator_p.cpp:64
#6  0x00007f85d305b175 in QThreadPrivate::start (arg=0x19be060) at thread/qthread_unix.cpp:320
#7  0x00007f85cfb76d8c in start_thread (arg=0x7f85b2cf1700) at pthread_create.c:304
#8  0x00007f85d27bc04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f85b24f0700 (LWP 7204)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f85b2d06ac3 in XpsPage::textPage (this=0x19efa80) at ../../../../okular/generators/xps/generator_xps.cpp:1599
#8  0x00007f85b2d087e7 in XpsGenerator::textPage (this=0x19da5a0, page=0x19bdee0) at ../../../../okular/generators/xps/generator_xps.cpp:2136
#9  0x00007f85b76bb162 in Okular::TextPageGenerationThread::run (this=0x19b9ac0) at ../../okular/core/generator_p.cpp:103
#10 0x00007f85d305b175 in QThreadPrivate::start (arg=0x19b9ac0) at thread/qthread_unix.cpp:320
#11 0x00007f85cfb76d8c in start_thread (arg=0x7f85b24f0700) at pthread_create.c:304
#12 0x00007f85d27bc04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f85d552b780 (LWP 7199)):
#0  0x00007f85d27aef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f85ccb56512 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f85ccb56a5f in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f85ccb56ae4 in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007f85d14852a7 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f85d14857fb in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007f85d147ac30 in XQueryPointer () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f85d3b8c18f in QCursor::pos () at kernel/qcursor_x11.cpp:159
#8  0x00007f85b79a35e1 in PageView::notifyViewportChanged (this=0x178aa40, smoothMove=false) at ../../okular/ui/pageview.cpp:939
#9  0x00007f85b76a506b in Okular::Document::setViewport (this=0x1763c10, viewport=..., excludeId=-1, smoothMove=false) at ../../okular/core/document.cpp:2478
#10 0x00007f85b76b2a9c in Okular::Document::openDocument (this=0x1763c10, docFile=<value optimized out>, url=<value optimized out>, _mime=<value optimized out>) at ../../okular/core/document.cpp:1679
#11 0x00007f85b79545e1 in Okular::Part::openFile (this=0x17521e0) at ../../okular/part.cpp:955
#12 0x00007f85d5117ab0 in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x17491a0) at ../../kparts/part.cpp:592
#13 0x00007f85d51180f4 in KParts::ReadOnlyPart::openUrl (this=0x17521e0, url=...) at ../../kparts/part.cpp:556
#14 0x00007f85b794d285 in Okular::Part::openUrl (this=0x17521e0, _url=<value optimized out>) at ../../okular/part.cpp:1076
#15 0x0000000000408cd4 in Shell::openUrl (this=0x16ffb00, url=...) at ../../../okular/shell/shell.cpp:133
#16 0x000000000040a82c in Shell::qt_metacall (this=0x16ffb00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x19802b0) at ./shell.moc:94
#17 0x00007f85d315649a in QObject::event (this=0x16ffb00, e=<value optimized out>) at kernel/qobject.cpp:1226
#18 0x00007f85d3b5267d in QWidget::event (this=0x16ffb00, event=0x1978200) at kernel/qwidget.cpp:8718
#19 0x00007f85d3f1ec0b in QMainWindow::event (this=0x16ffb00, event=0x1978200) at widgets/qmainwindow.cpp:1480
#20 0x00007f85d491fd8e in KXmlGuiWindow::event (this=0x16ffb00, ev=0x1978200) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#21 0x00007f85d3b019f4 in QApplicationPrivate::notify_helper (this=0x1504ca0, receiver=0x16ffb00, e=0x1978200) at kernel/qapplication.cpp:4462
#22 0x00007f85d3b063ba in QApplication::notify (this=<value optimized out>, receiver=0x16ffb00, e=0x1978200) at kernel/qapplication.cpp:4341
#23 0x00007f85d4824866 in KApplication::notify (this=0x7fff86cf62b0, receiver=0x16ffb00, event=0x1978200) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f85d314249c in QCoreApplication::notifyInternal (this=0x7fff86cf62b0, receiver=0x16ffb00, event=0x1978200) at kernel/qcoreapplication.cpp:731
#25 0x00007f85d3145c25 in sendEvent (receiver=0x0, event_type=0, data=0x14bab60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14bab60) at kernel/qcoreapplication.cpp:1372
#27 0x00007f85d316d253 in sendPostedEvents (s=0x1507960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x1507960) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f85cf6aabcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f85cf6ab3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f85cf6ab639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f85d316d3ef in QEventDispatcherGlib::processEvents (this=0x14ba340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f85d3bab4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f85d3141882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f85d3141abc in QEventLoop::exec (this=0x7fff86cf6230, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f85d3145ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#37 0x000000000040812e in main (argc=6, argv=<value optimized out>) at ../../../okular/shell/main.cpp:85

This bug may be a duplicate of or related to bug 275329.

Possible duplicates by query: bug 275329.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-10-04 08:12:29 UTC
Please attach or provide a link to the file that makes okular crash.
Comment 2 Endeavor 2011-10-04 20:50:47 UTC
Created attachment 64215 [details]
xps file (crash when opening)
Comment 3 Endeavor 2011-10-04 20:52:12 UTC
Comment on attachment 64215 [details]
xps file (crash when opening)

This file is a bill that I have to pay, saved it as "xps" and crashes when I tried to open (always)
Comment 4 Endeavor 2011-10-04 20:53:02 UTC
(In reply to comment #1)
> Please attach or provide a link to the file that makes okular crash.

I attached the file, thank you.
Comment 5 Albert Astals Cid 2011-10-04 21:28:32 UTC
It is fixed in kde 4.7.0 or newer