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

Potential memory leak in the new java plugin module for IE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 6u10
    • deploy
    • x86
    • windows_xp

      Insure++ reports a potential native memory leak in the new java plugin module for IE.
      It reports that the jp2iexp.dll instantiates a COM object but never releases it upon leaving a page with an applet to another page without an applet.

      The following report from Insure++:

      3 outstanding memory references for 156 bytes.
      Leaks detected at exit
      ----------------------
             156 bytes 3 chunks allocated at atlcom.h, 1761
                          operator new() (interface)
      ATL::CComCreator<ATL::CComObject<CJavaDispatch> >::CreateInstance() atlcom.h, 1761
      ATL::CComCreator2<ATL::CComCreator<ATL::CComObject<CJavaDispatch> >,ATL::CComCreator<ATL::CComAggObject<CJavaDispatch> > >::CreateInstance() atlcom.h, 1834
      ATL::CComCoClass<CJavaDispatch,&CLSID_CJavaDispatch>::CreateInstance<IDispatch>() atlcom.h, 3457
      Java_sun_plugin2_main_server_IExplorerPlugin_allocateIDispatchForJavaNameSpace() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 1767
                jp2iexp.dll 0x04b19d11()
                          ** routines compiled without debug info **
            JNIEnv_::CallBooleanMethod() jni.h, 901
      CAxControl::IOleObject_SetClientSite() ..\..\..\..\src\plugin\win32\plugin2\jp2iexp\AxControl.cpp, 628
      ATL::IOleObjectImpl<CAxControl>::SetClientSite() atlctl.h, 2058
                 mshtml.dll 0x437b2419()
                          ** routines compiled without debug info **
                      DispatchMessageW() (interface)
                IEFRAME.dll 0x42f8e693()

            vrao Vivek Rao (Inactive)
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: