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

Disconnect after receiving image #24

Open
duarm opened this issue May 5, 2024 · 7 comments
Open

Disconnect after receiving image #24

duarm opened this issue May 5, 2024 · 7 comments

Comments

@duarm
Copy link

duarm commented May 5, 2024

Sending an image results in the bot disconnecting

OnDisconnect	garbage collected
@duarm duarm changed the title Crash when sending image Bot disconnecting after receiving image May 5, 2024
@duarm duarm changed the title Bot disconnecting after receiving image Disconnect after receiving image May 5, 2024
@bkacjios
Copy link
Owner

bkacjios commented May 5, 2024

Can you clarify what you mean? Sending an image through a message? Comment? Icon?

@duarm
Copy link
Author

duarm commented May 5, 2024

Sorry for the lack of information, The bot connects, and everything works well, if I send an image through mumble chat (using the official client), the bot disconnects. I'm running the hooks.lua example. Tried both png and jpgs of different sizes, both from disk, clipboard and drag & drop. I think the bot receives the image and fails somehow while decoding it.

Built myself from source, I'm on arch.
protobuf-c 1.5.0-2
libev 4.33-2

2024-05-05_16:53:30

@bkacjios
Copy link
Owner

bkacjios commented May 5, 2024

Ohhhhh. Interesting. I had no idea you could do that. Thanks! I'll look into it!

@bkacjios
Copy link
Owner

bkacjios commented May 7, 2024

I wasn't able to reproduce this.. I dragged a picture to my mumble client, it sent, and the bot didn't seem to care. What's weird is the bot never received an OnMessage event at all.

@duarm
Copy link
Author

duarm commented May 8, 2024

I'll try to narrow down the problem this weekend. I'm on mumble 1.5.629-1

@bkacjios
Copy link
Owner

bkacjios commented May 8, 2024

That might be the issue. 1.5 has a new protocol that I'm still working on.

@duarm
Copy link
Author

duarm commented May 9, 2024

I wasn't able to reproduce this.. I dragged a picture to my mumble client, it sent, and the bot didn't seem to care. What's weird is the bot never received an OnMessage event at all.

Tested the async-connect branch and this is the behaviour I'm getting now.

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