Bug 295738 - okular chrashed
Summary: okular chrashed
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: XPS backend (show other bugs)
Version: 0.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-11 08:47 UTC by Jeroen
Modified: 2012-11-14 14:16 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 Jeroen 2012-03-11 08:47:19 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-38-generic i686
Distribution: Ubuntu 10.04.4 LTS

-- Information about the crash:
when attempting to open a *.xps file (windows file printing system)

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb4bf0b70 (LWP 24328)):
#0  0x003b3422 in __kernel_vsyscall ()
#1  0x0069d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00d2991d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00ec78c2 in QMutexPrivate::wait (this=0xa103360, timeout=-1) at thread/qmutex_unix.cpp:84
#4  0x00ec3072 in QMutex::lock (this=0xa042c58) at thread/qmutex.cpp:205
#5  0x08198e2b in QMutexLocker::relock (this=0xa103000, request=0x9f9f588) at /usr/include/qt4/QtCore/qmutex.h:120
#6  QMutexLocker (this=0xa103000, request=0x9f9f588) at /usr/include/qt4/QtCore/qmutex.h:102
#7  XpsGenerator::image (this=0xa103000, request=0x9f9f588) at ../../../../okular/generators/xps/generator_xps.cpp:2116
#8  0x0478ebb2 in Okular::PixmapGenerationThread::run (this=0xa0e2290) at ../../okular/core/generator_p.cpp:64
#9  0x00ec832e in QThreadPrivate::start (arg=0xa0e2290) at thread/qthread_unix.cpp:248
#10 0x0069896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x00d1c98e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb43efb70 (LWP 24329)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0x081a3749 in XpsPage::textPage (this=0xa108048) at ../../../../okular/generators/xps/generator_xps.cpp:1591
#8  0x081a5606 in XpsGenerator::textPage (this=0xa103000, page=0xa102c38) at ../../../../okular/generators/xps/generator_xps.cpp:2128
#9  0x0478e38a in Okular::TextPageGenerationThread::run (this=0xa108858) at ../../okular/core/generator_p.cpp:103
#10 0x00ec832e in QThreadPrivate::start (arg=0xa108858) at thread/qthread_unix.cpp:248
#11 0x0069896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00d1c98e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb781a930 (LWP 24327)):
#0  0x094402aa in ?? () from /usr/lib/libxcb.so.1
#1  0x09440667 in xcb_writev () from /usr/lib/libxcb.so.1
#2  0x0207dd79 in _XSend () from /usr/lib/libX11.so.6
#3  0x0206a112 in ?? () from /usr/lib/libX11.so.6
#4  0x0206a31a in XPutImage () from /usr/lib/libX11.so.6
#5  0x037dcf31 in QX11PixmapData::fromImage (this=0xa10bb58, img=..., flags=...) at image/qpixmap_x11.cpp:612
#6  0x037c6d0c in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:1992
#7  0x0382e0ae in QPaintEngine::drawImage (this=0xa062ec0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine.cpp:623
#8  0x038f3b19 in QX11PaintEngine::drawImage (this=0xa062ec0, r=..., image=..., sr=..., flags=...) at painting/qpaintengine_x11.cpp:1893
#9  0x03845688 in QPainterPrivate::draw_helper (this=0xa1061f8, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:484
#10 0x03847b30 in QPainter::drawRects (this=0xbfdcb29c, rects=0xbfdcb260, rectCount=1) at painting/qpainter.cpp:3557
#11 0x03847cfa in QPainter::drawRect (this=0xbfdcb29c, r=..., brush=...) at ../../include/QtGui/../../src/gui/painting/qpainter.h:622
#12 QPainter::fillRect (this=0xbfdcb29c, r=..., brush=...) at painting/qpainter.cpp:6679
#13 0x014e9994 in OxygenHelper::radialGradient (this=0x9e7d308, color=..., width=600, height=64) at ../../../kstyles/oxygen/lib/helper.cpp:294
#14 0x014e676a in OxygenHelper::renderWindowBackground (this=0x9e7d308, p=0xbfdcb75c, clipRect=..., widget=0x9e86368, window=0x9e86368, pal=..., y_shift=-23, gradientHeight=64)
    at ../../../kstyles/oxygen/lib/helper.cpp:125
