On 26 Sep 2004, Nikolay Sturm wrote:

> I have a problem with gtk-gnutella on sparc64 and presumably every
> 64bit architecture. In nodes.c you happily mix gint and size_t
> resulting in a startup crash:
>
> 04/09/25 23:54:27 (CRITICAL): file glib-missing.c: line 189
> (gm_snprintf): assertion `(ssize_t) n > 0' failed.
>
> ** ERROR **: file nodes.c: line 4659 (node_init_outgoing): assertion
> failed: (len < sizeof(buf))
> aborting...
> Abort (core dumped)
>
> Looking at the code it doesn't seem clear to me what to do for a
> real fix. The attached diff is a bad workaround, but works for
> me. Do you have any better solution?

Which version of gtk-gnutella are you trying with this? I assume 0.94?
We did make some recent changes to this code which seems to have
abstracted things a bit more. My hope would be that this fixes the
problems you are seeing. It would be useful if you could also test
with current CVS to see if the problem still exists. 

It's probably a good idea to send further messages to the
gtk-gnutella-devel list (see cc), as I'm not really knowledgeable
about this part of the code.

Kind regards,

Hans


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to