XBMC hanging on black
#1
Sad 
I'm running XBMC from Ubuntu and am having a problem where it will sometimes go black when I try to exit and the only thing I can do is restart. It has done it very occasionally in other situations like when a video finishes playback or when starting a music file. I'll post the crash log below, it looks pretty much the same every time. I don't know what signal 11 or segmentation is but I assume the problem has to do with that? I'm a complete newbie when it comes to Ubuntu and XBMC so any help with step by step instructions would be much appreciated! Even if someone could tell me how to kill the process when this happens would be very helpful.

############## XBMC CRASH LOG ###############

################ SYSTEM INFO ################
Date: Tue Feb 22 20:32:14 EST 2011
XBMC Options:
Arch: x86_64
Kernel: Linux 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011
Release:
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
############## END SYSTEM INFO ##############

############### STACK TRACE #################
=====> Core file: /home/media-box/core (2011-02-22 20:32:14.010080997 -0500)
=========================================
[New Thread 1728]
[New Thread 1766]
[New Thread 1751]
[New Thread 1767]
Core was generated by `/usr/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fe84c8ad27a in ?? () from /lib/libc.so.6

Thread 4 (Thread 1767):
#0 0x00007fe851ee3da0 in sem_wait () from /lib/libpthread.so.0
#1 0x00007fe8451d8188 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2 0x00007fe8451d80ad in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3 0x00007fe851edd971 in start_thread () from /lib/libpthread.so.0
#4 0x00007fe84c91992d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 3 (Thread 1751):
#0 0x00007fe84c90d203 in poll () from /lib/libc.so.6
#1 0x00007fe85585ee1a in ?? () from /usr/lib/libavahi-common.so.3
#2 0x00007fe85585d9cb in avahi_simple_poll_run () from /usr/lib/libavahi-common.so.3
#3 0x00007fe85585e0fd in avahi_simple_poll_iterate () from /usr/lib/libavahi-common.so.3
#4 0x00007fe85585e12d in avahi_simple_poll_loop () from /usr/lib/libavahi-common.so.3
#5 0x00007fe85585ec6c in ?? () from /usr/lib/libavahi-common.so.3
#6 0x00007fe851edd971 in start_thread () from /lib/libpthread.so.0
#7 0x00007fe84c91992d in clone () from /lib/libc.so.6
#8 0x0000000000000000 in ?? ()

Thread 2 (Thread 1766):
#0 0x00007fe851ee3da0 in sem_wait () from /lib/libpthread.so.0
#1 0x00007fe8451d8188 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2 0x00007fe8451d80ad in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3 0x00007fe851edd971 in start_thread () from /lib/libpthread.so.0
#4 0x00007fe84c91992d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()

Thread 1 (Thread 1728):
#0 0x00007fe84c8ad27a in ?? () from /lib/libc.so.6
#1 0x00007fe84c8b0c83 in free () from /lib/libc.so.6
#2 0x0000000000ab23cb in CTextureBundleXBT::~CTextureBundleXBT() ()
#3 0x0000000000aaf561 in CTextureBundle::~CTextureBundle() ()
#4 0x0000000000a8b3a6 in CGUITextureManager::~CGUITextureManager() ()
#5 0x00007fe84c86c4f2 in exit () from /lib/libc.so.6
#6 0x00007fe84c53e7f4 in _XDefaultIOError () from /usr/lib/libX11.so.6
#7 0x00007fe84c53e86e in _XIOError () from /usr/lib/libX11.so.6
#8 0x00007fe84c546415 in ?? () from /usr/lib/libX11.so.6
#9 0x00007fe84c5469b0 in _XReply () from /usr/lib/libX11.so.6
#10 0x00007fe84c533dbd in XQueryExtension () from /usr/lib/libX11.so.6
#11 0x00007fe84c528202 in XInitExtension () from /usr/lib/libX11.so.6
#12 0x00007fe84e045782 in XextAddDisplay () from /usr/lib/libXext.so.6
#13 0x00007fe855ef90ff in XF86DRIDestroyContext () from /usr/lib/fglrx/libGL.so.1
#14 0x00007fe8459ea23c in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#15 0x00007fe855ed24ce in ?? () from /usr/lib/fglrx/libGL.so.1
#16 0x00007fe855ed27bb in glXDestroyContext () from /usr/lib/fglrx/libGL.so.1
#17 0x0000000000980d51 in CWinSystemX11:Big GrinestroyWindowSystem() ()
#18 0x00000000006d0e4a in CApplication::Stop() ()
#19 0x00000000008eb985 in CApplicationMessenger:TonguerocessMessage(ThreadMessage*) ()
#20 0x00000000008eeb12 in CApplicationMessenger:TonguerocessMessages() ()
#21 0x00000000006e18d0 in CApplication:Tonguerocess() ()
#22 0x0000000000a7c6b9 in CGUIWindowManager:Tonguerocess(bool) ()
#23 0x0000000000a303f0 in CGUIDialog:Big GrinoModal_Internal(int, CStdStr<char> const&) ()
#24 0x00000000008eb267 in CApplicationMessenger:TonguerocessMessage(ThreadMessage*) ()
#25 0x00000000008ecac3 in CApplicationMessenger::SendMessage(ThreadMessage&, bool) ()
#26 0x00000000008ed009 in CApplicationMessenger:Big GrinoModal(CGUIDialog*, int, CStdStr<char> const&) ()
#27 0x0000000000a8037f in CGUIWindowManager::ActivateWindow_Internal(int, std::vector<CStdStr<char>, std::allocator<CStdStr<char> > > const&, bool) ()
#28 0x000000000061b351 in CBuiltins::Execute(CStdStr<char> const&) ()
#29 0x00000000006df046 in CApplication::ExecuteXBMCAction(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) ()
#30 0x00000000006df528 in CApplication::ExecuteAction(CGUIActionDescriptor) ()
#31 0x00000000006dfc1d in CApplication::OnMessage(CGUIMessage&) ()
#32 0x0000000000a7cc13 in CGUIWindowManager::SendMessage(CGUIMessage&) ()
#33 0x0000000000a13db7 in CGUIButtonControl::OnClick() ()
#34 0x0000000000a11da1 in CGUIButtonControl::OnAction(CAction const&) ()
#35 0x0000000000a768c7 in CGUIWindow::OnAction(CAction const&) ()
#36 0x0000000000a7c92b in CGUIWindowManager::OnAction(CAction const&) ()
#37 0x00000000006d9d14 in CApplication::OnAction(CAction const&) ()
#38 0x00000000006db7cb in CApplication::OnKey(CKey const&) ()
#39 0x00000000006dbefc in CApplication:TonguerocessKeyboard() ()
#40 0x00000000006dc04a in CApplication::OnEvent(XBMC_Event&) ()
#41 0x000000000094bb22 in CWinEventsSDL::MessagePump() ()
#42 0x00000000006e35b1 in CApplication::FrameMove() ()
#43 0x0000000000907e19 in CXBApplicationEx::Run() ()
#44 0x0000000000908750 in main ()
############# END STACK TRACE ###############


############ END XBMC CRASH LOG #############
Reply
#2
I am experiencing the same issue, I will post some excerpts from my logs later. I have the debug log, where do I find the crash log?
Reply
#3
lithiumc Wrote:I am experiencing the same issue, I will post some excerpts from my logs later. I have the debug log, where do I find the crash log?

Crash log should be in the user's home directory with a filename along the lines of the below

xbmc_crashlog-20110211_225153.log
Mythbuntu Maverick 64-bit Mythtv & XBMC E6300, GT430, Antec Minuet 350, 2GB DDR-800 Ram, Gigabyte G-31M-E2SL, Yamaha RXv-1800 over HDMI @ 1080p to Sony Bravia 55" LCD 100HZ, Focal-JM Labs 826/806 speakers & Velodyne CHT-12R sub... "mmm, nice."
Reply
#4
i'm experiencing the same thing, something to do with libcrystalhd i suspect.

i seem to have fix things by

Code:
sudo apt-get purge xbmc* libcrystalhd3
sudo reboot
sudo apt-get install xbmc xbmc-standalone
sudo service gdm restart

I'm not to clear on what libcrystalhd is or if i need it...
Reply
#5
I would like to be able to keep the regular version of XBMC because I switch back and forth so much between it and Ubuntu, sometimes even windowing it temporarily so I can get on the internet. Are you saying that by installing libcrystalhd the problem might be solved?
Reply
#6
Can I ask what TVs you are using ?

This sounds very similar to what I am experiecing with my ion box.

Specifically losing the display when video ends or more often when using change display rate to match video source.

However this issue for me is only with my LG tv, my sony / samsung no problem.

Just a thought.....
Reply
#7
195 drivers work fine with lg, all other you get the hanging on black with lg tvs.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC hanging on black0