On Wed, 2016-02-03 at 21:33 +0100, Philippe Waroquiers wrote:
> On Wed, 2016-02-03 at 20:45 +0100, David Hallas wrote:
> 
> > valgrind: m_deduppoolalloc.c:258 (vgPlain_allocEltDedupPA): Assertion
> > 'eltSzB <= ddpa->poolSzB' failed.
> > I am running on a 64bit Linux system, and the binary is compiled using
> > clang-3.7.
> > Can anyone give some pointers as to what might be wrong?
> This assert probably indicates there is a bug in valgrind triggered
> by unexpected (or incorrect?) data in the executable (e.g. debug info).
> 
> Normally, for such asserts, a guest and host stack traces are produced.
> Without these stacktraces, not much chance to guess what is wrong.
> 
> Assuming this is caused by debuginfo, you could try to run
> with more tracing, e.g.
>    -v -v -v -d -d -d 
> and one or more of
> 
>     --trace-symtab=no|yes     show symbol table details? [no]
>     --trace-symtab-patt=<patt> limit debuginfo tracing to obj name <patt>
>     --trace-cfi=no|yes        show call-frame-info details? [no]
>     --debug-dump=syms         mimic /usr/bin/readelf --syms
>     --debug-dump=line         mimic /usr/bin/readelf --debug-dump=line
>     --debug-dump=frames       mimic /usr/bin/readelf --debug-dump=frames

The assert might be caused by the debuginfo containing a string bigger
than SEGINFO_STRPOOLSIZE (64Kb).
If that is the case, we could make the allocEltDedupPA function allow
for bigger strings, but would be nice to first verify this is
effectively a big string, and also then understand why clang
generates strings > 64Kb.

So, more info is needed to confirm what is the problem
(i.e. either tracing and/or the crash stack traces)

Philippe



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to