Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6503 Discussions

SIGSEGV with interactive_face_detection_demo on RPi+NCS?

Matsuzawa__Takashi
945 Views

Hello.
I am trying to run interactive_face_detection_demo sample from open_model_zoo, but getting memory-relate Segmentation fault.
Perhaps it is crashing while it is reading face-detection-adas-0001 model.

Any idea waht is causing this error and how to avoid it?

H/W: Raspberry Pi 3B+ and NCS2
OS: Rasbian Sretch
OpenVINO SDK: l_openvino_toolkit_ie_p_2018.5.445.tgz
Camera: either RPi default or USB webcam.

Error looks like this:

<<<<
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 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 "arm-linux-gnueabihf".
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 /home/pi/inference_engine_samples_build/armv7l/Debug/interactive_face_detection_demo...done.
(gdb) r
Starting program: /home/pi/inference_engine_samples_build/armv7l/Debug/interactive_face_detection_demo -i cam -m /home/pi/wk1/open_model_zoo/intel_models/face-detection-adas-0001.xml -m_ag /home/pi/wk1/open_model_zoo/intel_models/age-gender-recognition-retail-0013.xml -m_hp /home/pi/wk1/open_model_zoo/intel_models/head-pose-estimation-adas-0001.xml -m_em /home/pi/wk1/open_model_zoo/intel_models/emotions-recognition-retail-0003.xml -m_lm /home/pi/wk1/open_model_zoo/intel_models/facial-landmarks-35-adas-0001.xml -d MYRIAD -d_ag MYRIAD -d_hp MYRIAD -d_em MYRIAD -d_lm MYRIAD -n_ag 2 -n_hp 2 -n_em 2 -n_lm 2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
InferenceEngine: 
    API version ............ 1.4
    Build .................. 19154
[ INFO ] Parsing input parameters
[ INFO ] Reading input
[New Thread 0x7005c1a0 (LWP 2647)]
[New Thread 0x6cf6f1a0 (LWP 2648)]
[ INFO ] Loading plugin MYRIAD
[New Thread 0x6b72c1a0 (LWP 2649)]

    API version ............ 1.5
    Build .................. 19154
    Description ....... myriadPlugin
[ INFO ] Loading network files for Face Detection

Thread 1 "interactive_fac" received signal SIGSEGV, Segmentation fault.
0x76fb9bdc in memcmp () from /usr/lib/arm-linux-gnueabihf/libarmmem.so
(gdb) bt
#0  0x76fb9bdc in memcmp () from /usr/lib/arm-linux-gnueabihf/libarmmem.so
#1  0x00000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
<<<<
 

0 Kudos
10 Replies
Makoszay__Juvenal
945 Views

Hi, I have the same problem. Any solution just yet?

0 Kudos
Makoszay__Juvenal
945 Views

Hi,

I have the same problem. Any solution just yet?

0 Kudos
Shubha_R_Intel
Employee
945 Views

Dearest Takashi and company,

Thank you for reporting this crash. I'm currently investigating it.

Again, thanks for using OpenVino !

Shubha

0 Kudos
Shubha_R_Intel
Employee
945 Views

Hello everyone ! You'll be happy to know that this issue has been fixed in our upcoming 2019 R1 OpenVino Release.

Thanks for your patience  and thanks for using OpenVino !

Shubha

0 Kudos
Kirkbride__Shane
Beginner
944 Views

When will the new release be available?

0 Kudos
Kirkbride__Shane
Beginner
944 Views

When will that release be ready? I'm also getting this error I need it resolved so I can move forward with my development.

0 Kudos
Shubha_R_Intel
Employee
944 Views

Hello everyone, I'm happy to report that the 2019 R1 OpenVino release is available today ! 

Happy downloading !

Thanks,

Shubha

0 Kudos
Matsuzawa__Takashi
944 Views

Hello.
Sorry I am a bit confused.

What I am trying now is to run OpenVINO demos on Raspberry Pi and the OpenVINO package I used is the following:
(as suggested by https://software.intel.com/en-us/articles/OpenVINO-Install-RaspberryPI)

>http://download.01.org/openvinotoolkit/2018_R5/packages/l_openvino_toolkit_ie_p_2018.5.445.tgz

But when I look into the OpenVINO toolkit 2019 release node and follow the download link suggested there:

>Where to Download This Release
>https://software.intel.com/en-us/OpenVINO-toolkit/choose-download

I only get the following target options:

>Windows
>Linux (supports Ubuntu, CentOS, and Yocto Project)
>Linux for FPGA
>macOS

I was brave anyway to try Linux package, and I get:

>l_openvino_toolkit_p_2019.1.094.tgz

But it looks like it only contains x86_64 rpms?

And if I look into below, there is no 2019_R1 folder (just 2018_R3, 2018_R4, 2018_R5 are there).

>https://download.01.org/openvinotoolkit/

Where I can find updated version of OpenVINO toolkit for Raspberry Pi OS?
 

0 Kudos
Shubha_R_Intel
Employee
944 Views

Dear Takashi:

I understand your confusion. Hopefully this document will help you ?

https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_raspbian.html

Thanks,

Shubha

0 Kudos
Matsuzawa__Takashi
944 Views

Hello!
Thank you very much for the pointer.
Now I could install 2019 R1 version of the package onto my RPi and run interactive_face_detection_demo successfully.

Just curious:

The demo as it is can gain benefit if I connect 2 or more NCS to my RPi?
(In other words, teh Myriad plugin can transparently load-balance requests among multiple NCS2 if they are available?)

Also, the plugin API (used by Myriad plugin and others) public?
I just wonder if anyone can come up with a plugin supporting RPi-GPU or others.
 

0 Kudos
Reply