[Mono-bugs] [Bug 674016] KnowTypeCollection creates infinite loop
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Feb 22 11:35:53 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=674016
https://bugzilla.novell.com/show_bug.cgi?id=674016#c1
--- Comment #1 from David Schmitt <david at dasz.at> 2011-02-22 16:35:52 UTC ---
Since the revert of 1e17218a2 didn't actually fix the problem, I've
investigated further and added some debug output to
KnownTypeCollection.RemoveAt(int)
The following stacktrace repeats indefinitely:
RemoveItem index=0 type=[Kistl.API.SerializableExpression]
RemoveItem will remove 0 items
at System.Runtime.Serialization.KnownTypeCollection.RemoveItem(Int32 index)
at System.Collections.ObjectModel.Collection`1[[System.Type, mscorlib,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089]].RemoveAt(Int32 index)
at
System.Runtime.Serialization.DataContractSerializer.ReadObject(System.Xml.XmlDictionaryReader
reader, Boolean verifyObjectName)
at
System.Runtime.Serialization.XmlObjectSerializer.ReadObject(System.Xml.XmlDictionaryReader
reader)
at
System.ServiceModel.Dispatcher.DataContractMessagesFormatter.MessageToParts(System.ServiceModel.Description.MessageDescription
md, System.ServiceModel.Channels.Message message)
at
System.ServiceModel.Dispatcher.BaseMessagesFormatter.DeserializeRequest(System.ServiceModel.Channels.Message
message, System.Object[] parameters)
at
System.ServiceModel.Dispatcher.OperationFormatter.DeserializeRequest(System.ServiceModel.Channels.Message
message, System.Object[] parameters)
at
System.ServiceModel.Dispatcher.OperationInvokerHandler.BuildInvokeParams(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc, System.Object[] ByRef parameters)
at
System.ServiceModel.Dispatcher.OperationInvokerHandler.DoProcessRequest(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc)
at
System.ServiceModel.Dispatcher.OperationInvokerHandler.ProcessRequest(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc)
at
System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc)
at
System.ServiceModel.Dispatcher.BaseRequestProcessorHandler.ProcessRequestChain(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc)
at
System.ServiceModel.Dispatcher.HandlersChain.ProcessRequestChain(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc)
at
System.ServiceModel.Dispatcher.BaseRequestProcessor.ProcessRequest(System.ServiceModel.Dispatcher.MessageProcessingContext
mrc)
at
System.ServiceModel.Dispatcher.InputOrReplyRequestProcessor.ProcessReply(System.ServiceModel.Channels.RequestContext
rc)
at
System.ServiceModel.Dispatcher.ListenerLoopManager.ProcessRequest(IReplyChannel
reply, System.ServiceModel.Channels.RequestContext rc)
at
System.ServiceModel.Dispatcher.ListenerLoopManager.TryReceiveRequestDone(IAsyncResult
result)
The DataContractSerializer.ReadObject() seems to try to clean up after itself
but fails to do so properly.
--
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