No, sorry, I don't know anything in this area, I just did some research
on the internet.
Well I just changed the assertion to not fail when ctx->group == NULL
and that works for me since yesterday, but I don't know if there are
side effects. So my solution is:
--- netatalk-2.0.3/debian/patches/107_afpd-zeroconf.patch
2007-12-21 21:53:43.000000000 +0100
+++ netatalk-2.0.3.new/debian/patches/107_afpd-zeroconf.patch
2007-12-21 21:56:52.000000000 +0100
@@ -350,7 +350,7 @@
+{
+ struct context *ctx = userdata;
+
-+ assert(g == ctx->group);
++ assert(!ctx->group || g == ctx->group);
+
+ switch (state) {
+
Jonas Smedegaard schrieb:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Dec 21, 2007 at 12:56:02AM +0100, Omar Siam wrote:
Starting afpd (-d) fails with afpd: afp_avahi.c:94: publish_reply:
Assertion `g == ctx->group' failed. This is because of wrong usage of
avahi_entry_group_new. The manual on avahi.org about this function says: A
common mistake is to store the AvahiEntryGroup pointer returned by
avahi_entry_group_new() in a global variable and assume that this global
variable already contains the valid pointer when the callback is called
for the first time. So ctx->group is not set when this assertion is
first checked.
Sounds like you are more knowledgeable in this area than me. Could I
perhaps persuade you to come up with a patch?
Kind regards,
- Jonas
- --
Jonas Smedegaard <[EMAIL PROTECTED]> http://www.jones.dk/~jonas/
IT-guide dr. Jones <[EMAIL PROTECTED]> http://dr.jones.dk/ +45 40843136
Debian GNU/Linux <[EMAIL PROTECTED]> http://www.debian.org/
GnuPG(1024D/C02440B8): 9A98 C6EB C098 9ED0 3085 ECA9 9FB0 DB32 C024 40B8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHbBETn7DbMsAkQLgRAmW7AKCHXsb366/DPalMgRej3iWMZD0ZhACeIh0R
rzQehoqVv14yBlUeDcExj14=
=OMj4
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]