-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
[Mac] Demo does not run - "Attempt to free invalid pointer" #1892
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Did you solve the problem? I'm having same one.. OS : Mac 11.3.1 |
Also having the same issue. Installed caffe from homebrew and used that instead of building from source. |
If helpful, when I try to build from source with the openpose fork, there are two issues. The first is that the latest version of protobuf seems incompatible with the fork, causing the following error:
This can be fixed by removing the second argument in the specified file. The second issue I have not been able to address is this linker error:
|
Same error here as well on 12.1 with M1 chip |
got the same error, any fix for that? |
+1 |
Didn't face the second issue on 12.2.1 intel mac. |
I resolved the Attempt to free invalid pointer on OSX issue. |
This was the issue, and I solved it by following your steps, thanks @elcchan99 ! |
Issue Summary
With the files generated from running the CMake, I am trying to run the simple demo, but it it showing the message "Attempt to free invalid pointer 0x7feac270d5c0"
Here's the CMake GUI setting, if it helps:
(Note
WITH_QT
is on,WITH_GTK
is off, per this comment)Executed Command (if any)
./build/examples/openpose/openpose.bin --video examples/media/video.avi
OpenPose Output (if any)
Starting OpenPose demo...
Configuring OpenPose...
Starting thread(s)...
---------------------------------- WARNING ----------------------------------
We have introduced an additional boost in accuracy in the CUDA version of about 0.2% with respect to the CPU/OpenCL versions. We will not port this to CPU given the considerable slow down in speed it would add to it. Nevertheless, this accuracy boost is almost insignificant so the CPU/OpenCL versions can be safely used.
-------------------------------- END WARNING --------------------------------
src/tcmalloc.cc:333] Attempt to free invalid pointer 0x7feac270d5c0
Errors (if any)
Attempt to free invalid pointer 0x7feac270d5c0
Type of Issue
Select the topic(s) on your post, delete the rest:
Your System Configuration
Whole console output:
Starting OpenPose demo...
Configuring OpenPose...
Starting thread(s)...
---------------------------------- WARNING ----------------------------------
We have introduced an additional boost in accuracy in the CUDA version of about 0.2% with respect to the CPU/OpenCL versions. We will not port this to CPU given the considerable slow down in speed it would add to it. Nevertheless, this accuracy boost is almost insignificant so the CPU/OpenCL versions can be safely used.
-------------------------------- END WARNING --------------------------------
src/tcmalloc.cc:333] Attempt to free invalid pointer 0x7feac270d5c0
OpenPose version: Latest github master branch (latest commit id: 1f1aa9c)
General configuration:
Non-default settings:
3rd-party software:
cmake --version
in Ubuntu): 3.19.6No GPU issue
If CPU-only mode issue:
If Python API:
python -c "import numpy; print numpy.version.version"
in Ubuntu): 1.20.1The text was updated successfully, but these errors were encountered: