[Mono-list] Mono.Zeroconf Problem: Calling delegate after garbagecollection

joel joel_stammen at sra.com
Tue Aug 19 14:19:52 EDT 2008


Were you able to remedy this problem?  I'm running into the same issue and
can't seem to get around it.


parkerjm wrote:
> 
> 
> 
> 
> Aaron Bockover wrote:
>> 
>> These GC issues should be fixed in SVN/trunk. I have not yet made a
>> release including them however. There will be a Mono.Zeroconf release
>> hopefully this week. Follow the link below to get binaries for testing.
>> They will not change from what will be released next week unless you find
>> there is still a collection issue with the delegates:
>> 
>> --Aaron
>> 
> I dropped the versions of both Mono.Zeroconf and
> Mono.Zeroconf.Providers.Bonjour into my project, but now I receive this
> exception:
> 
> System.TypeLoadException was unhandled
>   Message="Method 'get_AddressProtocol' in type
> 'Mono.Zeroconf.Providers.Bonjour.BrowseService' from assembly
> 'Mono.Zeroconf.Providers.Bonjour, Version=3.0.0.80, Culture=neutral,
> PublicKeyToken=null' does not have an implementation."
>   Source="Mono.Zeroconf.Providers.Bonjour"
>   TypeName="Mono.Zeroconf.Providers.Bonjour.BrowseService"
>   StackTrace:
>        at
> Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.OnBrowseReply(ServiceRef
> sdRef, ServiceFlags flags, UInt32 interfaceIndex, ServiceError errorCode,
> String serviceName, String regtype, String replyDomain, IntPtr context)
>        at
> Mono.Zeroconf.Providers.Bonjour.Native.DNSServiceProcessResult(IntPtr
> sdRef)
>        at Mono.Zeroconf.Providers.Bonjour.ServiceRef.ProcessSingle()
>        at Mono.Zeroconf.Providers.Bonjour.ServiceRef.Process()
>        at Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.ProcessStart()
>        at Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.ThreadedStart()
>        at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
>        at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
>        at System.Threading.ThreadHelper.ThreadStart()
> 
> Am I doing something wrong?
> 
> Thanks,
> James
> -- 
> View this message in context:
> http://www.nabble.com/Mono.Zeroconf-Problem%3A-Calling-delegate-after-garbage-collection-tp18534138p18593084.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://n2.nabble.com/Mono.Zeroconf-Problem%3A-Calling-delegate-after-garbage-collection-tp575857p733748.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list