Bug 196512

Summary: Gwenview crashes when swithing from an image to a video in presentation mode (and related situations) [QWidget::effectiveWinId, ..., QWidget::setCursor/QApplication::setOverrideCursor, [Gwenview::FullScreenBar::slotAutoHideCursorTimeout]]
Product: [Applications] gwenview Reporter: Constantin Berzan <cberzan>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: admin, ael.breton, alassane.maiga, andre.arnold, andresbajotierra, ants.field, bukhalenkov.a, BurrowsAD, c_brehm, da, danielstefanmader+kde, delegator, dmytro.av, eduardoperezval, eljefedelito, emilkarlen, evgeni.bg, fedekp, guazzo, helder, hollandbaker, jazzedupj0sh, johannes.schwenk, johnnelito, kde, kilem86, linuxhippy, listes, marian25, markgsaye, metamorfozis, mistrynitesh, mmtsales, MurzNN, negativ, novomesk, pascal, peter.spanik.sk, protomank, ralf, seanthenewt, simon.valentiny, stefan.ubuntu, sudhimail, sudnikand, tenflo, tobi.esswein, volodya, vprints, wooly1111, yashabk
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Constantin Berzan 2009-06-14 19:08:41 UTC
Application that crashed: gwenview
Version of the application: 2.3.0
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-11-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
100% reproducible here with KDE4.3beta2 from Ubuntu packages, Gwenview 2.3.0, qt "4.5.0-0ubuntu4.1":
1) Create a new directory and in it put an image, a video, and another image (so that gwenview traverses them in that order, for example a.jpg, b.avi, c.jpg).
2) Launch gwenview on the first image.
3) Press space to advance to the movie.
4) Quickly press space again to advance to the last image. -> crash.

It doesn't seem to crash if I wait long enough (~3sec) while the movie is playing, before advancing to the next image.

I am willing to do more testing if it helps solve this bug.  Thanks for the amazing work on Gwenview for KDE4!

 -- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 0 (LWP 2581)]

Thread 12 (Thread 0xb4521b90 (LWP 2582)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb5ee70e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb66052ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a369b2 in QWaitCondition::wait (this=0x890d258, mutex=0x890d254, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7f361ef in ?? () from /usr/lib/libgwenviewlib.so.4
#5  0xb7a3596e in QThreadPrivate::start (arg=0x8bddcd8) at thread/qthread_unix.cpp:189
#6  0xb5ee34ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65f649e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xb38c5b90 (LWP 2583)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb5ee7412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6605344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a3698c in QWaitCondition::wait (this=0x8bc1a28, mutex=0x8bc1a24, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb7a2be76 in QThreadPoolThread::run (this=0x898a110) at concurrent/qthreadpool.cpp:140
#5  0xb7a3596e in QThreadPrivate::start (arg=0x898a110) at thread/qthread_unix.cpp:189
#6  0xb5ee34ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb65f649e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb14e2b90 (LWP 2593)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb5ee7412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6605344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb20e8ae3 in ?? () from /usr/lib/libxine.so.1

Thread 9 (Thread 0xb08a4b90 (LWP 2594)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb65ee7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb21127d6 in xine_usec_sleep () from /usr/lib/libxine.so.1

Thread 8 (Thread 0xb00a3b90 (LWP 2595)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb65ebae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb5f4074b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5f32f82 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5f33268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb7b55457 in QEventDispatcherGlib::processEvents (this=0x8c086d8, flags={i = -1341509016}) at kernel/qeventdispatcher_glib.cpp:325
#6  0xb7b2806a in QEventLoop::processEvents (this=0xb00a32e0, flags={i = -1341508952}) at kernel/qeventloop.cpp:149
#7  0xb7b284aa in QEventLoop::exec (this=0xb00a32e0, flags={i = -1341508888}) at kernel/qeventloop.cpp:200
#8  0xb7a32639 in QThread::exec (this=0x8caa640) at thread/qthread.cpp:481
#9  0xb213620a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0xb7a3596e in QThreadPrivate::start (arg=0x8caa640) at thread/qthread_unix.cpp:189
#11 0xb5ee34ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb65f649e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xaf828b90 (LWP 2598)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb65ebae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xaf89cb19 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xaf006b90 (LWP 2599)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb65ebae7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb21caf4d in ?? () from /usr/lib/libasound.so.2
#3  0xb21cb0c4 in snd_pcm_wait () from /usr/lib/libasound.so.2
#4  0xaf89e4ec in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0xb20f7620 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xae3fbb90 (LWP 2600)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb5ee7412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6605344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb20f4018 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xada2db90 (LWP 2601)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb5ee7412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6605344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb20f86cf in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xad22cb90 (LWP 2602)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb5ee70e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb66052ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb20fcbd2 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xac6f5b90 (LWP 2603)):
#0  0xb7ffa430 in __kernel_vsyscall ()
#1  0xb65ee7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb21127d6 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 1 (Thread 0xb5aea700 (LWP 2581)):
[KCrash Handler]
#6  0xb6bd10e0 in QWidget::effectiveWinId (this=0x89b6658) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:234
#7  0xb6c16512 in qt_x11_enforce_cursor (w=0x941b250, force=false) at kernel/qwidget_x11.cpp:306
#8  0xb6c16679 in qt_x11_enforce_cursor (w=0x941b250) at kernel/qwidget_x11.cpp:333
#9  0xb6c166e0 in QWidgetPrivate::setCursor_sys (this=0x9434bb0) at kernel/qwidget_x11.cpp:1212
#10 0xb6bd915a in QWidget::setCursor (this=0x941b250, cursor=@0xbf815f58) at kernel/qwidget.cpp:4601
#11 0xb7f14afc in Gwenview::ScrollTool::toolActivated () from /usr/lib/libgwenviewlib.so.4
#12 0xb7efee67 in Gwenview::ImageView::setCurrentTool () from /usr/lib/libgwenviewlib.so.4
#13 0xb7efef00 in Gwenview::ImageView::setDefaultTool () from /usr/lib/libgwenviewlib.so.4
#14 0xb7ee6548 in Gwenview::ImageViewAdapter::ImageViewAdapter () from /usr/lib/libgwenviewlib.so.4
#15 0xb7ee1925 in Gwenview::DocumentView::createAdapterForDocument () from /usr/lib/libgwenviewlib.so.4
#16 0xb7ee21a8 in Gwenview::DocumentView::finishOpenUrl () from /usr/lib/libgwenviewlib.so.4
#17 0xb7ee24e0 in Gwenview::DocumentView::openUrl () from /usr/lib/libgwenviewlib.so.4
#18 0x080854ad in _start ()

Reported using DrKonqi
Comment 1 mahen 2009-08-09 12:33:19 UTC
I think I encountered the same issue.
KDE : 4.3.0, Kubuntu backports packages.

I have some .mov files among some of my pictures directories.
When stumbling upon a movie, and skipping it (that is to say, loading the next/previous picture/movie), Gwenview instantly crashes.
Comment 2 mahen 2009-08-09 13:38:27 UTC
Note : I wish I could provide you with a debug log, but there is apparently no gwenview-dbg package in the Kubuntu backports repository. I installed various other KDE related -dbg but it doesn't add any piece of information.

Also, the crash occurs if the movie (.avi actually) is skipped very quickly.
Comment 3 Aurelien Gateau 2009-08-10 10:06:58 UTC
I can reproduce this bug and added it to my TODO list. Thanks for the report.
Comment 4 Clemens Eisserer 2009-08-16 22:47:17 UTC
Same here:

#0  0x014a5831 in internalWinId (this=<value optimized out>) at ../../src/gui/kernel/qwidget.h:234
#1  QWidget::effectiveWinId (this=<value optimized out>) at kernel/qwidget.cpp:2223
#2  0x014e7dc2 in qt_x11_enforce_cursor (w=0x91f2640, force=false) at kernel/qwidget_x11.cpp:306
#3  0x014e7f6a in qt_x11_enforce_cursor (w=0x91f2640) at kernel/qwidget_x11.cpp:346
#4  0x014e7fd1 in QWidgetPrivate::setCursor_sys (this=0x91f51e8) at kernel/qwidget_x11.cpp:1241
#5  0x014ad2b0 in QWidget::setCursor (this=0x91f2640, cursor=...) at kernel/qwidget.cpp:4623
#6  0x0018dfad in Gwenview::ScrollTool::toolActivated() () from /usr/lib/libgwenviewlib.so.4
#7  0x00178e88 in Gwenview::ImageView::setCurrentTool(Gwenview::AbstractImageViewTool*) ()
   from /usr/lib/libgwenviewlib.so.4
#8  0x00178f20 in Gwenview::ImageView::setDefaultTool(Gwenview::AbstractImageViewTool*) ()
   from /usr/lib/libgwenviewlib.so.4
#9  0x00161b4d in Gwenview::ImageViewAdapter::ImageViewAdapter(QWidget*) ()
   from /usr/lib/libgwenviewlib.so.4
#10 0x0015dcc2 in Gwenview::DocumentView::createAdapterForDocument() () from /usr/lib/libgwenviewlib.so.4
#11 0x0015e369 in Gwenview::DocumentView::finishOpenUrl() () from /usr/lib/libgwenviewlib.so.4
#12 0x0015e685 in Gwenview::DocumentView::openUrl(KUrl const&) () from /usr/lib/libgwenviewlib.so.4
#13 0x08082ec2 in _start ()
Comment 5 FiNeX 2009-08-17 12:58:49 UTC
*** Bug 204124 has been marked as a duplicate of this bug. ***
Comment 6 Aurelien Gateau 2009-08-19 13:38:00 UTC
*** Bug 197489 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-08-19 22:39:53 UTC
*** Bug 204459 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2009-09-26 03:16:27 UTC
*** Bug 208557 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Thomas 2009-09-30 19:01:11 UTC
Full backtrace:

.
Thread 8 (process 6343):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00c15ba6 in *__GI___poll (fds=0xcaaff4, nfds=1, timeout=333)
    at ../sysdeps/unix/sysv/linux/poll.c:87
	resultvar = <value optimized out>
	oldtype = 0
	result = <value optimized out>
#2  0x01f44c3b in ao_alsa_handle_event_thread (data=0x92a12c8)
    at audio_alsa_out.c:150
No locals.
#3  0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#4  0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 7 (process 6340):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00c15ba6 in *__GI___poll (fds=0xcaaff4, nfds=1, timeout=9361)
    at ../sysdeps/unix/sysv/linux/poll.c:87
	resultvar = <value optimized out>
	oldtype = 0
	result = <value optimized out>
#2  0x08f1753b in g_poll () from /lib/libglib-2.0.so.0
No symbol table info available.
#3  0x08f0a55b in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x08f0a853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x0027a01c in QEventDispatcherGlib::processEvents (this=0x969a620, flags=
      {i = 36}) at kernel/qeventdispatcher_glib.cpp:327
	d = (QEventDispatcherGlibPrivate * const) 0x96f50b8
	canWait = true
	result = <value optimized out>
#6  0x0024dc69 in QEventLoop::processEvents (this=0xb39a32b4, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x96f5ba0
#7  0x0024e0ba in QEventLoop::exec (this=0xb39a32b4, flags={i = 0})
    at kernel/qeventloop.cpp:201
	d = (QEventLoopPrivate * const) 0x96f5ba0
	app = <value optimized out>
#8  0x0015bb73 in QThread::exec (this=0x96d7cb8) at thread/qthread.cpp:487
	d = <value optimized out>
	eventLoop = {<QObject> = {_vptr.QObject = 0x3417a8, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x2e8b20 "QObject", data = 0x2e8bc0, 
        extradata = 0x33d1b8}}, d_ptr = 0x96f5ba0, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x2f2300 "Qt", data = 0x2f5680, extradata = 0x0}}}, 
  static staticMetaObject = {d = {superdata = 0x80b33a0, 
      stringdata = 0x2fa720 "QEventLoop", data = 0x2fa740, extradata = 0x0}}}
	returnCode = <value optimized out>
