memmove() with 5 arguments? (was F14 X server problem)

Nalin Dahyabhai nalin at redhat.com
Mon Nov 29 23:41:38 UTC 2010


On Mon, Nov 29, 2010 at 04:37:05PM -0500, Dick St. Peters wrote:
> The ltrace output in /tmp/Xorg.out has 176 calls to memmove(), all
> with five arguments, like this example:
> 
>     memmove(0xa352c50, 0xa3535e0, 1648, 0x806892f, 0x40001c)
> 
> Can anyone shed some light on what is going on here?  The first three
> arguments appear to be the usual three memmove() arguments: dest, src,
> and count.  The extra two aren't documented anywhere I can find, and
> memmove() has always been a three-argument function.

It looks to me as though ltrace just doesn't "know" how many arguments
memmove() takes, and this can be fixed with a quick change to
/etc/ltrace.conf.  I went ahead and opened bug #658311 about it.

HTH,

Nalin


More information about the users mailing list