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 7615945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:46:05+00:00 2026-05-31T02:46:05+00:00

I have a code in Which the call to push_back fails for me .

  • 0

I have a code in Which the call to push_back fails for me . The mdb gives me the following clue .

::dem malloc+0x49~
malloc+0x49~ == malloc+0x49~
::dem __1cIallocate4CpnGrnc_JO__6FipTA_3_+0x2a~
__1cIallocate4CpnGrnc_JO__6FipTA_3_+0x2a~ == __type_0*allocate
::dem __1cJallocator4CpnGrnc_JO__Iallocate6MI_p1_+0x20~
__1cJallocator4CpnGrnc_JO__Iallocate6MI_p1_+0x20~ == rnc_JO**allocator::allocate
::dem __1cGvector4CpnGrnc_JO__Kinsert_aux6Mp1rk1_v_+0xac
__1cGvector4CpnGrnc_JO__Kinsert_aux6Mp1rk1_v_+0xac == void vector::insert_aux
::dem __1cGvector4CpnGrnc_JO__Jpush_back6Mrk1_v_+0x4e
__1cGvector4CpnGrnc_JO__Jpush_back6Mrk1_v_+0x4e == void vector::push_back
::dem __1cIallocate4CpnGrnc_JO__6FipTA_3_+0x2a
__1cIallocate4CpnGrnc_JO__6FipTA_3_+0x2a == __type_0*allocate
::dem __1cGvector4CpnGrnc_JO__Jpush_back6Mrk1_v_+0x4e
__1cGvector4CpnGrnc_JO__Jpush_back6Mrk1_v_+0x4e == void vector::push_back`

I dont know How can this be corrected ?. What i know that there is an allocated space Which is actually bigger than the vector size . If that space is utilised it will reassign and copy all data to second location.

What i also know that vector macx_size is a very large value and this should not fail for my code as i am not inserting so many values.
Can you let me know What shoould i be debugging for?

  • 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-05-31T02:46:06+00:00Added an answer on May 31, 2026 at 2:46 am

    One way to check is to monitor the free memory on your system together with the memory that your application is using.

    • If the memory usage of your application keeps growing, then you probably have a memory leak.
    • If there is less free memory than your application needs, then you have a resource issue.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code which builds an array of date ranges. I then call
On my main page I have this jquery code which does an ajax call
I have code in the following form in which the user may specify a
I have the following code in a JUnit test, which seemed to work last
So I have the following code, which allocates memory using the mmap linux system
I have the following code which works in FF / Chrome var stack =
I have code which needs to do something like this There is a list
I have code which looks like: private static DirectiveNode CreateInstance(Type nodeType, DirectiveInfo info) {
I have code which as been working against an older Active Directory server and
I already have code which lazy loads scripts on request. My issue now is

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.