Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
[AppleTV2] Intermittent crash on launch
#16
I have the same problem, running my own build (latest commit from 2011-01-27).

It seems like this only happens after the AppleTV was sleeping. A consecutive launch after exiting xbmc works.
Reply
#17
weak Wrote:It seems like this only happens after the AppleTV was sleeping. A consecutive launch after exiting xbmc works.

Yup, noticed that too.
Reply
#18
Still no acknowledgement of a bug yet?

Now trying the unofficial build and it's the same there too.

Pretty much every start I get a black screen then it re-loads the Apple TV menu, 2nd launch is always good.
Reply
#19
Mr Zippy Wrote:Now trying the unofficial build and it's the same there too.

I'm compiling a new version every day, the problem is still there (currently commit from 2011-02-01)
Reply
#20
me too's don't help, full xbmc.log to a pastebin site might.
Reply
#21
davilla Wrote:me too's don't help, full xbmc.log to a pastebin site might.

xbmc doesn't write anything to the log when it fails to launch (and yes, I'm looking at the new path: /var/mobile/Library/Preferences/XBMC/temp/xbmc.log)

I can only offer you a log of the consecutive launch, but I'm afraid that won't help much:
Code:
Apple-TV:~ root# tail /var/mobile/Library/Preferences/XBMC/temp/xbmc.log
17:11:33 T:143716352 M:139255808  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
17:11:33 T:143716352 M:139255808  NOTICE: GL_EXTENSIONS = GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_OES_depth24 GL_OES_depth_texture GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object
17:11:34 T:143716352 M:133918720  NOTICE: initializing playlistplayer
17:11:34 T:143716352 M:133918720  NOTICE: DONE initializing playlistplayer
17:11:37 T:143716352 M:131301376  NOTICE: initialize done
17:11:37 T:143716352 M:131301376  NOTICE: Running the application...
17:11:37 T:143716352 M:131301376  NOTICE: ES: Starting event server
17:11:37 T:154152960 M:131293184  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
17:11:37 T:154152960 M:131293184  NOTICE: UDP: Listening on port 9777
17:11:37 T:154685440 M:131289088   ERROR: JSONRPC Server: Failed to bind serversocket

when exiting xbmc it writes to the log again:
Code:
Apple-TV:~ root# tail /var/mobile/Library/Preferences/XBMC/temp/xbmc.log
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888  NOTICE: unload sections
17:11:46 T:143716352 M:112549888  NOTICE: application stopped...

Any other logs you're interested in?
Reply
#22
weak Wrote:xbmc doesn't write anything to the log when it fails to launch (and yes, I'm looking at the new path: /var/mobile/Library/Preferences/XBMC/temp/xbmc.log)

I can only offer you a log of the consecutive launch, but I'm afraid that won't help much:
Code:
Apple-TV:~ root# tail /var/mobile/Library/Preferences/XBMC/temp/xbmc.log
17:11:33 T:143716352 M:139255808  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
17:11:33 T:143716352 M:139255808  NOTICE: GL_EXTENSIONS = GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_OES_depth24 GL_OES_depth_texture GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object
17:11:34 T:143716352 M:133918720  NOTICE: initializing playlistplayer
17:11:34 T:143716352 M:133918720  NOTICE: DONE initializing playlistplayer
17:11:37 T:143716352 M:131301376  NOTICE: initialize done
17:11:37 T:143716352 M:131301376  NOTICE: Running the application...
17:11:37 T:143716352 M:131301376  NOTICE: ES: Starting event server
17:11:37 T:154152960 M:131293184  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
17:11:37 T:154152960 M:131293184  NOTICE: UDP: Listening on port 9777
17:11:37 T:154685440 M:131289088   ERROR: JSONRPC Server: Failed to bind serversocket

when exiting xbmc it writes to the log again:
Code:
Apple-TV:~ root# tail /var/mobile/Library/Preferences/XBMC/temp/xbmc.log
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
17:11:46 T:143716352 M:112549888  NOTICE: unload sections
17:11:46 T:143716352 M:112549888  NOTICE: application stopped...

Any other logs you're interested in?

syslog
Reply
#23
davilla Wrote:syslog

Here you go.
And thx for taking a look...
Reply
#24
davilla Wrote:me too's don't help, full xbmc.log to a pastebin site might.

In case it helps, here's my xbmc log:
http://pastebin.com/6bKZ9E2H

Haven't been able to find the syslog though. /etc/syslog.conf says /var/log/syslog but there's no file there. Tried touching the file and kill -HUP on syslogd but file is still empty. There's a kernel.log but it's empty too. Maybe I need to turn up the debug level somewhere.

EDIT: killall AppleTV got syslog going, I'll eventually repost with the latest xbmc.log and syslog next time it crashes.
Reply
#25
I'm not sure, but maybe you need to install syslogd from nitotv?

apt-get install syslogd
Reply
#26
pvautrin Wrote:I'm not sure, but maybe you need to install syslogd from nitotv?
apt-get install syslogd

Naw, syslogd is already installed, otherwise it wouldn't have been running and I wouldn't have been able to send it the HUP signal via the kill command.

Once again, 'killall AppleTV' saves the day.
Reply
#27
I see meshuga lists this as a confirmed bug whereas davilla doesn't yet...

Do I still need to grab some logs to get it confirmed, as I can look later today hopefully?
Reply
#28
Mr Zippy Wrote:I see meshuga lists this as a confirmed bug whereas davilla doesn't yet...

Do I still need to grab some logs to get it confirmed, as I can look later today hopefully?

i've already posted a syslog above, I guess that should be enough ->

Code:
17:05:15 Apple-TV AppleTV[829]: -[BRBackgroundTaskManager holdOffBackgroundTasks]: unrecognized selector sent to instance 0x4dee60
Reply
#29
For a temporary fix, just comment out line 523 in XBMCController.mm and recompile:

Code:
523: //[[BRBackgroundTaskManager singleton] holdOffBackgroundTasks];


Dunno if it breaks something else, but until it gets properly fixed...
Reply
#30
weak Wrote:Here you go.
And thx for taking a look...

Also would like to see /var/mobile/Library/Logs/CrashReporter/AppleTV_2011-02-02-171122_Apple-TV.plist
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTV2] Intermittent crash on launch0