GithubHelp home page GithubHelp logo

Feature Request: OSX Support about omicron HOT 12 CLOSED

uic-evl avatar uic-evl commented on May 30, 2024
Feature Request: OSX Support

from omicron.

Comments (12)

febret avatar febret commented on May 30, 2024

Hello,
glad to know it works. I actually think we never tested the kinect service on linux, so it's good to know it runs :)

As for OSX, oinputserver should actually run fine on it (I just tested it). Is it possible you have a mixed or malformed configuration file? Can you attach the application log here?

from omicron.

MohitShridhar avatar MohitShridhar commented on May 30, 2024

You are right. oinputserver runs perfectly fine with a fresh install of omicron. However, the problem arises when I try to hook up a kinect and enable (uncomment) OpenNIService in the cfg file.

This is what happens:

Opened config file: oinputserver.cfg
!!! Service not found: PQService
!!! Service not found: MSKinectService
Service added: OpenNIService
ServiceManager::initialize
Event buffer allocated. Max events: 512
OpenNIService: image: vendorPrimeSense name SensorKinect instance Depth1
image: vendorPrimeSense name XnVSkeletonGenerator instance
Segmentation fault: 11

The same cfg seems to work on Ubuntu but fails on OSX 10.9

I tried a gdb backtrace, but it's probably not of much use:

OpenNIService: image: vendorPrimeSense name SensorKinect instance Depth1
image: vendorPrimeSense name XnVSkeletonGenerator instance
[New Thread 0x170b of process 871]
[New Thread 0x1803 of process 871]
[New Thread 0x1903 of process 871]
[New Thread 0x1a03 of process 871]

Program received signal SIGSEGV, Segmentation fault.
0x00000001003f0c84 in ?? ()
(gdb) backtrace
#0  0x00000001003f0c84 in ?? ()
#1  0x00007fff5fb70260 in ?? ()
#2  0x000000010016febd in ?? ()
#3  0x00007fff5fb705b8 in ?? ()
#4  0x00007fff5fb704f8 in ?? ()
#5  0x00007fff5fb70a00 in ?? ()
#6  0x000000010016b4c8 in ?? ()
#7  0x0000000000000003 in ?? ()
#8  0x00007fff5fb70418 in ?? ()
#9  0x00007fff5fb70418 in ?? ()
#10 0x00007fff5fb703f8 in ?? ()
#11 0x00007fff5fb702b0 in ?? ()
#12 0x0000000100013075 in boost::io::detail::format_item<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~format_item() ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

from omicron.

febret avatar febret commented on May 30, 2024

closing old issue - omicron build on OSX now.

from omicron.

MohitShridhar avatar MohitShridhar commented on May 30, 2024

Hi @febret, I just tried out oinputserver from the latest omicron build. The OpenNI service still segfaults on OSX.

from omicron.

febret avatar febret commented on May 30, 2024

@arthurnishimoto do we have a way to replicate this?

@MohitShridhar, can you provide an updated crash dump?

from omicron.

MohitShridhar avatar MohitShridhar commented on May 30, 2024

Here is an updated backtrace:

Service added: OpenNIService
ServiceManager::initialize
Event buffer allocated. Max events: 512
OpenNIService: image: vendorPrimeSense name SensorKinect instance Depth1
image: vendorPrimeSense name XnVSkeletonGenerator instance
[New Thread 0x170b of process 14390]
[New Thread 0x1803 of process 14390]
[New Thread 0x1903 of process 14390]
[New Thread 0x1a03 of process 14390]

Program received signal SIGSEGV, Segmentation fault.
0x00000001002efc84 in ?? ()
(gdb) backtrace full
#0  0x00000001002efc84 in ?? ()
No symbol table info available.
#1  0x00007fff5fb6fa60 in ?? ()
No symbol table info available.
#2  0x00000001001425ed in ?? ()
No symbol table info available.
#3  0x00007fff5fb6fdb8 in ?? ()
No symbol table info available.
#4  0x00007fff5fb6fcf8 in ?? ()
No symbol table info available.
#5  0x00007fff5fb70200 in ?? ()
No symbol table info available.
#6  0x000000010013db3e in ?? ()
No symbol table info available.
#7  0x00007fff5fb70088 in ?? ()
No symbol table info available.
#8  0x00007fff8dc298d8 in ?? ()
No symbol table info available.
#9  0x00007fff75e2b8f0 in ?? ()
No symbol table info available.
#10 0x00007fff75e2b8f0 in ?? ()
No symbol table info available.
#11 0x00007fff5fb70450 in ?? ()
No symbol table info available.
#12 0x00007fff5fb6fbb0 in ?? ()
No symbol table info available.
#13 0x00007fffffffffff in ?? ()
No symbol table info available.
#14 0x0000000000000000 in ?? ()

from omicron.

arthurnishimoto avatar arthurnishimoto commented on May 30, 2024

I'll should be able to replicate that. I'll let you know what I find in a few days - been a while since I've run OpenNIService.

from omicron.

febret avatar febret commented on May 30, 2024

Thanks Arthur

from omicron.

arthurnishimoto avatar arthurnishimoto commented on May 30, 2024

I've been able to replicate that error on OSX 10.9.

@mvictoras seen anything like this when you were working on OpenNIService?

from omicron.

arthurnishimoto avatar arthurnishimoto commented on May 30, 2024

I believe I've fixed the problem. Update your copy of Omicron and let me know if this issue has been resolved.

from omicron.

febret avatar febret commented on May 30, 2024

Confirmed fixed

from omicron.

MohitShridhar avatar MohitShridhar commented on May 30, 2024

I can also confirm the fix! Thanks a lot! You guys just boosted my productivity by a ton!

from omicron.

Related Issues (17)

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.