[Bug 175] New: Race Condition in SubstituteLoggerFactory

http://bugzilla.slf4j.org/show_bug.cgi?id=175 Summary: Race Condition in SubstituteLoggerFactory Product: SLF4J Version: 1.5.x Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P1 Component: Core API AssignedTo: slf4j-dev@qos.ch ReportedBy: rimovm@centercomp.com Here's the relevant snippet from a test case: java.lang.ArrayIndexOutOfBoundsException: 10 at java.util.ArrayList.add(ArrayList.java:352) at org.slf4j.helpers.SubstituteLoggerFactory.getLogger(SubstituteLoggerFactory.java:59) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:249) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261) at org.picocontainer.gems.monitors.Slf4jComponentMonitor.getLogger(Slf4jComponentMonitor.java:285) at org.picocontainer.gems.monitors.Slf4jComponentMonitor.instantiating(Slf4jComponentMonitor.java:161) SubstituteLoggerFactory doesn't lock provide synchronization sharing the loggerNameList. Thanks, -Mike (R) -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=175 Ceki Gulcu <lists@slf4j.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lists@slf4j.org Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=175 Ceki Gulcu <lists@slf4j.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Ceki Gulcu <lists@slf4j.org> 2010-04-04 22:06:45 --- Many thanks for this report. The issue has been fixed in http://github.com/ceki/slf4j/commit/6f819965012 -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@pixie.qos.ch