Re: [Valgrind-users] Valgrind 3.7.0/memcheck error message cut short

2012-03-03 Thread Florian Krohm
On 03/02/2012 06:39 AM, Julian Seward wrote: On Friday, March 02, 2012, SFBay Area wrote: Hi, I have started coding in C++ and use a lot of templates, and I do mean a lot. Unfortunately, my type names became way too long for Valgrind to handle. Currently, it seems that it cuts the type name

Re: [Valgrind-users] Valgrind 3.7.0/memcheck error message cut short

2012-03-03 Thread SFBay Area
It might be BUF_LEN defined in VG_(describe_IP) in coregrind/m_debuginfo/debuginfo.c, currently 4096. Alternatively you can use --demangle=no and demangle the output by hand by pushing it through c++filt. There is also a hard-coded limit here: void VG_(demangle) ( Bool

Re: [Valgrind-users] Valgrind 3.7.0/memcheck error message cut short

2012-03-03 Thread SFBay Area
Regarding that demangled name exceeding line length, I found all files in coregrid/ that defined a buffer with length 4096 and changed them all to 32768, now Valgrind works fine. I guess the buffers you guys suggested went through a smaller buffer at some point, getting cut short. Would it be a

[Valgrind-users] Valgrind 3.7.0/memcheck error message cut short

2012-03-02 Thread SFBay Area
Hi, I have started coding in C++ and use a lot of templates, and I do mean a lot. Unfortunately, my type names became way too long for Valgrind to handle. Currently, it seems that it cuts the type name at around 4100 characters (slightly less than that). That is not much of a problem per se, but

Re: [Valgrind-users] Valgrind 3.7.0/memcheck error message cut short

2012-03-02 Thread Julian Seward
On Friday, March 02, 2012, SFBay Area wrote: Hi, I have started coding in C++ and use a lot of templates, and I do mean a lot. Unfortunately, my type names became way too long for Valgrind to handle. Currently, it seems that it cuts the type name at around 4100 characters (slightly less