You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2011/07/24 19:22:09 UTC

[jira] [Commented] (DIRSERVER-1636) Obtaining Kerberos tickets via TCP leads to endless loop

    [ https://issues.apache.org/jira/browse/DIRSERVER-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070213#comment-13070213 ] 

Emmanuel Lecharny commented on DIRSERVER-1636:
----------------------------------------------

I guess it's a newly added test. We have fixed the decoder to support TCP last year, but we are likely to have left some bugs.

I'll give it a try

> Obtaining Kerberos tickets via TCP leads to endless loop
> --------------------------------------------------------
>
>                 Key: DIRSERVER-1636
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1636
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Stefan Seelmann
>            Priority: Critical
>             Fix For: 2.0.0-M2
>
>
> When obtaining Kerberos tickets via *TCP* the server runs into an endless loop. The while loop in org.apache.directory.server.kerberos.protocol.KerberosDecoder.decode() never terminates.
> To reproduce I added a new test class "KerberosTcpITest" in kerberos-test module, just remove the @Ignore.
> Here is the stack: 
> Thread [NioProcessor-5] (Suspended (breakpoint at line 106 in KerberosDecoder))	
> 	KerberosDecoder.decode(IoSession, IoBuffer, ProtocolDecoderOutput) line: 106	
> 	ProtocolCodecFilter.messageReceived(IoFilter$NextFilter, IoSession, Object) line: 241	
> 	DefaultIoFilterChain.callNextMessageReceived(IoFilterChain$Entry, IoSession, Object) line: 434	
> 	DefaultIoFilterChain.access$1200(DefaultIoFilterChain, IoFilterChain$Entry, IoSession, Object) line: 46	
> 	DefaultIoFilterChain$EntryImpl$1.messageReceived(IoSession, Object) line: 796	
> 	DefaultIoFilterChain$HeadFilter(IoFilterAdapter).messageReceived(IoFilter$NextFilter, IoSession, Object) line: 119	
> 	DefaultIoFilterChain.callNextMessageReceived(IoFilterChain$Entry, IoSession, Object) line: 434	
> 	DefaultIoFilterChain.fireMessageReceived(Object) line: 426	
> 	NioProcessor(AbstractPollingIoProcessor<S>).read(S) line: 715	
> 	NioProcessor(AbstractPollingIoProcessor<S>).process(S) line: 668	
> 	NioProcessor(AbstractPollingIoProcessor<S>).process() line: 657	
> 	AbstractPollingIoProcessor<S>.access$600(AbstractPollingIoProcessor) line: 68	
> 	AbstractPollingIoProcessor$Processor.run() line: 1141	
> 	NamePreservingRunnable.run() line: 64	
> 	ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1110	
> 	ThreadPoolExecutor$Worker.run() line: 603	
> 	Thread.run() line: 679	

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira