Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4856

Add thread dump information when derby crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.8.1.2
    • Services
    • None
    • High Value Fix, Patch Available, Release Note Needed

    Description

      On system crash or session ending error, Derby should dump as much information as possible. Such as: forcing a javacore if possible or at least thread dump and system environment information. This should only occur if a running session crashes not on boot error due to fail recovery etc.
      The IBM jvm provides a way to programmatically dump a javacore. i.e. com.ibm.jvm.Dump.JavaDump() And, the SUN jvm will force a thread dump using the Unsafe class and there may be a better way.

      Attachments

        1. ContextManager.java
          17 kB
          Lily Wei
        2. corruptdb.zip
          58 kB
          Katherine Marsden
        3. derby.log
          26 kB
          Lily Wei
        4. DERBY-4856_part_2_2a.diff
          16 kB
          Lily Wei
        5. DERBY-4856_part_2_2b.diff
          15 kB
          Lily Wei
        6. DERBY-4856_part_3_1a.diff
          8 kB
          Lily Wei
        7. DERBY-4856_part_3_2a.diff
          29 kB
          Lily Wei
        8. DERBY-4856_part_3_3a.diff
          28 kB
          Lily Wei
        9. DERBY-4856_part_3_3b.diff
          23 kB
          Lily Wei
        10. DERBY-4856_part_3_3c.diff
          27 kB
          Lily Wei
        11. DERBY-4856_part_3_3d.diff
          28 kB
          Lily Wei
        12. DERBY-4856_part_3_3e.diff
          56 kB
          Lily Wei
        13. DERBY-4856_part_3_3g_1a.diff
          1 kB
          Lily Wei
        14. DERBY-4856_part_3_3g_2a.diff
          1 kB
          Lily Wei
        15. DERBY-4856_part_3_3g.diff
          56 kB
          Lily Wei
        16. derby-4856-1a.diff
          16 kB
          Lily Wei
        17. DERBY-4856-part_1_1a.diff
          14 kB
          Lily Wei
        18. releaseNote.html
          5 kB
          Richard N. Hillegas
        19. releaseNote.html
          6 kB
          Knut Anders Hatlen
        20. releaseNote.html
          5 kB
          Lily Wei
        21. releaseNote.html
          5 kB
          Lily Wei
        22. releaseNote.html
          5 kB
          Lily Wei
        23. releaseNote.html
          5 kB
          Lily Wei

        Issue Links

          Activity

            People

              lilywei Lily Wei
              lilywei Lily Wei
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: