#1056 iemnet crashes on Windows XP

externals (234)

I only noticed now that many of the iemnet classes crash Pd on Windows
XP. The problem seems specific to Windows XP. The crashes cannot be
reproduced on Windows 7.

[tcpsend] does not crash.

[tcpclient] crashes as soon as the connection is established. Trying to
connect to a non-existant end-point won't trigger the crash.

[tcpreceive] and [tcpserver] crash immediately as soon as a client
(telnet, nc, [netsend]) connects to them.

[udpserver] / [udpreceive] / [udpclient] crash at instantiation time.

[udpsend] does not crash.

This pattern looks to me as if the crashes happen whenever a listening
socket is open, but I don't know of any way to proof that.

Tested on Windows XP SP3 Pro with Pd-0.43.4-extended.

Whether this has anything to do with how Pd-extended was compiled or
with the source of iement, I don't know.

This is what I get from Windows after the crash:


  • Roman Haefeli

    Roman Haefeli - 2013-03-07
    • assigned_to: nobody --> zmoelnig
  • Roman Haefeli

    Roman Haefeli - 2013-03-12

    Pd-extended_20121206 is the last build that does not exhibit the problem. The last commit to iemnet code is much older (2012-07-13). It looks like a change in Pd-extended's code triggered the problem. mrpeach's net library is not affected, though.

    There are a bunch of Pd-extended builds that cannot even start on Windows XP or not open patches. The next build after 20121206 working normally is 20121217. However, this is the first build that crashes with iemnet. So it's not quite clear which commits are responsible for this. Could it be something with UCS-2 support? Or something related to sys_close() / close()?



Cancel  Add attachments