#9  0x05ca320a in Phonon::Xine::XineThread::run (this=0x96d7cb8)
    at ../../xine/xinethread.cpp:143
	c = {{p = {static shared_null = {ref = {_q_value = 11558}, alloc = 0, 
        begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x96d7cb8}, 
    d = 0x96d7cb8}}
#10 0x0015ee22 in QThreadPrivate::start (arg=0x96d7cb8)
    at thread/qthread_unix.cpp:188
	data = (QThreadData *) 0x969bd90
#11 0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#12 0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 6 (process 6338):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0089a142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x00c307e4 in __pthread_cond_timedwait (cond=0x96d6f10, mutex=0x96d6ef8, 
    abstime=0xb4db2330) at forward.c:152
	__p = (int (*)(pthread_cond_t *, pthread_mutex_t *, 
    const struct timespec *)) 0xfffffdfc
#3  0x024479ff in metronom_sync_loop (this=0x96d6eb0) at metronom.c:870
	tv = {tv_sec = 1254122333, tv_usec = 100270}
	ts = {tv_sec = 1254122338, tv_nsec = 100270000}
	scr = <value optimized out>
	pts = 163388805311308592
#4  0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5  0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 5 (process 6334):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x0089a142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x00c307e4 in __pthread_cond_timedwait (cond=0x94f6b28, mutex=0x94f6b10, 
    abstime=0xb5d072a0) at forward.c:152
	__p = (int (*)(pthread_cond_t *, pthread_mutex_t *, 
    const struct timespec *)) 0xfffffdfc
#3  0x0015fddf in QWaitCondition::wait (this=0x94f62d0, mutex=0x94f62cc, 
    time=30000) at thread/qwaitcondition_unix.cpp:85
	returnValue = <value optimized out>
#4  0x001549ae in QThreadPoolThread::run (this=0x94f6720)
    at concurrent/qthreadpool.cpp:140
	r = (QRunnable *) 0x9299fb0
	locker = {{mtx = 0x94f62cd, val = 156197581}}
#5  0x0015ee22 in QThreadPrivate::start (arg=0x94f6720)
    at thread/qthread_unix.cpp:188
	data = (QThreadData *) 0x94f6030
#6  0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 4 (process 6333):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00899e15 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x00c3078d in __pthread_cond_wait (cond=0x9269388, mutex=0x9269370)
    at forward.c:139
	__p = (int (*)(pthread_cond_t *, pthread_mutex_t *)) 0xfffffe00
#3  0x0015fe57 in QWaitCondition::wait (this=0x9250d10, mutex=0x9250d0c, 
    time=4294967295) at thread/qwaitcondition_unix.cpp:87
	returnValue = <value optimized out>
warning: (Internal error: pc 0x416409 in read in psymtab, but not in symtab.)
.
#4  0x0041640a in Gwenview::SemanticInfoThread::run (this=warning: (Internal error: pc 0x416280 in read in psymtab, but not in symtab.)
.
warning: (Internal error: pc 0x416409 in read in psymtab, but not in symtab.)
.
0x9250d00)
    at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:136
warning: (Internal error: pc 0x416409 in read in psymtab, but not in symtab.)
.
	locker = warning: (Internal error: pc 0x416409 in read in psymtab, but not in symtab.)
.
{{mtx = 0x9250d0d, val = 153423117}}
	task = (class Gwenview::Task *) 0x9b75000
#5  0x0015ee22 in QThreadPrivate::start (arg=0x9250d00)
    at thread/qthread_unix.cpp:188
	data = (QThreadData *) 0x9269058
#6  0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 3 (process 6339):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00c1c981 in select () from /lib/tls/i686/cmov/libc.so.6
No locals.
#2  0x02470be0 in xine_usec_sleep (usec=1000) at utils.c:481
	tm = {tv_sec = 0, tv_usec = 0}
#3  0x02455011 in video_out_loop (this_gen=0x96a2210) at video_out.c:1246
	vpts = 145634
	img = <value optimized out>
	next_frame_vpts = 4294967296000000
	usec_to_sleep = 0
#4  0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5  0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 2 (process 6344):
#0  0x00739422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00899e15 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x00c3078d in __pthread_cond_wait (cond=0x9b542f0, mutex=0x9b542d8)
    at forward.c:139
	__p = (int (*)(pthread_cond_t *, pthread_mutex_t *)) 0xfffffe00
#3  0x024585ee in ao_loop (this_gen=0x9b59488) at audio_out.c:348
	hw_vpts = -4132093232
	in_buf = <value optimized out>
	out_buf = <value optimized out>
	gap = 0
	delay = <value optimized out>
	cur_time = <value optimized out>
	last_sync_time = 162895476
	bufs_since_sync = 162895032
	result = 162874064
#4  0x0089580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#5  0x00c237ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
.
Thread 1 (process 6332):
#0  0x01549bd0 in QWidget::effectiveWinId (this=0x94f9d50)
    at ../../include/QtGui/../../src/gui/kernel/qwidget.h:234
	id = <value optimized out>
	realParent = (QWidget *) 0x2
#1  0x0158d702 in qt_x11_enforce_cursor (w=0x928efb0, force=false)
    at kernel/qwidget_x11.cpp:306
	lastUnderMouse = {o = 0x94f9d50}
	nativeParent = <value optimized out>
#2  0x0158d8a9 in qt_x11_enforce_cursor (w=0x928efb0)
    at kernel/qwidget_x11.cpp:346
No locals.
#3  0x0156123a in QApplication::setOverrideCursor (cursor=@0xbfb956b8)
    at kernel/qapplication_x11.cpp:2853
	w = (class QWidget *) 0x928efb0
	all = {{p = {static shared_null = {ref = {_q_value = 11558}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x9cf2f08}, d = 0x9cf2f08}}
#4  0x003d3573 in Gwenview::FullScreenBar::slotAutoHideCursorTimeout (
    this=0x93ee870) at ../../../gwenview/lib/fullscreenbar.cpp:71
No locals.
#5  0x003d3633 in Gwenview::FullScreenBar::qt_metacall (this=0x93ee870, 
    _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfb9578c)
    at ./fullscreenbar.moc:74
No locals.
#6  0x00265253 in QMetaObject::activate (sender=0x93eee38, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3113
	c = <value optimized out>
	method = 29
	currentSender = {sender = 0x93eee38, signal = 4, ref = 1}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 4
	empty_argv = {0x0}
	locker = {{mtx = 0x91a6a44, val = 152726084}}
	currentThreadData = <value optimized out>
	connectionLists = (QObjectConnectionListVector *) 0x93ef200
#7  0x00265eb2 in QMetaObject::activate (sender=0x93eee38, m=0x341904, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
	signal_index = 153677936
#8  0x0029f5f7 in QTimer::timeout (this=0x93eee38)
    at .moc/release-shared/moc_qtimer.cpp:128
No locals.
#9  0x0026a99e in QTimer::timerEvent (this=0x93eee38, e=0xbfb95c20)
    at kernel/qtimer.cpp:261
No locals.
#10 0x0025f3af in QObject::event (this=0x93eee38, e=0xbfb95c20)
    at kernel/qobject.cpp:1075
No locals.
#11 0x014fcf44 in QApplicationPrivate::notify_helper (this=0x91bc940, 
    receiver=0x93eee38, e=0xbfb95c20) at kernel/qapplication.cpp:4056
	consumed = <value optimized out>
#12 0x0150466c in QApplication::notify (this=0xbfb95f88, receiver=0x93eee38, 
    e=0xbfb95c20) at kernel/qapplication.cpp:3603
	res = true
#13 0x011d1f8a in KApplication::notify (this=0xbfb95f88, receiver=0x93eee38, 
    event=0xbfb95c20) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#14 0x0024f6bb in QCoreApplication::notifyInternal (this=0xbfb95f88, 
    receiver=0x93eee38, event=0xbfb95c20) at kernel/qcoreapplication.cpp:610
	result = false
	cbdata = {0x93eee38, 0xbfb95c20, 0xbfb95baf}
	threadData = (QThreadData *) 0x91a6a10
	returnValue = <value optimized out>
#15 0x0027c7be in QTimerInfoList::activateTimers (this=0x91bfa34)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
	e = {<QEvent> = {_vptr.QEvent = 0x340738, d = 0x0, t = 1, posted = 0, 
    spont = 0, m_accept = 1, reserved = 6135}, id = 16777233}
	firstTime = <value optimized out>
	n_act = 1
	saveFirstTimerInfo = (QTimerInfo *) 0x0
	saveCurrentTimerInfo = (QTimerInfo *) 0x0
