On Mon, Jan 07, 2008 at 11:25:24PM +0000, Peter Clifton wrote:
> I got this error running PCB under valgrind, when placing an
> AMP_MICTOR_767054_4.fp
> 
> ==22978== Source and destination overlap in memcpy(0x89BFE70, 0x89BFE70,
> 300)
> ==22978==    at 0x4024346: memcpy (mc_replace_strmem.c:116)
> ==22978==    by 0x806FC26: MoveElementToBuffer (buffer.c:441)

This is probably an implicit memcpy since there are no calls to it
in that function.  I'd guess:

  *Element = Source->Element[--Source->ElementN];

which is compacting the source element array.  It would do exactly
what you say if the array became empty.  In that case it's a harmless
error.

-- 
Ben Jackson AD7GD
<[EMAIL PROTECTED]>
http://www.ben.com/


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to