Derby
  1. Derby
  2. DERBY-4053

Network Server's failure to rollback local transactions on shutdown can cause hang on startup with message java.net.BindException: Address already in use: NET_Bind in derby.log

    Details

    • Urgency:
      Blocker
    • Bug behavior facts:
      Regression Test Failure

      Description

      Running suites.All with IBM 1.5 on 10.5.0.0 alpha - (743198) I got a hang in the test run. The last test to run successfully was xtestNestedSavepoints, but I am not sure exactly what test caused the hang. I took a thread dump which I will attach, which showed network server up and running but no ClientThread and a ping attempt blocked.

      This hang is very similar to the hang that was seen after the fix attempts for DERBY-1465 but that change was backed out so it is not related to that change. It could be that the change for DERBY-1465 just made this highly intermittent problem more likely.

      1. derby-4053_diag_diff.txt
        0.8 kB
        Kathey Marsden
      2. DERBY4053_patch3_stat_July102009.txt
        0.6 kB
        Mamta A. Satoor
      3. DERBY4053_patch3_diff_July102009.txt
        9 kB
        Mamta A. Satoor
      4. DERBY4053_patch2_stat_July102009.txt
        0.6 kB
        Mamta A. Satoor
      5. DERBY4053_patch2_diff_July102009.txt
        9 kB
        Mamta A. Satoor
      6. mamtaDerby4053.java
        5 kB
        Mamta A. Satoor
      7. DERBY4053_patch1_diff_July092009.txt
        5 kB
        Mamta A. Satoor
      8. javacore-20090420-1735.txt
        7 kB
        Suran Jayathilaka
      9. derby-4053_repro_dont_commit_diff.txt
        9 kB
        Kathey Marsden
      10. suites.All.out
        389 kB
        Kathey Marsden
      11. javacore.20090211.123031.4000.0001.txt
        1.25 MB
        Kathey Marsden
      12. derby.log
        83 kB
        Kathey Marsden

        Issue Links

          Activity

          Kathey Marsden created issue -
          Kathey Marsden made changes -
          Field Original Value New Value
          Attachment derby.log [ 12400050 ]
          Attachment javacore.20090211.123031.4000.0001.txt [ 12400051 ]
          Attachment suites.All.out [ 12400052 ]
          Kathey Marsden made changes -
          Attachment derby-4053_repro_dont_commit_diff.txt [ 12405202 ]
          Suran Jayathilaka made changes -
          Attachment javacore-20090420-1735.txt [ 12405948 ]
          Myrna van Lunteren made changes -
          Affects Version/s 10.5.1.1 [ 12313771 ]
          Affects Version/s 10.5.0.0 [ 12313010 ]
          Dag H. Wanvik made changes -
          Component/s Test [ 11413 ]
          Kathey Marsden made changes -
          Urgency Urgent
          Kathey Marsden made changes -
          Urgency Urgent Blocker
          Knut Anders Hatlen made changes -
          Assignee Knut Anders Hatlen [ knutanders ]
          Knut Anders Hatlen made changes -
          Assignee Knut Anders Hatlen [ knutanders ]
          Mamta A. Satoor made changes -
          Attachment DERBY4053_patch1_diff_July092009.txt [ 12413029 ]
          Mamta A. Satoor made changes -
          Attachment mamtaDerby4180.java [ 12413058 ]
          Mamta A. Satoor made changes -
          Attachment mamtaDerby4180.java [ 12413058 ]
          Mamta A. Satoor made changes -
          Attachment mamtaDerby4053.java [ 12413059 ]
          Mamta A. Satoor made changes -
          Assignee Mamta A. Satoor [ mamtas ]
          Mamta A. Satoor made changes -
          Attachment DERBY4053_patch2_diff_July102009.txt [ 12413141 ]
          Attachment DERBY4053_patch2_stat_July102009.txt [ 12413142 ]
          Kathey Marsden made changes -
          Link This issue is blocked by DERBY-4155 [ DERBY-4155 ]
          Mamta A. Satoor made changes -
          Attachment DERBY4053_patch3_diff_July102009.txt [ 12413161 ]
          Attachment DERBY4053_patch3_stat_July102009.txt [ 12413162 ]
          Mamta A. Satoor made changes -
          Link This issue relates to DERBY-4304 [ DERBY-4304 ]
          Kathey Marsden made changes -
          Link This issue is related to DERBY-3319 [ DERBY-3319 ]
          Kathey Marsden made changes -
          Attachment derby-4053_diag_diff.txt [ 12413462 ]
          Kathey Marsden made changes -
          Summary suites.All hang with message java.net.BindException: Address already in use: NET_Bind in derby.log Network Server's failure to rollback local transactions on shutdown can cause hang on startup with message java.net.BindException: Address already in use: NET_Bind in derby.log
          Kathey Marsden made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 10.5.1.2 [ 12313870 ]
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Resolution Fixed [ 1 ]
          Kathey Marsden made changes -
          Fix Version/s 10.5.2.0 [ 12314116 ]
          Fix Version/s 10.5.1.2 [ 12313870 ]
          Kathey Marsden made changes -
          Link This issue is duplicated by DERBY-4180 [ DERBY-4180 ]
          Mamta A. Satoor made changes -
          Fix Version/s 10.4.2.1 [ 12313401 ]
          Gavin made changes -
          Workflow jira [ 12452438 ] Default workflow, editable Closed status [ 12799104 ]

            People

            • Assignee:
              Mamta A. Satoor
              Reporter:
              Kathey Marsden
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development