#16 0x0027a0d0 in timerSourceDispatch (source=0x91bfa00)
    at kernel/qeventdispatcher_glib.cpp:165
No locals.
#17 0x08f06e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#18 0x08f0a720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#19 0x08f0a853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
No symbol table info available.
#20 0x0027a01c in QEventDispatcherGlib::processEvents (this=0x91a6be8, flags=
      {i = 36}) at kernel/qeventdispatcher_glib.cpp:327
	d = (QEventDispatcherGlibPrivate * const) 0x91bca78
	canWait = true
	result = <value optimized out>
#21 0x0159dad5 in QGuiEventDispatcherGlib::processEvents (this=0x91a6be8, 
    flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
	d = (QGuiEventDispatcherGlibPrivate * const) 0x91bca78
	returnValue = 2
#22 0x0024dc69 in QEventLoop::processEvents (this=0xbfb95ee4, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x93f7240
#23 0x0024e0ba in QEventLoop::exec (this=0xbfb95ee4, flags={i = 0})
    at kernel/qeventloop.cpp:201
	d = (QEventLoopPrivate * const) 0x93f7240
	app = <value optimized out>
#24 0x0025052f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
	threadData = (QThreadData *) 0x91a6a10
	eventLoop = {<QObject> = {_vptr.QObject = 0x3417a8, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x2e8b20 "QObject", data = 0x2e8bc0, 
        extradata = 0x33d1b8}}, d_ptr = 0x93f7240, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x2f2300 "Qt", data = 0x2f5680, extradata = 0x0}}}, 
  static staticMetaObject = {d = {superdata = 0x80b33a0, 
      stringdata = 0x2fa720 "QEventLoop", data = 0x2fa740, extradata = 0x0}}}
	returnCode = -1
#25 0x014fcdc7 in QApplication::exec () at kernel/qapplication.cpp:3525
No locals.
#26 0x08081e0f in main (argc=6, argv=0xbfb96104)
    at ../../../gwenview/app/main.cpp:95
	aboutData = {d = 0x91a9378}
	url = {<QUrl> = {d = 0x91bc8c0}, d = 0x0}
	startSlideShow = false
	app = {<QApplication> = {<QCoreApplication> = {<QObject> = {
        _vptr.QObject = 0x13cbbe8, static staticMetaObject = {d = {
            superdata = 0x0, stringdata = 0x2e8b20 "QObject", 
            data = 0x2e8bc0, extradata = 0x33d1b8}}, d_ptr = 0x91bc940, 
        static staticQtMetaObject = {d = {superdata = 0x0, 
            stringdata = 0x2f2300 "Qt", data = 0x2f5680, extradata = 0x0}}}, 
      static staticMetaObject = {d = {superdata = 0x80b33a0, 
          stringdata = 0x2fa7a0 "QCoreApplication", data = 0x2fa840, 
          extradata = 0x0}}, static self = 0xbfb95f88}, 
    static staticMetaObject = {d = {superdata = 0x3417e4, 
        stringdata = 0x1b954c0 "QApplication", data = 0x1b956c0, 
        extradata = 0x0}}}, static staticMetaObject = {d = {
      superdata = 0x1d5ef48, stringdata = 0x13588c0 "KApplication", 
      data = 0x1358a60, extradata = 0x0}}, static loadedByKdeinit = false, 
  static KApp = 0xbfb95f88, d = 0x91ee170}
	options = {d = 0x91bbf30}
	startInFullScreen = false
	args = <value optimized out>
Comment 10 Dario Andres 2009-10-09 00:31:11 UTC
*** Bug 209744 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-10-11 18:45:07 UTC
Mh, bug 208557 seems also related to cursors and video playing but the backtrace is a bit different. (check bug 210149 for that full backtrace)
Comment 12 Dario Andres 2009-10-28 13:32:36 UTC
*** Bug 212143 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-11-03 22:25:33 UTC
*** Bug 212803 has been marked as a duplicate of this bug. ***
Comment 14 Daniel Mader 2009-11-06 11:50:35 UTC
Hi, this seems to be a very prominent bug, considering all the dups of it.

