[PD] [comport] crashes on Windows

Piotr Majdak piotr at majdak.com
Wed May 24 12:02:46 CEST 2006


Hi Hans,

Hans-Christoph Steiner wrote:

> I have incorporated the "OVERLAPPED" asynchronous mode code for  Windows 
> from Piotr Majdak in the [comport], and now it crashes pretty  
> regularly.  I just committed the comport-stress-test.pd, which makes  Pd 
> crash within a couple minutes.  It seems to be caused by  transferring a 
> lot of data from Pd to the serial port.  FYI: I am  using an Arduino to 
> test.

We get a lot of data from serial port to pd and for this direction [comport] 
works in the asynchronous mode. In the transmitting mode, we send a few bytes 
only, so we did not any tests...

I don't remember if I've changed anything in the transmitting section of the 
code - I'll have a look ASAP.

Can you send me your stress-the-comport patch per email? I'll give it a try...

br, Piotr


-- 
Piotr Majdak
Institut für Schallforschung
Österreichische Akademie der Wissenschaften
Reichsratsstr. 17
A-1010 Wien
Tel.: +43-1-4277-29511
Fax: +43-1-4277-9296
E-Mail: piotr at majdak.com
WWW: http://www.kfs.oeaw.ac.at






More information about the Pd-list mailing list