Hey guys,
I'm wondering if anyone can help me get rid of this error. I recently installed curlpp on my mac and I'm running (on xcode) one of the examples they provide just to see if the library works. However, I get this error when I run the program.
curlppexample(779) malloc: *** error for object 0x10051fb40: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Program received signal: “SIGABRT”.
sharedlibrary apply-load-rules all
Here is the example I'm using:
http://curlpp.org/in...s/47-example-00
I been googling for solutions, I found a few ways that people solved this problem but it did not work for me.
Thanks in advance.
2 Replies - 2342 Views - Last Post: 12 October 2011 - 08:04 PM
#1
Silly C++ error (pointer being freed was not allocated )
Posted 12 October 2011 - 12:17 PM
Replies To: Silly C++ error (pointer being freed was not allocated )
#2
Re: Silly C++ error (pointer being freed was not allocated )
Posted 12 October 2011 - 03:37 PM
That's EXACTLY the code you're using? I know curlpp works on Mac OS X, as I wrote and ran this on my Mac.
#3
Re: Silly C++ error (pointer being freed was not allocated )
Posted 12 October 2011 - 08:04 PM
Thx for the reply.
Yup thats the exact code I'm using. Didn't change one line!
Weird
Yup thats the exact code I'm using. Didn't change one line!
Weird
Page 1 of 1

New Topic/Question
Reply



MultiQuote


|