Bug 298851 - Okular crashed when trying to add annotation
Summary: Okular crashed when trying to add annotation
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-26 12:37 UTC by Kai Uwe Broulik
Modified: 2012-04-28 11:41 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 Kai Uwe Broulik 2012-04-26 12:37:49 UTC
Application: okular (0.14.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was opening the PDF file and rapidly pressed the key "2" for "Yellow Inline annotation", then Okular crashed. Same happened, when I rapidly pressed "F6" (to enable "Annotation" bar, that is NOT remembered …), then "2",

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".
[Current thread is 1 (Thread 0x7fac291ab780 (LWP 6263))]

Thread 2 (Thread 0x7fac1f571700 (LWP 6264)):
#0  0x00000038b2ce6b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000038b4447ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00000038b4448124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00000038b95aa426 in QEventDispatcherGlib::processEvents (this=0x7fac180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00000038b9579c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000038b9579ed7 in QEventLoop::exec (this=0x7fac1f570dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00000038b9478fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00000038b95599ff in QInotifyFileSystemWatcherEngine::run (this=0xfd4b70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000038b947bfcb in QThreadPrivate::start (arg=0xfd4b70) at thread/qthread_unix.cpp:298
#9  0x00000038b3407e9a in start_thread (arg=0x7fac1f571700) at pthread_create.c:308
#10 0x00000038b2cf24bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fac291ab780 (LWP 6263)):
[KCrash Handler]
#6  Okular::Page::setTextPage (this=0x0, textPage=0x7fac1400e070) at ../core/page.cpp:476
#7  0x00007fac226ce971 in Okular::GeneratorPrivate::textpageGenerationFinished (this=<optimized out>) at ../core/generator.cpp:133
#8  0x00000038b9594446 in QObject::event (this=0xae5180, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00000038bc7cb894 in notify_helper (e=0x7fac1401b440, receiver=0xae5180, this=0xa5a060) at kernel/qapplication.cpp:4559
#10 QApplicationPrivate::notify_helper (this=0xa5a060, receiver=0xae5180, e=0x7fac1401b440) at kernel/qapplication.cpp:4531
#11 0x00000038bc7d0713 in QApplication::notify (this=0x7fffa37ab520, receiver=0xae5180, e=0x7fac1401b440) at kernel/qapplication.cpp:4420
#12 0x00000038bec36b46 in KApplication::notify (this=0x7fffa37ab520, receiver=0xae5180, event=0x7fac1401b440) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00000038b957ae9c in QCoreApplication::notifyInternal (this=0x7fffa37ab520, receiver=0xae5180, event=0x7fac1401b440) at kernel/qcoreapplication.cpp:876
#14 0x00000038b957ec6a in sendEvent (event=0x7fac1401b440, receiver=0xae5180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa2e670) at kernel/qcoreapplication.cpp:1500
#16 0x00000038b95a9f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00000038b4447c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00000038b4448060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00000038b4448124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00000038b95aa3bf in QEventDispatcherGlib::processEvents (this=0xa2fb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00000038bc873d6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00000038b9579c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00000038b9579ed7 in QEventLoop::exec (this=0x7fffa37ab4b0, flags=...) at kernel/qeventloop.cpp:204
#25 0x00000038b957ef67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#26 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Possible duplicates by query: bug 297379, bug 293542.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-04-26 18:03:55 UTC
Can't reproduce in 4.8.3 (that will be released soon). I'm marking this as fixed because the information of the backtrace is very similar to a bug i fixed recently, if when you update to 4.8.3 it still crashes please reopen this bug.

Thanks for caring about Okular :-)
Comment 2 Kai Uwe Broulik 2012-04-28 11:41:58 UTC
Ah, thought so, DrKonqui presented me the other bugs but their description was not about annotations. But thanks :-)