Re: Kaffeine problem with CFS

Christoph Pfister
2007-04-18T09:25:47Z

2007/4/18, Ingo Molnar <mingo@elte.hu>:
>
> * Christoph Pfister <christophpfister@gmail.com> wrote:
>
> > >are the updated backtraces in the followup mail i just sent more
> > >useful? (I still have that stuck session running so i can whatever
> > >debugging you'd like to see done.)
> >
> > QWidget::setUpdatesEnabled() is (wrongly) present in every thread
> > except the main. So I'm afraid there's nothing which can be done :-/
> > Btw the main thread is waiting for the first frame being displayed
> > after the seek.
>
> i didnt have all the debuginfo packages installed. I installed some (but
> not all yet), here's an updated backtrace:
>
> (gdb) bt
> #0 0xffffe410 in __kernel_vsyscall ()
> #1 0x4a2539e1 in __lll_mutex_unlock_wake () from /lib/libpthread.so.0
> #2 0x4a2506f9 in _L_mutex_unlock_99 () from /lib/libpthread.so.0
> #3 0x4a250370 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
> #4 0x4a2506f0 in pthread_mutex_unlock () from /lib/libpthread.so.0
> #5 0xb79fce5a in QWidget::setUpdatesEnabled () from /usr/lib/libxine.so.1
> #6 0xb7a4b90b in dvd_plugin_free_buffer (buf=0xb0745470) at input_dvd.c:570
> #7 0xb7a030a2 in QWidget::setUpdatesEnabled () from /usr/lib/libxine.so.1
> #8 0x4a24d2db in start_thread () from /lib/libpthread.so.0
> #9 0x4a05820e in clone () from /lib/libc.so.6
>
> at least the dvd_plugin_free_buffer() call has been resolved now. (I'll
> hunt for the other debuginfo packages too.)
>
> which thread would be the most interesting to you - 9324?

The thread which should wake the main thread - but hmm ... 9303 seems
to be rather dead-locked than doing pthread_cond_timedwait() ?

> Ingo

Christoph