Bug 299011 - Okular crashes on opening epub
Summary: Okular crashes on opening epub
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 04:42 UTC by Jamie Smith
Modified: 2013-01-20 08:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Shakespeare's Richard III (107.60 KB, application/octet-stream)
2012-04-29 23:06 UTC, Jamie Smith
Details
New crash information added by DrKonqi (6.88 KB, text/plain)
2013-01-20 08:29 UTC, yjcoshc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Smith 2012-04-29 04:42:40 UTC
Application: okular (0.14.2)
KDE Platform Version: 4.8.2 (4.8.2) "release 494"
Qt Version: 4.8.1
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Opening an Epub

- Unusual behavior I noticed:

The fonts on the desktop were smaller than usual after a crash in Dosbox that failed to properly reset the screen resolution on exit.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  Okular::Page::number (this=0x1) at /usr/src/debug/okular-4.8.2/core/page.cpp:145
#7  0x00007f7998627296 in PageView::slotRelayoutPages (this=<optimized out>) at /usr/src/debug/okular-4.8.2/ui/pageview.cpp:3692
#8  0x00007f79986293f4 in notifyPageChanged (changedFlags=<optimized out>, pageNumber=127, this=0x8e8d20) at /usr/src/debug/okular-4.8.2/ui/pageview.cpp:1143
#9  PageView::notifyPageChanged (this=0x8e8d20, pageNumber=127, changedFlags=<optimized out>) at /usr/src/debug/okular-4.8.2/ui/pageview.cpp:1111
#10 0x00007f7998315941 in Okular::DocumentPrivate::setPageBoundingBox (this=<optimized out>, page=127, boundingBox=...) at /usr/src/debug/okular-4.8.2/core/document.cpp:3567
#11 0x00007f7998324fbb in Okular::Generator::generatePixmap (this=0xbdf3d0, request=0xdb5700) at /usr/src/debug/okular-4.8.2/core/generator.cpp:246
#12 0x00007f7998313ff8 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x8bd330) at /usr/src/debug/okular-4.8.2/core/document.cpp:915
#13 0x00007f7998314ab9 in Okular::DocumentPrivate::requestDone (this=0x8bd330, req=0xdb5020) at /usr/src/debug/okular-4.8.2/core/document.cpp:3553
#14 0x00007f7998324ec1 in Okular::Generator::generatePixmap (this=0xbdf3d0, request=0xdb5020) at /usr/src/debug/okular-4.8.2/core/generator.cpp:244
#15 0x00007f7998313ff8 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x8bd330) at /usr/src/debug/okular-4.8.2/core/document.cpp:915
#16 0x00007f7998314ab9 in Okular::DocumentPrivate::requestDone (this=0x8bd330, req=0xdb5c60) at /usr/src/debug/okular-4.8.2/core/document.cpp:3553
#17 0x00007f7998324ec1 in Okular::Generator::generatePixmap (this=0xbdf3d0, request=0xdb5c60) at /usr/src/debug/okular-4.8.2/core/generator.cpp:244
#18 0x00007f7998313ff8 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x8bd330) at /usr/src/debug/okular-4.8.2/core/document.cpp:915
#19 0x00007f7998314ab9 in Okular::DocumentPrivate::requestDone (this=0x8bd330, req=0x1135d60) at /usr/src/debug/okular-4.8.2/core/document.cpp:3553
#20 0x00007f7998324ec1 in Okular::Generator::generatePixmap (this=0xbdf3d0, request=0x1135d60) at /usr/src/debug/okular-4.8.2/core/generator.cpp:244
#21 0x00007f7998313ff8 in Okular::DocumentPrivate::sendGeneratorRequest (this=0x8bd330) at /usr/src/debug/okular-4.8.2/core/document.cpp:915
#22 0x00007f799831ab1f in requestPixmaps (reqOptions=<optimized out>, requests=<optimized out>, this=0x8a1870) at /usr/src/debug/okular-4.8.2/core/document.cpp:2312
#23 Okular::Document::requestPixmaps (this=0x8a1870, requests=<optimized out>, reqOptions=<optimized out>) at /usr/src/debug/okular-4.8.2/core/document.cpp:2229
#24 0x00007f799831ae63 in Okular::Document::requestPixmaps (this=<optimized out>, requests=<optimized out>) at /usr/src/debug/okular-4.8.2/core/document.cpp:2226
#25 0x00007f799864a5be in slotRequestVisiblePixmaps (this=0x9647a0) at /usr/src/debug/okular-4.8.2/ui/thumbnaillist.cpp:655
#26 ThumbnailListPrivate::slotRequestVisiblePixmaps (this=0x9647a0) at /usr/src/debug/okular-4.8.2/ui/thumbnaillist.cpp:625
#27 0x00007f79a57ee0f1 in QMetaObject::activate (sender=0x9ab9e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb26e5e30) at kernel/qobject.cpp:3556
#28 0x00007f79a6878e3e in QAbstractSlider::valueChanged (this=<optimized out>, _t1=14605) at .moc/release-shared/moc_qabstractslider.cpp:196
#29 0x00007f799864a278 in ThumbnailList::notifySetup (this=0x9ab990, pages=<optimized out>, setupFlags=<optimized out>) at /usr/src/debug/okular-4.8.2/ui/thumbnaillist.cpp:307
#30 0x00007f799831e07f in Okular::Document::openDocument (this=0x8a1870, docFile=<optimized out>, url=<optimized out>, _mime=<optimized out>) at /usr/src/debug/okular-4.8.2/core/document.cpp:1671
#31 0x00007f79985d6d2e in Okular::Part::openFile (this=0x7d8660) at /usr/src/debug/okular-4.8.2/part.cpp:1151
#32 0x00007f79a784f27c in KParts::ReadOnlyPartPrivate::openLocalFile (this=0x7d8910) at /usr/src/debug/kdelibs-4.8.2/kparts/part.cpp:590
#33 0x00007f79a784f834 in KParts::ReadOnlyPart::openUrl (this=0x7d8660, url=...) at /usr/src/debug/kdelibs-4.8.2/kparts/part.cpp:554
#34 0x00007f79985c8b85 in Okular::Part::openUrl (this=0x7d8660, _url=<optimized out>) at /usr/src/debug/okular-4.8.2/part.cpp:1273
#35 0x0000000000409594 in Shell::openUrl (this=0x7f4720, url=...) at /usr/src/debug/okular-4.8.2/shell/shell.cpp:134
#36 0x00007f79a57f32b6 in QObject::event (this=0x7f4720, e=<optimized out>) at kernel/qobject.cpp:1204
#37 0x00007f79a623e21b in QWidget::event (this=0x7f4720, event=0xb59620) at kernel/qwidget.cpp:8821
#38 0x00007f79a66139cb in QMainWindow::event (this=0x7f4720, event=0xb59620) at widgets/qmainwindow.cpp:1478
#39 0x00007f79a702e3d8 in KXmlGuiWindow::event (this=0x7f4720, ev=0xb59620) at /usr/src/debug/kdelibs-4.8.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#40 0x00007f79a61ee0d4 in notify_helper (e=0xb59620, receiver=0x7f4720, this=0x6366e0) at kernel/qapplication.cpp:4554
#41 QApplicationPrivate::notify_helper (this=0x6366e0, receiver=0x7f4720, e=0xb59620) at kernel/qapplication.cpp:4526
#42 0x00007f79a61f2f53 in QApplication::notify (this=0x7fffb26e78e0, receiver=0x7f4720, e=0xb59620) at kernel/qapplication.cpp:4415
#43 0x00007f79a6f32886 in KApplication::notify (this=0x7fffb26e78e0, receiver=0x7f4720, event=0xb59620) at /usr/src/debug/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#44 0x00007f79a57da22c in QCoreApplication::notifyInternal (this=0x7fffb26e78e0, receiver=0x7f4720, event=0xb59620) at kernel/qcoreapplication.cpp:876
#45 0x00007f79a57ddaca in sendEvent (event=0xb59620, receiver=0x7f4720) at kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6147a0) at kernel/qcoreapplication.cpp:1500
#47 0x00007f79a5808e53 in sendPostedEvents () at kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=0x63c000) at kernel/qeventdispatcher_glib.cpp:279
#49 0x00007f79a18d558d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f79a18d5d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f79a18d5f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f79a580927f in QEventDispatcherGlib::processEvents (this=0x614060, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007f79a629176e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f79a57d9012 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f79a57d9267 in QEventLoop::exec (this=0x7fffb26e7870, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007f79a57dddc5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#57 0x0000000000408246 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-4.8.2/shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-04-29 11:59:06 UTC
Please attach the file that causes the problem
Comment 2 Jamie Smith 2012-04-29 23:06:58 UTC
Created attachment 70767 [details]
Shakespeare's Richard III

