| Summary: | EXCEPTION_ACCESS_VIOLATION SHELL32.dll TaskBar#getDirectory | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Gunnar Wagenknecht <gunnar> | ||||||||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||
| Severity: | normal | ||||||||||||||||
| Priority: | P3 | CC: | david.slater, eclipse.felipe, joeymink, kazm, nboldt, remy.suen | ||||||||||||||
| Version: | 3.7 | ||||||||||||||||
| Target Milestone: | 3.7 M7 | ||||||||||||||||
| Hardware: | PC | ||||||||||||||||
| OS: | Windows 7 | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
Just checking, to reproduce this problem you need: 1. Eclipse 3.7 M4 2. Mylyn 3. An empty plugin project in the workspace Is that right ? Does it crash without Mylyn ? Does it crash if the workspace is empty ? Created attachment 186190 [details]
sample project
It crashes using the attached project and launching the "rcptest.product" launch under the following conditions:
- Mylyn is installed
- Target Platform is set to "Running Platform"
It does not crash I modify the target platform to NOT contain Mylyn (eg. just RCP base) and/or if I modify the launch configuration to NOT contain the Mylyn plug-ins.
Created attachment 186191 [details]
details of my Eclipse installation
For reference here the details of my Eclipse installation.
Created attachment 190707 [details]
JRE failure after invoking Eclipse
Just ran into the same problem described by the original bug report. This was on Windows 7 with a 32-bit JRE. The version of Eclipse used is a custom Product that uses the application, org.eclipse.ui.ide.workbench.
The process crashes before even prompting the user to select a workspace. Most machines have no problem, but this one win7 machine can't run it.
Eclipse Helios is the release used to build the product.
The attachments in Bug 315009#c41 have some useful information: java stack 3XMTHREADINFO3 Java callstack: 4XESTACKTRACE at org/eclipse/swt/internal/win32/OS.VtblCall(Native Method) 4XESTACKTRACE at org/eclipse/swt/widgets/TaskBar.getDirectory(TaskBar.java:341) 4XESTACKTRACE at org/eclipse/swt/widgets/TaskBar.getDirectory(TaskBar.java:280) 4XESTACKTRACE at org/eclipse/swt/widgets/TaskBar.setMenu(TaskBar.java:492) 4XESTACKTRACE at org/eclipse/swt/widgets/TaskItem.setMenu(TaskItem.java:247) (line numbers of Taskbar.java revision 1.8 or SWT version 3655) 3XMTHREADINFO3 Native callstack: 4XENATIVESTACK SHGetDiskFreeSpaceExW+0xf3 (0x758EA8D5 [SHELL32+0xaa8d5]) 4XENATIVESTACK SHGetDiskFreeSpaceExW+0x15b (0x758EA93D [SHELL32+0xaa93d]) 4XENATIVESTACK StgMakeUniqueName+0x948ca (0x75B523FA [SHELL32+0x3123fa]) 4XENATIVESTACK StgMakeUniqueName+0x94983 (0x75B524B3 [SHELL32+0x3124b3]) 4XENATIVESTACK Ordinal760+0x4c6a (0x75A96875 [SHELL32+0x256875]) 4XENATIVESTACK SHFileOperationW+0xdac (0x7589A4A2 [SHELL32+0x5a4a2]) 4XENATIVESTACK SHFileOperationW+0x11e6 (0x7589A8DC [SHELL32+0x5a8dc]) 4XENATIVESTACK SHChangeNotifySuspendResume+0x1315 (0x75899294 [SHELL32+0x59294]) 4XENATIVESTACK SHChangeNotifySuspendResume+0x11f1 (0x75899170 [SHELL32+0x59170]) 4XENATIVESTACK SHFileOperationW+0x88c (0x75899F82 [SHELL32+0x59f82]) 4XENATIVESTACK SHFileOperationW+0x35d (0x75899A53 [SHELL32+0x59a53]) 4XENATIVESTACK Ordinal760+0x916e (0x75A9AD79 [SHELL32+0x25ad79]) 4XENATIVESTACK _Java_org_eclipse_swt_internal_win32_OS_VtblCall__II@16+0xe (0x47F91322 [swt-win32-3655+0x11322]) ============================== Gunnar, the step in comment 2 work for me (using Build id: I20110424-2000), would you be able to install SWT from the CVS (http://www.eclipse.org/swt/cvs.php) and debug Taskbar#getDirectory(int,int,char[],boolean) ? Please let me know the value for parameters in this call: /*IFileOperation.NewItem */ hr = OS.VtblCall (20, pfo, parent, OS.FILE_ATTRIBUTE_DIRECTORY, name, null, 0); Created attachment 193993 [details]
patch
I didnt see the crash on my machine because of the try-catch in my native code (Bug 329518) but I debug the code and I saw the exception. I add some code to handle application with no app name (or app name equal to empty string). Please verify the fix on M7, thank you. Created attachment 203048 [details]
JBoss 4.1.0 crash log
My environment is as:
Windows 7 32 bit, Oracle/Sun JDK 1.6.0_27, JBoss developer Studio 4.1.0 (also tried out 4.0.0) and Mylyn (3.4.0 & 3.6.1).
JBoss studio crashes every time (manual/restart) after the splash screen progress bar gets to 100% with this plugin installed.
(In reply to comment #8) > Created attachment 203048 [details] > JBoss 4.1.0 crash log > My environment is as: > Windows 7 32 bit, Oracle/Sun JDK 1.6.0_27, JBoss developer Studio 4.1.0 (also > tried out 4.0.0) and Mylyn (3.4.0 & 3.6.1). > JBoss studio crashes every time (manual/restart) after the splash screen > progress bar gets to 100% with this plugin installed. but what version of Eclipse is in use ? (In reply to comment #9) > (In reply to comment #8) > > Created attachment 203048 [details] [details] > > JBoss 4.1.0 crash log > > My environment is as: > > Windows 7 32 bit, Oracle/Sun JDK 1.6.0_27, JBoss developer Studio 4.1.0 (also > > tried out 4.0.0) and Mylyn (3.4.0 & 3.6.1). > > JBoss studio crashes every time (manual/restart) after the splash screen > > progress bar gets to 100% with this plugin installed. > > but what version of Eclipse is in use ? JBoss Developer Studio 4 includes Eclipse 3.6.2. I am having the same issue on Eclipse 3.7.1. Attaching my java core. The issue happens for both Oracle (1.6 and 1.7) and IBM (1.5 and 1.6) |
Created attachment 186151 [details] JVM crash log 3.7M4, 32bit Win7 This is weired. I have a new workspace with a new plug-in created from the empty RCP template with branding. When starting the thing I get a JVM crash. I have Mylyn in my target platform and it looks like that Mylyn is also triggered in the RCP app and wants to access something in the TaskBar.