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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.