<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 21, 2011, at 10:28 AM, Thomas Hervé wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Menlo; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">* A special mention to the new abortConnection support on TCP and SSL<br>&nbsp;&nbsp;connections, heroically pushed by Itamar and Jean-Paul, and the<br>&nbsp;&nbsp;oldest ticket closed by this release.<br></span></span></blockquote></div><br><div>After doing some testing of my own, I am discovering that there may be some issues with the prerelease in this area. &nbsp;I'm getting this traceback when running Calendar Server under a load simulator:</div><div><br></div><div><div>Unhandled Error</div><div>Traceback (most recent call last):</div><div>&nbsp; File ".../twisted/python/log.py", line 84, in callWithLogger</div><div>&nbsp; &nbsp; return callWithContext({"system": lp}, func, *args, **kw)</div><div>&nbsp; File ".../twisted/python/log.py", line 69, in callWithContext</div><div>&nbsp; &nbsp; return context.call({ILogContext: newCtx}, func, *args, **kw)</div><div>&nbsp; File ".../twisted/python/context.py", line 118, in callWithContext</div><div>&nbsp; &nbsp; return self.currentContext().callWithContext(ctx, func, *args, **kw)</div><div>&nbsp; File ".../twisted/python/context.py", line 81, in callWithContext</div><div>&nbsp; &nbsp; return func(*args,**kw)</div><div>--- &lt;exception caught here&gt; ---</div><div>&nbsp; File ".../twisted/internet/selectreactor.py", line 150, in _doReadOrWrite</div><div>&nbsp; &nbsp; why = getattr(selectable, method)()</div><div>&nbsp; File ".../twisted/internet/tcp.py", line 199, in doRead</div><div>&nbsp; &nbsp; rval = self.protocol.dataReceived(data)</div><div>&nbsp; File ".../twisted/protocols/tls.py", line 413, in dataReceived</div><div>&nbsp; &nbsp; self._flushReceiveBIO()</div><div>&nbsp; File ".../twisted/protocols/tls.py", line 360, in _flushReceiveBIO</div><div>&nbsp; &nbsp; self._shutdownTLS()</div><div>&nbsp; File ".../twisted/protocols/tls.py", line 427, in _shutdownTLS</div><div>&nbsp; &nbsp; self.transport.loseConnection()</div><div>&nbsp; File ".../twisted/internet/_newtls.py", line 71, in loseConnection</div><div>&nbsp; &nbsp; return self._base.loseConnection(self._connection, reason)</div><div>&nbsp; File ".../twisted/internet/abstract.py", line 360, in loseConnection</div><div>&nbsp; &nbsp; self.connectionLost(_connDone)</div><div>&nbsp; File ".../twisted/internet/tcp.py", line 272, in connectionLost</div><div>&nbsp; &nbsp; self._closeSocket(not reason.check(error.ConnectionAborted))</div><div>exceptions.AttributeError: 'NoneType' object has no attribute 'check'</div></div><div><br></div><div>Note that none of my application code is showing up on the stack: just Twisted, which makes me think that this is a bug that _could_ be reproduced without a big application :).</div><div><br></div><div>Does anyone have an idea what this could be? &nbsp;I will file a ticket soon but I'd love to have some reproduction instructions...</div><div><br></div><div>This definitely doesn't happen under 11.0, so it is a new problem in trunk/11.1.</div><div><br></div><div>-glyph</div></body></html>