954,480 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is this due to being out of memory?

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 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,std::allocator >::__unLink(0x168280, 0x0, 0x1, 0x50935f8, 0x1701a8, 0x0), at 0x3884c

winbatch
Posting Pro in Training
466 posts since Feb 2005
Reputation Points: 68
Solved Threads: 18
 

Never mind...didn't null terminate char * being sent to string class.

winbatch
Posting Pro in Training
466 posts since Feb 2005
Reputation Points: 68
Solved Threads: 18
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You