Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

1.10 host bug report

0 votes
Hi,

It's about 1.10 host. In few words - it doesn’t work at all :) But I spent ONE day and two Ubuntu disks to try to run it :( See attached logs below.

==>jevois-clean-18.04.txt

user@MS-7592:~$ jevois-daemon --help
Illegal instruction (core dumped)
user@MS-7592:~$ sudo jevois-daemon --help
[sudo] password for user:
Illegal instruction
user@MS-7592:~$ 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 0x7fffd6731700 (LWP 1202)]

Thread 1 "jevois-daemon" received signal SIGILL, Illegal instruction.
0x00007ffff7a6ea5d in std::function<void (jevois::manager::LogLevel const&)>::function<jevois::manager::loglevel::loglevel()::{lambda(jevois::manager::LogLevel const&)#1}, void, void>(jevois::manager::loglevel::loglevel()::{lambda(jevois::manager::LogLevel const&)#1}) (__f=..., this=<optimized out>) at /usr/include/c++/7/bits/std_function.h:695
695            _M_manager = &_My_handler::_M_manager;
(gdb)

==>jevois-clean-16.04.txt

user@MS-7592:~$ sudo jevois-daemon
[sudo] password for user:
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
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
Floating point exception (core dumped)
user@MS-7592:~$ 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 0x7fffd87d9700 (LWP 16355)]
[New Thread 0x7fffd7fd8700 (LWP 16356)]
[New Thread 0x7fffd77d7700 (LWP 16357)]
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 16358)]
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

Thread 1 "jevois-daemon" received signal SIGFPE, Arithmetic exception.
0x00007ffff7b1a037 in jevois::Camera::streamOn (this=0xad2410) at /home/jv/pack/jevois/src/jevois/Core/Camera.C:347
347    /home/jv/pack/jevois/src/jevois/Core/Camera.C: No such file or directory.
(gdb)

==>jevois-rebuilded-16.04.txt

user@MS-7592:~$ 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.
~
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
DBG Component::init: Initialized.
DBG Camera::streamOn: Turning on camera stream
Floating point exception (core dumped)
user@MS-7592:~$ 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 24784)]
[New Thread 0x7fffd7fd2700 (LWP 24785)]
[New Thread 0x7fffd77d1700 (LWP 24786)]
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 24787)]
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

Thread 1 "jevois-daemon" received signal SIGFPE, Arithmetic exception.
0x00007ffff7a72ff7 in jevois::Camera::streamOn (this=0x726ff0) at /home/user/jevois-1.10.0/src/jevois/Core/Camera.C:347
347        nbuf = (4U * 1024U * 1024U) / framesize;
(gdb)

Regards
asked Nov 9, 2018 in Programmer Questions by NikPok (390 points)

1 Answer

0 votes
Thanks for the detailed report! I see, we disabled auto-loading the saliency demo module on startup in 1.10 to speedup startup a bit, but indeed that is a mistake for the host.

I think the culprit is here: https://github.com/jevois/jevois/blob/master/src/jevois/Core/Engine.C try un-commenting line 467. I have to run now but will test it on monday.
answered Nov 9, 2018 by JeVois (46,580 points)
Please, check your mailbox for some old and new reports

Regards
Worked for me. Thanks
But not for me! :( I'll publish new repors here later.
...