PDA

View Full Version : [ATV] XBMC crash when holding menu button to scan library


tiscover
2009-02-16, 11:42
Hi!

i am in trouble here: as soon as hold the "menu button", to scan a folder, XBMC crashes... i happens with all skins...

Can somebody help please?

Thanks,

tiscover

MaestroDD
2009-02-16, 19:40
without logs: No, sorry.

tiscover
2009-02-16, 20:45
what kind of logs do you need? and where can i find them?

Thanks. tiscover

tslayer
2009-02-16, 20:48
How about you read the links in his (or my) signature.

boasist
2009-02-22, 18:43
I am having the same issue. here is my link to the xbmc crash log. Hope it helps.

http://pastebin.com/d3e1579f7

skorpi0wn
2009-03-06, 07:45
It happens on Apple TV. When I am in Videos and the cursor is on the left menu I hold down the Menu button and it crashes.

Log:

-bash-2.05b$ cat xbmc.log
05:36:40 T:2684407808 M: 43962368 NOTICE: Mapping drive Z to /tmp/xbmc
05:36:40 T:2684407808 M: 43958272 NOTICE: Mapping drive Q to /Applications/XBMC.app/Contents/Resources/XBMC
05:36:40 T:2684407808 M: 43954176 NOTICE: Mapping drive U to /Users/frontrow/Library/Application Support/XBMC
05:36:40 T:2684407808 M: 43954176 NOTICE: Mapping drive T to /Users/frontrow/Library/Application Support/XBMC/userdata
05:36:40 T:2684407808 M: 43954176 WARNING: CopyFile, cant open file </Applications/XBMC.app/Contents/Resources/XBMC/userdata/Lircmap.xml>. trying to use lowercase </applications/xbmc.app/contents/resources/xbmc/userdata/lircmap.xml>
05:36:40 T:2684407808 M: 43954176 ERROR: CopyFile - cant open source file </Applications/XBMC.app/Contents/Resources/XBMC/userdata/Lircmap.xml>
05:36:40 T:2684407808 M: 43954176 NOTICE: -----------------------------------------------------------------------
05:36:40 T:2684407808 M: 43954176 NOTICE: Starting XBMC, Platform: Mac OS X. Built on Dec 18 2008
05:36:40 T:2684407808 M: 43954176 NOTICE: Q is mapped to: /Applications/XBMC.app/Contents/Resources/XBMC
05:36:40 T:2684407808 M: 43954176 NOTICE: The executable running is: /Applications/XBMC.app/Contents/MacOS/XBMC
05:36:40 T:2684407808 M: 43954176 NOTICE: Log File is located: /Users/frontrow/Library/Logs/xbmc.log
05:36:40 T:2684407808 M: 43954176 NOTICE: -----------------------------------------------------------------------
05:36:40 T:2684407808 M: 43954176 NOTICE: Setup SDL
05:36:40 T:2684407808 M: 43495424 NOTICE: load settings...
05:36:40 T:2684407808 M: 43495424 NOTICE: Mapping drive P to /Users/frontrow/Library/Application Support/XBMC/userdata
05:36:40 T:2684407808 M: 43495424 NOTICE: loading /Users/frontrow/Library/Application Support/XBMC/userdata/guisettings.xml
05:36:40 T:2684407808 M: 43417600 NOTICE: Getting hardware information now...
05:36:40 T:2684407808 M: 43417600 NOTICE: Checking resolution 10
05:36:40 T:2684407808 M: 43417600 NOTICE: Setting autoresolution mode 3
05:36:40 T:2684407808 M: 43413504 NOTICE: Loaded advancedsettings.xml from /Users/frontrow/Library/Application Support/XBMC/userdata/advancedsettings.xml
05:36:40 T:2684407808 M: 43413504 NOTICE: Getting hardware information now...
05:36:40 T:2684407808 M: 43413504 NOTICE: Checking resolution 10
05:36:40 T:2684407808 M: 43413504 NOTICE: Setting autoresolution mode 3
05:36:40 T:2684407808 M: 43413504 NOTICE: /Users/frontrow/Library/Application Support/XBMC/userdata/sources.xml
05:36:41 T:2684407808 M: 28577792 NOTICE: start dvd mediatype detection
05:36:41 T:2684407808 M: 28545024 NOTICE: initializing playlistplayer
05:36:41 T:2684407808 M: 28540928 NOTICE: DONE initializing playlistplayer
05:36:41 T:2684407808 M: 28540928 NOTICE: load default skin:[PM3.HD]
05:36:42 T:2684407808 M: 26058752 NOTICE: initialize done
05:36:42 T:2684407808 M: 26054656 NOTICE: Running the application...
05:36:42 T:2684407808 M: 25731072 NOTICE: Webserver: Starting...
05:36:42 T:43070464 M: 25726976 NOTICE: Webserver: Started
05:36:42 T:2684407808 M: 21368832 NOTICE: ES: Starting event server
05:36:42 T:43084288 M: 21360640 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
05:36:42 T:43084288 M: 21360640 NOTICE: UDP: Listening on port 9777
05:38:27 T:2684407808 M: 15568896 NOTICE: ES: Not stopping event server
05:38:34 T:2684407808 M: 15843328 NOTICE: Enabled debug logging due to GUI setting
05:39:02 T:2684407808 M: 15532032 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
05:39:02 T:2684407808 M: 15540224 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
05:39:02 T:2684407808 M: 15540224 DEBUG: Settings - System
05:39:02 T:2684407808 M: 15540224 DEBUG: -------------------
05:39:03 T:2684407808 M: 37957632 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
05:39:03 T:2684407808 M: 37957632 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
05:39:03 T:2684407808 M: 37957632 DEBUG: Settings
05:39:03 T:2684407808 M: 37957632 DEBUG: -------------------
05:39:03 T:2684407808 M: 37957632 INFO: Loading skin file: Settings.xml
05:39:03 T:2684407808 M: 37957632 DEBUG: Load Settings.xml: 25.93ms
05:39:03 T:2684407808 M: 37654528 DEBUG: Alloc resources: 31.43ms (26.42 ms skin load, 0.65 ms preload)
05:39:04 T:2684407808 M: 11661312 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
05:39:04 T:2684407808 M: 11657216 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
05:39:04 T:2684407808 M: 11657216 DEBUG: Settings
05:39:04 T:2684407808 M: 11657216 DEBUG: -------------------
05:39:05 T:2684407808 M: 37842944 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
05:39:05 T:2684407808 M: 37842944 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
05:39:05 T:2684407808 M: 37842944 DEBUG: Home
05:39:05 T:2684407808 M: 37842944 DEBUG: -------------------
05:39:05 T:2684407808 M: 37842944 INFO: Loading skin file: Home.xml
05:39:05 T:2684407808 M: 37842944 DEBUG: Load Home.xml: 40.60ms
05:39:05 T:2684407808 M: 37609472 DEBUG: Alloc resources: 45.56ms (41.07 ms skin load, 0.27 ms preload)
05:39:05 T:43120640 M: 15949824 DEBUG: Running thread 43120640
05:39:05 T:43120640 M: 15966208 DEBUG: thread start, auto delete: 1
05:39:05 T:43120640 M: 9396224 DEBUG: staticThread, deleting thread object
05:39:05 T:43120640 M: 9396224 DEBUG: staticThread, deleting thread graphic context
05:39:05 T:43120640 M: 9396224 DEBUG: Thread 43120640 terminating
05:39:07 T:2684407808 M: 4939776 DEBUG: Loading: /Applications/XBMC.app/Contents/Resources/XBMC/system/ImageLib-osx.so
05:39:07 T:2684407808 M: 4493312 DEBUG: PICTURE: loaded image and created texture. height: 128, width: 128
05:39:10 T:2684407808 M: 13488128 DEBUG: OnMessage : Translating ActivateWindow(Videos)
05:39:10 T:2684407808 M: 13488128 DEBUG: OnMessage : To ActivateWindow(Videos)
05:39:10 T:2684407808 M: 13488128 DEBUG: Activating window ID: 10024
05:39:10 T:2684407808 M: 13488128 DEBUG: Checking if window ID 10024 is locked.
05:39:10 T:2684407808 M: 13488128 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
05:39:10 T:2684407808 M: 13488128 DEBUG: Home
05:39:10 T:2684407808 M: 13488128 DEBUG: -------------------
05:39:11 T:2684407808 M: 48496640 INFO: Attempting to default to:
05:39:11 T:2684407808 M: 48439296 DEBUG: ------------------- GUI_MSG_WINDOW_INIT
05:39:11 T:2684407808 M: 48439296 DEBUG:
05:39:11 T:2684407808 M: 48439296 DEBUG: -------------------
05:39:11 T:2684407808 M: 48439296 INFO: Loading skin file: MyVideo.xml
05:39:11 T:2684407808 M: 48435200 WARNING: CUtil::GetMatchingSource... no matching source found for [Video Plugins]
05:39:11 T:2684407808 M: 48435200 DEBUG: Load MyVideo.xml: 54.21ms
05:39:11 T:2684407808 M: 48070656 DEBUG: Alloc resources: 61.17ms (54.54 ms skin load, 0.79 ms preload)
05:39:11 T:2684407808 M: 48066560 DEBUG: CGUIMediaWindow::GetDirectory ()
05:39:11 T:2684407808 M: 48066560 DEBUG: ParentPath = []
05:39:11 T:2684407808 M: 48066560 DEBUG: Sort, sorting took 0 millis
05:39:11 T:43129856 M: 48062464 DEBUG: Running thread 43129856
05:39:11 T:43129856 M: 48062464 DEBUG: thread start, auto delete: 0
05:39:11 T:43129856 M: 45420544 DEBUG: staticThread, deleting thread graphic context
05:39:11 T:43129856 M: 45420544 DEBUG: Thread 43129856 terminating

