Bug 394004 - [terminal][serial] Eclipse crashes if USB serial port connected to terminal is deleted
Summary: [terminal][serial] Eclipse crashes if USB serial port connected to terminal i...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 14:26 EST by Paul McConkey CLA
Modified: 2020-09-04 15:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul McConkey CLA 2012-11-09 14:26:29 EST
The Eclipse workbench crashes if a USB serial port that TM Terminal is using is deleted because it is no longer connected to the computer.

I can recreate this by using Terminal to connect to a device that is providing a USB serial port that Windows has identified and then simply unplug the USB cable. 

I noticed this behaviour because the hardware I'm working with resets the USB/RS232 interface every time I start the debugger. I have been able to work with the same hardware and Terminal in the past so I have tested with both my old Indigo Eclipse and current JRE 6 & 7. All tests have the same result so I am beginning to think that this fault has been exposed by a JRE update.

Target Management Terminal Widget

Version: 3.2.1.201209191030-41031231A2A2141
Build id: N20120919-1030

RXTX - a native interface to serial ports in java.

Version: 2.1.7.4_v20071016-7B57e7UAXMAAqGAGf
Comment 1 Martin Oberhuber CLA 2012-11-15 09:46:37 EST
CQ:WIND00370205

This is a defect in the RXTX serial port library:
http://bugzilla.qbang.org/show_bug.cgi?id=199
Comment 2 Paul McConkey CLA 2012-11-15 13:45:51 EST
(In reply to comment #1)

> This is a defect in the RXTX serial port library:
> http://bugzilla.qbang.org/show_bug.cgi?id=199

Thanks for looking at this Martin.
Comment 3 Jonah Graham CLA 2020-05-01 10:09:36 EDT
The Terminal component of the Eclipse Ecosystem has a new home. The Terminal is now part of the Eclipse CDT project[1].

This change means a new Git repo[2], P2 site[3] and Bugzilla component. The terminal will continue to be delivered as part of the quarterly Simultaneous Release of Eclipse as well.

The marketplace entry[4] had not been updated in a few years. It will once again install the latest release of the terminal on the latest release of the whole IDE (currently 2020-03).

If this bug is no longer relevant, please feel free to comment or close the bug. If you can confirm if this issues still occurs in the latest release please do let me know in a comment.

[1] https://wiki.eclipse.org/CDT/User/NewIn911
[2] https://git.eclipse.org/c/cdt/org.eclipse.cdt.git (in the terminal directory)
[3] current release is 9.11 - P2 site https://download.eclipse.org/tools/cdt/releases/9.11/
[4] https://marketplace.eclipse.org/content/tm-terminal

(This comment was added to all open terminal bugs along with changing the Product/component pair to CDT/terminal.)