OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)
I've uploaded another debug build, #0715b, that is basically the same as #0714b but includes PR5034, fixing the segmentation fault when running script.grab.fanart (and possibly others).

Please test this build and if you experience more crashes then paste a backtrace and hopefully someone (most probably @jmarshallnz) will be able to pinpoint where the fix needs to be applied. Without a backtrace this is much more difficult, if not impossible.

Apart from being significantly bigger than a regular build (260MB vs. 117MB) due to all the debug symbols etc., it should behave the same as a regular (non-debug) build, maybe running a little bit slower.

However, when run under gdb (the Linux debugger) it will allow a backtrace to be obtained. You'll only need to run it under gdb if you want a backtrace, otherwise install and run it as you would a non-debug build.

It won't be possible to run this build under gdb on a 256MB board, but running without gdb should work (probably).

Once we're happy that the recent changes are no longer causing a problem I'll switch back to non-debug builds.

To capture a backtrace with gdb:
  1. Make as much RAM available as possible. Ways to increase available RAM include:
    • Addding "noram" to /flash/cmdline.txt to stop OpenELEC loading the SYSTEM image into RAM
    • Dropping gpu_mem as low as possible, eg. 96
    • Running the GUI at 720p and disabling higher quality textures
    • Adding 128MB of swap might help, but is very slow and the Pi might appear to freeze when using swap
  2. If necessary, reboot with the new memory configuration set in #1
  3. Execute the following in ssh:
    Code:
    systemctl stop xbmc
    gdb /usr/lib/xbmc/xbmc.bin
  4. In gdb, execute the following commands:
    Code:
    thread apply all bt
    run --standalone -fs
  5. Once the crash occurs and control returns to gdb, execute the following command to output the backtrace:
    Code:
    bt
See here for a worked example.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
Re: RE: - by Mafarricos - 2014-06-04, 20:21
Live tv issues again - by pootler - 2014-06-04, 23:29
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by Milhouse - 2014-07-15, 08:20
RE: OpenELEC Testbuilds for RaspberryPi Part 3, - by removed151214 - 2014-08-04, 23:38
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-08-19, 00:11
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-08-21, 20:42
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:20
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:34
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:44
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-23, 01:12
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-23, 23:24
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-25, 01:38
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-01, 18:12
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-01, 18:26
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-05, 01:07
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 03:48
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 04:06
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 11:29
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)8