Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5439

Data Race accessing org/jboss/dmr/ModelNode.value

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Rejected
    • 10.0.0.Beta1
    • None
    • Server
    • None

    Description

      Data Race while accessing org/jboss/dmr/ModelNode.value during startup of jboss:
      Two Threads are accessing this field without synchronization:
      Stacktrace for Thread writing field:
      org/jboss/threads/JBossThread.run
      java/util/concurrent/ThreadPoolExecutor$Worker.run
      java/util/concurrent/ThreadPoolExecutor.runWorker
      org/jboss/as/controller/ParallelBootOperationStepHandler$ParallelBootTask.run
      org/jboss/as/controller/AbstractOperationContext.executeOperation
      org/jboss/as/controller/AbstractOperationContext.processStages
      org/jboss/as/controller/AbstractOperationContext.executeStep
      org/jboss/as/controller/AbstractAddStepHandler.execute
      org/jboss/as/controller/AbstractAddStepHandler.populateModel
      org/jboss/as/controller/AbstractAddStepHandler.populateModel
      org/jboss/as/jsf/subsystem/JSFSubsystemAdd.populateModel
      org/jboss/as/controller/AttributeDefinition.validateAndSet
      org/jboss/dmr/ModelNode.get

      Stacktrace for reading Field:
      org/jboss/as/controller/AbstractControllerService$1.run
      org/jboss/as/server/ServerService.boot
      org/jboss/as/server/ServerService.boot
      org/jboss/as/controller/AbstractControllerService.boot
      org/jboss/as/controller/AbstractControllerService.boot
      org/jboss/as/controller/ModelControllerImpl.boot
      org/jboss/as/controller/OperationContextImpl.executeOperation
      org/jboss/as/controller/AbstractOperationContext.executeOperation
      org/jboss/as/controller/AbstractOperationContext.processStages
      org/jboss/as/controller/AbstractOperationContext.executeDoneStage
      org/jboss/as/controller/OperationContextImpl.createPersistenceResource
      org/jboss/as/controller/ModelControllerImpl.writeModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/as/controller/registry/Resource$Tools.readModel
      org/jboss/dmr/ModelNode.clone

      Found by
      link vmlens

      Attachments

        Activity

          People

            jgreene@redhat.com Jason Greene
            krieger_thomas Thomas Krieger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: