Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30630

Data Race in org/jvnet/hudson/reactor/Reactor$Node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None
    • jenkins installed in apache-tomcat-8.0.26 running on jdk 1.8 on windows.
      Jenkins-Version: 1.630
      Implementation-Version: 1.630
      Hudson-Version: 1.395

      The field org/jvnet/hudson/reactor/Reactor$Node.done is accessed from different threads without synchronization. Should be mad volatile.

      Here are the stacktraces of the access:
      java/util/concurrent/ThreadPoolExecutor$Worker.run
      java/util/concurrent/ThreadPoolExecutor.runWorker
      org/jvnet/hudson/reactor/Reactor$Node.run
      org/jvnet/hudson/reactor/Reactor$Node.runIfPossible
      org/jvnet/hudson/reactor/Reactor$Node.canRun

      java/util/concurrent/ThreadPoolExecutor$Worker.run
      java/util/concurrent/ThreadPoolExecutor.runWorker
      org/jvnet/hudson/reactor/Reactor$Node.run

      Data Race found with http://vmlens.com

            Unassigned Unassigned
            thomaskrieger Thomas Krieger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: