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.

JeVois 1.10.0 Bug reports, full story, part 1

0 votes

JeVois 1.10.0 Bug reports, full story, part 1

NB This forum has some limitations, so I had to devide this story into 4 parts.

I have 2 disks with Ubuntu LTS, 16.04 and 18.04 on same hardware, clean and just installed, w/o software or other legacy.

Fitst, I used JeVois 1.10.0 from deb repo.

Here are reports:

Ubuntu LTS 16.04, 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)

===

Ubuntu LTS 18.04, 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)

===

to be continued...

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

1 Answer

0 votes
yes, this was fixed in GitHub a while back

https://github.com/jevois/jevois/commit/3f105a55d720d6bab00733b0a712c79234d895c2

look for setFormatInternal(midx)

We are almost done with 1.11 which should fix your problems.
answered Dec 7, 2018 by JeVois (46,580 points)
...