Bug 195667 - Konqueror crashed closing tabs with pdf files open with kpart of okular
Summary: Konqueror crashed closing tabs with pdf files open with kpart of okular
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
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-06-08 14:25 UTC by fake name
Modified: 2010-10-14 00:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fake name 2009-06-08 14:25:57 UTC
Application that crashed: konqueror
Version of the application: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527)) "release 127"
KDE Version: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527)) "release 135"
Qt Version: 4.5.1
Operating System: Linux 2.6.27.21-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
I had some tabs with pdf files opened, and i was closing the tabs(with Ctrl+W) when konqueror crashed.

 -- Backtrace:
Application: Konqueror (kdeinit), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fe0999b757b in KIconCache::find(QString const&, QPixmap&, QString*) () from /usr/lib64/libkdeui.so.5
#6  0x00007fe0999aafdf in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib64/libkdeui.so.5
#7  0x00007fe085ce50d9 in PagePainter::paintCroppedPageOnPainter (destPainter=0x7fffa3a5d2d0, page=0x1eabb50, pixID=<value optimized out>, flags=<value optimized out>, scaledWidth=119, 
    scaledHeight=154, limits=@0x7fffa3a5d200, crop=@0x7fffa3a5d050) at /usr/src/debug/kdegraphics-4.2.88svn973768/okular/ui/pagepainter.cpp:572
#8  0x00007fe085ce76a1 in PagePainter::paintPageOnPainter (destPainter=0x7fffa3a5d2d0, page=0x1eabb50, pixID=4, flags=41, scaledWidth=119, scaledHeight=154, limits=@0x7fffa3a5d200)
    at /usr/src/debug/kdegraphics-4.2.88svn973768/okular/ui/pagepainter.cpp:54
#9  0x00007fe085d1f151 in ThumbnailWidget::paint (this=0x1e9e500, p=@0x7fffa3a5d2d0, _clipRect=<value optimized out>) at /usr/src/debug/kdegraphics-4.2.88svn973768/okular/ui/thumbnaillist.cpp:826
#10 0x00007fe085d1f50a in ThumbnailListPrivate::paintEvent (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdegraphics-4.2.88svn973768/okular/ui/thumbnaillist.cpp:165
#11 0x00007fe098917604 in QWidget::event (this=0x1f79b20, event=0x7fffa3a5d970) at kernel/qwidget.cpp:7659
#12 0x00007fe0988c678d in QApplicationPrivate::notify_helper (this=0x66ae40, receiver=0x1f79b20, e=0x7fffa3a5d970) at kernel/qapplication.cpp:4057
#13 0x00007fe0988cea2a in QApplication::notify (this=0x7fffa3a61200, receiver=0x1f79b20, e=0x7fffa3a5d970) at kernel/qapplication.cpp:4022
#14 0x00007fe0999db04b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007fe09b55015c in QCoreApplication::notifyInternal (this=0x7fffa3a61200, receiver=0x1f79b20, event=0x7fffa3a5d970) at kernel/qcoreapplication.cpp:610
#16 0x00007fe09891e825 in QWidgetPrivate::drawWidget (this=0x1f79ba0, pdev=0x10bd638, rgn=@0x7fffa3a5dba0, offset=@0x7fffa3a5db90, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5052
#17 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1b801c0, pdev=0x10bd638, siblings=@0x1b801d8, index=0, rgn=@0x7fffa3a5deb0, offset=@0x7fffa3a5dea0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#18 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1b801c0, pdev=0x10bd638, rgn=@0x7fffa3a5deb0, offset=@0x7fffa3a5dea0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#19 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1b7fe50, pdev=0x10bd638, siblings=@0x1b7fe68, index=0, rgn=@0x7fffa3a5dfa0, offset=@0x7fffa3a5e2a0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#20 0x00007fe09891eea6 in QWidgetPrivate::paintSiblingsRecursive (this=0x1b7fe50, pdev=0x10bd638, siblings=@0x1b7fe68, index=3, rgn=@0x7fffa3a5e2b0, offset=@0x7fffa3a5e2a0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5153
#21 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1b7fe50, pdev=0x10bd638, rgn=@0x7fffa3a5e2b0, offset=@0x7fffa3a5e2a0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#22 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1c4be40, pdev=0x10bd638, siblings=@0x1c4be58, index=2, rgn=@0x7fffa3a5e5c0, offset=@0x7fffa3a5e5b0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#23 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1c4be40, pdev=0x10bd638, rgn=@0x7fffa3a5e5c0, offset=@0x7fffa3a5e5b0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#24 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1eaf850, pdev=0x10bd638, siblings=@0x1eaf868, index=4, rgn=@0x7fffa3a5e8d0, offset=@0x7fffa3a5e8c0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#25 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1eaf850, pdev=0x10bd638, rgn=@0x7fffa3a5e8d0, offset=@0x7fffa3a5e8c0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#26 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1dbb230, pdev=0x10bd638, siblings=@0x1dbb248, index=2, rgn=@0x7fffa3a5ebe0, offset=@0x7fffa3a5ebd0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#27 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1dbb230, pdev=0x10bd638, rgn=@0x7fffa3a5ebe0, offset=@0x7fffa3a5ebd0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#28 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1f34b90, pdev=0x10bd638, siblings=@0x1f34ba8, index=1, rgn=@0x7fffa3a5ecd0, offset=@0x7fffa3a5efd0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#29 0x00007fe09891eea6 in QWidgetPrivate::paintSiblingsRecursive (this=0x1f34b90, pdev=0x10bd638, siblings=@0x1f34ba8, index=3, rgn=@0x7fffa3a5efe0, offset=@0x7fffa3a5efd0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5153
#30 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1f34b90, pdev=0x10bd638, rgn=@0x7fffa3a5efe0, offset=@0x7fffa3a5efd0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#31 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1eb0220, pdev=0x10bd638, siblings=@0x1eb0238, index=2, rgn=@0x7fffa3a5f2f0, offset=@0x7fffa3a5f2e0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#32 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1eb0220, pdev=0x10bd638, rgn=@0x7fffa3a5f2f0, offset=@0x7fffa3a5f2e0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#33 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1de2ae0, pdev=0x10bd638, siblings=@0x1de2af8, index=1, rgn=@0x7fffa3a5f600, offset=@0x7fffa3a5f5f0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#34 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1de2ae0, pdev=0x10bd638, rgn=@0x7fffa3a5f600, offset=@0x7fffa3a5f5f0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#35 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x1677120, pdev=0x10bd638, siblings=@0x1677138, index=8, rgn=@0x7fffa3a5f910, offset=@0x7fffa3a5f900, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#36 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x1677120, pdev=0x10bd638, rgn=@0x7fffa3a5f910, offset=@0x7fffa3a5f900, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#37 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0x166e5a0, pdev=0x10bd638, siblings=@0x166e5b8, index=0, rgn=@0x7fffa3a5fa00, offset=@0x7fffa3a5fee0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5162
#38 0x00007fe09891eea6 in QWidgetPrivate::paintSiblingsRecursive (this=0x166e5a0, pdev=0x10bd638, siblings=@0x166e5b8, index=1, rgn=@0x7fffa3a5faf0, offset=@0x7fffa3a5fee0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5153
#39 0x00007fe09891eea6 in QWidgetPrivate::paintSiblingsRecursive (this=0x166e5a0, pdev=0x10bd638, siblings=@0x166e5b8, index=2, rgn=@0x7fffa3a5fbe0, offset=@0x7fffa3a5fee0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5153
#40 0x00007fe09891eea6 in QWidgetPrivate::paintSiblingsRecursive (this=0x166e5a0, pdev=0x10bd638, siblings=@0x166e5b8, index=3, rgn=@0x7fffa3a5fef0, offset=@0x7fffa3a5fee0, flags=4, 
    sharedPainter=0x0, backingStore=0x1336220) at kernel/qwidget.cpp:5153