davilla
2009-03-06, 07:54
skorpi0wn, next time use a pastebin site (www.pastebin.com)

I don't see anything useful in xbmc.log. See my sig to get console.log and crashreporter log which will be much more important.

boasist
2009-03-07, 19:58
My pastebin crashreporter - http://pastebin.com/md5f4fb6

My pastebin console - http://pastebin.com/m4742d141

added latest console log

boasist
2009-03-21, 06:30
bump for added console log finally. fresh errors in there too.

davilla
2009-03-21, 06:43
Hard to tell what is going on. I suggest moving to one of the 3rd party builds that is closer to the current svn source code.

boasist
2009-03-21, 15:01
thank you. Was just going to try going "fresh".

boasist
2009-03-21, 16:58
attempting to apply the latest atv build I failed. I used HFSExplorer on vista to extract the dmg. Then followed the instructions and all went OK. Yet atv would bounce back to finder when attempting to launch xbmc. I must have been an error during the .dmg extraction. Was getting duplicate folder exists message, do you wish to rename?

I then did a factory reset on the atv. And ran the patchstick and all from scratch. Back on the PM skin by default now after a successful flash. Yet same issue still occurs, added a source. Then hold menu for scan, crash back to xbmc home screen occurs.

MaestroDD
2009-03-21, 21:03
Hi,

