Bug 302897

Summary: Unexpected Crash when reaching the end of folder in full screen mode [KSharedPtr, Gwenview::DocumentView::document ]
Product: [Applications] gwenview Reporter: Matthew Mulhern <minnimat796>
Component: generalAssignee: Benni Hill <benni>
Status: RESOLVED DUPLICATE    
Severity: crash CC: agateau, benni, biby, illumilore, vaktoth66
Priority: NOR    
Version First Reported In: 2.8.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Matthew Mulhern 2012-07-02 13:00:25 UTC
Application: gwenview (2.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had just reached the end of a folder I was looking through in Full Screen Mode

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f592407d7c0 (LWP 8978))]

Thread 4 (Thread 0x7f590adb6700 (LWP 8982)):
#0  0x00007f5920a57b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f591d207ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f591d20845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f590adbb98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f591d2299a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f591a28bb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f591d8c8e9a in start_thread (arg=0x7f590adb6700) at pthread_create.c:308
#7  0x00007f5920a634bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f590a5b5700 (LWP 8983)):
#0  0x00007f5920a710d4 in pthread_mutex_lock (mutex=0x7f5904010200) at forward.c:182
#1  0x00007f591d243561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f591d207824 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f591d207f6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f591d20845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f59116ab2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f591d2299a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f591a28bb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#8  0x00007f591d8c8e9a in start_thread (arg=0x7f590a5b5700) at pthread_create.c:308
#9  0x00007f5920a634bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f58f7a9f700 (LWP 8987)):
#0  0x00007f5920a57b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f591d207ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f591d208124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5922ed5426 in QEventDispatcherGlib::processEvents (this=0x7f58f00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5922ea4c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5922ea4ed7 in QEventLoop::exec (this=0x7f58f7a9ecd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5922da3fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f5922e849ff in QInotifyFileSystemWatcherEngine::run (this=0x262dfb0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5922da6fcb in QThreadPrivate::start (arg=0x262dfb0) at thread/qthread_unix.cpp:298
#9  0x00007f591a28bb74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f591d8c8e9a in start_thread (arg=0x7f58f7a9f700) at pthread_create.c:308
#11 0x00007f5920a634bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f592407d7c0 (LWP 8978)):
[KCrash Handler]
#6  KSharedPtr (o=..., this=0x7fff60c62a10) at /usr/include/ksharedptr.h:84
#7  Gwenview::DocumentView::document (this=0x48d94c0) at ../../lib/documentview/documentview.cpp:639
#8  0x000000000042f8de in Gwenview::ViewMainPage::currentDocument (this=0x266f8b0) at ../../app/viewmainpage.cpp:558
#9  0x0000000000447f60 in currentDocumentIsRasterImage (this=<optimized out>) at ../../app/mainwindow.cpp:848
#10 Gwenview::MainWindow::currentDocumentIsRasterImage (this=0x22ea720) at ../../app/mainwindow.cpp:845
#11 0x0000000000441592 in Gwenview::ImageOpsContextManagerItem::updateActions (this=0x267c780) at ../../app/imageopscontextmanageritem.cpp:174
#12 0x00007f5922eba281 in QMetaObject::activate (sender=0x293cb60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x00007f5922eadf01 in QMetaMethod::invoke (this=0x7fff60c62e80, object=0x293cb60, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#14 0x00007f5922eb0210 in QMetaObject::invokeMethod (obj=0x293cb60, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#15 0x000000000042b98e in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=<optimized out>, obj=0x293cb60) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#16 Gwenview::ContextManager::emitQueuedSignals (this=0x293cb60) at ../../app/contextmanager.cpp:211
#17 0x00007f5922eba281 in QMetaObject::activate (sender=0x25a3810, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00007f5922ebf179 in QObject::event (this=0x25a3810, e=<optimized out>) at kernel/qobject.cpp:1157
#19 0x00007f59216cc894 in notify_helper (e=0x7fff60c63a20, receiver=0x25a3810, this=0x2300d60) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x2300d60, receiver=0x25a3810, e=0x7fff60c63a20) at kernel/qapplication.cpp:4531
#21 0x00007f59216d1713 in QApplication::notify (this=0x7fff60c63d30, receiver=0x25a3810, e=0x7fff60c63a20) at kernel/qapplication.cpp:4420
#22 0x00007f5922405bb6 in KApplication::notify (this=0x7fff60c63d30, receiver=0x25a3810, event=0x7fff60c63a20) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f5922ea5e9c in QCoreApplication::notifyInternal (this=0x7fff60c63d30, receiver=0x25a3810, event=0x7fff60c63a20) at kernel/qcoreapplication.cpp:876
#24 0x00007f5922ed71f2 in sendEvent (event=0x7fff60c63a20, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QTimerInfoList::activateTimers (this=0x2300ac0) at kernel/qeventdispatcher_unix.cpp:611
#26 0x00007f5922ed4c0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#27 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#28 0x00007f5922ed4c31 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#29 0x00007f591d207c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f591d208060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f591d208124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f5922ed53bf in QEventDispatcherGlib::processEvents (this=0x229f770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f5921774d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f5922ea4c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f5922ea4ed7 in QEventLoop::exec (this=0x7fff60c63c90, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f5922ea9f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#37 0x00000000004269b5 in main (argc=6, argv=0x7fff60c64058) at ../../app/main.cpp:142

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-10 01:35:44 UTC
*** Bug 303273 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-08-12 00:48:58 UTC
*** Bug 304992 has been marked as a duplicate of this bug. ***
Comment 3 Benni Hill 2012-12-03 21:18:12 UTC
I was able to reproduce this in gwenview 2.8.4 but not in 2.9.2. Can you reproduce it with a current version (>=2.9.0)?
Comment 4 Aurelien Gateau 2012-12-10 16:43:27 UTC

*** This bug has been marked as a duplicate of bug 308460 ***
Comment 5 Benni Hill 2013-01-02 15:01:16 UTC
*** Bug 312458 has been marked as a duplicate of this bug. ***