Bug 198946 - okular crashed when I was using gnome desktop
Summary: okular crashed when I was using gnome desktop
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-07-04 20:33 UTC by Luis Alves
Modified: 2010-10-14 00:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Alves 2009-07-04 20:33:57 UTC
Application that crashed: okular
Version of the application: 0.8.80
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-10-generic x86_64
Distribution: Ubuntu karmic (development branch)

What I was doing when the application crashed:
I don't know how to reproduce it, it works fine now.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#4  0x00007f89a3f734d5 in KIconCache::find () from /usr/lib/libkdeui.so.5
#5  0x00007f89a3f66d8e in KIconLoader::loadIcon () from /usr/lib/libkdeui.so.5
#6  0x00007f899702d628 in ?? () from /usr/lib/kde4/okularpart.so
#7  0x00007f899702fd4d in ?? () from /usr/lib/kde4/okularpart.so
#8  0x00007f8997067298 in ?? () from /usr/lib/kde4/okularpart.so
#9  0x00007f89970676b7 in ?? () from /usr/lib/kde4/okularpart.so
#10 0x00007f89a285caf0 in QWidget::event () from /usr/lib/libQtGui.so.4
#11 0x00007f89a280e27c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#12 0x00007f89a281554e in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0x00007f89a3f96c16 in KApplication::notify () from /usr/lib/libkdeui.so.5
#14 0x00007f89a338e20c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#15 0x00007f89a28642f3 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#16 0x00007f89a2a0356e in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007f89a2855d30 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#18 0x00007f89a285c908 in QWidget::event () from /usr/lib/libQtGui.so.4
#19 0x00007f89a2bff9db in QMainWindow::event () from /usr/lib/libQtGui.so.4
#20 0x00007f89a40a2af8 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#21 0x00007f89a280e27c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#22 0x00007f89a281554e in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0x00007f89a3f96c16 in KApplication::notify () from /usr/lib/libkdeui.so.5
#24 0x00007f89a338e20c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#25 0x00007f89a338ecdc in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#26 0x00007f89a33b6ef3 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f899ee478fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f899ee4afd8 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f899ee4b100 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f89a33b6b66 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f89a28a255e in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f89a338cb12 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007f89a338cee4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0x00007f89a338ef89 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0x000000000040865c in _start ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-07-05 18:50:22 UTC
Was it the first time you were running Okular?
Comment 2 Christoph Feck 2010-10-14 00:27:06 UTC
(I quickly reviewed the backtrace of this crash, and it appears to be caused by KIconCache memory corruption. If this is not the case, please reopen.)

Closing all KIconCache crashes as fixed, because the KIconLoader in KDE SC 4.5 now uses KSharedDataCache to cache icons, and it is believed that the new class is less prone to random crashes or memory corruption.

If you still can reproduce a crash with version 4.5, please report it separately. If you cannot upgrade to 4.5 yet, you should be able to work around this crash by deleting the icon cache files in /var/tmp/kdecache-<user>/kpc