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.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

JeVois 1.10.0 Bug reports, full story, part 2

0 votes

JeVois 1.10.0 Bug reports, full story, part 2

As you could see in part 1, there was two different types of errors.

So, I decided to rebuild JeVois 1.10.0 from sources on Ubuntu LTS 16.04 enabling debug loglevel

Here are reports:

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

[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
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)

===

After reporting this (http://jevois.org/qa/index.php?qa=2387&qa_1=1-10-host-bug-report), I recieved a comment:

"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."

So, I un-commented line 467 in Engine.C file and rebuilded it again on Ubuntu 16.04. But...

 

to be continued...

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

Please log in or register to answer this question.

...