Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture standard out and standard error for xbmc #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Capture standard out and standard error for xbmc #54

wants to merge 1 commit into from

Conversation

toys4me
Copy link
Contributor

@toys4me toys4me commented Mar 16, 2013

This way we log exceptions when xbmc restarts, so we actually have a clue what assertion or exception was thrown. Makes it much easier to find reason for segfaults because can actually see log for the segfault.

logged to /root/.xbmc/temp/xbmcstart.log and xbmcstart.old.log

That way we log exceptions when xbmc reboots, so we actually have a clue whhat assertion or exception was thrown.
logged to /root/.xbmc/temp/xbmcstart.log
@davilla
Copy link
Contributor

davilla commented Mar 19, 2013

when I crash, I get an error code which useless. what are other examples of useful info that might be captured. One other concern is filling the disk as xbmc will be restarted again and again if it keeps crashing.

@toys4me
Copy link
Contributor Author

toys4me commented Mar 19, 2013

http://www.pivosforums.com/viewtopic.php?f=25&t=2554&start=200#p26515 for one.

Also get stack dumps out of xbmc when get errors for jump to unknown location and other errors during bad video playback. Will go back and reproduce that so I can show you the output from that.

The disk filling up due to disk thrashing on infinite crashes would be a problem but seems like a symptom of a bigger problem. Should there be some kind of sanity limiter on the until loop that after a certain amount of tries that it gives up and stops trying?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants