JeVois 1.10.0 Bug reports, full story, part 3
Here are reports:
Ubuntu LTS 16.04, jevois-pached-16.04.txt
user@MS-7592:~/jevois-1.10.0$ sudo jevois-daemon --loglevel=debug
DBG ManagerImpl::addComponent: Adding Component [serial]
INF Engine::onParamChange: Using [stdio] hardware (4-pin connector) serial port
INF Engine::onParamChange: No USB serial port used
ERR VideoMapping::videoMappingsFromStream: In file /jevois/config/videomappings.cfg:518: No .so|.py found for JeVois/FaceDetector -- SKIPPING.
[skiped 59 lines - DBG VideoMapping::videoMappingsFromStream: OUT: *]
INF Engine::postInit: Loaded 60 vision processing modes.
INF Engine::postInit: Initalizing Python...
INF Engine::postInit: Starting camera device /dev/video0
DBG Camera::Camera: Input 0 [Camera 1] is a camera sensor
INF Camera::Camera: [10] V4L2 camera /dev/video0 card UVC Camera (046d:0825) bus usb-0000:00:1d.7-4
DBG Camera::Camera: Format 0 is [YUYV 4:2:2] fcc 0x56595559 [YUYV]
DBG Camera::Camera: Format 1 is [Motion-JPEG] fcc 0x47504a4d [MJPG]
INF Engine::postInit: Using display for video output
DBG Camera::run: run() thread ready
INF Engine::setFormatInternal: OUT: YUYV 640x300 @ 60fps CAM: YUYV 320x240 @ 60fps MOD: JeVois:DemoSaliency C++
DBG Camera::setFormat: Requesting video format 320x240 YUYV
INF Camera::setFormat: Camera set video format to 320x240 YUYV
DBG Camera::setFormat: Querying/setting crop rectangle not supported
DBG Camera::setFormat: Set framerate to 60 fps
DBG VideoDisplay::setFormat: Allocated 2 buffers
INF Engine::setFormatInternal: Instantiating dynamic loader for /jevois/modules/JeVois/DemoSaliency/DemoSaliency.so
[skiped lines - DBG ParameterRegistry::addParameter: Added Parameter [*]]
INFO: JeVois 1.10.0
INFO: Linux version 4.15.0-38-generic
FTL SysInfo::getFileString: Cannot read file: /sys/class/thermal/thermal_zone0/temp
ERR /jevois/modules/JeVois/DemoSaliency/script.cfg:3: FTL SysInfo::getFileString: Cannot read file: /sys/class/thermal/thermal_zone0/temp
ERR /jevois/modules/JeVois/DemoSaliency/script.cfg:3: Unsupported command [info]
INF Engine::setFormatInternal: Module [DemoSaliency] loaded, initialized, and ready.
DBG Component::init: Initialized.
DBG Camera::streamOn: Turning on camera stream
DBG VideoBuffers::VideoBuffers: [10:camera] Reqbufs for 5 buffers returned 5 buffers
DBG VideoBuffers::VideoBuffers: [10:camera] Added mmap'd buffer 0 of size 153600
DBG VideoBuffers::VideoBuffers: [10:camera] Added mmap'd buffer 1 of size 153600
DBG VideoBuffers::VideoBuffers: [10:camera] Added mmap'd buffer 2 of size 153600
DBG VideoBuffers::VideoBuffers: [10:camera] Added mmap'd buffer 3 of size 153600
DBG VideoBuffers::VideoBuffers: [10:camera] Added mmap'd buffer 4 of size 153600
INF Camera::streamOn: 5 buffers of 153600 bytes allocated
DBG Camera::streamOn: All buffers queued to camera driver
DBG Camera::streamOn: Device stream on
DBG Camera::streamOn: Streaming is on
INF READY JEVOIS 1.10.0
DBG Camera::run: Captured image 0 ready for processing
DBG Camera::get: Camera image 0 handed over to processing
DBG VideoDisplay::get: Empty image 0 handed over to application code for filling
DBG Camera::done: Image 0 freed by processing
Illegal instruction (core dumped)
user@MS-7592:~/jevois-1.10.0$ sudo gdb jevois-daemon
GNU gdb (Ubuntu 8.2-0ubuntu1~16.04.1) 8.2
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 "x86_64-linux-gnu".
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 jevois-daemon...done.
(gdb) run
Starting program: /usr/bin/jevois-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd87d3700 (LWP 4695)]
[New Thread 0x7fffd7fd2700 (LWP 4696)]
[New Thread 0x7fffd77d1700 (LWP 4697)]
INF Engine::onParamChange: Using [stdio] hardware (4-pin connector) serial port
INF Engine::onParamChange: No USB serial port used
ERR VideoMapping::videoMappingsFromStream: In file /jevois/config/videomappings.cfg:518: No .so|.py found for JeVois/FaceDetector -- SKIPPING.
INF Engine::postInit: Loaded 60 vision processing modes.
INF Engine::postInit: Initalizing Python...
INF Engine::postInit: Starting camera device /dev/video0
[New Thread 0x7fffcffff700 (LWP 4698)]
INF Camera::Camera: [10] V4L2 camera /dev/video0 card UVC Camera (046d:0825) bus usb-0000:00:1d.7-4
INF Engine::postInit: Using display for video output
INF Engine::setFormatInternal: OUT: YUYV 640x300 @ 60fps CAM: YUYV 320x240 @ 60fps MOD: JeVois:DemoSaliency C++
INF Camera::setFormat: Camera set video format to 320x240 YUYV
INF Engine::setFormatInternal: Instantiating dynamic loader for /jevois/modules/JeVois/DemoSaliency/DemoSaliency.so
INFO: JeVois 1.10.0
INFO: Linux version 4.15.0-38-generic
FTL SysInfo::getFileString: Cannot read file: /sys/class/thermal/thermal_zone0/temp
ERR /jevois/modules/JeVois/DemoSaliency/script.cfg:3: FTL SysInfo::getFileString: Cannot read file: /sys/class/thermal/thermal_zone0/temp
ERR /jevois/modules/JeVois/DemoSaliency/script.cfg:3: Unsupported command [info]
INF Engine::setFormatInternal: Module [DemoSaliency] loaded, initialized, and ready.
INF Camera::streamOn: 5 buffers of 153600 bytes allocated
INF READY JEVOIS 1.10.0
[New Thread 0x7fffcb405700 (LWP 4699)]
[New Thread 0x7fffcac04700 (LWP 4700)]
[New Thread 0x7fffca403700 (LWP 4701)]
[Thread 0x7fffcac04700 (LWP 4700) exited]
[New Thread 0x7fffc9c02700 (LWP 4702)]
[Thread 0x7fffca403700 (LWP 4701) exited]
[New Thread 0x7fffc9c02700 (LWP 4703)]
[Thread 0x7fffc9c02700 (LWP 4702) exited]
[New Thread 0x7fffca403700 (LWP 4704)]
Thread 10 "jevois-daemon" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7fffc9c02700 (LWP 4703)]
0x00007fffceea0ad5 in env_c_lowpass_5_y_dec_y_fewbits_optim (src=<optimized out>, w=160, h=240, dst=<optimized out>, h2=<optimized out>)
at /home/jv/pack/jevoisbase/src/Components/Saliency/env_c_math_ops.c:104
104 *dst++ = (src[ 0] * 2 + src[ w]) / 3;
(gdb) quit
===
to be continued...