Kodi Community Forum

Full Version: Freeze when I stop playing movie.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey.
I have been struggling to get my lightweight XBMC-ubuntu to work properly for a few hours now (I hate PulseAudio, but i love the potential...). Basically ubuntu CLI + openbox + alsa + xbmc.

I have finally got the pass-through working, but I have one strange issue still. Every time a video file stops playing (end of film or me pressing stop) everything freezes up, and the only way out of it is to kill X.

I can't understand what is going on by reading the logs, can anyone of you see anything strange?

This is where it goes wrong (I think)...
Code:
20:24:39 T:3078514576 M:1824190464  NOTICE: CDVDPlayer::CloseFile()
20:24:39 T:3078514576 M:1824190464  NOTICE: DVDPlayer: waiting for threads to exit
20:24:39 T:2949057392 M:1824190464  NOTICE: CDVDPlayer::OnExit()
20:24:39 T:2949057392 M:1824190464  NOTICE: DVDPlayer: closing audio stream
20:24:39 T:2949057392 M:1824190464  NOTICE: Closing audio stream
20:24:39 T:2949057392 M:1824190464  NOTICE: Waiting for audio thread to exit
20:24:39 T:2915486576 M:1824190464  NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:24:39 T:2915486576 M:1824190464   DEBUG: Thread 2915486576 terminating
20:24:39 T:2949057392 M:1824190464  NOTICE: Closing audio device
20:24:39 T:2949057392 M:1824190464  NOTICE: Deleting audio codec
20:24:39 T:2949057392 M:1824190464  NOTICE: DVDPlayer: closing video stream
20:24:39 T:2949057392 M:1824190464  NOTICE: Closing video stream
20:24:39 T:2949057392 M:1824190464  NOTICE: waiting for video thread to exit
20:24:39 T:2923879280 M:1824190464  NOTICE: thread end: video_thread
20:24:39 T:2923879280 M:1824190464   DEBUG: Thread 2923879280 terminating
20:24:39 T:2949057392 M:1824190464  NOTICE: deleting video codec
http://pastebin.com/f38d36aa

BTW I'm using latest SVN from the PPAs, r23898.
It's a known issue, we're working on it. It's a deadlock introduced by r23898.

Same issue presents when starting playback with VDPAU enabled.

TheUni
Fyi, fixed in r23910 and r23911, next ppa should contain the fixes.

TheUni
Hi !

I've got this same problem.
xbmc is freezing everytime i try to stop a movie playing

configuration :
Code:
Ubuntu 9.10/Karmic : Linux frederic-desktop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux
Code:
ii  usplash-theme-xbmc-pulsating-logo     1.1                                        XBMC Usplash theme for Ubuntu (Pulsating Log
ii  usplash-theme-xbmc-spinner-black      1.1                                        XBMC Usplash theme for Ubuntu (Black edition
ii  usplash-theme-xbmc-spinner-blue       1.1                                        XBMC Usplash theme for Ubuntu (Blue edition)
ii  xbmc                                  9.11~beta1-karmic5                         The Full XBMC meta package
ii  xbmc-common                           9.11~beta1-karmic5                         XBMC common package
ii  xbmc-skin-confluence                  9.11~beta1-karmic5                         XBMC Confluence skin package
ii  xbmc-skin-pm3-hd                      9.11~beta1-karmic5                         XBMC PM3 HD skin package
ii  xbmc-web-pm3                          9.11~beta1-karmic5                         XBMC Webserver Project Mahem III skin packag
I've try to generate core dump but without success.
I launch xbmc this manner :
Code:
~$ ulimit -c unlimited
~$ xbmc

then freezing it by doing stop in a movie.

then killing it :
Code:
killall -11 xbmc.bin

In the terminal which launched xbmc, I get :
Code:
WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect
and ps a gives me :
Code:
4342 pts/0    Dl+   17:19 /usr/share/xbmc/xbmc.bin

complete xbmc.log file : http://pastebin.com/mda4f28c
Try to set the rendering to other than auto or VDPAU
it's found here system->Video->Playback
I tried GLSL.
Still crashing, but this time i have glowing colors on screen instead of movies images.