Bug 324843 - Annotations crash OKULAR
Summary: Annotations crash OKULAR
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.0
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-12 15:30 UTC by Alfonso Cano
Modified: 2017-03-28 22:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
a djvu file that crashes OKULAR on page 15. (1.29 MB, image/vnd.djvu)
2013-09-12 15:37 UTC, Alfonso Cano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfonso Cano 2013-09-12 15:30:37 UTC
Application: okular (0.17.0)
KDE Platform Version: 4.11.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Linux Mint 14 Nadia

-- Information about the crash:
- What I was doing when the application crashed:
Highlighting text from page 15 of the file [22 of the article].
Specificly when it reads:

En la historia de la sociología, el microénfasis propuesto por el conductismo y la teoría de la decisión racional recibió un poderoso apoyo por parte de la sociología de Simmel

Highlight this text allways crashes de app, in this case is a .djvu file, but i have noticed also in PDF's.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x1879100, source_parent=..., parent_mapping=parent_mapping@entry=0x187ad40, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=delta_item_count@entry=1, remove=remove@entry=false) at itemviews/qsortfilterproxymodel.cpp:948
#6  0x00007f3331629dbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x1879100, source_parent=..., start=0, end=0, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#7  0x00007f333162a2bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1879100, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#8  0x00007f33306caf8f in QMetaObject::activate (sender=0x187b060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb76cc230) at kernel/qobject.cpp:3547
#9  0x00007f3330714c14 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#10 0x00007f33306afe9a in QAbstractItemModel::endInsertRows (this=0x187b060) at kernel/qabstractitemmodel.cpp:2433
#11 0x00007f3319f45bae in AnnotationModelPrivate::notifyPageChanged (this=0x187b1d0, page=<optimized out>, flags=<optimized out>) at ../ui/annotationmodel.cpp:154
#12 0x00007f3319c5b8c8 in Okular::DocumentPrivate::notifyAnnotationChanges (this=this@entry=0x185e150, page=page@entry=14) at ../core/document.cpp:2917
#13 0x00007f3319c6687f in Okular::DocumentPrivate::performAddPageAnnotation (this=0x185e150, page=14, annotation=0x21f4600) at ../core/document.cpp:1058
#14 0x00007f3319c76044 in Okular::AddAnnotationCommand::redo (this=0x1e4b290) at ../core/documentcommands.cpp:46
#15 0x00007f33316eb243 in QUndoStack::push (this=0x1848450, cmd=0x1e4b290) at util/qundostack.cpp:583
#16 0x00007f3319c65967 in Okular::Document::addPageAnnotation (this=0x18369a0, page=14, annotation=0x21f4600) at ../core/document.cpp:2927
#17 0x00007f3319f70ad9 in PageViewAnnotator::performRouteMouseOrTabletEvent (this=this@entry=0x1c0e520, eventType=@0x7fffb76cc668: AnnotatorEngine::Release, button=@0x7fffb76cc66c: AnnotatorEngine::Left, pos=..., item=item@entry=0x1b84cf0) at ../ui/pageviewannotator.cpp:853
#18 0x00007f3319f70e10 in PageViewAnnotator::routeMouseEvent (this=0x1c0e520, e=0x7fffb76cd3f0, item=0x1b84cf0) at ../ui/pageviewannotator.cpp:876
#19 0x00007f3319f89bc4 in PageView::mouseReleaseEvent (this=0x19852f0, e=0x7fffb76cd3f0) at ../ui/pageview.cpp:2236
#20 0x00007f33310e9850 in QWidget::event (this=0x19852f0, event=0x7fffb76cd3f0) at kernel/qwidget.cpp:8371
#21 0x00007f3331498b66 in QFrame::event (this=0x19852f0, e=0x7fffb76cd3f0) at widgets/qframe.cpp:557
#22 0x00007f3319f7a28d in PageView::viewportEvent (this=0x19852f0, e=0x7fffb76cd3f0) at ../ui/pageview.cpp:3082
#23 0x00007f33306b5706 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1987940, event=0x7fffb76cd3f0) at kernel/qcoreapplication.cpp:1025
#24 0x00007f3331099e6c in QApplicationPrivate::notify_helper (this=this@entry=0x154c5b0, receiver=receiver@entry=0x1987940, e=e@entry=0x7fffb76cd3f0) at kernel/qapplication.cpp:4558
#25 0x00007f333109eb6b in QApplication::notify (this=<optimized out>, receiver=0x1987940, e=0x7fffb76cd3f0) at kernel/qapplication.cpp:4105
#26 0x00007f3331d9f906 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0x00007f33306b559e in QCoreApplication::notifyInternal (this=0x7fffb76ce2c0, receiver=0x1987940, event=0x7fffb76cd3f0) at kernel/qcoreapplication.cpp:915
#28 0x00007f333109acd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=0x1987940, event=0x7fffb76cd3f0, alienWidget=0x1987940, nativeWidget=0x1808430, buttonDown=0x7f3331b76308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#30 0x00007f3331118554 in QETWidget::translateMouseEvent (this=this@entry=0x1808430, event=event@entry=0x7fffb76cdb70) at kernel/qapplication_x11.cpp:4622
#31 0x00007f333111744f in QApplication::x11ProcessEvent (this=0x7fffb76ce2c0, event=0x7fffb76cdb70) at kernel/qapplication_x11.cpp:3737
#32 0x00007f333113efa2 in x11EventSourceDispatch (s=0x154e160, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f332c930ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f332c930de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f332c930ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f33306e3c26 in QEventDispatcherGlib::processEvents (this=0x151ab30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f333113ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f33306b42ef in QEventLoop::processEvents (this=this@entry=0x7fffb76cdf40, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f33306b4578 in QEventLoop::exec (this=0x7fffb76cdf40, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f33306b9738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#41 0x000000000040829e in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:100

The reporter indicates this bug may be a duplicate of or related to bug 322357, bug 316802.

Possible duplicates by query: bug 322357, bug 316802, bug 311037.

Reported using DrKonqi
Comment 1 Alfonso Cano 2013-09-12 15:37:22 UTC
Created attachment 82299 [details]
a djvu file that crashes OKULAR on page 15.

The exact text is when it reads:

"En la historia de la sociología, el microénfasis propuesto por el conductismo y la teoría de la decisión racional recibió un poderoso apoyo por parte de la sociología de Simmel"


( The OCR reads: En la historia de la sociología, el microénfasis propuesto por elconductismo y la teoría de la decisión racional recibió un poderosoapoyo por parte de la sociología de Simmel)
Comment 2 Alfonso Cano 2013-09-12 15:40:04 UTC
Comment on attachment 82299 [details]
a djvu file that crashes OKULAR on page 15.

The crash happened two times in a row. Now it does not do it any more.
Comment 3 Luigi Toscano 2014-05-08 15:03:21 UTC
Hi, I tried the steps on the document using Okular 0.19.60 and I can't reproduce the crash, not even once. Have you seen the crash again, or with newer versions of Okular?
Comment 4 Albert Astals Cid 2017-03-28 22:19:13 UTC
No answer for years