Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5024798

NEWHPROF: broken on windows platform (can't find java_crw_demo.dll)

XMLWordPrintable

    • b48
    • x86
    • windows_2000
    • Verified

      There are problems when running hprof tests on windows.
      Here is message:

      #Error occurred during initialization of VM
      #Could not find agent library on the library path or in the local directory: hprof

      http://vmsqe.sfbay/pit/tiger/ADHOCK/DTWS/results/03-30-04/ServerVM/Win/mixed/VM/VM_QUICKLOOK1-30-ADHOCK-VM-ServerVM-mixed-Win-en-2004-03-31-05-09-05-0930/analysis.html

      Eugene and me discuss about this, TL_JDK can't find the
      hprof.dll on windows platform. (I verified that hprof.dll
      is there in TL_JDK) The same tests passed with promoted JDK,
      failed only in TL_JDK.

      To reproduce this:
      1. Login to a windows machine
      2. mount y: to \\vmsqe.sfbay\vm (or \\vmsqe.sfbay\export)
      3. use y:/pit/tiger/ADHOCK/JDK/latest/windows-i586
         to run some HPROF tests.


      - From Kelly
      The most recent hprof.dll has a dependency on a library called
      java_crw_demo.dll. This library lives in the same directory as
      hprof.dll, so I assumed when hprof.dll needed java_crw_demo.dll,
      it would be found, since it was sitting right next to it, and it
      was in the jre/bin directory. I was wrong, jre/bin isn't searched
      in this case I guess.
      So hprof.dll can't find java_crw_demo.dll, so the error
      message says it can't find hprof.dll (not an obvious message).

      Anyway, if you add the jre/bin directory to PATH, it works,
      so I assume my understanding of the problem is true.

      Why SDK dll library dependencies aren't being satisfied with
      libraries from jre/bin I don't know.

      Name: elR10090 Date: 04/13/2004


      This bug affects all nsk/hprof/... tests:

          nsk/coverage/arguments/arguments007
          nsk/coverage/arguments/arguments008
          nsk/hprof/options/_empty_/empty001
          nsk/hprof/options/_empty_/empty002
          nsk/hprof/options/cpu/cpu001
          nsk/hprof/options/cpu/cpu002
          nsk/hprof/options/cpu/cpu003
          nsk/hprof/options/cpu/cpu004
          nsk/hprof/options/cpu/cpu005
          nsk/hprof/options/cpu/cpu006
          nsk/hprof/options/cpu/cpu007
          nsk/hprof/options/cpu/cpu008
          nsk/hprof/options/cpu/cpu009
          nsk/hprof/options/cpu/cpu010
          nsk/hprof/options/cutoff/cutoff001
          nsk/hprof/options/cutoff/cutoff002
          nsk/hprof/options/cutoff/cutoff003
          nsk/hprof/options/cutoff/cutoff004
          nsk/hprof/options/cutoff/cutoff005
          nsk/hprof/options/cutoff/cutoff006
          nsk/hprof/options/cutoff/cutoff007
          nsk/hprof/options/cutoff/cutoff008
          nsk/hprof/options/cutoff/cutoff009
          nsk/hprof/options/depth/depth001
          nsk/hprof/options/depth/depth002
          nsk/hprof/options/depth/depth003
          nsk/hprof/options/depth/depth004
          nsk/hprof/options/depth/depth005
          nsk/hprof/options/depth/depth006
          nsk/hprof/options/depth/depth007
          nsk/hprof/options/depth/depth008
          nsk/hprof/options/doe/doe001
          nsk/hprof/options/doe/doe002
          nsk/hprof/options/doe/doe003
          nsk/hprof/options/doe/doe004
          nsk/hprof/options/doe/doe005
          nsk/hprof/options/doe/doe006
          nsk/hprof/options/doe/doe007
          nsk/hprof/options/doe/doe008
          nsk/hprof/options/file/file001
          nsk/hprof/options/format/format001
          nsk/hprof/options/format/format002
          nsk/hprof/options/format/format003
          nsk/hprof/options/format/format004
          nsk/hprof/options/format/format005
          nsk/hprof/options/format/format006
          nsk/hprof/options/format/format007
          nsk/hprof/options/format/format008
          nsk/hprof/options/format/format009
          nsk/hprof/options/heap/heap001
          nsk/hprof/options/heap/heap002
          nsk/hprof/options/heap/heap003
          nsk/hprof/options/heap/heap004
          nsk/hprof/options/lineno/lineno001
          nsk/hprof/options/lineno/lineno002
          nsk/hprof/options/lineno/lineno003
          nsk/hprof/options/lineno/lineno004
          nsk/hprof/options/lineno/lineno005
          nsk/hprof/options/lineno/lineno006
          nsk/hprof/options/lineno/lineno007
          nsk/hprof/options/lineno/lineno008
          nsk/hprof/options/monitor/monitor001
          nsk/hprof/options/monitor/monitor002
          nsk/hprof/options/monitor/monitor003
          nsk/hprof/options/monitor/monitor004
          nsk/hprof/options/monitor/monitor005
          nsk/hprof/options/monitor/monitor006
          nsk/hprof/options/monitor/monitor007
          nsk/hprof/options/monitor/monitor008
          nsk/hprof/options/net/net001
          nsk/hprof/options/net/net002
          nsk/hprof/options/net/net003
          nsk/hprof/options/thread/thread001
          nsk/hprof/options/thread/thread002
          nsk/hprof/options/thread/thread003
          nsk/hprof/options/thread/thread004
          nsk/hprof/options/thread/thread005
          nsk/hprof/options/thread/thread006
          nsk/hprof/options/thread/thread007
          nsk/hprof/options/thread/thread008
          nsk/hprof/regression/Context/context001
          nsk/hprof/regression/Context/context002
          nsk/hprof/regression/Context/context003
          nsk/hprof/regression/Context/context004
          nsk/hprof/regression/Context/context005
          nsk/hprof/regression/Context/context006
          nsk/hprof/regression/Context/context007
          nsk/hprof/regression/Context/context008
          nsk/hprof/regression/CrashTest/ct01s
          nsk/hprof/regression/CrashTest/ct01t
          nsk/hprof/regression/CrashTest/ct02s
          nsk/hprof/regression/CrashTest/ct02t
          nsk/hprof/regression/CrashTest/ct03s
          nsk/hprof/regression/CrashTest/ct03t
          nsk/hprof/regression/CrashTest/ct04s
          nsk/hprof/regression/CrashTest/ct04t
          nsk/hprof/regression/CrashTest/ct05s
          nsk/hprof/regression/CrashTest/ct05t
          nsk/hprof/regression/HeapThrasher
          nsk/hprof/regression/b4462993
          nsk/hprof/regression/b4478223
          nsk/hprof/regression/b4500875
          nsk/hprof/regression/b4677213
          nsk/hprof/regression/b4723783
          nsk/regression/b4322483
          nsk/regression/b4328316


      ======================================================================

            ohair Kelly Ohair (Inactive)
            fhsusunw Francis Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: