v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
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 ...


Messages In This Thread
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Leopold - 2017-04-09, 17:57
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24