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

Trying with sensor v2.1 #1

Open
elliotwoods opened this issue Jun 22, 2014 · 2 comments
Open

Trying with sensor v2.1 #1

elliotwoods opened this issue Jun 22, 2014 · 2 comments

Comments

@elliotwoods
Copy link

The product ID changed so i updated that
but now i get a hang at depth_iso_transfers.allocate(80, 8, max_packet_size); in runKinect2(..)

the line

  size_t max_packet_size = libusb_get_max_iso_packet_size(dev, 0x84);

reports 4GB, so then the code tries to allocate a 4GB buffer and crashes (since it's a 32bit app). i presume you're running 32bit there also?

elliot

@danzeeeman
Copy link

yeah we are. We're also using one of the older KinectV2 with the prototype
dongles so stuff could have changed....hmmmm

On Sun, Jun 22, 2014 at 2:40 AM, Elliot Woods notifications@github.com
wrote:

The product ID changed so i updated that
but now i get a hang at depth_iso_transfers.allocate(80, 8,
max_packet_size); in runKinect2(..)

the line

size_t max_packet_size = libusb_get_max_iso_packet_size(dev, 0x84);

reports 4GB, so then the code tries to allocate a 4GB buffer and crashes
(since it's a 32bit app). i presume you're running 32bit there also?

elliot


Reply to this email directly or view it on GitHub
#1.

@danzeeeman
Copy link

Oh yeah I was seeing this crash the other day with the newer one. I don't
have a flashed firmware the one I have at my house so I can't test right
now.

On Sun, Jun 22, 2014 at 8:51 AM, Dan Moore dan@makeitdoathing.com wrote:

yeah we are. We're also using one of the older KinectV2 with the
prototype dongles so stuff could have changed....hmmmm

On Sun, Jun 22, 2014 at 2:40 AM, Elliot Woods notifications@github.com
wrote:

The product ID changed so i updated that
but now i get a hang at depth_iso_transfers.allocate(80, 8,
max_packet_size); in runKinect2(..)

the line

size_t max_packet_size = libusb_get_max_iso_packet_size(dev, 0x84);

reports 4GB, so then the code tries to allocate a 4GB buffer and crashes
(since it's a 32bit app). i presume you're running 32bit there also?

elliot


Reply to this email directly or view it on GitHub
#1.

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

No branches or pull requests

2 participants