Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8211397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:24:53+00:00 2026-06-07T10:24:53+00:00

I am building an iOS application. It’s using a C++ library which runs alongside

  • 0

I am building an iOS application. It’s using a C++ library which runs alongside (crowd simulation lib, which determines positions of many agents) a cocos2d game.

After I added some more animations and extra bells and whistles the app crashes after about 6-30 seconds, with errors like:
tiny_malloc_from_free_list
tiny_free_list_remove_ptr

The thing is, it ALWAYS happens at the same memory address 0x1000. But I can replicate the error on two different devices exactly, so it’s not the memory itself which is bad.

I’m not expecting a complete answer, but some pointers to where I should start looking would be very nice 🙂 thank you!

EDIT: I removed the c++ lib completely, but the error still persists. I will update once I have gotten closer.

EDIT: The problem was in the Cocos2d v. 2 display stats adding and removing pointers. Thank you for all of your help! one of the texture enum vals was 1<<12 and was used as a pointer… I stopped using the display stats. 🙂 thank you all!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:24:55+00:00Added an answer on June 7, 2026 at 10:24 am

    Assuming your backtrace doesn’t immediately show the problem…

    Sounds like it could be a deference of a nil “object”, where the code is attempting to reference *(p + 0x1000). Note that 0x1000 is probably the VM page size.

    In situations like this I turn on zombies and guard malloc to see if I can catch the problem as it happens.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building an iOS application which is using Facebook API. I found that
I'm building a VoIP handset application on iOS (using the PJSIP library), and PJSIP
I'm building an application for iPhone(iOS 5) using Phonegap(Html + Javascript + Css), and
I'm building an iOS application which fetches all of it's data from an online
So, I'm building an application which save locations to a database using lat/lon coordinates.
I'm building an iOS application (take a picture and run OCR on it) using
I'm building and iOS application which fetches data from my MYSQL database, so to
Fellow StackOverflowers, we are building an iOS application that will record data which will
I'm building an application that has a media player in it (I'm using iOS
I am currently building an ios application with phonegap and i'm using Jquery mobile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.