[ 
https://issues.apache.org/jira/browse/LOG4NET-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Bodewig resolved LOG4NET-167.
------------------------------------

    Resolution: Fixed

Steve's patch is in as svn revision 1166569.

Note that subclasses can still break thread-safety since m_eventsList is 
protected (and not even readonly).

> ArrayOutOfBounds Exception in MemoryAppender.getEvents()
> --------------------------------------------------------
>
>                 Key: LOG4NET-167
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-167
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows Vista and XP.
>            Reporter: Kenny Clement
>            Assignee: Ron Grabowski
>             Fix For: 1.2.11
>
>         Attachments: MemoryAppenderThreadSafeLocking.patch
>
>
> Getting this every once in a while.
> No specific reproduction scenario.
> Destination array was not long enough. Check destIndex and length, and the 
> array's lower bounds.
>    at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array 
> destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
>    at System.Collections.ArrayList.ToArray(Type type)
>    at log4net.Appender.MemoryAppender.GetEvents()

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

        

Reply via email to