Bug 324953 - Removing highlight crashes Okular
Summary: Removing highlight crashes Okular
Status: RESOLVED DUPLICATE of bug 322553
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: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-16 10:06 UTC by Máté Soós
Modified: 2013-09-16 18:32 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 Máté Soós 2013-09-16 10:06:14 UTC
Application: okular (0.16.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Whenever I remove the highlight that I added to this document by right-clicking and left-clicking "delete" Okular crashes. This happens every time, 100% with reproducibility.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f86307a47c0 (LWP 24784))]

Thread 2 (Thread 0x7f8619958700 (LWP 24803)):
#0  0x00007f862a466359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f862a4665e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f862a4268f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f862a4270fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f862a427304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f862e1e5036 in QEventDispatcherGlib::processEvents (this=0x7f8614009950, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f862e1b538f in QEventLoop::processEvents (this=this@entry=0x7f8619957d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f862e1b5618 in QEventLoop::exec (this=this@entry=0x7f8619957d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f862e0b7410 in QThread::exec (this=this@entry=0x1d0efb0) at thread/qthread.cpp:542
#9  0x00007f862e196edf in QInotifyFileSystemWatcherEngine::run (this=0x1d0efb0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f862e0b9bec in QThreadPrivate::start (arg=0x1d0efb0) at thread/qthread_unix.cpp:338
#11 0x00007f862a8f9f8e in start_thread (arg=0x7f8619958700) at pthread_create.c:311
#12 0x00007f862d7f1e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f86307a47c0 (LWP 24784)):
[KCrash Handler]
#6  0x00007f862d72f037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f862d732698 in __GI_abort () at abort.c:90
#8  0x00007f861a09f8f3 in getRef (this=<optimized out>) at Object.h:200
#9  Page::removeAnnot (this=this@entry=0xefb800, annot=0xf72100) at Page.cc:408
#10 0x00007f861a3e6e4f in Poppler::AnnotationPrivate::removeAnnotationFromPage (pdfPage=<optimized out>, ann=0xf6f600) at poppler-annotation.cc:534
#11 0x00007f861a3e0bdc in Poppler::Page::removeAnnotation (this=<optimized out>, ann=<optimized out>) at poppler-page.cc:586
#12 0x00007f861a635111 in PopplerAnnotationProxy::notifyRemoval (this=<optimized out>, okl_ann=0xec80d0, page=0) at ../../../generators/poppler/annots.cpp:260
#13 0x00007f861ea3efc5 in Okular::Document::removePageAnnotation (this=0x9af720, page=0, annotation=0xec80d0) at ../core/document.cpp:2793
#14 0x00007f861ed03b61 in AnnotationPopup::exec (this=this@entry=0x7fff11b6f150, point=...) at ../ui/annotationpopup.cpp:137
#15 0x00007f861ed3d52b in PageView::mousePressEvent (this=0x9f5660, e=0x7fff11b6faa0) at ../ui/pageview.cpp:2070
#16 0x00007f862ebeda70 in QWidget::event (this=this@entry=0x9f5660, event=event@entry=0x7fff11b6faa0) at kernel/qwidget.cpp:8371
#17 0x00007f862efa0316 in QFrame::event (this=0x9f5660, e=0x7fff11b6faa0) at widgets/qframe.cpp:557
#18 0x00007f861ed3e7fd in PageView::viewportEvent (this=0x9f5660, e=0x7fff11b6faa0) at ../ui/pageview.cpp:3053
#19 0x00007f862e1b67a6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x78f7b0, receiver=receiver@entry=0xc03c30, event=event@entry=0x7fff11b6faa0) at kernel/qcoreapplication.cpp:1056
#20 0x00007f862eba08bc in QApplicationPrivate::notify_helper (this=this@entry=0x78f7b0, receiver=receiver@entry=0xc03c30, e=e@entry=0x7fff11b6faa0) at kernel/qapplication.cpp:4563
#21 0x00007f862eba3a33 in QApplication::notify (this=this@entry=0x7fff11b708f0, receiver=receiver@entry=0xc03c30, e=e@entry=0x7fff11b6faa0) at kernel/qapplication.cpp:4110
#22 0x00007f862f8ac1a6 in KApplication::notify (this=0x7fff11b708f0, receiver=0xc03c30, event=0x7fff11b6faa0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f862e1b663e in QCoreApplication::notifyInternal (this=0x7fff11b708f0, receiver=receiver@entry=0xc03c30, event=event@entry=0x7fff11b6faa0) at kernel/qcoreapplication.cpp:946
#24 0x00007f862eba6933 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xc03c30, event=event@entry=0x7fff11b6faa0, alienWidget=alienWidget@entry=0xc03c30, nativeWidget=nativeWidget@entry=0x9f6ef0, buttonDown=buttonDown@entry=0x7f862f67e308 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#26 0x00007f862ec1bec4 in QETWidget::translateMouseEvent (this=this@entry=0x9f6ef0, event=event@entry=0x7fff11b70220) at kernel/qapplication_x11.cpp:4631
#27 0x00007f862ec1aef1 in QApplication::x11ProcessEvent (this=0x7fff11b708f0, event=event@entry=0x7fff11b70220) at kernel/qapplication_x11.cpp:3746
#28 0x00007f862ec460b2 in x11EventSourceDispatch (s=0x78e720, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f862a426f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f862a427248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f862a427304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f862e1e5016 in QEventDispatcherGlib::processEvents (this=0x74ab30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f862ec461ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f862e1b538f in QEventLoop::processEvents (this=this@entry=0x7fff11b705f0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f862e1b5618 in QEventLoop::exec (this=this@entry=0x7fff11b705f0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f862e1bacf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007f862eb9effc in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x000000000040809e in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:94

Reported using DrKonqi
Comment 1 Fabio D'Urso 2013-09-16 18:32:31 UTC
Where is the document? Anyway, the backtrace looks like a bug that was fixed in Poppler 0.23.3
I'd be great if you could attach the document or try with a newer Poppler yourself.

Thank you for reporting

*** This bug has been marked as a duplicate of bug 322553 ***