The only programs registered to gamin on my computer are KDE programs.
While it indeed impacts Kubuntu users the most, I assume Ubuntu users
that run some KDE programs are also affected by this.
An ugly workaround is to make .xsession-errors write-protected; it
prevents the file from changing,
I also have this problem; shutting amaroK down solves it. According to
the log files, amaroK is monitoring three paths:
/home/frosty (my home dir)
/etc/security
/etc/samba/smb.conf
The last two paths are monitored by nearly every KDE application, and
they don't seem to create any problem.