[Mono-bugs] [Bug 692499] New: Exception on the same service unregistered on two interfaces

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 9 03:58:50 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=692499

https://bugzilla.novell.com/show_bug.cgi?id=692499#c0


           Summary: Exception on the same service unregistered on two
                    interfaces
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Mono.Zeroconf
        AssignedTo: rf at novell.com
        ReportedBy: jan.polak at mlabs.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---


On workstation with two interfaces (eth0 and eth1) run:

MZClient.exe -p "_workstation._tcp 1234 Test"

and in other terminal:

MZClient.exe -r

when you close first process result is:

*** Found name = 'Test', type = '_workstation._tcp', domain = 'local'
*** Found name = 'Test', type = '_workstation._tcp', domain = 'local'
*** Resolved name = 'Test._workstation._tcp.local', host ip = 'x.y.24.69',
hostname = k3.local, port = '1234', interface = '4', address type = 'IPv4'
*** Resolved name = 'Test._workstation._tcp.local', host ip = '192.168.254.99',
hostname = k3.local, port = '1234', interface = '3', address type = 'IPv4'
*** Lost  name = 'Test', type = '_workstation._tcp', domain = 'local'

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> System.NullReferenceException:
Object reference not set to an instance of an object
  at Mono.Zeroconf.Providers.AvahiDBus.BrowseService.DisposeResolver ()
[0x0002a] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/BrowseService.cs:65 
  at Mono.Zeroconf.Providers.AvahiDBus.BrowseService.Dispose () [0x0000f] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/BrowseService.cs:56 
  at Mono.Zeroconf.Providers.AvahiDBus.ServiceBrowser.OnItemRemove (Int32
interface, Protocol protocol, System.String name, System.String type,
System.String domain, LookupResultFlags flags) [0x00026] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/ServiceBrowser.cs:139 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x000d0] in
/build/src/mono-2.10.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:226 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x000e6] in
/build/src/mono-2.10.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:234 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] in
/build/src/mono-2.10.2/mcs/class/corlib/System.Reflection/MethodBase.cs:96 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000b9] in
/build/src/mono-2.10.2/mcs/class/corlib/System/Delegate.cs:408 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args)
[0x00018] in
/build/src/mono-2.10.2/mcs/class/corlib/System/MulticastDelegate.cs:70 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in
/build/src/mono-2.10.2/mcs/class/corlib/System/Delegate.cs:382 
  at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message msg) [0x00057] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/NDesk.DBus/Connection.cs:423 
  at NDesk.DBus.Connection.DispatchSignals () [0x000d1] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/NDesk.DBus/Connection.cs:313 
  at NDesk.DBus.Connection.Iterate () [0x00019] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/NDesk.DBus/Connection.cs:328 
  at Mono.Zeroconf.Providers.AvahiDBus.DBusManager.IterateThread (System.Object
o) [0x00027] in
/home/benetnash/tmp/Mono.Zeroconf/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/DBusManager.cs:72

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list