Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[netsend] cause plugdata crash #2035

Open
mimicras opened this issue Jan 3, 2025 · 4 comments
Open

[netsend] cause plugdata crash #2035

mimicras opened this issue Jan 3, 2025 · 4 comments

Comments

@mimicras
Copy link

mimicras commented Jan 3, 2025

Any correct use of [netsend] cause plugdata (app.) to crash. Any (allowed) port and address (localhost or 127…) or external (192…) cause crash.
The best way to check this is just open help for [netsend] and run :)

I think this is much harder to catch …

best,

m.

@mimicras
Copy link
Author

mimicras commented Jan 4, 2025

Maybe it helps: The same thing on Linux (Mint 22 Wilma, Ubuntu 24.04 noble) does not crash but reports in Console:
Connection reset by peer (104)
And on next try:
Connection refused (111)

best,

m.

@dromer
Copy link
Contributor

dromer commented Jan 4, 2025

The same thing on Linux

What is the OS in the first post then?

@mimicras
Copy link
Author

mimicras commented Jan 6, 2025

First time tested on MacOS (three different computers with BigSur (11.6.5 - M1) and High Sierra and Sierra (Intel Macs). Also with Universal and Legacy versions of plugdata. The problem could be also with [netreceive]. I will try to do more test to point right object.

@mimicras
Copy link
Author

mimicras commented Jan 6, 2025

Here are more.
Adding a -u flag will not cause crash, but there are no communication still.
I created similar patch in MaxMSP and and when sending from Max to plugd - no communication, no crash
Sending from plugd to Max - two errors in Max:

  • OSC bad message name string: DataAfterAlignedString Unreasonably long string. Dropping
    and
  • OSC packet size (5) not a multiple of 4 bytes. Dropping.

I am not expert in this, but to me it looks like instead of actual data plugd is sending some variable name or other elements of opcode…

If there is any more I can test - let my know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants