Package: libp8-platform2
Version: 2.1.0.1+dfsg1-2

Attempting to run cec-client on a (offline) Pi Zero, but get error 'illegal instruction'.
Using GDB it appears to be caused by libp8-platform.

Happens on both minimal and X based distro.

pi@raspberrypi:~/cec $ gdb cec-client
GNU gdb (Raspbian 8.2.1-2) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cec-client...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/cec-client
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0xb6f9105c in ?? () from /lib/arm-linux-gnueabihf/libp8-platform.so.2
(gdb) bt
#0 0xb6f9105c in ?? () from /lib/arm-linux-gnueabihf/libp8-platform.so.2
#1  0xb6fde2e8 in call_init (l=<optimized out>, argc=argc@entry=1,
argv=argv@entry=0xbefff3e4, env=env@entry=0xbefff3ec) at dl-init.c:72
#2  0xb6fde3ec in call_init (env=<optimized out>, argv=<optimized out>,
    argc=<optimized out>, l=<optimized out>) at dl-init.c:30
#3 _dl_init (main_map=0xb6fff978, argc=1, argv=0xbefff3e4, env=0xbefff3ec)
    at dl-init.c:119
#4  0xb6fcea74 in _dl_start_user () from /lib/ld-linux-armhf.so.3
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)


Basic Raspbian install...
48ce9cf1a6781600d10dee46228920ef 2021-05-07-raspios-buster-armhf-lite.zip
or
b89314053308d03d1a9b48057e035588  2021-05-07-raspios-buster-armhf.zip

Plus...
4b9c978447e0c944495e35969f7c4abf  cec-utils_4.0.4+dfsg1-2_armhf.deb
ca9c81dffae3aa2a672bd87f3fadca59  libcec4_4.0.4+dfsg1-2_armhf.deb
32b044852428290ab71b23d24f36c597 libp8-platform2_2.1.0.1+dfsg1-2_armhf.deb

Reply via email to