Menu

#696 comport hangs Pd and eats 100% CPU when port disconnected

v0.43
pending-fixed
5
2012-03-08
2011-05-25
sistisette
No

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.

Discussion

  • Hans-Christoph Steiner

    • milestone: 897307 --> v0.43
    • status: open --> pending-fixed
     
  • Hans-Christoph Steiner

    This should be fixed in Pd-extended 0.43.1, try nightly build from today or later. report back if it is still not fixed for you.

     

Anonymous
Anonymous

Add attachments
Cancel