JeVois 1.10.0 Bug reports, full story, part 4
I swithed again to Ubuntu 18.04, un-commented line 467 in Engine.C file and rebuilded JeVois.
Here are reports:
Ubuntu LTS 18.04, jevois-pached-18.04.txt
user@18-04:~$ 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: [9] V4L2 camera /dev/video0 card Integrated Camera: Integrated C bus usb-0000:02:03.0-1
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
DBG ParameterRegistry::addParameter: Added Parameter [serprec]
DBG ParameterRegistry::addParameter: Added Parameter [serstyle]
DBG ParameterRegistry::addParameter: Added Parameter [serstamp]
DBG ParameterRegistry::addParameter: Added Parameter [sermark]
DBG ParameterRegistry::addParameter: Added Parameter [cweight]
DBG ParameterRegistry::addParameter: Added Parameter [iweight]
DBG ParameterRegistry::addParameter: Added Parameter [oweight]
DBG ParameterRegistry::addParameter: Added Parameter [fweight]
DBG ParameterRegistry::addParameter: Added Parameter [mweight]
DBG ParameterRegistry::addParameter: Added Parameter [centermin]
DBG ParameterRegistry::addParameter: Added Parameter [deltamin]
DBG ParameterRegistry::addParameter: Added Parameter [smscale]
DBG ParameterRegistry::addParameter: Added Parameter [mthresh]
DBG ParameterRegistry::addParameter: Added Parameter [fthresh]
DBG ParameterRegistry::addParameter: Added Parameter [msflick]
DBG ParameterRegistry::addParameter: Added Parameter [usevel]
DBG ParameterRegistry::addParameter: Added Parameter [procnoise]
DBG ParameterRegistry::addParameter: Added Parameter [measnoise]
DBG ParameterRegistry::addParameter: Added Parameter [postnoise]
INFO: JeVois 1.10.0
INFO: Linux version 4.15.0-38-generic
FTL SysInfo::getFileString: Cannot read file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
ERR /jevois/modules/JeVois/DemoSaliency/script.cfg:3: FTL SysInfo::getFileString: Cannot read file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
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: [9:camera] Reqbufs for 5 buffers returned 5 buffers
DBG VideoBuffers::VideoBuffers: [9:camera] Added mmap'd buffer 0 of size 153600
DBG VideoBuffers::VideoBuffers: [9:camera] Added mmap'd buffer 1 of size 153600
DBG VideoBuffers::VideoBuffers: [9:camera] Added mmap'd buffer 2 of size 153600
DBG VideoBuffers::VideoBuffers: [9:camera] Added mmap'd buffer 3 of size 153600
DBG VideoBuffers::VideoBuffers: [9: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
[nothing happened here!]
exit
quit
^C
Killed
user@18-04:~$ gdb jevois-daemon
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
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 0x7fffd672b700 (LWP 2277)]
[New Thread 0x7fffd5f2a700 (LWP 2278)]
[New Thread 0x7fffd5729700 (LWP 2279)]
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 0x7fffce194700 (LWP 2280)]
INF Camera::Camera: [9] V4L2 camera /dev/video0 card Integrated Camera: Integrated C bus usb-0000:02:03.0-1
INF Engine::postInit: Using display for video output
[New Thread 0x7fffcd4bd700 (LWP 2281)]
[New Thread 0x7fffcccbc700 (LWP 2282)]
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/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
ERR /jevois/modules/JeVois/DemoSaliency/script.cfg:3: FTL SysInfo::getFileString: Cannot read file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
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
[nothing happened here!]
^C
Thread 1 "jevois-daemon" received signal SIGINT, Interrupt.
0x00007ffff303a9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5555559b8f78) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88 ../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
(gdb) quit
===
Than I switched back to Ubuntu 16.04 and tryed to rebuild jevoisbase-host