This doesn't seem not that easily worked around by logging out and back in again, but here's the document I was using at the time. I should have tried another one for the sake of attempting to rectify the situation but had very little time to do so. I'll have to add to this bug when the issue comes up again.
Comment 3 Albert Astals Cid 2012-04-30 16:38:27 UTC
You mean it works for you now?
Comment 4 Jamie Smith 2012-04-30 22:20:43 UTC
On April 30, 2012 04:38:27 PM you wrote:

Comment # 3 from Albert Astals Cid 
You mean it works for you now? 
You are receiving this mail because: 
You reported the bug. 

Yes, after a logout and back in the fonts reset to their default size and 
Okular no longer crashed.
Comment 5 Ely 2012-05-04 12:58:05 UTC
Can this bug be closed?
OR is there an actual problem yet?
Comment 6 yjcoshc 2013-01-20 08:29:08 UTC
Created attachment 76577 [details]
New crash information added by DrKonqi

okular (0.15.5) on KDE Platform 4.9.5 "release 3" using Qt 4.8.4

- What I was doing when the application crashed:
Opened my epub and it crashed.
I renamed my epub file and okular could open it normally. And I deleted relative xml file in ~/.kde4/share/apps/okular/docdata/ and changed the name back and okular could open it normally.

-- Backtrace (Reduced):
#6  0x00007f243ade8ab3 in Okular::Page::number (this=0x1cde2a0) at /usr/src/debug/okular-4.9.5/core/page.cpp:148
#7  0x00007f243b11f49b in PageView::slotRelayoutPages (this=this@entry=0x1ea6c30) at /usr/src/debug/okular-4.9.5/ui/pageview.cpp:3782
#8  0x00007f243b1213fd in notifyPageChanged (changedFlags=<optimized out>, pageNumber=224, this=0x1ea6c30) at /usr/src/debug/okular-4.9.5/ui/pageview.cpp:1166
#9  PageView::notifyPageChanged (this=0x1ea6c30, pageNumber=224, changedFlags=<optimized out>) at /usr/src/debug/okular-4.9.5/ui/pageview.cpp:1130
#10 0x00007f243add6ea1 in Okular::DocumentPrivate::setPageBoundingBox (this=<optimized out>, page=224, boundingBox=...) at /usr/src/debug/okular-4.9.5/core/document.cpp:3927