Segmentation fault #17

Closed
MylesBorins opened this Issue Jul 28, 2011 · 12 comments

Comments

Projects
None yet
2 participants
@MylesBorins
Contributor

MylesBorins commented Jul 28, 2011

latest build has been crashing on OSX with error "Segmentation fault"

Unsure what is causing this issue

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Sep 27, 2011

I'm getting segmentation faults mostly when there are multiple users and I'm tracking them uncalibrated. It seems to occur when someone steps out of range and then steps back in quickly. If you wait the 5 seconds or so for OSCeleton to stop sending coordinates and then re-enter the problem doesn't occur. Total guess, but it seems that re-rentering quickly results in an attempt to use memory that is already allocated as it tries to keep the same user number?

I'm getting segmentation faults mostly when there are multiple users and I'm tracking them uncalibrated. It seems to occur when someone steps out of range and then steps back in quickly. If you wait the 5 seconds or so for OSCeleton to stop sending coordinates and then re-enter the problem doesn't occur. Total guess, but it seems that re-rentering quickly results in an attempt to use memory that is already allocated as it tries to keep the same user number?

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Sep 27, 2011

PS - OSX 10.6.8 Osceleton 1.2.1

PS - OSX 10.6.8 Osceleton 1.2.1

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Sep 27, 2011

Figuring that maybe this is a NITE issue. Just read that NITE 'manages the tagging of users in the scene and the acquisition and release of control between users' which seems to be where the fault lies.

Figuring that maybe this is a NITE issue. Just read that NITE 'manages the tagging of users in the scene and the acquisition and release of control between users' which seems to be where the fault lies.

@MylesBorins

This comment has been minimized.

Show comment Hide comment
@MylesBorins

MylesBorins Sep 28, 2011

Contributor

Hmmm... so would that mean it is out of our hands to fix?
maybe I need to make a shell script to run osceleton.. that automatically runs it again if it crash's... seems like a solution

Contributor

MylesBorins commented Sep 28, 2011

Hmmm... so would that mean it is out of our hands to fix?
maybe I need to make a shell script to run osceleton.. that automatically runs it again if it crash's... seems like a solution

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Sep 28, 2011

I have posted in the OpenNI forum, I'll report back if I find out anything more.

Yeah, could set up a script, but it would take a few seconds to reinitialize and you lose your users numbers which is a bummer. Have been setting up a Windows machine today (also a bummer) so I'll see how that does with NITE, otherwise I think the Microsoft middleware library would sort the problem (PC only) and you don't have to pose like a cactus for it to pick you up.

I have posted in the OpenNI forum, I'll report back if I find out anything more.

Yeah, could set up a script, but it would take a few seconds to reinitialize and you lose your users numbers which is a bummer. Have been setting up a Windows machine today (also a bummer) so I'll see how that does with NITE, otherwise I think the Microsoft middleware library would sort the problem (PC only) and you don't have to pose like a cactus for it to pick you up.

@MylesBorins

This comment has been minimized.

Show comment Hide comment
@MylesBorins

MylesBorins Oct 8, 2011

Contributor

any word on the error?

Contributor

MylesBorins commented Oct 8, 2011

any word on the error?

@MylesBorins MylesBorins closed this Oct 8, 2011

@MylesBorins MylesBorins reopened this Oct 8, 2011

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Oct 8, 2011

No-one wants to speak to me on the OpenNI group (and no-one wants to speak to us here!). Have used the same set up on a Windows machine (OpenNI, NITE) and there are no problems, seems very robust. That's going to be the solution for me for now, I'm guessing the problem lies with NITE on OSX but I'm no expert.

No-one wants to speak to me on the OpenNI group (and no-one wants to speak to us here!). Have used the same set up on a Windows machine (OpenNI, NITE) and there are no problems, seems very robust. That's going to be the solution for me for now, I'm guessing the problem lies with NITE on OSX but I'm no expert.

@MylesBorins

This comment has been minimized.

Show comment Hide comment
@MylesBorins

MylesBorins Oct 8, 2011

Contributor

Fair enough... I kind of feel like the owners of this project have some more
pressing things going on, but that's alright. Unfortunately going PC really
isn't an option, so a little shell script will have to do.

Contributor

MylesBorins commented Oct 8, 2011

Fair enough... I kind of feel like the owners of this project have some more
pressing things going on, but that's alright. Unfortunately going PC really
isn't an option, so a little shell script will have to do.

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Oct 9, 2011

Yeah, I can't sniff at the amazing work that's gone on and the generosity to share it all, just wish my skills were good enough to help out more!

Yeah, I can't sniff at the amazing work that's gone on and the generosity to share it all, just wish my skills were good enough to help out more!

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Oct 11, 2011

New OSX version of NITE just released on http://www.openni.org/, probably won't get a chance to try it until Friday, but dying to see if it fixes the problem.

New OSX version of NITE just released on http://www.openni.org/, probably won't get a chance to try it until Friday, but dying to see if it fixes the problem.

@MylesBorins

This comment has been minimized.

Show comment Hide comment
@MylesBorins

MylesBorins Oct 12, 2011

Contributor

This is exciting... will install and report back tomorrow

edit: gotta stop click that comment & close button

Contributor

MylesBorins commented Oct 12, 2011

This is exciting... will install and report back tomorrow

edit: gotta stop click that comment & close button

@MylesBorins MylesBorins reopened this Oct 12, 2011

@lwoodbury

This comment has been minimized.

Show comment Hide comment
@lwoodbury

lwoodbury Oct 17, 2011

Well it didn't do anything for me, still getting segfaults, boo.

Well it didn't do anything for me, still getting segfaults, boo.

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