Summary: | Linux: error exiting Eclipse on Linux RedHat or SuSe Enterprise Server 9 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] CDT | Reporter: | Magda Bologa <mbologa> | ||||
Component: | cdt-debug | Assignee: | Nobody - feel free to take it <nobody> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P1 | ||||||
Version: | 2.0 | ||||||
Target Milestone: | 2.0.1 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Magda Bologa
2004-07-20 13:36:03 EDT
public void stop( BundleContext context ) throws Exception { <snip> listenSelection( false, this ); <snip> } is the problem. The asynExec call can throw an SWT exception if the dispaly has been disposed. Since that exception is not caught, the osgi bundle manager is logging the error in the log and proceeding. The error is bothering the testers, so the call should be wrapped in a try-catch block so the shutdown can proceed cleanly. Rather than me posting a patch, could you just do this for us Mikhail? If not, let me know and I'll create a patch for 2.0.1 and head. Thanks. Sorry, I just wanted to point out that it is important for us that this get fixed in 2.0.1 for product purposes, so if you can't get to it, please let me know and I'll create a patch for you. Created attachment 13890 [details]
Exception patch
Sean, this problem is a result of the temporary fix for bug 68915. I believe that Alain is working on it and I hope we are not going to release 2.0.1 without fixing it, but who knows... Anyway, I'll aply the changes you are suggesting to the both branches. Applied to the HEAD and 2.0.1 branches. Please, verify. |