Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 01:35:08 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Khairil Yusof <khairil.yusof@gmail.com>
Cc:        gnome@freebsd.org
Subject:   Re: problems rhythmbox 0.9.3.1
Message-ID:  <1139726108.12426.18.camel@shumai.marcuscom.com>
In-Reply-To: <1139713404.59900.36.camel@shumai.marcuscom.com>
References:  <1139185642.25725.167.camel@wolverine> <1139187760.730.10.camel@shumai.marcuscom.com> <1139647425.79253.4.camel@shumai.marcuscom.com> <1139674838.37533.78.camel@wolverine> <1139685927.59900.1.camel@shumai.marcuscom.com> <1139713316.37533.84.camel@wolverine> <1139713404.59900.36.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-wC/tUoWMdAv4OS8UVReG
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2006-02-11 at 22:03 -0500, Joe Marcus Clarke wrote:
> On Sun, 2006-02-12 at 11:01 +0800, Khairil Yusof wrote:
> > On Sat, 2006-02-11 at 14:25 -0500, Joe Marcus Clarke wrote:
> >=20
> > > And I am also loading songs over NFS....hmmm.  What FAM system are yo=
u
> > > using?
> >=20
> > gamin with WANT_FAM_SYSTEM=3Dgamin in /etc/make.conf
>=20
> You should be setting WITH_FAM_SYSTEM in make.conf now.  In any event,
> I'm using gamin as well.

I found the problem.  Since gamin is looking at NOTE_ATTRIB for changes,
even a file access change will trigger a FAM changed event.  And since
such an event triggers a reload of the changed file in r-b, the
attributes change again, and then r-b loads the file again, ... and so
on.

It seems to me r-b is being too aggressive in what it considers a
change.  I think a good solution might be to change
rhythmdb_check_changed_file() in rhythmdb.c to always return TRUE.  This
will remove the "changed" file from the list of changed files, and it
should never trigger this cycle.

I'll give this a try, and let you know.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-wC/tUoWMdAv4OS8UVReG
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBD7tccb2iPiv4Uz4cRAiUzAJwPuf0dX44WQJBWtI3HO46C91thPgCeOpEg
5bsXsVTLIv8JMYJNU3hH284=
=K767
-----END PGP SIGNATURE-----

--=-wC/tUoWMdAv4OS8UVReG--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139726108.12426.18.camel>