#41 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0x166e5a0, pdev=0x10bd638, rgn=@0x7fffa3a5fef0, offset=@0x7fffa3a5fee0, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#42 0x00007fe09891ef97 in QWidgetPrivate::paintSiblingsRecursive (this=0xb8a150, pdev=0x10bd638, siblings=@0xb8a168, index=48, rgn=@0x7fffa3a60360, offset=@0x1336264, flags=4, sharedPainter=0x0, 
    backingStore=0x1336220) at kernel/qwidget.cpp:5162
#43 0x00007fe09891e497 in QWidgetPrivate::drawWidget (this=0xb8a150, pdev=0x10bd638, rgn=@0x7fffa3a60360, offset=@0x1336264, flags=4, sharedPainter=0x0, backingStore=0x1336220)
    at kernel/qwidget.cpp:5101
#44 0x00007fe098ac36f2 in QWidgetBackingStore::sync (this=0x1336220) at painting/qbackingstore.cpp:1268
#45 0x00007fe09890ff20 in QWidgetPrivate::syncBackingStore (this=0xb8a150) at kernel/qwidget.cpp:1602
#46 0x00007fe09891749d in QWidget::event (this=0xbb9310, event=0x60b72a0) at kernel/qwidget.cpp:7799
#47 0x00007fe098cb30cb in QMainWindow::event (this=0xbb9310, event=0x60b72a0) at widgets/qmainwindow.cpp:1402
#48 0x00007fe099ae7a78 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#49 0x00007fe092a01adf in KonqMainWindow::event (this=0xbb9310, e=0x60b72a0) at /usr/src/debug/kdebase-4.2.88svn973768/apps/konqueror/src/konqmainwindow.cpp:5630
#50 0x00007fe0988c678d in QApplicationPrivate::notify_helper (this=0x66ae40, receiver=0xbb9310, e=0x60b72a0) at kernel/qapplication.cpp:4057
#51 0x00007fe0988cea2a in QApplication::notify (this=0x7fffa3a61200, receiver=0xbb9310, e=0x60b72a0) at kernel/qapplication.cpp:4022
#52 0x00007fe0999db04b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#53 0x00007fe09b55015c in QCoreApplication::notifyInternal (this=0x7fffa3a61200, receiver=0xbb9310, event=0x60b72a0) at kernel/qcoreapplication.cpp:610
#54 0x00007fe09b550dda in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x614d30) at kernel/qcoreapplication.h:213
#55 0x00007fe09b579c13 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#56 0x00007fe0973a60fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#57 0x00007fe0973a98cd in ?? () from /usr/lib64/libglib-2.0.so.0
#58 0x00007fe0973a9a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#59 0x00007fe09b57989f in QEventDispatcherGlib::processEvents (this=0x617640, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#60 0x00007fe09895db0f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#61 0x00007fe09b54e9f2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1549398192}) at kernel/qeventloop.cpp:149
#62 0x00007fe09b54edbd in QEventLoop::exec (this=0x7fffa3a60f90, flags={i = -1549398112}) at kernel/qeventloop.cpp:200
#63 0x00007fe09b5510a4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#64 0x00007fe092a2ca79 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.2.88svn973768/apps/konqueror/src/konqmain.cpp:257
#65 0x000000000040724e in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-06-09 01:39:02 UTC
Bug 193133 looks similar to this.
Thanks
Comment 2 Christoph Feck 2010-10-14 00:27:04 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