Bug 311037 - Okular Crashs
Summary: Okular Crashs
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.15.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 18:41 UTC by giovanni.cialdino
Modified: 2013-08-15 21:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.92 KB, text/plain)
2013-01-15 07:10 UTC, Art
Details
PDF file for reproducing error (724.12 KB, application/octet-string)
2013-01-15 07:13 UTC, Art
Details
Metadata file for reproducing error (41.13 KB, text/xml)
2013-01-16 06:43 UTC, Art
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giovanni.cialdino 2012-12-02 18:41:15 UTC
Application: okular (0.15.2)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-18-generic i686
Distribution: Ubuntu 12.10

-- Information about the crash:
Okular Crashs when I highligt text in a colorful box. The pdf was generated by MS poerpoint (I think)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4e25740 (LWP 5127))]

Thread 2 (Thread 0xb0900b40 (LWP 5130)):
#0  0xb54b999c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb54b9c78 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5478536 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5478bff in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5478e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb618499f in QEventDispatcherGlib::processEvents (this=0xaff16ad8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb615126c in QEventLoop::processEvents (this=this@entry=0xb0900228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6151561 in QEventLoop::exec (this=0xb0900228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb603c66c in QThread::exec (this=0x98ddf78) at thread/qthread.cpp:501
#9  0xb612f7bd in QInotifyFileSystemWatcherEngine::run (this=0x98ddf78) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb603fa58 in QThreadPrivate::start (arg=0x98ddf78) at thread/qthread_unix.cpp:338
#11 0xb554cd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5db3d3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4e25740 (LWP 5127)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x967ae58, source_parent=..., parent_mapping=0x967b020, orient=Qt::Vertical, start=0, end=0, delta_item_count=1, remove=false) at itemviews/qsortfilterproxymodel.cpp:948
#7  0xb6cecc44 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x967ae58, source_parent=..., start=start@entry=0, end=end@entry=0, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#8  0xb6ced230 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x967ae58, source_parent=..., start=0, end=0) at itemviews/qsortfilterproxymodel.cpp:1281
#9  0xb616aed6 in QMetaObject::activate (sender=0x967ace0, m=0xb62b7298 <QAbstractItemModel::staticMetaObject>, local_signal_index=5, argv=0xbffce7b0) at kernel/qobject.cpp:3547
#10 0xb61ba7f5 in QAbstractItemModel::rowsInserted (this=0x967ace0, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#11 0xb614c8a3 in QAbstractItemModel::endInsertRows (this=0x967ace0) at kernel/qabstractitemmodel.cpp:2433
#12 0xb272346f in AnnotationModelPrivate::notifyPageChanged (this=0x967ad90, page=12, flags=16) at ../ui/annotationmodel.cpp:146
#13 0xb264989f in Okular::DocumentPrivate::notifyAnnotationChanges (this=0x9527a08, page=page@entry=12) at ../core/document.cpp:2480
#14 0xb2655b9b in Okular::Document::addPageAnnotation (this=0x950ab88, page=12, annotation=0x99be910) at ../core/document.cpp:2505
#15 0xb274dc01 in PageViewAnnotator::routeEvent (this=0x9a241b0, e=0xbffcf3c4, item=0x98d2db0) at ../ui/pageviewannotator.cpp:793
#16 0xb27666f2 in PageView::mouseReleaseEvent (this=0x9759d48, e=0xbffcf3c4) at ../ui/pageview.cpp:2164
#17 0x09759d48 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Possible duplicates by query: bug 289310.

Reported using DrKonqi
Comment 1 Fabio D'Urso 2012-12-02 19:06:28 UTC
Hi, can you please attach the PDF document and describe the exact steps to reproduce the issue?
Thank you :)
Comment 2 Art 2013-01-15 07:10:45 UTC
Created attachment 76478 [details]
New crash information added by DrKonqi

okular (0.15.3) on KDE Platform 4.9.3 using Qt 4.8.3

I highlighed text in PDF file.  When I release button after selecting chunk of text, program crashes.

-- Backtrace (Reduced):
#5  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x1981230, source_parent=..., parent_mapping=parent_mapping@entry=0x1980410, orient=orient@entry=Qt::Vertical, start=start@entry=7, end=end@entry=7, delta_item_count=delta_item_count@entry=1, remove=remove@entry=false) at itemviews/qsortfilterproxymodel.cpp:948
#6  0x00007f58fa262dbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x1981230, source_parent=..., start=7, end=7, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#7  0x00007f58fa2632bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1981230, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
[...]
#9  0x00007f58f934fbe4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=7, _t3=7) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#10 0x00007f58f92eae6a in QAbstractItemModel::endInsertRows (this=0x1980f50) at kernel/qabstractitemmodel.cpp:2433
Comment 3 Art 2013-01-15 07:13:59 UTC
Created attachment 76479 [details]
PDF file for reproducing error

Try to highlight all text in reference # 49.
Comment 4 Albert Astals Cid 2013-01-15 18:30:43 UTC
Can you reproduce the crash all the time? Do you have annotations in the file?
Comment 5 Art 2013-01-16 06:43:22 UTC
Created attachment 76505 [details]
Metadata file for reproducing error

This is metadata file for previously uploaded PDF file.
Comment 6 Albert Astals Cid 2013-01-19 18:15:07 UTC
Can you reproduce the crash every time? What do you do exactly to make it crash?
Comment 7 Art 2013-01-20 07:09:58 UTC
Yes, I can.
Open PDF, go to page 20. Try to highlight all text in reference # 49, which is "X. He, D. Cai, S. Yan, and H.-J. Zhang. Neighborhood preserving embedding. In Proceedings of the 10th IEEE International Conference on Computer Vision, pages 1208–1213, 2005."
Comment 8 Albert Astals Cid 2013-01-20 23:44:06 UTC
Hmmm, works for me. Could you please do this:
 * Open a terminal
 * Run 
       valgrind okular
    (you may need to install valgrind from your distribution repositories)
 * Reproduce the crash (or what you do when you make it crash) and attach to this bug the output of the "valgrind okular" command
Comment 9 Christoph Feck 2013-01-27 23:53:34 UTC
If you can provide the information requested in comment #8, please add it.
Comment 10 Albert Astals Cid 2013-03-07 22:22:01 UTC
Waiting for info
Comment 11 Albert Astals Cid 2013-08-15 21:49:19 UTC
No answer in months. Closing. Please reopen if you can provide the information we asked for.