XBMC crash after sitting idle and then trying to play a video.
#16
I tried to reproduce the problem with suspended HDDs. I attached an USB HDD to my mac and shared it via AFP. I then told it to spindown after 1 minute idle.

I didn't get it to crash. I tried different approaches (paused a movie and resumed after hdd entered suspend, same while browsing and so on).

It takes some time where the busy icon in xbmc appears but the hdd just spins up and everything continued to work.

I can't even try to fix something i can't reproduce ... sorry mates...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#17
I have been having the same issue since Eden Beta1 I think, although I am streaming from SMB share (Synology NAS). No AFP here.
No HDD power management spindown configured on the NAS.

ATV2, iOS 4.4.4, Eden final (11.0 Git:20120321-14feb09, installed from NitoTV).

I first thought it had something to do with the screensaver (DIM) option, but I disabled it and could reproduce the bug anyway.


I can reproduce it quickly: position cursor on a movie, let it idle for over 2 mins (e.g. 2m05s), hit arrow down, then up, then hit select to start playing = xbmc crash back to frontrow. Redoing the same steps, I am able to browse to different menus, even show movie informations, it works fine until I attempt to start playing a movie.

Looking at the debug log, the crash seems to happen after the following event has triggered:
22:18:15 T:143400960 NOTICE: Samba is idle. Closing the remaining connections

which seems to happen pretty much 2 mins after my last remote button press.
If I let idle for only like 1m45s I can start playing the movie just fine. Then stop playing, wait a bit more than 2 mins, try to play again, then it crashes again.


-EDIT-
[links to logs removed]

Apparently the fix is to uninstall FireCore's Media Player.
See post #4 here and post #7 here

I wish I had found these posts before Smile
Reply
#18
I see this is half a year old but I have this problem constantly on my WD elements connected through an airport extreme. Using the newest XBMC - once the disk goes in to idle (e.g. pausing a movie and waiting a minute) I can guarantee XBMC crashes.

I just did the above: I can't post the complete crash log because it's too long. Anyone interested? I can send it through...

Process: XBMC [1211]
Path: /Applications/XBMC.app/Contents/MacOS/XBMC
Identifier: com.teamxbmc.xbmc
Version: 12.0.rc2 (Git-20121219-74b907c)
Code Type: X86-64 (Native)
Parent Process: launchd [271]


Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.teamxbmc.xbmc 0x0000000100536d19 CGUIControlGroup::AllocResources() + 49
1 com.teamxbmc.xbmc 0x0000000100536d2f CGUIControlGroup::AllocResources() + 71
2 com.teamxbmc.xbmc 0x0000000100536d2f CGUIControlGroup::AllocResources() + 71
3 com.teamxbmc.xbmc 0x0000000100536d2f CGUIControlGroup::AllocResources() + 71
4 com.teamxbmc.xbmc 0x00000001005844c8 CGUIWindow::AllocResources(bool) + 438
5 com.teamxbmc.xbmc 0x0000000100582171 CGUIWindow::OnMessage(CGUIMessage&) + 319
6 com.teamxbmc.xbmc 0x000000010014fd6a CGUIMediaWindow::OnMessage(CGUIMessage&) + 2978
7 com.teamxbmc.xbmc 0x00000001001be263 CGUIWindowVideoBase::OnMessage(CGUIMessage&) + 341
8 com.teamxbmc.xbmc 0x00000001001da7f8 CGUIWindowVideoNav::OnMessage(CGUIMessage&) + 628
9 com.teamxbmc.xbmc 0x0000000100589af3 CGUIWindowManager:TonguereviousWindow() + 1669
10 com.teamxbmc.xbmc 0x0000000100020db0 CApplication::OnMessage(CGUIMessage&) + 3272
11 com.teamxbmc.xbmc 0x000000010002141d non-virtual thunk to CApplication::OnMessage(CGUIMessage&) + 13
12 com.teamxbmc.xbmc 0x000000010058a3f5 CGUIWindowManager::SendMessage(CGUIMessage&) + 85
13 com.teamxbmc.xbmc 0x000000010058a812 CGUIWindowManager:Big GrinispatchThreadMessages() + 196
14 com.teamxbmc.xbmc 0x000000010002005a CApplication:Tonguerocess() + 22
15 com.teamxbmc.xbmc 0x00000001005882ad CGUIWindowManager:TonguerocessRenderLoop(bool) + 57
16 com.teamxbmc.xbmc 0x000000010053bd2e CGUIDialog:Big GrinoModal_Internal(int, CStdStr<char> const&) + 270
17 com.teamxbmc.xbmc 0x000000010017c8e8 CGUIWindowFullScreen::OnMouseEvent(CPoint const&, CMouseEvent const&) + 636
18 com.teamxbmc.xbmc 0x00000001005360cc CGUIControlGroup::SendMouseEvent(CPoint const&, CMouseEvent const&) + 328
19 com.teamxbmc.xbmc 0x0000000100582028 CGUIWindow::OnMouseAction(CAction const&) + 306
20 com.teamxbmc.xbmc 0x0000000100582b56 CGUIWindow::OnAction(CAction const&) + 242
21 com.teamxbmc.xbmc 0x000000010017f881 CGUIWindowFullScreen::OnAction(CAction const&) + 6661
22 com.teamxbmc.xbmc 0x0000000100587f3f CGUIWindowManager::OnAction(CAction const&) + 595
23 com.teamxbmc.xbmc 0x00000001000227d8 CApplication::OnAction(CAction const&) + 434
24 com.teamxbmc.xbmc 0x00000001000245be CApplication:TonguerocessMouse() + 456
25 com.teamxbmc.xbmc 0x000000010001dd91 CApplication::OnEvent(XBMC_Event&) + 175
26 com.teamxbmc.xbmc 0x000000010041e2a6 CWinEventsSDL::MessagePump() + 396
27 com.teamxbmc.xbmc 0x000000010067e93b CWinEventsOSX::MessagePump() + 9
28 com.teamxbmc.xbmc 0x000000010001ff69 CApplication::FrameMove(bool, bool) + 193
29 com.teamxbmc.xbmc 0x000000010038cfe5 CXBApplicationEx::Run() + 261
30 com.teamxbmc.xbmc 0x000000010038d3e9 XBMC_Run + 217
31 com.teamxbmc.xbmc 0x000000010081047d SDL_main + 189
32 com.teamxbmc.xbmc 0x0000000100810da0 main + 1632
33 com.teamxbmc.xbmc 0x000000010000d9b4 start + 52
Reply
#19
use pastebin.com and put the link in here - and read my post some posts above yours.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC crash after sitting idle and then trying to play a video.0