| Summary: | Test executions dump core on native call RemoteComponentSkeleton.deregister0() | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Joe Toomey <jptoomey> | ||||||
| Component: | TPTP | Assignee: | Samson Wai <samwai> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P1 | CC: | jkubasta, kdsiefke, paulslau, samwai, thays, toddmm | ||||||
| Version: | unspecified | Keywords: | plan | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Joe Toomey
*** Bug 168931 has been marked as a duplicate of this bug. *** Re-assigning to Platform.Execution for further investigation. See similar bug 170274. I incorrectly assigned to Igor. Reassigning to Joanna to find resource to investigate. Hi Joe, have you start the AC as administrator when you encounter this problem? Yes. AC always started with "Run As Administrator" Hi Joe. I have installed the current 4.2.2 test pass driver (200701151346) but cannot reproduce the core dump. Is it possible for you to verify if the failure still occurs during your 4.2.2 testing? Thanks. Hi Samson. I have verified that they are still happening. I also see half a dozen small core dumps in your user temp directory on the machine, so maybe you didn't see them. It is more noticable when you run an involved test that creates a large heap before the test is done, because then the test stopping takes a long time (because it takes a long time to write out the heap dump.) Your core files are in C:\Users\samwai\AppData\Local\Temp\samwai. Created attachment 57543 [details]
Debug DLL
Here is the debug version of the java agent binding.
Created attachment 57550 [details]
Potential fix
The problem is caused by the java agent binding trying to free a piece of memory which it does not allocate (that memory is passed to the agent binding by the JVM). Commenting out the free() function makes the problem go away.
Comment on attachment 57543 [details]
Debug DLL
No need to use this DLL.
*** Bug 170274 has been marked as a duplicate of this bug. *** Investigation does not pin point where the failure in the native code really is. I will continue to work on this but getting this into 4.2.2 is not optimistic. Retarget this to 4.4 i1. Set priority to P1 for 4.4 plan closure. I have a freshly installed Vista Ultimate and found out that I cannot use IBM JRE 1.5.0 SR3 due to a missing "MSVCR71.DLL" Microsoft runtime library. I therefore switch to use Sun JDK 1.5.0_11. The reported problem can be reproduced but the attached patch fixed the problem using this JDK. Joe, in the meantime could you try the attached patch with Sun JRE 1.5.0_11? I will chase down the IBM JRE problem which might eventually end up to be a JRE problem. Just found a workaround for the missing MSVCR71.DLL problem - by adding IBM JDK's "jre/bin" directory to the PATH before starting the AC. With the above workaround and the patched DLL I can run a AGR test successfully without any core dump being generated. I am using the TPTP-4.2.2-200701291553 driver. *** Bug 170339 has been marked as a duplicate of this bug. *** Fix checked into CVS 2007/03/08 14:23 EST. Verified in 4.4. Closing. |