Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 6 Vote(s) - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MikeKL Online
Fan
Posts: 436
Joined: Aug 2014
Reputation: 56
Post: #1381
With #0408 had a crash when not sat in front of device and TV. Crash may have occurred around time (or just after) remotely browsing kodi options available from chorus 2 interface via browser on android mobile. kodi debug log

rPi 3, SanDisk Ultra 8Gb SD & Milhouse LE TestBuild (Kodi 18) -> Onkyo AV -> Philips 42" LCD TV
(This post was last modified: 2017-04-09 17:57 by MikeKL.)
find quote
Leopold Offline
Fan
Posts: 358
Joined: Jan 2011
Reputation: 14
Location: UK
Post: #1382
Build #0315 broke CEC for me.

Before this build I could bring the TV back from standby to the correct input with any remote control button press. Now the TV comes out of standby but is set to the TV tuner input, not the correct HDMI input. I have to use the web interface to play something and then the TV is switched to the correct input. There were libcec updates in this build according to the changelog.

I was able to reproduce the issue using cec-client with the TV in standby and compare the logging from the following command

Code:
echo "as" | cec-client -s

#0314 cec-client log.
#0315 cec-client log.

I can also reliably reproduce a segfault when running the above cec-client command when the TV is on the wrong input (not when the TV is in standby though). Here's the stack trace from the latest debug build.
Code:
Core was generated by `cec-client -s'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x6e697264 in ?? ()
[Current thread is 1 (Thread 0x749ff450 (LWP 626))]
(gdb) where
#0  0x6e697264 in ?? ()
#1  0x76be1574 in CEC::CRPiCECAdapterMessageQueue::MessageReceived(CEC::cec_opcode, CEC::cec_logical_address, CEC::cec_logical_address, unsigned int) (this=0xe65578,
    opcode=CEC_OPCODE_VENDOR_COMMAND, initiator=CECDEVICE_PLAYBACKDEVICE1, destination=CECDEVICE_TV, response=0)
    at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/libcec-5250931/src/libcec/adapter/RPi/RPiCECAdapterMessageQueue.cpp:127
#2  0x76bdaa20 in CEC::CRPiCECAdapterCommunication::OnDataReceived(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (this=0xe56da8, header=<optimized out>, p0=34638144,
    p1=83951615, p2=1549092101, p3=12888) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/libcec-5250931/src/libcec/adapter/RPi/RPiCECAdapterCommunication.cpp:184
#3  0x76b55cac in cecservice_notify_func () from /usr/lib/libbcm_host.so
#4  0x76b0ecc4 in vcos_thread_entry (arg=0x76b6f600 <cecservice_notify_task>) at /home/dc4/projects/staging/userland/interface/vcos/pthreads/vcos_pthreads.c:144
#5  0x76f49f40 in start_thread (arg=0x749ff450) at pthread_create.c:335
#6  0x76d3ee18 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:86 from /usr/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Full output.

Leopold's Repository: Home of LibreELEC Dev Updater ...
(This post was last modified: 2017-04-09 18:07 by Leopold.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1383
(2017-04-09 17:31)mikeb8591 Wrote:  in build #0403 this change

estuary fix watched status for videos (PR:11921, 1 commit, 1 file changed)

was listed. Since that build, all my unwatched recordings show a check mark, (which previously only showed after a recording was watched)

a partially watched video still shows a half-light/half-dark circle, but instead of folders (for series) and squares (for individual recordings) all my recordings show a check mark.

Is this correct? I'm using the NextPVR client, in case that makes a difference.

That particular change, PR11921, was first included as an umerged change in build #0330.

If you are sure the problem is first seen with build #0403 then it's unlikely PR11921 is the source of this problem.

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.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1384
(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?

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.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1385
New LibreELEC.tv Leia build #0409: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.8 #1 Sun Apr 9 21:05:08 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-20170409210401-#0409-gffa06a6 [Build #0409]

# 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 (fe4ddefd, changelog) with the following modifications: Build Highlights:
  1. Bump iana-etc and timezone-data
Build Details:
  1. LibreELEC.tv:
    • projects/WeTek_Core: Switch to "hotplug" CPU scaling governor (PR:1504, 1 commit, 1 file changed)
  2. XBMC:
    • [depends] samba-gplv3: add patch to remove deprecated define in perl generator script (PR:11945, 1 commit, 2 files changed)
    • FIXUP: [AT] blocking writes (PR:11949, 1 commit, 1 file changed)
    • ADD: [xsp] filter by originaltitle (PR:11948, 1 commit, 3 files changed)
    • [windows] installer: call findstr with full path (PR:11940, 1 commit, 1 file changed)
    • cleanup internal rar vfs in favour of vfs.rar (PR:11912, 4 commits, 142 files changed)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1518: iana-etc: update to 17.04
    • Added: [env] PR:1519: timezone-data: update to 2017b

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.
find quote
Xeno22 Offline
Junior Member
Posts: 6
Joined: Feb 2017
Reputation: 0
Post: #1386
(2017-04-08 13:47)Milhouse Wrote:  I've uploaded a debug-enabled build #0407x for anyone able/willing to provide a more detailed crashlog: RPi2

@Milhouse: Thanks for the debug build.
Here is my debug log of the crash while trying to open the info screen:

http://sprunge.us/DYbi

Here is another one:

http://sprunge.us/ONBY

Had nothing to do with the cURL error, sry.

Shouldn't it ignore empty images?

Code:
Thread 1 (Thread 0x6a5353a0 (LWP 571)):
#0  0x004e8b54 in READ16 ([email protected]: 0x0) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/cores/omxplayer/OMXImage.cpp:565
#1  0x004e8d90 in COMXImage::GetCodingType (buf=..., [email protected]: 0, [email protected][email protected]: 0, [email protected]: 0, [email protected][email protected]: 0, [email protected]: 0, [email protected][email protected]: 0, error=...) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/cores/omxplayer/OMXImage.cpp:599
#2  0x0070abd8 in CPiTexture::LoadFromFileInternal ([email protected]=0x66083b58, texturePath=..., buf=..., maxWidth=<optimized out>, [email protected]=1920, maxHeight=<optimized out>, [email protected]=1080, [email protected]=false, strMimeType=...) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/guilib/TexturePi.cpp:126
#3  0x00700dac in CBaseTexture::LoadFromFile (texturePath=..., [email protected]=1920, [email protected]=1080, [email protected]=false, strMimeType=...) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/guilib/Texture.cpp:221
#4  0x007e2a84 in CImageLoader::DoWork (this=0x3581700) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/GUILargeTextureManager.cpp:64
#5  0x00617434 in CJobWorker::Process (this=0x30d9728) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/utils/JobManager.cpp:69
#6  0x0065f6f4 in CThread::Action (this=0x30d9728) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/threads/Thread.cpp:221
#7  0x0065fde4 in CThread::staticThread (data=0x30d9728) at /home/neil/projects/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.0-devel-debug/kodi-78cce57/xbmc/threads/Thread.cpp:131
#8  0x76efef40 in start_thread (arg=0x6a5353a0) at pthread_create.c:335
#9  0x7517de18 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:86 from /usr/lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(This post was last modified: 2017-04-09 23:05 by Xeno22.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1387
(2017-04-09 22:54)Xeno22 Wrote:  Here is my debug log of the crash while trying to open the info screen:

Thanks. Popcornmix has added a fix to texture caching (for when images aren't available) that will be in tomorrow's build.

Can you try this #0409x build which should not be crashing now: RPi2 (it's not a debug-enabled build, it's just the same as #0409 but includes the OMX image fix).

Edit: @SpokV build #0409x fixes the same issue you reported

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.
(This post was last modified: 2017-04-10 03:11 by Milhouse.)
find quote
J_E_F_F Offline
Senior Member
Posts: 216
Joined: Sep 2013
Reputation: 2
Post: #1388
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
find quote
J_E_F_F Offline
Senior Member
Posts: 216
Joined: Sep 2013
Reputation: 2
Post: #1389
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)
(This post was last modified: 2017-04-10 04:09 by J_E_F_F.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1390
@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.

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.
(This post was last modified: 2017-04-10 04:29 by Milhouse.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,912
Joined: Jan 2011
Reputation: 645
Post: #1391
@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.

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.
find quote
bleep42 Offline
Junior Member
Posts: 43
Joined: Oct 2013
Reputation: 2
Post: #1392
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.
(This post was last modified: 2017-04-10 14:29 by bleep42.)
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,869
Joined: Feb 2011
Reputation: 327
Post: #1393
(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?
find quote
J_E_F_F Offline
Senior Member
Posts: 216
Joined: Sep 2013
Reputation: 2
Post: #1394
My crashes on 0409X were with h265 videos too. How do we make/provide a small sample file?
(This post was last modified: 2017-04-10 14:21 by J_E_F_F.)
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,869
Joined: Feb 2011
Reputation: 327
Post: #1395
(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.
find quote
Post Reply