JDK-6971858 : SWAT: Got crashed when running two DnD tests with jdk7 b102 swat build in windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2010-07-23
  • Updated: 2019-03-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
There are two DnD tests crashed in windowsXPpro swat testing machine with jdk7 b102 swat build, even the crash is not reproducible in my office winXPpro sp3 machine, but still need an investigation on what is the cause.

Here are the information:
the tests are:
AWT_DnD/Basic_DnD/Automated/DnDMerlinQL/SingleJVM/DnDMerlinQLTestsuite_DnDFileListTest
AWT_DnD/DnDClassLoader/Automated/source/DnDMerlinQLTestsuite_DnDImageTest

1, the crash log can be found:
http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK6UR/SWAT/VM/6-swat/2010-07-23/awt/windows-i586-only/client/mixed/windows-i586-only_client_mixed_awt.swat/ResultDir/DnDMerlinQLTestsuite_DnDFileListTest//hs_err_pid284.log

http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK6UR/SWAT/VM/6-swat/2010-07-23/awt/windows-i586-only/client/mixed/windows-i586-only_client_mixed_awt.swat/ResultDir/DnDMerlinQLTestsuite_DnDImageTest//hs_err_pid15224.log

2, source code can be found as attachments.
also can be found below:
http://sqe-hg.sfbay.sun.com/hg/index.cgi/testbase/javase/functional/7/awt/file/32bcb3aeb2fb/src/AWT_DnD/Basic_DnD/Automated/DnDMerlinQL/SingleJVM/DnDMerlinQLTestsuite_DnDFileListTest

http://sqe-hg.sfbay.sun.com/hg/index.cgi/testbase/javase/functional/7/awt/file/32bcb3aeb2fb/src/AWT_DnD/DnDClassLoader/Automated/source/DnDMerlinQLTestsuite_DnDImageTest

3, more output files are:
http://sqeweb.sfbay.sun.com/nfs/results/vm/gtee/JDK6UR/SWAT/VM/6-swat/2010-07-23/awt/windows-i586-only/client/mixed/windows-i586-only_client_mixed_awt.swat/analysis.html

4, How to reproduce the problem:
Run the test in windowsXPpro SP3

Comments
These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

These are all approved for deferral to JDK 9 so you can update the FixVersion to state JDK 9. Kind regards, Mathias
29-08-2013

Converted "8-client-defer-candidate" label to "8-defer-request" by SQE' OK.
15-08-2013

*This is anti-deferral criteria list*: - P2 -------------- Engineering's Criteria ------------------------------------- - tck-red labeled - conformance labeled - P3 regressions reported/labeled against jdk8 - findbugs, parfait, eht labeled bugs - CAP <1 year reported - netbeans <1 year reported Victor ----------------- SQE's OK --------------------------------- Yes, we are ok with that thanks, Mikhail
15-08-2013

8-defer-request: This is the issue from 7 GA when it was approved to defer that time. Requesting to defer again because there are no customer escalations on this issue.
14-06-2013

SUGGESTED FIX To fix the problem we should dellay termination of IDropTarget till exiting of the AwtDropTarget::RegisterTarget(WORD show) method.
09-09-2010

EVALUATION EAX=0x000b7804, EBX=0x00000000 According to information in registers the crash occurs on a function with two parameters the second of the parameters is invalid. Looks like the problem is in ::RegisterDragDrop(m_window, (IDropTarget*)this) where 'this' parameter is invalid.
09-09-2010

EVALUATION I restord the native stack trace. Looks like both of the issues have the same cause. STACK TRACE: RegisterTarget@AwtDropTarget CreateDropTarget@AwtComponent Important that the crash report contains the next error explanation. "The thread tried to read from or write to a virtual address for which it does not have the appropriate access."
09-09-2010