attempting to apply the latest atv build I failed. I used HFSExplorer on vista to extract the dmg. Then followed the instructions and all went OK. Yet atv would bounce back to finder when attempting to launch xbmc. I must have been an error during the .dmg extraction. Was getting duplicate folder exists message, do you wish to rename?


hard to tell without exactly seeing error messages / logs :/

I then did a factory reset on the atv. And ran the patchstick and all from scratch. Back on the PM skin by default now after a successful flash. Yet same issue still occurs, added a source. Then hold menu for scan, crash back to xbmc home screen occurs.

I'm confused. It goes back to xbmc homescreen or back to Finder?
Also, which versions? ATV seems 2.3, Launcher? XBMC?

Please post again with the new logs. I just tried on ATV 2.3, Launcher 0.9 atlantis-bf1 and everything seems to work fine.

boasist
2009-03-22, 00:36
OK
XBMC - atlantis bf1
Atv - 2.3.1
Launcher 2.3

console - http://pastebin.com/m3ad5e656
xbmc - http://pastebin.com/m5da622d3

no crashreporter yet as xbmc hasn't crashed I suppose.

Clarification - yes it has always been crashing back to the xbmc home screen. Not finder.

MaestroDD
2009-03-22, 02:35
OK
XBMC - atlantis bf1
Atv - 2.3.1
Launcher 2.3

console - http://pastebin.com/m3ad5e656


I wonder where those
"Unknown button for cookiestring 281_17_9_280_"
"Unknown button for cookiestring 280_"
in console log come frome. Are you using a learned remote or did you pair your remote?

OK
[...]
Clarification - yes it has always been crashing back to the xbmc home screen. Not finder.

hah, in the old days before iPhone, devs didn't consider going back to home screen could be a crash :)

boasist
2009-03-22, 03:29
yes i used my apple remote and taught my harmony one the codes. Been using that since day 1.

Now when I hold the menu button it seems to just issue several menu commands. I see it bouncing back to the step before. As the menu button should, yet holding it doesn't bring up the submenu.

boasist
2009-03-22, 14:36
perhaps your suspicsions were correct. After noticing the above from the harmony remote. I pulled out my iphone and got the xbmc remote app. Added the contextual menu to the remote, and all was OK. So the app has no issue at all carrying out my command for the menu. This is probably an error with the harmony remote and how it doesn't know what to do when I hold down a button. It only knows the base command of menu, not the secondary command of hold menu for contextual menu.

Lessone learned. Hopefully the logs will assist in other areas.

MaestroDD
2009-03-22, 17:18
hey boasist,

while this thread (http://xbmc.org/forum/showthread.php?t=39209)is quite long it may have some insights about programming the harmony. IIRC the Harmony should be able to learn the "Hold" command from the Apple Remote.