As a temporal workaround, until the movie playback feature works stable (here it also crashes even when I don't switch rapidly to the next image/movie), I'd suggest to make it configurable which file types should be displayed by gwenview. With this, as a default, I'd disable movie playback for now. It makes this otherwise great application look very flaky.

Thanks very much in advance for considering it!
Comment 15 Marcelo Sales 2009-11-06 19:31:44 UTC
I agree with comment #14. Displaying several kinds of media files in Gwenview is nice, but many unforseen problems can arise because of that. These problems can be avoided if the user has the option to select which file types should be displayed.
Even if there were no problems, such an option would still be useful.
Comment 16 Jonathan Thomas 2009-11-10 02:09:47 UTC
*** Bug 213520 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2009-11-17 15:09:59 UTC
*** Bug 214845 has been marked as a duplicate of this bug. ***
Comment 18 Dario Andres 2009-11-19 14:27:49 UTC
*** Bug 209785 has been marked as a duplicate of this bug. ***
Comment 19 Dario Andres 2009-11-23 13:57:09 UTC
*** Bug 215629 has been marked as a duplicate of this bug. ***
Comment 20 Christophe Marin 2009-11-27 02:15:30 UTC
*** Bug 216191 has been marked as a duplicate of this bug. ***
Comment 21 horst 2009-11-27 10:38:45 UTC
i'm also plaqued by this bug. gwenview doesn't even play the movies but still crashes. what helps as a workaround is to wait for 3 seconds before leaving the movie.
Comment 22 Dario Andres 2009-11-28 01:36:22 UTC
*** Bug 216436 has been marked as a duplicate of this bug. ***
Comment 23 Dario Andres 2009-11-28 01:36:25 UTC
*** Bug 216443 has been marked as a duplicate of this bug. ***
Comment 24 Myriam Schweingruber 2009-11-30 14:02:32 UTC
*** Bug 213719 has been marked as a duplicate of this bug. ***
Comment 25 Dario Andres 2009-12-04 00:50:58 UTC
*** Bug 217005 has been marked as a duplicate of this bug. ***
Comment 26 Dario Andres 2009-12-04 00:51:06 UTC
*** Bug 217263 has been marked as a duplicate of this bug. ***
Comment 27 Dario Andres 2009-12-05 03:29:16 UTC
*** Bug 216882 has been marked as a duplicate of this bug. ***
Comment 28 FiNeX 2009-12-05 17:51:45 UTC
*** Bug 217460 has been marked as a duplicate of this bug. ***
Comment 29 Dario Andres 2009-12-06 19:43:06 UTC
*** Bug 217610 has been marked as a duplicate of this bug. ***
Comment 30 Dario Andres 2009-12-09 00:33:15 UTC
*** Bug 214213 has been marked as a duplicate of this bug. ***
Comment 31 Dario Andres 2009-12-11 13:10:22 UTC
*** Bug 218201 has been marked as a duplicate of this bug. ***
Comment 32 Dario Andres 2009-12-13 23:51:59 UTC
*** Bug 218510 has been marked as a duplicate of this bug. ***
Comment 33 Dario Andres 2009-12-18 17:05:07 UTC
*** Bug 219130 has been marked as a duplicate of this bug. ***
Comment 34 Aurelien Gateau 2009-12-19 18:44:54 UTC
I can't reproduce the bug anymore with Qt 4.6 and Phonon 4.3.80. I suspect this was either Qt or Phonon related.
Comment 35 Aurelien Gateau 2009-12-19 18:45:48 UTC
Closing the bug, please reopen if you can still reproduce it with Qt 4.6 and Phonon 4.3.80.
Comment 36 Dario Andres 2009-12-19 18:47:54 UTC
I can also confirm that all my attempts to reproduce this issue have failed. Here using:

Qt: 4.6.0 (kde-qt master commit 747ff8e6ef6f5a1163dfa75bc9ac4755ce7083d1
        Date:   Tue Dec 15 11:58:13 2009 +0100)
KDE Development Platform: 4.3.82 (KDE 4.3.82 (KDE 4.4 >= 20091211))
kdelibs svn rev. 1063229 / kdebase svn rev. 1063229
updated Phonon and kdegraphics ( gwenview )
on ArchLinux i686 - Kernel 2.6.31.6
Comment 37 Dario Andres 2009-12-24 14:08:57 UTC
*** Bug 219922 has been marked as a duplicate of this bug. ***
Comment 38 Dario Andres 2009-12-24 14:16:34 UTC
*** Bug 219880 has been marked as a duplicate of this bug. ***
Comment 39 Dario Andres 2009-12-26 14:18:47 UTC
*** Bug 220134 has been marked as a duplicate of this bug. ***
Comment 40 Dario Andres 2009-12-28 17:28:35 UTC
*** Bug 220408 has been marked as a duplicate of this bug. ***
Comment 41 Dario Andres 2010-01-03 15:28:36 UTC
*** Bug 221080 has been marked as a duplicate of this bug. ***
Comment 42 Dario Andres 2010-01-06 01:59:32 UTC
*** Bug 221434 has been marked as a duplicate of this bug. ***
Comment 43 Murz 2010-01-08 09:23:31 UTC
Can confirm this bug too:
Kubuntu Karmic, KDE 4.4 beta2:
Gwenview Version 2.3.0
Using KDE Development Platform 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))

