giuliarouge / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

getting a malloc_error_break when running an example #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. after compiling the code it crashes giving an error in the popup about 
libusb-1.0.0.dylib plug-in
and in the processing compiler it says:

java(1345,0xacb702c0) malloc: *** error for object 0x1d0676d4: incorrect 
checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug

What is the expected output? What do you see instead?
I see the correct image it crashes

What version of the product are you using? On what operating system?
I am working on Mac os 10.7.4 and Processing 2.0

Please provide any additional information below.
I think it maight be something with the versions of macport, but i'm not sure
Thanks in advance for the help

Original issue reported on code.google.com by simonere...@gmail.com on 17 Dec 2012 at 4:28

GoogleCodeExporter commented 9 years ago
I am getting the same issue. I have built OpenNI from the current instable 
source.

Original comment by stefan.s...@gmail.com on 12 Jan 2013 at 11:36

GoogleCodeExporter commented 9 years ago
same here :(

Original comment by marcopol...@gmail.com on 27 Jan 2013 at 10:44

GoogleCodeExporter commented 9 years ago
apparently it's the Kinect that you are using that makes the difference.
 If you have an old Kinect (for Xbox 360) it should work, but if you are using the kinect for windows then...i am testing that just now.

Original comment by simonere...@gmail.com on 28 Jan 2013 at 8:12

GoogleCodeExporter commented 9 years ago
ok after three days of tinkering I found out the problem to be the model number 
of the kinect. It's not a kinect4windows but a new xbox model: 1473. A friend 
and I are working on a solution.

Original comment by marcopol...@gmail.com on 29 Jan 2013 at 2:53

GoogleCodeExporter commented 9 years ago
let us know when you have it as it will solve my month..

Original comment by simonere...@gmail.com on 29 Jan 2013 at 3:07

GoogleCodeExporter commented 9 years ago
Same issue here. Kinect for Windows model 1517

Original comment by nudoru.m...@gmail.com on 6 May 2013 at 4:35

GoogleCodeExporter commented 9 years ago
Same issue here, model 1473. I work in my MacBook Air with OSX 10.8.3. 

Did you find any solution for this? 

I can run the examples for a few seconds, but seems like it lost connection 
every few seconds or something like that. 
Thank you!

Original comment by microsom...@gmail.com on 7 Jun 2013 at 3:47

GoogleCodeExporter commented 9 years ago
I bought a new xbox360 (model 1473) and I get the same error. Any suggestion ? 
I use a mac OSX 10.6.8.

Original comment by florent....@gmail.com on 16 Jun 2013 at 8:16

GoogleCodeExporter commented 9 years ago
I'm also having the same issue with the 2nd Kinect sensor I bought just the 
other day. It's model 1473 and I bought it stand alone. I have another sensor 
that is incredibly difficult to access as it is wired through my entertainment 
center which is hard-bolted on the wall. Has anyone found a working solution? 
Everything works fine if you run it on Windows but on OS X it crashes after a 
few seconds.

Original comment by clifton....@gmail.com on 26 Jun 2013 at 4:05

GoogleCodeExporter commented 9 years ago
I also get errors when trying to open the Kinect from the openFrameworks 
ofxKinect plugin. Could this also be related?

Original comment by clifton....@gmail.com on 26 Jun 2013 at 4:08

GoogleCodeExporter commented 9 years ago
It's exactly the same for me : The 1473 works fine with Microsoft (Windows 7) 
but not with Mac OSX. Using OpenNi and Nite exemples crash after few seconds. I 
haven't find any solution for the moment.

Original comment by florent....@gmail.com on 26 Jun 2013 at 6:44

GoogleCodeExporter commented 9 years ago
I've been researching on the open Frameworks ofxKinect project page. Apparently 
there's a change in the hardware that requires different driver support. I 
don't know which drivers OpenNI are based on but it seems the OSX version of 
openNI is a couple of point revisions behind the Windows/Linux version. I'm 
wondering if it's just a matter of finding the latest openNI source and 
building it for Mac.

Original comment by clifton....@gmail.com on 4 Jul 2013 at 3:32

GoogleCodeExporter commented 9 years ago
Model 1473 here.  Same thing.  Ugh.  Anyone have any update on an update?

Original comment by cartera...@gmail.com on 16 Jul 2013 at 11:33

GoogleCodeExporter commented 9 years ago

SimpleOpenNI Version 0.27
java(10775,0xb0a17000) malloc: *** error for object 0x178919a4: incorrect 
checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

Original comment by cartera...@gmail.com on 16 Jul 2013 at 11:39

GoogleCodeExporter commented 9 years ago
Model 1517, OS X 10.8.4...same issue. Also tried on 10.6.8 and no dice. Anyone 
with a working solution?

Original comment by skelete...@gmail.com on 18 Jul 2013 at 11:47

GoogleCodeExporter commented 9 years ago
hi, I just following your steps to setup my Kinect on Mac OS 10.8.4.
When I install OpenNI SDK 1.5.4.0 for MacOSX
I just got this message on Terminal

Installing OpenNI
*******************

copying shared libraries…OK
copying executables…cp: /usr/bin/niReg: No such file or directory

What should I do???
Thanks!

Original comment by mon...@gmail.com on 15 Aug 2013 at 9:37

GoogleCodeExporter commented 9 years ago
When I install HomeBrew last night…. then it said I must uninstall MacPorts.
Then I following the steps….
It’s Work!!!!
But just around 20seconds… :(
And show the error message….
————————————————
SimpleOpenNI Version 0.27
java(230,0x11ffec000) malloc: *** error for object 0x7f9806269068: incorrect 
checksum for freed object – object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.

Original comment by mon...@gmail.com on 15 Aug 2013 at 9:38

GoogleCodeExporter commented 9 years ago
The only solution I found was to use a 1414 kinect instead of a 1473 model on 
Mac OSX.

Original comment by florent....@gmail.com on 15 Aug 2013 at 9:41

GoogleCodeExporter commented 9 years ago
Where can i buy the model 1414 kinect on internet?
Please help! Thanks!

Original comment by mon...@gmail.com on 15 Aug 2013 at 9:44

GoogleCodeExporter commented 9 years ago
I have found mine on Priceminister. Don't forget to ask for the model before 
buying it.

Original comment by florent....@gmail.com on 15 Aug 2013 at 9:46

GoogleCodeExporter commented 9 years ago
YES!!!!
model 1414 XBOX360 Kinect is work for me on mac osx 10.8.4!!!!!

Original comment by mon...@gmail.com on 19 Aug 2013 at 1:10

GoogleCodeExporter commented 9 years ago
I got the 1414 working with OS X 10.8.4, but everytime I run any example in 
processing appears:

************
SimpleOpenNI Version 1.96
Invalid memory access of location 0x0 eip=0x193c81ec
*************

And a popup saying that the app close while it was using libusb-1.0.0 .dylib.

Any idea?  Thanks!!!!

Original comment by jcaballe...@gmail.com on 8 Sep 2013 at 9:14

GoogleCodeExporter commented 9 years ago
hi, Have your project work well before?
I got the same message too... but not all of kinect project.
When I got this message. It's also work well... so that I ignore it. :)

Original comment by mon...@gmail.com on 9 Sep 2013 at 1:27

GoogleCodeExporter commented 9 years ago
Hey, I've got the same problem! Does anyone knows how to fix this problem:

Even a example file of SimpleOpenNI does not work anymore. I've updated my 
Macbook to version 10.8.5. And I'm using a kinect 1414. 

Could not run the sketch (Target VM failed to initialize).
Make sure that you haven't set the maximum available memory too high.
For more information, read revisions.txt and Help ? Troubleshooting.

Original comment by jobt...@gmail.com on 15 Oct 2013 at 5:42

GoogleCodeExporter commented 9 years ago
people with the same issue might want to check this thread out:
http://code.google.com/p/simple-openni/issues/detail?id=75
hope it helps!

Original comment by isto.def...@gmail.com on 15 Nov 2013 at 2:25