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
Hi, can you please attach the PDF document and describe the exact steps to reproduce the issue? Thank you :)
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
Created attachment 76479 [details] PDF file for reproducing error Try to highlight all text in reference # 49.
Can you reproduce the crash all the time? Do you have annotations in the file?
Created attachment 76505 [details] Metadata file for reproducing error This is metadata file for previously uploaded PDF file.
Can you reproduce the crash every time? What do you do exactly to make it crash?
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."
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
If you can provide the information requested in comment #8, please add it.
Waiting for info
No answer in months. Closing. Please reopen if you can provide the information we asked for.