#15 0x0152158f in OxygenHelper::renderWindowBackground (this=0x9e7d308, p=0x1, clipRect=..., widget=0x9e86368, pal=..., gradientHeight=<value optimized out>, y_shift=<value optimized out>)
    at ../../../kstyles/oxygen/lib/helper.h:69
#16 0x0152e61e in OxygenStyle::eventFilter (this=0x9e7b290, obj=0x9e86368, ev=0xbfdcbcac) at ../../../kstyles/oxygen/oxygen.cpp:6391
#17 0x00fc9cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9cd38d8, receiver=0x9e86368, event=0xbfdcbcac) at kernel/qcoreapplication.cpp:819
#18 0x036d04b9 in QApplicationPrivate::notify_helper (this=0x9cd38d8, receiver=0x9e86368, e=0xbfdcbcac) at kernel/qapplication.cpp:4296
#19 0x036d70f9 in QApplication::notify (this=0xbfdcde30, receiver=0x9e86368, e=0xbfdcbcac) at kernel/qapplication.cpp:4265
#20 0x00a7740a in KApplication::notify (this=0xbfdcde30, receiver=0x9e86368, event=0xbfdcbcac) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00fcaa3b in QCoreApplication::notifyInternal (this=0xbfdcde30, receiver=0x9e86368, event=0xbfdcbcac) at kernel/qcoreapplication.cpp:704
#22 0x0151a71b in QCoreApplication::sendEvent (this=0xa0e0950, pixmap=..., widget=0xa0bbde8, rect=...) at /usr/include/qt4/QtCore/qcoreapplication.h:215
#23 Oxygen::TransitionWidget::grabBackground (this=0xa0e0950, pixmap=..., widget=0xa0bbde8, rect=...) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.cpp:218
#24 0x0151ac3b in Oxygen::TransitionWidget::grab (this=0xa0e0950, widget=0xa0bbde8, rect=...) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.cpp:90
#25 0x015165ac in Oxygen::LineEditData::initializeAnimation (this=0xa0e08b0) at ../../../kstyles/oxygen/transitions/oxygenlineeditdata.cpp:174
#26 0x015157ce in Oxygen::LineEditData::textChanged (this=0xa0e08b0) at ../../../kstyles/oxygen/transitions/oxygenlineeditdata.cpp:128
#27 0x01516020 in Oxygen::LineEditData::qt_metacall (this=0xa0e08b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfdcc018) at ./oxygenlineeditdata.moc:82
#28 0x00fcfc9a in QMetaObject::metacall (object=0xa0e08b0, cl=3218898824, idx=9, argv=0xbfdcc018) at kernel/qmetaobject.cpp:237
#29 0x00fde3d5 in QMetaObject::activate (sender=0xa0bbde8, m=0x3ffeb48, local_signal_index=0, argv=0xbfdcc018) at kernel/qobject.cpp:3293
#30 0x03b3a1c3 in QLineEdit::textChanged (this=0xa0bbde8, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:238
#31 0x03b3e1cd in QLineEdit::qt_metacall (this=0xa0bbde8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdcc1b8) at .moc/release-shared/moc_qlineedit.cpp:156
#32 0x00b65d2a in KLineEdit::qt_metacall (this=0xa0bbde8, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfdcc1b8) at ./klineedit.moc:134
#33 0x00fcfc9a in QMetaObject::metacall (object=0xa0bbde8, cl=3218898824, idx=27, argv=0xbfdcc1b8) at kernel/qmetaobject.cpp:237
#34 0x00fde3d5 in QMetaObject::activate (sender=0xa0bc390, m=0x400c888, local_signal_index=3, argv=0xbfdcc1b8) at kernel/qobject.cpp:3293
#35 0x03dfee43 in QLineControl::textChanged (this=0xa0bc390, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:131
#36 0x03b44d1b in QLineControl::finishChange (this=0xa0bc390, validateFromState=-1, update=true, edited=false) at widgets/qlinecontrol.cpp:605
#37 0x03b44fb2 in QLineControl::internalSetText (this=0xa0bc390, txt=..., pos=8, edited=3) at widgets/qlinecontrol.cpp:636
#38 0x03b3b6bd in QLineControl::setText (this=0xa0bbde8, text=...) at ../../include/QtGui/private/../../../src/gui/widgets/qlinecontrol_p.h:576
#39 QLineEdit::setText (this=0xa0bbde8, text=...) at widgets/qlineedit.cpp:383
#40 0x03af95cd in QComboBoxPrivate::setCurrentIndex (this=0xa0bb968, mi=...) at widgets/qcombobox.cpp:1987
#41 0x03af96d5 in QComboBox::setCurrentIndex (this=0xa0bb940, index=0) at widgets/qcombobox.cpp:1975
#42 0x03afd1be in QComboBoxPrivate::_q_rowsRemoved (this=0xa0bb968, parent=...) at widgets/qcombobox.cpp:1030
#43 0x03aff474 in QComboBox::qt_metacall (this=0xa0bb940, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xbfdcc510) at .moc/release-shared/moc_qcombobox.cpp:200
#44 0x00b3f30a in KComboBox::qt_metacall (this=0xa0bb940, _c=QMetaObject::InvokeMetaMethod, _id=48, _a=0xbfdcc510) at ./kcombobox.moc:106
#45 0x00fcfc9a in QMetaObject::metacall (object=0xa0bb940, cl=3218898824, idx=48, argv=0xbfdcc510) at kernel/qmetaobject.cpp:237
#46 0x00fde3d5 in QMetaObject::activate (sender=0xa0bbb80, m=0x10de198, local_signal_index=7, argv=0xbfdcc510) at kernel/qobject.cpp:3293
#47 0x0102ebcf in QAbstractItemModel::rowsRemoved (this=0xa0bbb80, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:195
#48 0x00fc4cd3 in QAbstractItemModel::endRemoveRows (this=0xa0bbb80) at kernel/qabstractitemmodel.cpp:2464
#49 0x03d160b0 in QStandardItemModelPrivate::rowsRemoved (this=0xa0bbb90, parent=0xa0bbc10, row=0, count=1) at itemviews/qstandarditemmodel.cpp:589
#50 0x03d165af in QStandardItem::removeRows (this=0xa0bbc10, row=0, count=1) at itemviews/qstandarditemmodel.cpp:1630
#51 0x03d1667a in QStandardItemModel::removeRows (this=0xa0bbb80, row=0, count=1, parent=...) at itemviews/qstandarditemmodel.cpp:2800
#52 0x03af4b68 in QComboBox::removeItem (this=0xa0bb940, index=0) at widgets/qcombobox.cpp:2192
#53 0x0099939d in KSelectAction::eventFilter (this=0xa073b40, watched=0xa0bb940, event=0xbfdccb98) at ../../kdeui/actions/kselectaction.cpp:739
#54 0x00fc9cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9cd38d8, receiver=0xa0bb940, event=0xbfdccb98) at kernel/qcoreapplication.cpp:819
#55 0x036d04b9 in QApplicationPrivate::notify_helper (this=0x9cd38d8, receiver=0xa0bb940, e=0xbfdccb98) at kernel/qapplication.cpp:4296
#56 0x036d70f9 in QApplication::notify (this=0xbfdcde30, receiver=0xa0bb940, e=0xbfdccb98) at kernel/qapplication.cpp:4265
#57 0x00a7740a in KApplication::notify (this=0xbfdcde30, receiver=0xa0bb940, event=0xbfdccb98) at ../../kdeui/kernel/kapplication.cpp:302
#58 0x00fcaa3b in QCoreApplication::notifyInternal (this=0xbfdcde30, receiver=0xa0bb940, event=0xbfdccb98) at kernel/qcoreapplication.cpp:704
#59 0x037239a2 in QCoreApplication::sendEvent (this=0xa0bb940, action=0xa074258) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QWidget::removeAction (this=0xa0bb940, action=0xa074258) at kernel/qwidget.cpp:3018
#61 0x009985c0 in KSelectAction::removeAction (this=0xa073b40, action=0xa074258) at ../../kdeui/actions/kselectaction.cpp:309
#62 0x009972be in KSelectAction::removeAllActions (this=0xa073b40) at ../../kdeui/actions/kselectaction.cpp:410
#63 0x077d253c in PageView::updateZoomText (this=0xa02e670) at ../../okular/ui/pageview.cpp:2709
#64 0x077db3c8 in PageView::notifyViewportChanged (this=0xa02e670, smoothMove=false) at ../../okular/ui/pageview.cpp:916
#65 0x04775f7d in Okular::Document::setViewport (this=0x9e9c2b8, viewport=..., excludeId=-1, smoothMove=false) at ../../okular/core/document.cpp:2483
#66 0x0477dd96 in Okular::Document::openDocument (this=0x9e9c2b8, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1689
#67 0x07781b0f in Okular::Part::openFile (this=0x9e8ce88) at ../../okular/part.cpp:930
#68 0x006d2ca9 in KParts::ReadOnlyPart::openUrl (this=0x9e8ce88, url=...) at ../../kparts/part.cpp:557
#69 0x077742f7 in Okular::Part::openUrl (this=0x9e8ce88, _url=...) at ../../okular/part.cpp:1049
#70 0x080501e2 in Shell::openUrl (this=0x9e86368, url=...) at ../../../okular/shell/shell.cpp:130
#71 0x080502f8 in Shell::delayedOpen (this=0x9e86368) at ../../../okular/shell/shell.cpp:113
#72 0x08050b25 in Shell::qt_metacall (this=0x9e86368, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbfdcd53c) at ./shell.moc:94
#73 0x00fcfc9a in QMetaObject::metacall (object=0x9e86368, cl=3218898824, idx=57, argv=0xbfdcd53c) at kernel/qmetaobject.cpp:237
#74 0x00fde3d5 in QMetaObject::activate (sender=0xa0c04f0, m=0x10dd188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#75 0x00fe5fe7 in QSingleShotTimer::timeout (this=0xa0c04f0) at .moc/release-shared/qtimer.moc:82
#76 0x00fe60fc in QSingleShotTimer::timerEvent (this=0xa0c04f0) at kernel/qtimer.cpp:308
#77 0x00fdb254 in QObject::event (this=0xa0c04f0, e=0x1) at kernel/qobject.cpp:1212
#78 0x036d04dc in QApplicationPrivate::notify_helper (this=0x9cd38d8, receiver=0xa0c04f0, e=0xbfdcda70) at kernel/qapplication.cpp:4300
#79 0x036d705e in QApplication::notify (this=0xbfdcde30, receiver=0xa0c04f0, e=0xbfdcda70) at kernel/qapplication.cpp:3704
#80 0x00a7740a in KApplication::notify (this=0xbfdcde30, receiver=0xa0c04f0, event=0xbfdcda70) at ../../kdeui/kernel/kapplication.cpp:302
#81 0x00fcaa3b in QCoreApplication::notifyInternal (this=0xbfdcde30, receiver=0xa0c04f0, event=0xbfdcda70) at kernel/qcoreapplication.cpp:704
#82 0x00ff9d66 in QCoreApplication::sendEvent (this=0x9cd6694) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#83 QTimerInfoList::activateTimers (this=0x9cd6694) at kernel/qeventdispatcher_unix.cpp:603
#84 0x00ff68e4 in timerSourceDispatch (source=0x9cd6660) at kernel/qeventdispatcher_glib.cpp:184
#85 0x06fc75e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#86 0x06fcb2d8 in ?? () from /lib/libglib-2.0.so.0
#87 0x06fcb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#88 0x00ff65d5 in QEventDispatcherGlib::processEvents (this=0x9cbf090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#89 0x03790135 in QGuiEventDispatcherGlib::processEvents (this=0x9cbf090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#90 0x00fc9059 in QEventLoop::processEvents (this=0xbfdcdd34, flags=) at kernel/qeventloop.cpp:149
#91 0x00fc94aa in QEventLoop::exec (this=0xbfdcdd34, flags=...) at kernel/qeventloop.cpp:201
#92 0x00fcd69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#93 0x036d0577 in QApplication::exec () at kernel/qapplication.cpp:3579
#94 0x0804ef09 in main (argc=6, argv=0xbfdce024) at ../../../okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-03-11 21:49:10 UTC
Please attach the crashing file
Comment 2 Jeroen 2012-03-12 22:19:15 UTC
The file witch is crashing the application contains confidential information. The file is printed with microsoft windows xps document writer. I will take a look at reproducing the error with another xps file printed with the same document writer. And post it here.
Comment 3 Albert Astals Cid 2012-08-09 21:04:41 UTC
Jeroen, waiting for that file to reproduce the crash.
Comment 4 Albert Astals Cid 2012-11-14 14:16:48 UTC
No answer in 3 months, I'll assume it's fixed, please reopen if you can still reproduce