[mnet-devel] Help with mnet/fec/mmap/w32

Zooko zooko at zooko.com
Tue Jun 24 11:20:28 BST 2003


Rob:

Is this on Mac OS X or what?

--Z

> So I was tapping away today at code that pokes at mnet.
> 
> I believe I got it to do a 'put' of a file, and since then the Node has 
> exploded every time I've tried to put a file.
> 
> I spent a while delving into the code to figure out exactly where it 
> explodes (specifically it segfaults, sorry gets an 'access violation', 
> when the C code in fecmodule tries to turn around and call 'mmap.mmap' 
> i.e. "mmapobj = PyObject_Call(mmapfunc, mmap_args, mmap_kwargs);" in 
> the FileToMmap function)
> 
> So currently I can run Mnet fine as long as I never try to 'put' a 
> file, when the Node crashes and exits. Doh!
> 
> The really curious thing is that when I tried tickling RizzoEncoder and 
> ZNFFEncoder manually from python it worked fine.  It only explodes when 
> it's called within Mnet.
> 
> Any ideas about why that might be the case?  Or what can be done about 
> it?  Or at least how to figure out more informative information...?


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list