Summary: | [Browser] Browser control can cause workbench crash, machine lock-up | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | David Slubicki <slubicki> | ||||
Component: | SWT | Assignee: | Grant Gayed <grant_gayed> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P3 | CC: | steve_northover, Tod_Creasey | ||||
Version: | 3.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Slubicki
2006-07-01 01:32:00 EDT
Created attachment 45635 [details]
Plugin for use in recreating this bug
What is the status of this? This will be revisited next week. > set the "Machine Debug Manager" service to disabled
where do I do this?
Start -> Settings -> Control Panel -> Administrative Tools -> Services. "Machine Debug Manager" should be one of the services in the list. Right-click this entry -> Properties -> Startup type: set to "Disabled" (and stop the service). Sorry, I haven't been able to reproduce this because I haven't found a machine here yet that shows the Machine Debug Manager service. I've found one that has mdm.exe (presumably was installed with Visual Studio), but the service does not appear. I've tried running the original plug-in in eclipse 3.2.2 with and without mdm.exe running but it doesn't show a problem. Did you have to do anything to make it appear in your services? Also, as a useful data point, can you see if replacing the Browser creation code in LicenseAcceptableDialog.createContents(...) with the code below makes the problem go away? The code below just embeds the control directly with no additional effort, and will give an indication of whether the Browser is doing something wrong or the explorer control could have a problem. OleControlSite controlSite; OleFrame frame; try { frame = new OleFrame(licenseTextComposite, SWT.BORDER); controlSite = new OleControlSite(frame, SWT.NONE, "Shell.Explorer"); controlSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE); OleAutomation webBrowser = new OleAutomation(controlSite); int[] ids = webBrowser.getIDsOfNames(new String[]{"Navigate", "URL"}); Variant[] rgvarg = new Variant[] {new Variant(licenseURL)}; int[] rgdispidNamedArgs = new int[]{ids[1]}; webBrowser.invoke(ids[0], rgvarg, rgdispidNamedArgs); } catch (SWTError e) { System.out.println("Unable to open activeX control"); return null; } gd = new GridData(SWT.FILL, SWT.FILL, true, true); frame.setLayoutData(gd); monitor.done(); stackLayout.topControl = frame; licenseTextComposite.layout(); composite.getDisplay().asyncExec(new Runnable() { public void run() { agreeButton.setEnabled(true); } }); This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |