[PD] Pd and computer crash/freeze when using [comport], bug?

Nicklas Lundberg nlundberg at gmail.com
Fri Apr 9 13:43:25 CEST 2021


>
> On Fri, 2021-04-09 at 09:31 +0200, Nicklas Lundberg wrote:
>
> > [comport] is communicating with an Arduino Nano over USB to control
> > PWM pins.
> >
> > If [comport] is receiving messages faster than 50 ms Pd will freeze,
> > has to be force quitted, system gets sluggish, and the computer has
> > to be restarted.
> >
> > I can replicate it and it happens every time. I wonder if this should
> > be reported as a bug or if it is expected behavior in the specific
> > setting.
>
>
> While not suggesting that I'd be able to help, can you provide some
> more information, ideally providing a minimal patch that triggers the
> behaviour?
>
> Also what versions are involved: OS, Pd, comport?
>
> Roman
>

Pd/Arduino codes and crash instructions in this folder:

https://drive.google.com/drive/folders/1oDxeFCc63tvdgP6CWguJmBdfekAAMOrQ?usp=sharing

comport 1.1.1
Pd-0.51-4
MacOS Mojave 10.14.6
MacBook Air 11" mid 2012

to crash pd and computer:
Upload sketch to Ardunio (Nano)
Open comport serial communication
activate dsp
Set metro object to less than 50 ms
Toggle metro on to crash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210409/a6e4427e/attachment.htm>


More information about the Pd-list mailing list