[PD-dev] [ pure-data-Bugs-3307186 ] comport hangs Pd and eats 100% CPU when port disconnected

SourceForge.net noreply at sourceforge.net
Wed May 25 02:29:44 CEST 2011


Bugs item #3307186, was opened at 2011-05-25 02:29
Message generated for change (Tracker Item Submitted) made by sistisette
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3307186&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: v0.42
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matteo Sisti Sette (sistisette)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: comport hangs Pd and eats 100% CPU when port disconnected

Initial Comment:
Steps to reproduce:

1) Connect a serial over USB device, such as an Arduino
2) Create a [comport] and send it the appropriate "open" message to connect to the device:

[open N(
 |
[comport]

3) When the connection is established, unplug the USB device.

Pd will start eating 100% CPU and will hang. You won't even be able to close it, you have to kill the process.

This happens systematically here.

Pd Extended 0.42.5, Ununtu 10.04

I know you're not supposed to unplug a com port without closing, but Pd shouldn't hang.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3307186&group_id=55736



More information about the Pd-dev mailing list