running 0409x, watched a TV show without an image if that matters, played fine. Went to watch the next in the series also without an image and kodi crashed and rebooted, it did that 3x, then I rebooted the whole RPi3 via SSH, from there trying to play the TV show kodi just freezes now, not kodi crash then reboot. It just hangs until I reboot via SSH. I enabled <loglevel>1</loglevel> in advancedsettings.xml and rebooted but I don't see the normal debug stuff on the display, hopefully this log has what you need.
http://sprunge.us/BDJV
Here is one with kodi frozen and debug enabled via the gui
http://sprunge.us/egKh
Here is one with gui debug on, and kodi rebooted 2x trying to play the file
http://sprunge.us/WXiB (I have since refreshed the internet file data so an image exists)
@
J_E_F_F if kodi is crashing the only useful log will be the crashlog.
Code:
cat /storage/.kodi/temp/kodi_crash.log | pastebinit
It's normally impossible to tell what caused Kodi to crash from a normal kodi.log, even if debug is enabled.
@
J_E_F_F are these crashes/freezes new in #0409/#0409x? They didn't occur in #0408 or earlier builds?
I've uploaded a new debug-enabled build, #0409y:
RPi2 (same as #0409x, but debug enabled to produce more detailed crash logs). Please try this build and submit any crash logs.
Hi Milhouse & Popcornmix,
I've just updated to #0409 from #0327 and I'm getting crashes as soon as I start playing H265 videos, which have always played fine before.
A couple of log files in this link.
https://www.dropbox.com/sh/zqnq3fiswjc8y...XQfma?dl=0
Hope this is helpful.
Kevin.
PS. I just tried your #0409y above and have placed a log from that also in the link.
For this I first played a couple of H264 videos, which played fine then a H265, which immediately crashed, once Kodi had re-started , tried playing a H265 video straight away, this crashed again.
(2017-04-10, 13:37)bleep42 Wrote: [ -> ]I've just updated to #0409 from #0327 and I'm getting crashes when playing H265 videos, which have always played fine before.
Can you provide a sample file that crashes?
My crashes on 0409X were with h265 videos too. How do we make/provide a small sample file?
(2017-04-10, 14:18)J_E_F_F Wrote: [ -> ]My crashes on 0409X were with h265 videos too. How do we make/provide a small sample file?
If the files are mkv then
mkvtoolnix is good.
Choose to split every minute with a maximum of 2 files and the first file should be a suitable short sample.
(2017-04-10, 14:28)popcornmix Wrote: [ -> ] (2017-04-10, 14:18)J_E_F_F Wrote: [ -> ]My crashes on 0409X were with h265 videos too. How do we make/provide a small sample file?
If the files are mkv then mkvtoolnix is good.
Choose to split every minute with a maximum of 2 files and the first file should be a suitable short sample.
Hi Popcornmix,
Two short videos, encoded with HandBrake, in link along with crash logs. they are 1280 x 720 ish, quite compressed.
https://www.dropbox.com/sh/zqnq3fiswjc8y...XQfma?dl=0
Regards,
Kevin.
(2017-04-10, 14:28)popcornmix Wrote: [ -> ] (2017-04-10, 14:18)J_E_F_F Wrote: [ -> ]My crashes on 0409X were with h265 videos too. How do we make/provide a small sample file?
If the files are mkv then mkvtoolnix is good.
Choose to split every minute with a maximum of 2 files and the first file should be a suitable short sample.
Thanks, here is a sample of the one that was crashing on me:
https://www.dropbox.com/s/cen7u7ud8avnbm...1.mkv?dl=0
and here is the kodi.crash.log
http://sprunge.us/hHhc
#0409
kodi crash log after a remote reboot and attempt to move in GUI via CEC and TV remote few minutes later.
(which may/probably be completely unrelated to crash)
(2017-04-10, 14:52)bleep42 Wrote: [ -> ]Two short videos, encoded with HandBrake, in link along with crash logs. they are 1280 x 720 ish, quite compressed.
(2017-04-10, 17:51)J_E_F_F Wrote: [ -> ]Thanks, here is a sample of the one that was crashing on me:
Thanks - I can reproduce with both - I've forwarded the file links to John.
New LibreELEC.tv Leia build #0410:
RPi /
RPi2
(Supercedes previous build)
Code:
# uname -a
Linux rpi512 4.10.9 #1 Mon Apr 10 22:29:05 BST 2017 armv6l GNU/Linux
# vcgencmd version
Apr 4 2017 18:50:03
Copyright (c) 2012 Broadcom
version 3ca4cf4a663c5351eaec08b29d50d6e8324981b4 (clean) (release)
# lsb_release
LibreELEC (Milhouse) - Version: devel-20170410222137-#0410-gffa06a6 [Build #0410]
# Kodi version
(18.0-ALPHA1 Git:78cce57). Platform: Linux ARM 32-bit
Based on tip of
LibreELEC.tv master (ffa06a67,
changelog) and tip of
XBMC master (abe55b83,
changelog) with the following modifications:
- Includes newclock5 patches
- Excludes the LibreELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-4.10.y
- Includes latest bcm2835-driver master (b038854b)
- Includes latest kodi-platform master (36fb4937)
- Includes latest libcec master (3953f8dc, ahead +12)
- Includes latest libnfs master (1052ba94, ahead +58)
- Includes latest p8-platform master (2d90f986)
- Includes latest addons: inputstream.adaptive (f23ba39c, +1), inputstream.rtmp (6c1af46a), peripheral.joystick (3c7ea594, +4), pvr.argustv (7135b279), pvr.demo (1606b612), pvr.dvblink (2634f6fb, +3), pvr.dvbviewer (13c6e5e7), pvr.filmon (e026519d), pvr.hdhomerun (98cb8d40), pvr.hts (2993f43d, +1), pvr.iptvsimple (53d63cce), pvr.mediaportal.tvserver (d4dad613), pvr.mythtv (08d609b2), pvr.nextpvr (bb21826b), pvr.njoy (1ce9aba1), pvr.octonet (8549a31c), pvr.pctv (e3b2b845), pvr.stalker (0466af9d), pvr.vbox (4215450f), pvr.vdr.vnsi (9ede401c), pvr.vuplus (d7fdd1ea, +2), pvr.wmc (5aa3b1ca)
- Include [env] compare: tvheadend42: update (pngquant)
- Include [env] patch: Bump included addon versions to prevent online updates
- Include [env] patch: rapidjson: update to rapidjson-1.1.0
- Include [env] patch: Add experimental splash video for RPi
- Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
- Include [env] patch: Add kodi binary addons (pvr, adsp, other)
- Include [env] PR:1320: lirc cleanup: switch to upstream fixes and configuration
- Include [env] PR:1469: samba: update to samba-4.6.1
- Include [env] PR:1508: Update to RTL8192DU-efc8508
- Include [env] PR:1512: Update RTL8192EU to a7fd035
- Include [env] PR:1518: iana-etc: update to 17.04
- Include [env] PR:1519: timezone-data: update to 2017b
- Include [env] PR:1521: linux: update to linux-4.10.9
- Include [pkg] PR:56: bluetooth: add missing 'Connect' option when device is Trusted (service.libreelec.settings)
- Include [pkg] PR:62: change smbd and nmbd location (service.libreelec.settings)
- Include [pkg] PR:63: lircd: settings changes required for LE PR 1320 (service.libreelec.settings)
Build Highlights:
- New 4.10.9 kernel
- newclock5 includes future video player updates (vpupdate)
- Fix crash when trying to cache non-existant artwork (newclock5)
Build Details:
- XBMC:
- PlayListPlayer: New function the ensure items are played with a playlist (PR:11747, 2 commits, 7 files changed)
- [fix] minor keymap fix (PR:11939, 1 commit, 1 file changed)
- peripheral.joystick:
- Import RetroArch keyboard controls (PR:99, 1 commit, 2 files changed)
- newclock5:
- New commits in this build:
- bump ffmpeg to 3.3 (c1ab44f7)
- ffmpeg options: drop enable-memalign-hack (e5da6b0a)
- VideoPlayer: API changes for video codecs (21cc1b84)
- VideoPlayer: API changes for audio codecs (70adfcfe)
- VideoPlayer: distinguish between render and shader formats (7ef5e7b8)
- VideoPlayer: API changes to stream players (b93476a6)
- VideoPlayer: demuxer updates (437399f6)
- VideoPlayer: audio codec updates (fa108b22)
- VideoPlayer: video codec updates (7afce250)
- linux: vaapi, vdpau updates (e53a9702)
- windows: dxva adaptions (4c8e0c43)
- osx: vtb adaptions (e71c288b)
- VideoPlayer: codec factory updates (7be2f34a)
- VideoPlayer: rendering updates (6821843b)
- VideoPlayer: player updates (5f6e18ff)
- VideoPlayer: add crypto fields to memuxer (f87e61da)
- VideoPlayer: overlay updates (ea7f525b)
- VideoPlayer: subtitle updates (4558ac66)
- linux: vaapi, vdpau render adaptions (55e7aa67)
- VideoPlayer: shader updates (3109a4c5)
- cmake: bump ffmpeg to 3.3 (9743b083)
- PAPlayer: adapt to codec changes (7494d5cb)
- addon InputStream: drop bandwidth (0b132472)
- RetroPlayer: adapt to VP updates (9a8cd432)
- windows: adapt dxva renderer to videoPicture (8643a9ea)
- osx: adapt vtb renderer to videoPicture (03106364)
- VideoPlayer: shader updates - fixup gles (d961bc5b)
- OMXPlayer: Fixup to new API (ed1d8b29)
- MMALCodec: Fixup to new API (a03718e8)
- MMALRender: Fixup to new API (7b9ccae9)
- PixelConverterRBP: adapt to VP updates (ed000f8c)
- squash ffmpeg cmake (d5dc5890)
- OMXImage: fixup: Protect against empty buffer (91a9cef5)
- Revert "addon InputStream: drop bandwidth" (f7697995)
- Updated commits in this build:
- MMAL: Remove periodic prime calls and handle from buffer destructor (019191cf => 6ade0188)
- Commits no longer in build:
- VideoPlayer: cleanup VideoCodec interface, SetDropState (9c9f10f6)
- MMAL: Update to new dropping scheme (6cbd9121)
- VideoPlayer: adapt decoder API to ffmpeg 3.2 (2709b872)
- VideoPlayer: rework after ffmpeg 3.2 adpation (c843cb3e)
- hack: retroplayer: fixme (764c9cde)
- MMALCodec: Basic fixup to new ffmmpeg API (2a3b2c6f)
- MMALCodec: Add extra prime to avoid stalled video (edff6d20)
- DVDFileInfo: Fix video thumbnail extraction (a495c07a)
- MMALCodec: Include a timeout of GetPicture in default debug logging (54b86f64)
- MMALCodec: Promote GetPicture timeout message to warning level (aef970f8)
- Additional commits/pull requests/changes not yet merged upstream:
- Added: [env] PR:1521: linux: update to linux-4.10.9
(2017-04-09, 21:54)Milhouse Wrote: [ -> ] (2017-04-09, 02:47)Mfleigle Wrote: [ -> ]Next to the video with identical name:
Example:
Movie.mkv
Movie.ass
Yes, that's what I have.
(2017-04-09, 02:47)Mfleigle Wrote: [ -> ]When I try to play a video with ASS subtitles, Kodi automatically creates a srt in the TEMP dir of the ASS subtitle. And the video plays with the srt. If I manually select the ASS subtitle it plays the video (no subs), and the memory leaks until it reboots.
I'm not able to reproduce this behaviour (even when using your ASS modifications) - I don't see the SRT file being created in the /storage/.kodi/temp directory.
I've tried several MKV files, with embedded SRT, and none of them are creating an SRT file in the Kodi temp directory. I also tried creating an MKV with embedded ASS, again nothing is created in /storage/.kodi/temp, and I'm not seeing a memory leak.
Do you have any addons installed? Can you test with a "clean" .kodi directory with default settings?
It works fine on a clean build. Thanks for the help.
Weekly Linux 4.11-rc6 build #0410x:
RPi /
RPi2
Same as #0410 but without media_build (not currently compatible).