[PD] [comport] crashes on Windows
hans at eds.org
Wed May 24 12:34:56 CEST 2006
On May 24, 2006, at 12:02 PM, Piotr Majdak wrote:
> 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...
Its in CVS, in externals/iem/comport/comport/comport-stress-test.pd
It seems that only transmitting data from Pd to the comport causes
the crashes. Receiving at full speed seems to be no problem.
"Computer science is no more related to the computer than astronomy
is related to the telescope."
More information about the Pd-list