Bug 322357 - PDF Annotations in certain pages crash Okular
Summary: PDF Annotations in certain pages crash Okular
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-14 17:41 UTC by Alfonso Cano
Modified: 2013-09-12 12:35 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 Alfonso Cano 2013-07-14 17:41:01 UTC
Application: okular (0.16.5)
KDE Platform Version: 4.10.5
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:
Any annotations in a certain page crash Okular.
In this case, any annotation stamps, high light text, etc. On page 43. Crash the app.

- Custom settings of the application:
Annotations

The crash can be reproduced every time.

-- 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=0xd25720, source_parent=..., parent_mapping=parent_mapping@entry=0xd22e60, orient=orient@entry=Qt::Vertical, start=start@entry=36, end=end@entry=36, delta_item_count=delta_item_count@entry=1, remove=remove@entry=false) at itemviews/qsortfilterproxymodel.cpp:948
#6  0x00007f927b729dbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xd25720, source_parent=..., start=36, end=36, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#7  0x00007f927b72a2bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xd25720, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#8  0x00007f927a7cbf8f in QMetaObject::activate (sender=0xd216e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff37e35f60) at kernel/qobject.cpp:3547
#9  0x00007f927a815c14 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=36, _t3=36) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#10 0x00007f927a7b0e9a in QAbstractItemModel::endInsertRows (this=0xd216e0) at kernel/qabstractitemmodel.cpp:2433
#11 0x00007f9263dc963e in AnnotationModelPrivate::notifyPageChanged (this=0xd255b0, page=<optimized out>, flags=<optimized out>) at ../ui/annotationmodel.cpp:160
#12 0x00007f9263af40df in Okular::DocumentPrivate::notifyAnnotationChanges (this=<optimized out>, page=page@entry=42) at ../core/document.cpp:2642
#13 0x00007f9263afffa8 in Okular::Document::addPageAnnotation (this=0xcb6ff0, page=42, annotation=0x28ba090) at ../core/document.cpp:2667
#14 0x00007f9263deff09 in PageViewAnnotator::performRouteMouseOrTabletEvent (this=this@entry=0x106bea0, eventType=@0x7fff37e36238: AnnotatorEngine::Release, button=@0x7fff37e3623c: AnnotatorEngine::Left, pos=..., item=item@entry=0x1275090) at ../ui/pageviewannotator.cpp:795
#15 0x00007f9263df0240 in PageViewAnnotator::routeMouseEvent (this=0x106bea0, e=0x7fff37e36fa0, item=0x1275090) at ../ui/pageviewannotator.cpp:818
#16 0x00007f9263e0695a in PageView::mouseReleaseEvent (this=0xdf5610, e=0x7fff37e36fa0) at ../ui/pageview.cpp:2216
#17 0x00007f927b1e9850 in QWidget::event (this=0xdf5610, event=0x7fff37e36fa0) at kernel/qwidget.cpp:8371
#18 0x00007f927b598b66 in QFrame::event (this=0xdf5610, e=0x7fff37e36fa0) at widgets/qframe.cpp:557
#19 0x00007f9263df70cd in PageView::viewportEvent (this=0xdf5610, e=0x7fff37e36fa0) at ../ui/pageview.cpp:3053
#20 0x00007f927a7b6706 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xdf63a0, event=0x7fff37e36fa0) at kernel/qcoreapplication.cpp:1025
#21 0x00007f927b199e6c in QApplicationPrivate::notify_helper (this=this@entry=0x9bded0, receiver=receiver@entry=0xdf63a0, e=e@entry=0x7fff37e36fa0) at kernel/qapplication.cpp:4558
#22 0x00007f927b19eb6b in QApplication::notify (this=<optimized out>, receiver=0xdf63a0, e=0x7fff37e36fa0) at kernel/qapplication.cpp:4105
#23 0x00007f927bea1186 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f927a7b659e in QCoreApplication::notifyInternal (this=0x7fff37e37df0, receiver=0xdf63a0, event=0x7fff37e36fa0) at kernel/qcoreapplication.cpp:915
#25 0x00007f927b19acd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=0xdf63a0, event=0x7fff37e36fa0, alienWidget=0xdf63a0, nativeWidget=0xc578e0, buttonDown=0x7f927bc76308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#27 0x00007f927b218554 in QETWidget::translateMouseEvent (this=this@entry=0xc578e0, event=event@entry=0x7fff37e37720) at kernel/qapplication_x11.cpp:4622
#28 0x00007f927b21744f in QApplication::x11ProcessEvent (this=0x7fff37e37df0, event=0x7fff37e37720) at kernel/qapplication_x11.cpp:3737
#29 0x00007f927b23efa2 in x11EventSourceDispatch (s=0x9bff00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f92769e8ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f92769e8de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f92769e8ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f927a7e4c26 in QEventDispatcherGlib::processEvents (this=0x98cb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x00007f927b23ec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f927a7b52ef in QEventLoop::processEvents (this=this@entry=0x7fff37e37af0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f927a7b5578 in QEventLoop::exec (this=0x7fff37e37af0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f927a7ba738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#38 0x000000000040805e in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:94

This bug may be a duplicate of or related to bug 316802, bug 311037.

Possible duplicates by query: bug 316802, bug 311037.

Reported using DrKonqi
Comment 1 Fabio D'Urso 2013-07-14 20:50:34 UTC
Hi, can you please attach the pdf file?
Comment 2 Christoph Feck 2013-08-10 17:19:09 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2013-08-29 21:14:16 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Christoph Feck 2013-09-12 12:35:16 UTC
No response, changing status. Please reopen, if you have more information.