Bug 259794 - gwenview hangup while browsing & closing crash
Summary: gwenview hangup while browsing & closing crash
Status: RESOLVED DUPLICATE of bug 251946
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 01:45 UTC by Till Schäfer
Modified: 2012-10-19 13:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.92 KB, text/plain)
2011-04-11 15:55 UTC, Andrey Batyiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2010-12-14 01:45:44 UTC
Application: gwenview (2.5.2)
KDE Platform Version: 4.5.4 (KDE 4.5.4) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r12 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

While i was clicking next gwenview doesn react anymore. It crashed as i tried to close it.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fb2f361b760 (LWP 5905))]

Thread 3 (Thread 0x7fb2e41ba710 (LWP 5907)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fb2f25dfa01 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xc75990, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xc75990, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb2f25d4af0 in QThreadPoolThread::run (this=0xc78fd0) at concurrent/qthreadpool.cpp:140
#4  0x00007fb2f25dea35 in QThreadPrivate::start (arg=0xc78fd0) at thread/qthread_unix.cpp:248
#5  0x00007fb2eeeed8c4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fb2f03451dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb2e0890710 (LWP 5912)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fb2f25dfa01 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xc75990, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xc75990, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fb2f25d4af0 in QThreadPoolThread::run (this=0xe58ec0) at concurrent/qthreadpool.cpp:140
#4  0x00007fb2f25dea35 in QThreadPrivate::start (arg=0xe58ec0) at thread/qthread_unix.cpp:248
#5  0x00007fb2eeeed8c4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fb2f03451dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb2f361b760 (LWP 5905)):
[KCrash Handler]
#6  0x00007fb2f2f35e27 in Gwenview::SortedDirModel::indexForUrl (this=0x721bc0, url=...)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4/gwenview/lib/semanticinfo/sorteddirmodel.cpp:186
#7  0x000000000042a51b in Gwenview::DocumentInfoProvider::emitBusyStateChanged (this=0x97ee40, url=<value optimized out>, busy=false)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4/gwenview/app/documentinfoprovider.cpp:108
#8  0x000000000042a713 in Gwenview::DocumentInfoProvider::qt_metacall (this=0x97ee40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff83c3e60)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4_build/gwenview/app/documentinfoprovider.moc:75
#9  0x00007fb2f26e0246 in QMetaObject::activate (sender=0x7fb2f3195110, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff83c3e60) at kernel/qobject.cpp:3287
#10 0x00007fb2f2f0bf46 in Gwenview::DocumentFactory::documentBusyStateChanged (this=0xdcaba0, _t1=<value optimized out>, _t2=false)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4_build/gwenview/lib/documentfactory.moc:116
#11 0x00007fb2f2f0cb4f in Gwenview::DocumentFactory::qt_metacall (this=0x7fb2f3195110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff83c3fb0)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4_build/gwenview/lib/documentfactory.moc:91
#12 0x00007fb2f26e0246 in QMetaObject::activate (sender=0xc35be0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff83c3e60) at kernel/qobject.cpp:3287
#13 0x00007fb2f2f09c16 in Gwenview::Document::busyChanged (this=0xdcaba0, _t1=<value optimized out>, _t2=false)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4_build/gwenview/lib/document.moc:198
#14 0x00007fb2f2f09d6e in Gwenview::Document::slotJobDestroyed (this=0xc35be0, job=<value optimized out>)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4/gwenview/lib/document/document.cpp:460
#15 0x00007fb2f2f0a2ac in Gwenview::Document::qt_metacall (this=0xc35be0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff83c4130)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4_build/gwenview/lib/document.moc:119
#16 0x00007fb2f26e0246 in QMetaObject::activate (sender=0x9654c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff83c3e60) at kernel/qobject.cpp:3287
#17 0x00007fb2f26e063f in QObject::destroyed (this=0xdcaba0, _t1=0x9654c0) at .moc/release-shared/moc_qobject.cpp:149
#18 0x00007fb2f26e2895 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:869
#19 0x00007fb2f2f13b93 in ~LoadingJob (this=0xdcaba0, __in_chrg=<value optimized out>)
    at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4_build/gwenview/lib/../../../gwenview-4.5.4/gwenview/lib/document/loadingjob.h:34
#20 0x00007fb2f26dcddd in QObject::event (this=0x9654c0, e=0x721bc0) at kernel/qobject.cpp:1223
#21 0x00007fb2f0f746fc in QApplicationPrivate::notify_helper (this=0x69a250, receiver=0x9654c0, e=0xc26860) at kernel/qapplication.cpp:4302
#22 0x00007fb2f0f7ac3b in QApplication::notify (this=0x7ffff83c4c50, receiver=0x9654c0, e=0xc26860) at kernel/qapplication.cpp:4185
#23 0x00007fb2f1c90cf6 in KApplication::notify (this=0x7ffff83c4c50, receiver=0x9654c0, event=0xc26860) at /var/tmp/portage/kde-base/kdelibs-4.5.4/work/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#24 0x00007fb2f26cd04b in QCoreApplication::notifyInternal (this=0x7ffff83c4c50, receiver=0x9654c0, event=0xc26860) at kernel/qcoreapplication.cpp:726
#25 0x00007fb2f26d0703 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x681d90) at kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x681d90) at kernel/qcoreapplication.cpp:1367
#27 0x00007fb2f26f6a73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#29 0x00007fb2ed41becf in g_main_dispatch (context=0x69cd20) at gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x69cd20) at gmain.c:2513
#31 0x00007fb2ed41fd08 in g_main_context_iterate (context=0x69cd20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#32 0x00007fb2ed41febc in IA__g_main_context_iteration (context=0x69cd20, may_block=1) at gmain.c:2654
#33 0x00007fb2f26f65b3 in QEventDispatcherGlib::processEvents (this=0x69a210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007fb2f10233ae in QGuiEventDispatcherGlib::processEvents (this=0xdcaba0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fb2f26cb9a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007fb2f26cbd74 in QEventLoop::exec (this=0x7ffff83c4b70, flags=) at kernel/qeventloop.cpp:201
#37 0x00007fb2f26d09eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x0000000000442a60 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/gwenview-4.5.4/work/gwenview-4.5.4/gwenview/app/main.cpp:139

This bug may be a duplicate of or related to bug 256190, bug 251946.

Possible duplicates by query: bug 256190, bug 255136, bug 254489, bug 252978.

Reported using DrKonqi
Comment 1 Andrey Batyiev 2011-04-11 15:55:33 UTC
Created attachment 58801 [details]
New crash information added by DrKonqi

gwenview (2.5.2) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.2

- What I was doing when the application crashed:

I've clicked on image and gwenview started. While image was loading i've pressed "next" (via keyboard key). Gwenview was still loading some image, so I've decided to close it and select another image. Gwenview crashed.
I've tried to reproduce and problematic sequence is:
1. press "next" (right arrow key)
2. *very quickly* press "close" (alt+f4)
3. gwenview crashed

-- Backtrace (Reduced):
#12 0x08067650 in Gwenview::DocumentInfoProvider::emitBusyStateChanged(KUrl const&, bool) ()
#13 0x08067a4f in Gwenview::DocumentInfoProvider::qt_metacall(QMetaObject::Call, int, void**) ()
[...]
[...]
#16 0xb75f0b45 in Gwenview::DocumentFactory::documentBusyStateChanged(KUrl const&, bool) () from /usr/lib/libgwenviewlib.so.4
#17 0xb75f0b72 in Gwenview::DocumentFactory::slotBusyChanged(KUrl const&, bool) () from /usr/lib/libgwenviewlib.so.4
#18 0xb75f0f6c in Gwenview::DocumentFactory::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libgwenviewlib.so.4
Comment 2 Jekyll Wu 2012-07-04 14:02:44 UTC

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