Bug 286337

Summary: Gwenview doesn't exit when I close gwenview application
Product: [Applications] gwenview Reporter: Hussam Al-Tayeb <ht990332>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 2.7   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hussam Al-Tayeb 2011-11-11 14:13:42 UTC
Version:           2.7 (using KDE 4.7.3) 
OS:                Linux

Gwenview doesn't exit when I close gwenview application. eventually after opening and closing it multiple times, I end up with a lot of gwenview processes running in the background.
I did gdb -p `pidof gwenview`

(gdb) thread apply all bt

Thread 3 (Thread 0xb206cb70 (LWP 20765)):
#0  0xb7898424 in __kernel_vsyscall ()
#1  0xb5a6f1ae in poll () from /lib/libc.so.6
#2  0xb504809b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb50395e6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb503997a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb727cb37 in QEventDispatcherGlib::processEvents (this=0x8c803c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:424
#6  0xb724485d in QEventLoop::processEvents (this=0xb206c290, flags=...)
    at kernel/qeventloop.cpp:149
#7  0xb7244af9 in QEventLoop::exec (this=0xb206c290, flags=...) at kernel/qeventloop.cpp:204
#8  0xb7120c6d in QThread::exec (this=0x8c7e9c0) at thread/qthread.cpp:501
#9  0xb721f663 in QInotifyFileSystemWatcherEngine::run (this=0x8c7e9c0)
    at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb7123fba in QThreadPrivate::start (arg=0x8c7e9c0) at thread/qthread_unix.cpp:298
#11 0xb554ecf7 in start_thread () from /lib/libpthread.so.0
#12 0xb5a7986e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xaf8afb70 (LWP 20775)):
#0  0xb7898424 in __kernel_vsyscall ()
#1  0xb5a72aa1 in select () from /lib/libc.so.6
#2  0xb721d7f4 in QProcessManager::run (this=0xb73b29f8) at io/qprocess_unix.cpp:244
#3  0xb7123fba in QThreadPrivate::start (arg=0xb73b29f8) at thread/qthread_unix.cpp:298
#4  0xb554ecf7 in start_thread () from /lib/libpthread.so.0
#5  0xb5a7986e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb4587710 (LWP 20763)):
#0  0xb7898424 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
#1  0xb5a6f1ae in poll () from /lib/libc.so.6
#2  0xb504809b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb50395e6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb503997a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb727cb37 in QEventDispatcherGlib::processEvents (this=0x8a911a8, flags=...)
    at kernel/qeventdispatcher_glib.cpp:424

#6  0xb6111a6a in QGuiEventDispatcherGlib::processEvents (this=0x8a911a8, flags=...)
    at kernel/qguieventdispatcher_glib.cpp:204
#7  0xb724485d in QEventLoop::processEvents (this=0xbfcc1354, flags=...)
    at kernel/qeventloop.cpp:149
#8  0xb7244af9 in QEventLoop::exec (this=0xbfcc1354, flags=...) at kernel/qeventloop.cpp:204
#9  0xb724a73a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#10 0xb604c854 in QApplication::exec () at kernel/qapplication.cpp:3779
#11 0x0806446d in ?? ()
#12 0xb59c0243 in __libc_start_main () from /lib/libc.so.6
#13 0x0806473d in _start ()

this is version 2.7.2

Reproducible: Always

Steps to Reproduce:
open gwenview from a terminal and close it

Actual Results:  
gwenview never exits

Expected Results:  
process should exit when I close the application.

OS: Linux (i686) release 3.1.0-4-ARCH
Comment 1 Hussam Al-Tayeb 2011-11-12 00:53:51 UTC

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