Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4063

[drlvm][classloader] Crash in the classoader on BootstrapClassLoader initialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Patch Available

    Description

      To reproduce the issue, please compile the attached btest5014.java and and run Btest5014.
      Note the attached test is a part of the Functional test suite (see HARMONY-3528).

      The issue is reproduced on svn = r544496, (Jun 5 2007), Windows/ia32/msvc 1310, debug build

      The callstack is as follows
      harmonyvm.dll!strcat() Line 173 Asm
      harmonyvm.dll!BootstrapClassLoader::Initialize(ManagedObject * loader=0x00000000) Line 1316 + 0xd C++
      harmonyvm.dll!bootstrap_initial_java_classes(Global_Env * vm_env=0x012c2100) Line 301 + 0x15 C++
      harmonyvm.dll!preload_classes(Global_Env * vm_env=0x012c2100) Line 343 + 0x9 C++
      harmonyvm.dll!vm_init1(JavaVM_Internal * java_vm=0x012c20e8, JavaVMInitArgs * vm_arguments=0x0013fa98) Line 727 + 0x9 C++
      harmonyvm.dll!JNI_CreateJavaVM(JavaVM_External * * p_vm=0x0013faa8, JNIEnv_External * * p_jni_env=0x0013fab0, void * args=0x0013fa98) Line 499 + 0xd C++
      java.exe!invocation(HyPortLibrary * portLibrary=0x0013fbb8, int argc=4, char * * argv=0x003925b0, unsigned int handle=5308416, int version=65540, unsigned char ignoreUnrecognized='', char * mainClass=0x0039252a, unsigned int classArg=3, char * propertiesFileName=0x00157500, int isStandaloneJar=0, char * vmdllsubdir=0x0013fb44) Line 668 + 0xf C
      java.exe!gpProtectedMain(haCmdlineOptions * args=0x0013fb90) Line 391 + 0x33 C
      java.exe!main(int argc=4, char * * argv=0x003925b0, char * * envp=0x00392b40) Line 146 + 0xc C
      java.exe!mainCRTStartup() Line 398 + 0xe C
      kernel32.dll!77e523cd()

      Attachments

        1. H4063.patch
          9 kB
          Pavel Pervov
        2. H4063.patch
          9 kB
          Pavel Pervov
        3. H4063.patch
          9 kB
          Pavel Pervov
        4. H4063_nocrash.patch
          0.6 kB
          Pavel Pervov
        5. Btest5014.java
          1 kB
          Roman S. Bushmanov

        Issue Links

          Activity

            People

              gshimansky Gregory Shimansky
              rbouchma Roman S. Bushmanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: