Bug 208269 - Okular crashed while searching
Summary: Okular crashed while searching
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-23 12:52 UTC by Sebastian Weisgerber
Modified: 2009-11-06 01:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Weisgerber 2009-09-23 12:52:46 UTC
Application that crashed: okular
Version of the application: 0.9.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-686-bigmem i686
Distribution: Debian GNU/Linux 5.0.3 (lenny)

What I was doing when the application crashed:
I searched a 226 page PDF an Okular didn't respond while searching. AFter abput ten seconds it crashed.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  Okular::DocumentPrivate::doContinueNextMatchSearch (this=0xa0c1298, pagesToNotifySet=0xa4bb460, theMatch=0x0, currentPage=226, searchID=1, text=..., theCaseSensitivity=0, moveViewport=true, 
    color=..., noDialogs=false, donePages=226) at ../../okular/core/document.cpp:1067
#7  0xb492639f in Okular::Document::qt_metacall (this=0xa0bf4c8, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xa931c38) at ./document.moc:152
#8  0xb768a33b in QMetaCallEvent::placeMetaCall (this=0xa89b6c8, object=0xa0bf4c8) at kernel/qobject.cpp:477
#9  0xb768be10 in QObject::event (this=0xa0bf4c8, e=0xa89b6c8) at kernel/qobject.cpp:1110
#10 0xb6cbb814 in QApplicationPrivate::notify_helper (this=0x9ff9db0, receiver=0xa0bf4c8, e=0xa89b6c8) at kernel/qapplication.cpp:4056
#11 0xb6cc397e in QApplication::notify (this=0xbf815c44, receiver=0xa0bf4c8, e=0xa89b6c8) at kernel/qapplication.cpp:3603
#12 0xb7bf04ad in KApplication::notify (this=0xbf815c44, receiver=0xa0bf4c8, event=0xa89b6c8) at ../../kdeui/kernel/kapplication.cpp:302
#13 0xb767b9cb in QCoreApplication::notifyInternal (this=0xbf815c44, receiver=0xa0bf4c8, event=0xa89b6c8) at kernel/qcoreapplication.cpp:610
#14 0xb767c60e in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9fe4800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fe4800) at kernel/qcoreapplication.cpp:1247
#16 0xb767c7ed in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#17 0xb76a6c0f in QCoreApplication::sendPostedEvents (s=0x9ffc110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 postEventSourceDispatch (s=0x9ffc110) at kernel/qeventdispatcher_glib.cpp:210
#19 0xb64294b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb642ca13 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb642cb98 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb76a6858 in QEventDispatcherGlib::processEvents (this=0x9fe4340, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#23 0xb6d5afd5 in QGuiEventDispatcherGlib::processEvents (this=0x9fe4340, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#24 0xb767a01a in QEventLoop::processEvents (this=0xbf815b70, flags=...) at kernel/qeventloop.cpp:149
#25 0xb767a462 in QEventLoop::exec (this=0xbf815b70, flags=...) at kernel/qeventloop.cpp:201
#26 0xb767c8b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#27 0xb6cbb697 in QApplication::exec () at kernel/qapplication.cpp:3525
#28 0x0804e78f in main (argc=172735544, argv=0xa4bbc38) at ../../../okular/shell/main.cpp:81

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-23 15:44:48 UTC
- Does Okular crash again if your repeat the situation on the same PDF file again ?
Thanks
Comment 2 Dario Andres 2009-09-23 15:52:58 UTC
The reporter sent me an email:
-----

Okular crashed 3 times when I tried to open the pdf, now it opens the PDF correctly and doesn't crash even if I try to search (for sub-d).

-----

Thanks
Comment 3 Albert Astals Cid 2009-11-06 01:20:17 UTC
Had a look at the code and found something that might cause that crash, should be fixed now, hopefully.