Bug 275832 - Open second file in Okular by Drag & Drop -> Crash
Summary: Open second file in Okular by Drag & Drop -> Crash
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 18:37 UTC by Hannes
Modified: 2011-06-18 03:21 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 Hannes 2011-06-16 18:37:14 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-32-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
I had one file open in Okular and tried to open another one by dragging it to the Okular window, when it crashed. Happened more than once, but is not really reproducible.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#5  PageViewItem::pageNumber (this=0x7f4444447f202020) at ../../okular/ui/pageviewutils.cpp:65
#6  0x00007feccaa20614 in PageView::slotRelayoutPages (this=0x11d9c30) at ../../okular/ui/pageview.cpp:2944
#7  0x00007feccaa22f45 in PageView::notifyPageChanged (this=0x11d9c30, pageNumber=0, changedFlags=32) at ../../okular/ui/pageview.cpp:954
#8  0x00007fecca70a881 in Okular::DocumentPrivate::setPageBoundingBox (this=<value optimized out>, page=0, boundingBox=<value optimized out>) at ../../okular/core/document.cpp:3498
#9  0x00007fecc3f7623d in PDFGenerator::threadFinished (this=0x13c6de0) at ../../../../okular/generators/poppler/generator_pdf.cpp:1652
#10 0x00007fecc3f76444 in PDFGenerator::qt_metacall (this=0x13c6de0, _c=QMetaObject::InvokeMetaMethod, _id=-1, _a=0x19bdc50) at ./generator_pdf.moc:96
#11 0x00007fecd3c2cd49 in QObject::event (this=0x13c6de0, e=0x1b8c100) at kernel/qobject.cpp:1248
#12 0x00007fecd2fd622c in QApplicationPrivate::notify_helper (this=0xef2460, receiver=0x13c6de0, e=0x1b8c100) at kernel/qapplication.cpp:4300
#13 0x00007fecd2fdc6fb in QApplication::notify (this=0x7fff7652e440, receiver=0x13c6de0, e=0x1b8c100) at kernel/qapplication.cpp:4183
#14 0x00007fecd487ea16 in KApplication::notify (this=0x7fff7652e440, receiver=0x13c6de0, event=0x1b8c100) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x00007fecd3c1d06c in QCoreApplication::notifyInternal (this=0x7fff7652e440, receiver=0x13c6de0, event=0x1b8c100) at kernel/qcoreapplication.cpp:704
#16 0x00007fecd3c1f7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xedb860) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xedb860) at kernel/qcoreapplication.cpp:1345
#18 0x00007fecd3c469d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#20 0x00007feccef468c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007feccef4a748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007feccef4a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007fecd3c46513 in QEventDispatcherGlib::processEvents (this=0xedafb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#24 0x00007fecd308646e in QGuiEventDispatcherGlib::processEvents (this=0x7f4444447f202020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fecd3c1b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007fecd3c1bd6c in QEventLoop::exec (this=0x7fff7652e390, flags=) at kernel/qeventloop.cpp:201
#27 0x00007fecd3c1faab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#28 0x000000000040889c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:82

Possible duplicates by query: bug 268951, bug 243111.

Reported using DrKonqi
Comment 1 Christopher Reichert 2011-06-17 23:54:16 UTC
I cannot reproduce this bug in Okular 0.12.8. I assume that the older version
Comment 2 Albert Astals Cid 2011-06-18 03:21:27 UTC
I'm closing the bug as i am pretty sure we fixed the cause of this crash, if after updating to KDE 4.6 or newer you still get the crash please reopen the bug