[jboss-jira] [JBoss JIRA] (WFCORE-707) System.out usage may cause deadlock

Bart Van Dosselaer (JIRA) issues at jboss.org
Tue May 26 03:31:19 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070862#comment-13070862 ] 

Bart Van Dosselaer commented on WFCORE-707:
-------------------------------------------

I've added a Thread Dump in attachment. This was taken on Wildfly 8.2.0.Final
C.f. line 10193, here hibernate uses a System.out to log the statement.

> System.out usage may cause deadlock
> -----------------------------------
>
>                 Key: WFCORE-707
>                 URL: https://issues.jboss.org/browse/WFCORE-707
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Bart Van Dosselaer
>            Assignee: James Perkins
>         Attachments: threaddump.txt
>
>
> We recently experienced a deadlock due to the logging subsystem, exactly as was detailed in this thread: https://developer.jboss.org/thread/241453
> Our concern is that since we include a fairly large number of third-party components, we can't guarantee they're not using System.out or System.err somewhere, potentially causing a thread deadlock.
> Are there plans to review this issue, or is the only way to guarantee not having such issues, to disable the logging subsystem?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list