Is this due to being out of memory?

Thread Solved

Join Date: Feb 2005
Posts: 466
Reputation: winbatch is on a distinguished road 
Solved Threads: 18
winbatch's Avatar
winbatch winbatch is offline Offline
Posting Pro in Training

Is this due to being out of memory?

 
0
  #1
Aug 16th, 2005
I keep getting a core dump (bus error) on my program. I suspect it has something to do with the amount of data I am storing in a map<string,string> The program crashes however when it is done processing and is actually destructing. Before I post any code, I was wondering if this stack trace would seem to point to my assumptions (some sort of out of memory error...)

>[1] t_delete(0x281eb38, 0xff13c008, 0x1d08, 0x4d81030, 0x518e568, 0x98), at 0xff0c27f0
[2] realfree(0x281eb38, 0xff142858, 0xff13c008, 0x4d81030, 0x9b, 0x4d81038), at 0xff0c240c
[3] _free_unlocked(0xff1427cc, 0xff13c008, 0x50935f8, 0xff13c008, 0x2232c, 0xff0c2b64), at 0xff0c2c1c
[4] free(0x50935f8, 0x0, 0x50b39f8, 0x50b3948, 0x22304, 0xff3455ec), at 0xff0c2b6c
[5] operator delete(0x50935f8, 0x0, 0x1, 0x50b3688, 0x1701c0, 0x0), at 0xff3455ec
[6] std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink(0x168280, 0x0, 0x1, 0x50935f8, 0x1701a8, 0x0), at 0x3884c
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 466
Reputation: winbatch is on a distinguished road 
Solved Threads: 18
winbatch's Avatar
winbatch winbatch is offline Offline
Posting Pro in Training

Re: Is this due to being out of memory?

 
0
  #2
Aug 16th, 2005
Never mind...didn't null terminate char * being sent to string class.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC