Raphael Manfredi wrote:
> Quoting Christian Biere <christianbi...@gmx.de> from 
> ml.softs.gtk-gnutella.devel:
> :Hauke Hachmann wrote:
> :> On Friday 29 May 2009, Christian Biere wrote:
> :> > This is probably fixed in SVN since r16807 now.
> :
> :> Nope, the newest revision (16813) still crashes on startup.
> :
> :Indeed, I can still reproduce the issues with Help->FAQ but
> :it takes a bit longer than before.
> 
> This is because vmm_munmap(), in its present form, was wrong.  I could
> swear I had written it correctly, otherwise it's a stupid mistake, sorry.

This was actually my mistake. I don't like testing against '-1' when the
only successful return value is zero. I added a warning in case of failure
now, which would have made this inverted logic of mine obvious sooner.

I doubt this fixes Hauke's issue though. The assertion failure seems to
imply that mmap() didn't like the hint.

-- 
Christian

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to