Always crash when switching from jpg to mov:
KCrash: Application 'gwenview' crashing...
sock_file=/home/murz/.kde/socket-kit/kdeinit4__0
gwenview: Fatal IO error: client killed
Comment 44 Dario Andres 2010-01-08 13:08:29 UTC
@Murz: if you can repeat your crash, please, install the "kdegraphics-dbg" and "libqt4-dbg" packages and use the Crash Handler dialog to report the bug. That will create a new report which we will evaluate, to check if this is the same issue or a different one. Thanks
Comment 45 Murz 2010-01-10 15:20:21 UTC
@Dario Andres: I have created a new bugreport for my problem, with full backtrace:
https://bugs.kde.org/show_bug.cgi?id=221786
Comment 46 Dario Andres 2010-01-18 21:39:45 UTC
*** Bug 223330 has been marked as a duplicate of this bug. ***
Comment 47 Dario Andres 2010-01-22 16:27:05 UTC
*** Bug 223568 has been marked as a duplicate of this bug. ***
Comment 48 Dario Andres 2010-01-26 22:17:59 UTC
*** Bug 224392 has been marked as a duplicate of this bug. ***
Comment 49 Dario Andres 2010-01-31 18:41:25 UTC
*** Bug 225024 has been marked as a duplicate of this bug. ***
Comment 50 Dario Andres 2010-02-05 14:22:24 UTC
*** Bug 225535 has been marked as a duplicate of this bug. ***
Comment 51 Dario Andres 2010-02-07 00:37:51 UTC
*** Bug 221168 has been marked as a duplicate of this bug. ***
Comment 52 FiNeX 2010-02-13 14:54:16 UTC
*** Bug 226669 has been marked as a duplicate of this bug. ***
Comment 53 Christophe Marin 2010-02-21 23:51:19 UTC
*** Bug 226417 has been marked as a duplicate of this bug. ***
Comment 54 Dario Andres 2010-02-24 13:42:41 UTC
*** Bug 228264 has been marked as a duplicate of this bug. ***
Comment 55 Dario Andres 2010-03-20 16:10:23 UTC
*** Bug 231427 has been marked as a duplicate of this bug. ***
Comment 56 Dario Andres 2010-04-05 01:48:06 UTC
*** Bug 233271 has been marked as a duplicate of this bug. ***
Comment 57 Nicolas L. 2010-06-23 15:30:55 UTC
*** Bug 242431 has been marked as a duplicate of this bug. ***
Comment 58 Christoph Feck 2010-09-26 23:27:46 UTC
*** Bug 242218 has been marked as a duplicate of this bug. ***
Comment 59 Christoph Feck 2010-09-26 23:28:21 UTC
*** Bug 240386 has been marked as a duplicate of this bug. ***
Comment 60 Christoph Feck 2010-09-26 23:28:59 UTC
*** Bug 225814 has been marked as a duplicate of this bug. ***
Comment 61 Christoph Feck 2010-09-26 23:29:59 UTC
*** Bug 221407 has been marked as a duplicate of this bug. ***
Comment 62 Christoph Feck 2010-09-26 23:30:39 UTC
*** Bug 241302 has been marked as a duplicate of this bug. ***