Giter Site home page Giter Site logo

Segmentation Fault about nuitrack-sdk HOT 16 CLOSED

3divi avatar 3divi commented on July 22, 2024
Segmentation Fault

from nuitrack-sdk.

Comments (16)

Albert950207 avatar Albert950207 commented on July 22, 2024

Does anyone know what happened ?

Thanks!

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

Hi @Albert950207,

Please try to execute the nuitrack_sample application and send us the output.

from nuitrack-sdk.

Albert950207 avatar Albert950207 commented on July 22, 2024

Hi @VadimAspirin

Thank you for your replying. Where is nuitrack_sample application is ?

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

@Albert950207 , you can run nuitrack_sample from the command line as the nuitrack application (just in case: /usr/bin/nuitrack_sample).

from nuitrack-sdk.

Albert950207 avatar Albert950207 commented on July 22, 2024

@VadimAspirin I run nuitrack_sample from the command line and I get this error:
nuitrack_sample: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

@Albert950207 please try to install freeglut3 and libbluetooth3 packages and execute the nuitrack app again: apt install freeglut3 libbluetooth3

from nuitrack-sdk.

Albert950207 avatar Albert950207 commented on July 22, 2024

@VadimAspirin I have installed freeglut3 and libbluetooth3 but after I run nuitrack_sample, I just get a flash of this application and then still get the error:
Screenshot from 2021-09-29 17-23-03

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

@Albert950207, please advise, what Nuitrack version and RGBD-sensor model do you use?

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

If you execute nuitrack_device_api_sample and post the output here it will be very helpful too.

from nuitrack-sdk.

Albert950207 avatar Albert950207 commented on July 22, 2024

@VadimAspirin My RGBD-sensor is intel D435i and I dont know what my version of Nuitrack is but it could be the latest one because I just download it from repository of installation Nuitrack. I dont know how to check the version because I cant run nuitrack, nuitrack_sample or even nuitrack_device_api_sample. All of them give me an same error: Segmentation fault.

Btw, I install and run nuitrack in my Windows operating system with same computer and same RGBD-sensor but when I run some samples in nuitrack I got error code 2. I check it on google and google told me that I need to make my intel sensor connected as usb 3.2(mine is 2.1). Can nuitrack work when intel sensor connected as usb 2.1?

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

@Albert950207, Nuitrack only supports Intel Realsense sensors when Intel Realsense is connected to USB 3 (as Intel recommends).

from nuitrack-sdk.

jimruxton avatar jimruxton commented on July 22, 2024

@VadimAspirin I have the same problem on Ubuntu 20.04 . I opened this issue back in May as well but no solution as of yet? I get a segmentation fault when running nuitrack, nuitrack_sample or even nuitrack_device_api_sample. I'm using the latest download.

from nuitrack-sdk.

jimruxton avatar jimruxton commented on July 22, 2024

Below is a backtrace from /usr/bin/QtNuitrackLicense

(gdb) bt
#0  _IO_fgets (buf=buf@entry=0x7fffd53b8250 "", n=n@entry=255, fp=fp@entry=0x0)
    at iofgets.c:47
#1  0x00007fff6107b16b in fgets (__stream=0x0, __n=255, __s=0x7fffd53b8250 "")
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:263
#2  list_video_devices(bool, bool) (rescan=false, silent=true)
    at /home/voxel/5voxel/code/0529/3DCameraAPI/3DCameraAPI/plat/linux/../../../3DCameraAPI/src/3DCameraAPI/v4l2_wrapper.cpp:1544
#3  0x00007fff6107c29d in get_device_id_from_pid_vid(char const*, char const*)
    (pid=pid@entry=0x7fff6213a705 <productList+5> "182d", vid=vid@entry=0x7fff6213a700 <productList> "0b05")
    at /home/voxel/5voxel/code/0529/3DCameraAPI/3DCameraAPI/plat/linux/../../../3DCameraAPI/src/3DCameraAPI/v4l2_wrapper.cpp:1590
#4  0x00007fff610684f4 in deviceSensorAPI::scanVideoCamera(CameraDevInfo*)
    (this=0x7fffc80bd390, cameraDevInfo=0x7fffc80a6d20)
    at /home/voxel/5voxel/code/0529/3DCameraAPI/3DCameraAPI/plat/linux/../../../3DCameraAPI/src/3DCameraAPI/3DCameraAPI.cpp:2445
#5  0x00007fff61059ea6 in SenDuckDriver::initialize(void (*)(OniDeviceInfo const*, void*), void (*)(OniDeviceInfo const*, void*), void (*)(OniDeviceInfo const*, int, void*), void*) ()
    at /usr/local/lib/nuitrack/OpenNI2/Drivers/libSenDuck.so
#6  0x00007fffe9380f30 in oni::implementation::DeviceDriver::initialize() ()
    at /usr/local/lib/nuitrack/libOpenNI2.so
#7  0x00007fffe9378f17 in oni::implementation::Context::loadLibraries() ()
--Type <RET> for more, q to quit, c to continue without paging--
   sr/local/lib/nuitrack/libOpenNI2.so
#8  0x00007fffe937add6 in oni::implementation::Context::initialize() () at /usr/local/lib/nuitrack/libOpenNI2.so
#9  0x00007fffda1025c1 in  () at /usr/etc/nuitrack/middleware/libNuitrackModule.so
#10 0x00007fffda0eb6fc in  () at /usr/etc/nuitrack/middleware/libNuitrackModule.so
#11 0x00007ffff5e4a21d in tdv::nuitrack::middleware::Core::getDeviceList() () at /usr/local/lib/nuitrack/libmiddleware.so
#12 0x00007ffff7a953c6 in tdv::nuitrack::Nuitrack::getDeviceList() () at /usr/local/lib/nuitrack/libnuitrack.so
#13 0x00007ffff7ab80c2 in nuitrack_GetDeviceList () at /usr/local/lib/nuitrack/libnuitrack.so
#14 0x000000000040ffbc in tdv::nuitrack::Nuitrack::getDeviceList() ()
#15 0x000000000040dc77 in QtConcurrent::StoredFunctorCall0<std::vector<std::shared_ptr<tdv::nuitrack::device::NuitrackDevice>, std::allocator<std::shared_ptr<tdv::nuitrack::device::NuitrackDevice> > >, std::vector<std::shared_ptr<tdv::nuitrack::device::NuitrackDevice>, std::allocator<std::shared_ptr<tdv::nuitrack::device::NuitrackDevice> > > (*)()>::runFunctor() ()
#16 0x000000000041165b in QtConcurrent::RunFunctionTask<std::vector<std::shared_ptr<tdv::nuitrack::device::NuitrackDevice>, std::allocator<std::shared_ptr<tdv::nuitrack::device::NuitrackDevice> > > >::run() ()
#17 0x00007ffff688ff82 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff688c9d2 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff63c3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#20 0x00007ffff64ff293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

Hi @jimruxton, if I understood correctly this is your issue on the Nuitrack community forum? According to the information I have, removing libSenDuck.so from the /usr/local/lib/nuitrack/OpenNI2/Drivers/ folder helped solve your segmentation fault.

from nuitrack-sdk.

jimruxton avatar jimruxton commented on July 22, 2024

from nuitrack-sdk.

VadimAspirin avatar VadimAspirin commented on July 22, 2024

Hi @Albert950207,

How are you? Has your issue been solved?
Would be great if you could provide some reply/feedback, we will be ready to help.
Thanks.

from nuitrack-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.