loveslave
asked on
Tracing memory leaks (using LeakTracer)
Hello, I'm trying to patch up some memory leaks in my program using LeakTracer, but I still don't quite understand where the largest one is coming from.
This is kind of a shot in the dark, I guess, but have any of you used LeakTracer a lot? Where would you start looking if you got output like the one here? I don't have any string iterators in my program that I'm aware of. What does this mean?
#-- Leak: counted 74x / total Size: 3313520
During symbol reading, struct/union type gets multiply defined: struct __normal_
iterator<char*,std::basic_ string<cha r, std::char_traits<char>, std::allocator<ch
ar> > >.
During symbol reading, struct/union type gets multiply defined: struct __normal_
iterator<const char*,std::basic_string<ch ar, std::char_traits<char>, std::alloca
tor<char> > >.
0x43222d is at /usr/include/c++/3.2/bits/ char_trait s.h:147.
146 copy(char_type* __s1, const char_type* __s2, size_t __n)
147 { return static_cast<char_type*>(me mcpy(__s1, __s2, __n)); }
This is kind of a shot in the dark, I guess, but have any of you used LeakTracer a lot? Where would you start looking if you got output like the one here? I don't have any string iterators in my program that I'm aware of. What does this mean?
#-- Leak: counted 74x / total Size: 3313520
During symbol reading, struct/union type gets multiply defined: struct __normal_
iterator<char*,std::basic_
ar> > >.
During symbol reading, struct/union type gets multiply defined: struct __normal_
iterator<const char*,std::basic_string<ch
tor<char> > >.
0x43222d is at /usr/include/c++/3.2/bits/
146 copy(char_type* __s1, const char_type* __s2, size_t __n)
147 { return static_cast<char_type*>(me
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: SteH {http:#9785332}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Tinchos
EE Cleanup Volunteer