Bug 318632

Summary: Gwenview crashes when closing it
Product: [Applications] gwenview Reporter: Otso Helenius <kde>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: julian.g, myriam
Priority: NOR    
Version: 2.9.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Otso Helenius 2013-04-20 12:21:45 UTC
Application: gwenview (2.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-27-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
After opening a single image in Gwenview and immediately closing it, it crashes. The bug reproduces randomly.

The crash can be reproduced some of the time.

-- 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 0x7fe410acf780 (LWP 7032))]

Thread 3 (Thread 0x7fe3fb594700 (LWP 7034)):
#0  0x00007fe40d51f303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe409ce6d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe409ce6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe40f93fc16 in QEventDispatcherGlib::processEvents (this=0x7fe3f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe40f9102bf in QEventLoop::processEvents (this=this@entry=0x7fe3fb593dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe40f910548 in QEventLoop::exec (this=0x7fe3fb593dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe40f811b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe40f8f09af in QInotifyFileSystemWatcherEngine::run (this=0x1afb780) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe40f814aec in QThreadPrivate::start (arg=0x1afb780) at thread/qthread_unix.cpp:338
#9  0x00007fe40a3a9e9a in start_thread (arg=0x7fe3fb594700) at pthread_create.c:308
#10 0x00007fe40d52acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe3fa5db700 (LWP 7035)):
#0  0x00007fe40d5388e6 in pthread_mutex_unlock (mutex=0x7fe3ec000a60) at forward.c:184
#1  0x00007fe409d23e51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe409ce660b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe409ce6cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe409ce6ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe40f93fc16 in QEventDispatcherGlib::processEvents (this=0x7fe3ec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fe40f9102bf in QEventLoop::processEvents (this=this@entry=0x7fe3fa5dadd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fe40f910548 in QEventLoop::exec (this=0x7fe3fa5dadd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fe40f811b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fe40f8f09af in QInotifyFileSystemWatcherEngine::run (this=0x1e0fa30) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fe40f814aec in QThreadPrivate::start (arg=0x1e0fa30) at thread/qthread_unix.cpp:338
#11 0x00007fe40a3a9e9a in start_thread (arg=0x7fe3fa5db700) at pthread_create.c:308
#12 0x00007fe40d52acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe410acf780 (LWP 7032)):
[KCrash Handler]
#6  0x00007fe40f301797 in lockInline (this=0x1a536f8) at /usr/include/qt4/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x1a536f8, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#8  Nepomuk::Resource::~Resource (this=0x7fe3e40365b0, __in_chrg=<optimized out>) at ../../nepomuk/core/resource.cpp:142
#9  0x00007fe40f301a49 in Nepomuk::Resource::~Resource (this=0x7fe3e40365b0, __in_chrg=<optimized out>) at ../../nepomuk/core/resource.cpp:147
#10 0x00007fe40f9221ca in QMetaCallEvent::~QMetaCallEvent (this=0x7fe3e403fcd0, __in_chrg=<optimized out>) at kernel/qobject.cpp:509
#11 0x00007fe40f922239 in QMetaCallEvent::~QMetaCallEvent (this=0x7fe3e403fcd0, __in_chrg=<optimized out>) at kernel/qobject.cpp:518
#12 0x00007fe40f914ac8 in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0x18ba4e0, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:449
#13 0x00007fe40e181e79 in QApplicationPrivate::~QApplicationPrivate (this=0x18ba4e0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:223
#14 0x00007fe40f927ffc in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 ~QScopedPointer (this=0x7fff0a65e9f8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=0x7fff0a65e9f0, __in_chrg=<optimized out>) at kernel/qobject.cpp:817
#17 0x00007fe40e18c211 in QApplication::~QApplication (this=0x7fff0a65e9f0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1100
#18 0x00000000004273be in main (argc=6, argv=0x7fff0a65eb58) at ../../app/main.cpp:142

Possible duplicates by query: bug 318490, bug 315753, bug 309671, bug 305815.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-04-20 22:48:58 UTC

*** This bug has been marked as a duplicate of bug 292996 ***
Comment 2 Julian Groß 2013-06-13 18:18:39 UTC
Created attachment 80502 [details]
New crash information added by DrKonqi

gwenview (2.9.5) on KDE Platform 4.9.5 using Qt 4.8.3

- What I was doing when the application crashed:
I closed gwenview immediately after starting it.

-- Backtrace (Reduced):
#6  0x00007fd6541b3797 in lockInline (this=0x233a468) at /usr/include/qt4/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x233a468, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#8  Nepomuk::Resource::~Resource (this=0x7fd6180332e0, __in_chrg=<optimized out>) at ../../nepomuk/core/resource.cpp:142
#9  0x00007fd6541b3a49 in Nepomuk::Resource::~Resource (this=0x7fd6180332e0, __in_chrg=<optimized out>) at ../../nepomuk/core/resource.cpp:147
[...]
#12 0x00007fd6547c6ac8 in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0x1f71220, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:449