Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'No such file or directory' error from pre-compiled rs2 SDK #879

Closed
marvin-hao opened this issue Dec 5, 2017 · 1 comment
Closed

'No such file or directory' error from pre-compiled rs2 SDK #879

marvin-hao opened this issue Dec 5, 2017 · 1 comment

Comments

@marvin-hao
Copy link

Required Info
Camera Model SR300
Firmware Version
Operating System & Version Ubuntu 16.04
Kernel Version (Linux Only) 4.4.0-101-generic

I was using rs2 SDK installed from apt-get, and I came across the following error:

Thread 1 "python3.6" received signal SIGSEGV, Segmentation fault.
0x00007fff6b85ad67 in librealsense::frame::release (this=0x13739f8) at /home/perc/workspace/RealsenseSDK_Gated_master__Debian_CreatePackage/src/src/archive.cpp:273
273 /home/perc/workspace/RealsenseSDK_Gated_master__Debian_CreatePackage/src/src/archive.cpp: No such file or directory.

#0 0x00007fff6b85ad67 in librealsense::frame::release (this=0x13739f8) at /home/perc/workspace/RealsenseSDK_Gated_master__Debian_CreatePackage/src/src/archive.cpp:273
#1 0x00007fff6b8ee7d3 in rs2_release_frame (frame=0x13739f8) at /home/perc/workspace/RealsenseSDK_Gated_master__Debian_CreatePackage/src/src/rs.cpp:813
#2 0x00007fff6be046b6 in rs2::frame::~frame (this=0x7fffffffcc70, __in_chrg=) at /usr/include/librealsense2/hpp/rs_frame.hpp:172
#3 rs2::frameset::get_depth_frame (this=0x7fffffffcd10) at /usr/include/librealsense2/hpp/rs_frame.hpp:492
#4 extractKeyFrame (pipe=..., roiMetaList=std::vector of length 5, capacity 8 = {...}, maxFrames=, depthIntrinsics=..., colorIntrinsics=..., extrinsicDepth2Color=..., depthScale=) at core.cpp:278
#5 0x00007fff6bdf0ff0 in aquire_roi (self=0x7ffff2280940, args=) at _pycamera.cpp:224
#6 0x00007ffff7929b20 in _PyCFunction_FastCallDict (func_obj=func_obj@entry=0x7fff69c57940, args=args@entry=0x12fd588, nargs=nargs@entry=1, kwargs=kwargs@entry=0x0) at Objects/methodobject.c:234
#7 0x00007ffff7929f21 in _PyCFunction_FastCallKeywords (func=func@entry=0x7fff69c57940, stack=stack@entry=0x12fd588, nargs=nargs@entry=1, kwnames=kwnames@entry=0x0) at Objects/methodobject.c:294
#8 0x00007ffff79d9217 in call_function (pp_stack=pp_stack@entry=0x7fffffffd550, oparg=oparg@entry=1, kwnames=kwnames@entry=0x0) at Python/ceval.c:4824
#9 0x00007ffff79e3836 in _PyEval_EvalFrameDefault (f=, throwflag=) at Python/ceval.c:3322
#10 0x00007ffff79d82df in PyEval_EvalFrameEx (f=f@entry=0x12fd3a8, throwflag=throwflag@entry=0) at Python/ceval.c:753
#11 0x00007ffff79d83c7 in _PyFunction_FastCall (co=, args=0x1260650, nargs=nargs@entry=2, globals=) at Python/ceval.c:4906
#12 0x00007ffff79d8fe0 in fast_function (func=func@entry=0x7fff69aa1560, stack=, nargs=nargs@entry=2, kwnames=kwnames@entry=0x0) at Python/ceval.c:4941
#13 0x00007ffff79d92ff in call_function (pp_stack=pp_stack@entry=0x7fffffffd710, oparg=oparg@entry=1, kwnames=kwnames@entry=0x0) at Python/ceval.c:4845
#14 0x00007ffff79e3836 in _PyEval_EvalFrameDefault (f=, throwflag=) at Python/ceval.c:3322
#15 0x00007ffff79d82df in PyEval_EvalFrameEx (f=f@entry=0x12604a8, throwflag=throwflag@entry=0) at Python/ceval.c:753
#16 0x00007ffff79d83c7 in _PyFunction_FastCall (co=, args=0x6d3168, nargs=nargs@entry=1, globals=) at Python/ceval.c:4906
#17 0x00007ffff79d8fe0 in fast_function (func=func@entry=0x7fff69aa1840, stack=, nargs=nargs@entry=1, kwnames=kwnames@entry=0x0) at Python/ceval.c:4941
#18 0x00007ffff79d92ff in call_function (pp_stack=pp_stack@entry=0x7fffffffd8d0, oparg=oparg@entry=0, kwnames=kwnames@entry=0x0) at Python/ceval.c:4845
#19 0x00007ffff79e3836 in _PyEval_EvalFrameDefault (f=, throwflag=) at Python/ceval.c:3322
#20 0x00007ffff79d82df in PyEval_EvalFrameEx (f=f@entry=0x6d2fd8, throwflag=throwflag@entry=0) at Python/ceval.c:753
#21 0x00007ffff79d8dfc in _PyEval_EvalCodeWithName (_co=0x7ffff683f880, globals=, locals=, args=, argcount=argcount@entry=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at Python/ceval.c:4
153
#22 0x00007ffff79d946b in PyEval_EvalCodeEx (_co=_co@entry=0x7ffff683f880, globals=globals@entry=0x7ffff7e87df0, locals=locals@entry=0x7ffff7e87df0, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:4174
#23 0x00007ffff79d9494 in PyEval_EvalCode (co=co@entry=0x7ffff683f880, globals=globals@entry=0x7ffff7e87df0, locals=locals@entry=0x7ffff7e87df0) at Python/ceval.c:730
#24 0x00007ffff7a12417 in run_mod (mod=mod@entry=0x6d6200, filename=filename@entry=0x7ffff65624f0, globals=globals@entry=0x7ffff7e87df0, locals=locals@entry=0x7ffff7e87df0, flags=flags@entry=0x7fffffffdbe0, arena=arena@entry=0x7ffff684a9a0) at Python/pythonrun.c:980
#25 0x00007ffff7a15241 in PyRun_FileExFlags (fp=fp@entry=0x6817f0, filename_str=filename_str@entry=0x7ffff7e64f78 "tests/test_camera.py", start=start@entry=257, globals=globals@entry=0x7ffff7e87df0, locals=locals@entry=0x7ffff7e87df0, closeit=closeit@entry=1, flags=0x7fffffffdbe0) at Python/pythonrun.c:93
3
#26 0x00007ffff7a15637 in PyRun_SimpleFileExFlags (fp=fp@entry=0x6817f0, filename=, filename@entry=0x7ffff7e64f78 "tests/test_camera.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdbe0) at Python/pythonrun.c:396
#27 0x00007ffff7a157b4 in PyRun_AnyFileExFlags (fp=fp@entry=0x6817f0, filename=0x7ffff7e64f78 "tests/test_camera.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdbe0) at Python/pythonrun.c:80
#28 0x00007ffff7a2f438 in run_file (fp=fp@entry=0x6817f0, filename=filename@entry=0x6042e0 L"tests/test_camera.py", p_cf=p_cf@entry=0x7fffffffdbe0) at Modules/main.c:338
#29 0x00007ffff7a3019d in Py_Main (argc=argc@entry=5, argv=argv@entry=0x603010) at Modules/main.c:809
#30 0x0000000000400bdb in main (argc=5, argv=0x7fffffffddf8) at ./Programs/python.c:69

I cannot find such source file on my computer and I don't have a user called perc. I'm not sure why it points to that location.

@marvin-hao
Copy link
Author

This is caused by other error but gdb was not able to locate the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants