Bug 236142 - Okular crash before opening
Summary: Okular crash before opening
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 10:28 UTC by Andrew Dieffenbach
Modified: 2011-03-16 21:03 UTC (History)
0 users

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 Andrew Dieffenbach 2010-05-03 10:28:48 UTC
Application: okular (0.10.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Poking through various .epub files, I noticed one refused to open and kept crashing Okular. The files I was looking at had all been opened before on the same system before I upgraded to 10.04 from 9.10.

The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#5  PageViewItem::pageNumber (this=0xffe7e8ecffe7e8ec) at ../../okular/ui/pageviewutils.cpp:65
#6  0x00007f0c941d4554 in PageView::slotRelayoutPages (this=0x22e5ed0) at ../../okular/ui/pageview.cpp:2944
#7  0x00007f0c941d6e85 in PageView::notifyPageChanged (this=0x22e5ed0, pageNumber=129, changedFlags=32) at ../../okular/ui/pageview.cpp:954
#8  0x00007f0c93ebf4f1 in Okular::DocumentPrivate::setPageBoundingBox (this=<value optimized out>, page=129, boundingBox=<value optimized out>) at ../../okular/core/document.cpp:3498
#9  0x00007f0c93edb169 in Okular::Generator::generatePixmap (this=0x23295b0, request=0x2840560) at ../../okular/core/generator.cpp:246
#10 0x00007f0c93ed275c in Okular::DocumentPrivate::sendGeneratorRequest (this=0x20f9b30) at ../../okular/core/document.cpp:884
#11 0x00007f0c93ed3296 in Okular::DocumentPrivate::requestDone (this=0x20f9b30, req=0x2840520) at ../../okular/core/document.cpp:3484
#12 0x00007f0c93edb06a in Okular::Generator::generatePixmap (this=0x23295b0, request=0x2840520) at ../../okular/core/generator.cpp:244
#13 0x00007f0c93ed275c in Okular::DocumentPrivate::sendGeneratorRequest (this=0x20f9b30) at ../../okular/core/document.cpp:884
#14 0x00007f0c93ed3296 in Okular::DocumentPrivate::requestDone (this=0x20f9b30, req=0x28404e0) at ../../okular/core/document.cpp:3484
#15 0x00007f0c93edb06a in Okular::Generator::generatePixmap (this=0x23295b0, request=0x28404e0) at ../../okular/core/generator.cpp:244
#16 0x00007f0c93ed275c in Okular::DocumentPrivate::sendGeneratorRequest (this=0x20f9b30) at ../../okular/core/document.cpp:884
#17 0x00007f0c93ed3296 in Okular::DocumentPrivate::requestDone (this=0x20f9b30, req=0x28404a0) at ../../okular/core/document.cpp:3484
#18 0x00007f0c93edb06a in Okular::Generator::generatePixmap (this=0x23295b0, request=0x28404a0) at ../../okular/core/generator.cpp:244
#19 0x00007f0c93ed275c in Okular::DocumentPrivate::sendGeneratorRequest (this=0x20f9b30) at ../../okular/core/document.cpp:884
#20 0x00007f0c93ed3296 in Okular::DocumentPrivate::requestDone (this=0x20f9b30, req=0x24693d0) at ../../okular/core/document.cpp:3484
#21 0x00007f0c93edb06a in Okular::Generator::generatePixmap (this=0x23295b0, request=0x24693d0) at ../../okular/core/generator.cpp:244
#22 0x00007f0c93ed275c in Okular::DocumentPrivate::sendGeneratorRequest (this=0x20f9b30) at ../../okular/core/document.cpp:884
#23 0x00007f0c93ed37a9 in Okular::Document::requestPixmaps (this=0x20f4560, requests=<value optimized out>, reqOptions=<value optimized out>) at ../../okular/core/document.cpp:2318
#24 0x00007f0c93ed3993 in Okular::Document::requestPixmaps (this=0xffe7e8ecffe7e8ec, requests=...) at ../../okular/core/document.cpp:2232
#25 0x00007f0c941f7756 in ThumbnailListPrivate::slotRequestVisiblePixmaps (this=0x213e440) at ../../okular/ui/thumbnaillist.cpp:596
#26 0x00007f0c941f8eb4 in ThumbnailList::qt_metacall (this=0x21255a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4a1a4020) at ./thumbnaillist.moc:89
#27 0x00007f0c9e0b1e3f in QMetaObject::activate (sender=0x20fbc10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x28adb50) at kernel/qobject.cpp:3293
#28 0x00007f0c9daf3bde in QAbstractSlider::valueChanged (this=0xffe7e8ecffe7e8ec, _t1=27683) at .moc/release-shared/moc_qabstractslider.cpp:182
#29 0x00007f0c941f88a2 in ThumbnailList::notifySetup (this=0x21255a0, pages=<value optimized out>, setupFlags=<value optimized out>) at ../../okular/ui/thumbnaillist.cpp:282
#30 0x00007f0c93eccb83 in Okular::Document::openDocument (this=0x20f4560, docFile=<value optimized out>, url=<value optimized out>, _mime=<value optimized out>) at ../../okular/core/document.cpp:1677
#31 0x00007f0c9418786c in Okular::Part::openFile (this=0x20ab400) at ../../okular/part.cpp:930
#32 0x00007f0c9f605117 in KParts::ReadOnlyPart::openUrl (this=0x20ab400, url=<value optimized out>) at ../../kparts/part.cpp:557
#33 0x00007f0c9417c04a in Okular::Part::openUrl (this=0x20ab400, _url=<value optimized out>) at ../../okular/part.cpp:1049
#34 0x0000000000409a8a in Shell::openUrl (this=0x1ff8070, url=...) at ../../../okular/shell/shell.cpp:130
#35 0x000000000040a3ac in Shell::qt_metacall (this=0x1ff8070, _c=QMetaObject::InvokeMetaMethod, _id=129, _a=0x7fff4a1a4e30) at ./shell.moc:94
#36 0x00007f0c9e0b1e3f in QMetaObject::activate (sender=0x23abab0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x28adb50) at kernel/qobject.cpp:3293
#37 0x00007f0c9e0b965f in QSingleShotTimer::timerEvent (this=0x23abab0) at kernel/qtimer.cpp:308
#38 0x00007f0c9e0aea63 in QObject::event (this=0x23abab0, e=0x7fff4a1a5590) at kernel/qobject.cpp:1212
#39 0x00007f0c9d45822c in QApplicationPrivate::notify_helper (this=0x1fb3d80, receiver=0x23abab0, e=0x7fff4a1a5590) at kernel/qapplication.cpp:4300
#40 0x00007f0c9d45e6fb in QApplication::notify (this=0x7fff4a1a58e0, receiver=0x23abab0, e=0x7fff4a1a5590) at kernel/qapplication.cpp:4183
#41 0x00007f0c9ed00526 in KApplication::notify (this=0x7fff4a1a58e0, receiver=0x23abab0, event=0x7fff4a1a5590) at ../../kdeui/kernel/kapplication.cpp:302
#42 0x00007f0c9e09f06c in QCoreApplication::notifyInternal (this=0x7fff4a1a58e0, receiver=0x23abab0, event=0x7fff4a1a5590) at kernel/qcoreapplication.cpp:704
#43 0x00007f0c9e0cbd42 in QCoreApplication::sendEvent (this=0x1fb7a40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QTimerInfoList::activateTimers (this=0x1fb7a40) at kernel/qeventdispatcher_unix.cpp:603
#45 0x00007f0c9e0c8824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#46 0x00007f0c993ca8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x00007f0c993ce748 in ?? () from /lib/libglib-2.0.so.0
#48 0x00007f0c993ce8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00007f0c9e0c8513 in QEventDispatcherGlib::processEvents (this=0x1f9c380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#50 0x00007f0c9d50846e in QGuiEventDispatcherGlib::processEvents (this=0xffe7e8ecffe7e8ec, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f0c9e09d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#52 0x00007f0c9e09dd6c in QEventLoop::exec (this=0x7fff4a1a5830, flags=) at kernel/qeventloop.cpp:201
#53 0x00007f0c9e0a1aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0x000000000040889c in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-05-03 12:03:05 UTC
Can you attach the file?
Can you tell which view options you have set? (single page, continuos pages, center first page, two pages on same row, etc)
Can you run the file through valgrind and attach the output?
 valgrind okular myfile
Comment 2 Albert Astals Cid 2011-03-16 21:03:28 UTC
No answer in more than 5 months, closing