Bug 280802 - Crashing while closing some okular windows
Summary: Crashing while closing some okular windows
Status: RESOLVED DUPLICATE of bug 280606
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-25 21:09 UTC by banatehrani
Modified: 2011-08-25 21:16 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 banatehrani 2011-08-25 21:09:03 UTC
Application: okular (0.12.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
When I was closing some open okular windows suddenly all of them was closed

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8f242e4780 (LWP 2367))]

Thread 2 (Thread 0x7f8f18b7a700 (LWP 2370)):
#0  0x00007f8f2157ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8f1e47c104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8f1e47c9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8f194d9c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f8f1e4a33e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8f1e947d8c in start_thread (arg=0x7f8f18b7a700) at pthread_create.c:304
#6  0x00007f8f2158c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8f242e4780 (LWP 2367)):
[KCrash Handler]
#6  deref (this=0x231f5d0) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#7  deref (this=0x231f5d0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:332
#8  internalSet (this=0x231f5d0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:440
#9  internalCopy<KSDCLock> (this=0x231f5d0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:398
#10 operator= (this=0x231f5d0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:468
#11 KSharedDataCache::Private::mapSharedMemory (this=0x231f5d0) at ../../kdecore/util/kshareddatacache.cpp:1078
#12 0x00007f8f2247ed2a in recoverCorruptedCache (this=0x7fffe2db6d40, _d=<value optimized out>) at ../../kdecore/util/kshareddatacache.cpp:1093
#13 cautiousLock (this=0x7fffe2db6d40, _d=<value optimized out>) at ../../kdecore/util/kshareddatacache.cpp:1122
#14 KSharedDataCache::Private::CacheLocker::CacheLocker (this=0x7fffe2db6d40, _d=<value optimized out>) at ../../kdecore/util/kshareddatacache.cpp:1146
#15 0x00007f8f2247b6e0 in KSharedDataCache::find (this=0x22d3310, key=..., destination=0x7fffe2db6df0) at ../../kdecore/util/kshareddatacache.cpp:1462
#16 0x00007f8f235a4e43 in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x22d2e90, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:868
#17 0x00007f8f235a7d39 in KIconLoader::loadIcon (this=0x22d3350, _name=<value optimized out>, group=KIconLoader::Desktop, size=32, state=0, overlays=..., path_store=0x0, canReturnNull=false) at ../../kdeui/icons/kiconloader.cpp:1231
#18 0x00007f8f2359fc99 in KIconEngine::pixmap (this=<value optimized out>, size=..., mode=<value optimized out>, state=<value optimized out>) at ../../kdeui/icons/kiconengine.cpp:93
#19 0x00007f8f2297d4b5 in QIcon::pixmap (this=<value optimized out>, size=<value optimized out>, mode=<value optimized out>, state=<value optimized out>) at image/qicon.cpp:676
#20 0x00007f8f22be17f0 in QCommonStyle::drawControl (this=0x1c7fbe0, element=<value optimized out>, opt=0x7fffe2dba650, p=0x7fffe2dbb130, widget=0x313a0d0) at styles/qcommonstyle.cpp:1599
#21 0x00007f8f22c7aa2d in QWindowsStyle::drawControl (this=0x1c7fbe0, ce=QStyle::CE_ToolButtonLabel, opt=0x7fffe2dba650, p=0x7fffe2dbb130, widget=0x313a0d0) at styles/qwindowsstyle.cpp:2563
#22 0x00007f8f22c654c4 in QCleanlooksStyle::drawControl (this=0x1c7fbe0, element=QStyle::CE_ToolButtonLabel, option=0x7fffe2dba650, painter=0x7fffe2dbb130, widget=0x313a0d0) at styles/qcleanlooksstyle.cpp:2367
#23 0x00007f8f22c4d0a4 in QGtkStyle::drawControl (this=0x1c7fbe0, element=QStyle::CE_ToolButtonLabel, option=0x7fffe2dba650, painter=0x7fffe2dbb130, widget=0x313a0d0) at styles/qgtkstyle.cpp:3032
#24 0x00007f8f22c4862c in QGtkStyle::drawComplexControl (this=0x1c7fbe0, control=<value optimized out>, option=0x7fffe2dbb0b0, painter=0x7fffe2dbb130, widget=0x313a0d0) at styles/qgtkstyle.cpp:1640
#25 0x00007f8f22d516da in drawComplexControl (this=0x313a0d0) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:94
#26 QToolButton::paintEvent (this=0x313a0d0) at widgets/qtoolbutton.cpp:556
#27 0x00007f8f22922c7a in QWidget::event (this=0x313a0d0, event=0x7fffe2dbb930) at kernel/qwidget.cpp:8405
#28 0x00007f8f228d19f4 in QApplicationPrivate::notify_helper (this=0x1bf4450, receiver=0x313a0d0, e=0x7fffe2dbb930) at kernel/qapplication.cpp:4462
#29 0x00007f8f228d63ba in QApplication::notify (this=<value optimized out>, receiver=0x313a0d0, e=0x7fffe2dbb930) at kernel/qapplication.cpp:4341
#30 0x00007f8f235f4866 in KApplication::notify (this=0x7fffe2dbf640, receiver=0x313a0d0, event=0x7fffe2dbb930) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f8f21f1249c in QCoreApplication::notifyInternal (this=0x7fffe2dbf640, receiver=0x313a0d0, event=0x7fffe2dbb930) at kernel/qcoreapplication.cpp:731
#32 0x00007f8f2291facd in sendSpontaneousEvent (this=0x313bc50, pdev=0x228eca8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#33 QWidgetPrivate::drawWidget (this=0x313bc50, pdev=0x228eca8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5492
#34 0x00007f8f229206e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5699
#35 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#36 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#37 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#38 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#39 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#40 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#41 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#42 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x313af50, pdev=0x228eca8, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#43 0x00007f8f2291f80c in QWidgetPrivate::drawWidget (this=0x313af50, pdev=0x228eca8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5545
#44 0x00007f8f229206e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x22408a0, pdev=0x228eca8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5699
#45 0x00007f8f2291f80c in QWidgetPrivate::drawWidget (this=0x22408a0, pdev=0x228eca8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5545
#46 0x00007f8f229206e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x2237b80, pdev=0x228eca8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5699
#47 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x2237b80, pdev=0x228eca8, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#48 0x00007f8f2291f80c in QWidgetPrivate::drawWidget (this=0x2237b80, pdev=0x228eca8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5545
#49 0x00007f8f229206e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x20a7c20, pdev=0x228eca8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5699
#50 0x00007f8f2291f80c in QWidgetPrivate::drawWidget (this=0x20a7c20, pdev=0x228eca8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5545
#51 0x00007f8f229206e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x22018e0, pdev=0x228eca8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5699
#52 0x00007f8f2291f80c in QWidgetPrivate::drawWidget (this=0x22018e0, pdev=0x228eca8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5545
#53 0x00007f8f229206e2 in QWidgetPrivate::paintSiblingsRecursive (this=0x21f8da0, pdev=0x228eca8, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5699
#54 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x21f8da0, pdev=0x228eca8, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#55 0x00007f8f2292059a in QWidgetPrivate::paintSiblingsRecursive (this=0x21f8da0, pdev=0x228eca8, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5686
#56 0x00007f8f2291f80c in QWidgetPrivate::drawWidget (this=0x21f8da0, pdev=0x228eca8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x228ec10) at kernel/qwidget.cpp:5545
#57 0x00007f8f22ae69eb in QWidgetBackingStore::sync (this=0x228ec10) at painting/qbackingstore.cpp:1333
#58 0x00007f8f22915f60 in QWidgetPrivate::syncBackingStore (this=0x21f8da0) at kernel/qwidget.cpp:1842
#59 0x00007f8f22923194 in QWidget::event (this=0x21f8bd0, event=0x32b8350) at kernel/qwidget.cpp:8552
#60 0x00007f8f22ceec0b in QMainWindow::event (this=0x21f8bd0, event=0x32b8350) at widgets/qmainwindow.cpp:1480
#61 0x00007f8f236efd8e in KXmlGuiWindow::event (this=0x21f8bd0, ev=0x32b8350) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#62 0x00007f8f228d19f4 in QApplicationPrivate::notify_helper (this=0x1bf4450, receiver=0x21f8bd0, e=0x32b8350) at kernel/qapplication.cpp:4462
#63 0x00007f8f228d63ba in QApplication::notify (this=<value optimized out>, receiver=0x21f8bd0, e=0x32b8350) at kernel/qapplication.cpp:4341
#64 0x00007f8f235f4866 in KApplication::notify (this=0x7fffe2dbf640, receiver=0x21f8bd0, event=0x32b8350) at ../../kdeui/kernel/kapplication.cpp:311
#65 0x00007f8f21f1249c in QCoreApplication::notifyInternal (this=0x7fffe2dbf640, receiver=0x21f8bd0, event=0x32b8350) at kernel/qcoreapplication.cpp:731
#66 0x00007f8f21f15c25 in sendEvent (receiver=0x0, event_type=0, data=0x1ba9b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#67 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ba9b60) at kernel/qcoreapplication.cpp:1372
#68 0x00007f8f21f3d253 in sendPostedEvents (s=0x1bf6d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#69 postEventSourceDispatch (s=0x1bf6d60) at kernel/qeventdispatcher_glib.cpp:277
#70 0x00007f8f1e47bbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#71 0x00007f8f1e47c3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f8f1e47c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f8f21f3d3ef in QEventDispatcherGlib::processEvents (this=0x1ba9340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#74 0x00007f8f2297b4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#75 0x00007f8f21f11882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#76 0x00007f8f21f11abc in QEventLoop::exec (this=0x7fffe2dbf5c0, flags=...) at kernel/qeventloop.cpp:201
#77 0x00007f8f21f15ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#78 0x000000000040812e in main (argc=10, argv=<value optimized out>) at ../../../okular/shell/main.cpp:85

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-08-25 21:16:22 UTC

*** This bug has been marked as a duplicate of bug 280606 ***