2014-09-17, 09:22
(2014-09-17, 07:40)darzur Wrote: Noticed that too, but in my case it's KODI that restarts itself. Since maybe two updates KODI (only KODI, not entire OpenElec) restarts randomly. Then, if it was suspended, it brings TV out of standby.
(2014-09-17, 08:09)mikeb93 Wrote: I've had this problem for months now... This is really annoying..
For those with unexplained crashes/restarts, I've uploaded a recent debug build based on #0915 (although the build code is #0916, meh).
*DEBUG* download link (245MB)
To test:
- You'll need a 512MB Pi with a FAT partition of at least 300MB. Install the debug build as normal, copying the tar to your .update/Update folder and reboot.
- Reduce gpu_mem to 128 or as low as you can live with while still able to reproduce the problem. It may be possible for gdb to load all the symbols with higher gpu_mem and a dose of swap (128MB+) but expect it to be quite slow.
- Shut down and then restart Kodi with gdb:
Code:systemctl stop kodi
gdb -iex "thread apply all bt" -ex run --args /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd - When kodi.bin eventually crashes, control will return to gdb. Now is the time to print the backtrace. In gdb, type:
Code:bt
Copy and paste your gdb session to pastebin.com or xbmclogs.com.
Once a backtrace is available it should give some clues (maybe even all the clues) to understand what is happening and enable a developer to work on a fix.
Without a backtrace it's very unlikely there will be a fix for random crashes.
Edit: Fix commands due to rebranding