-
Notifications
You must be signed in to change notification settings - Fork 223
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
Assert in mtproto-utils.c line 101 #100
Comments
Interesting. The original code there was horribly broken (instant segfault). The current version is from me, in the hope of being somewhat okay. However, I don't know of any platform that has 32-bit Could you please explain what's going on with your platform? (I'll post some code to determined your |
Code to test it (you may need to write
Here's the output on AMD64:
What platform are you using? What does it say there? |
Btw: You may also want to delete the comment |
I'm on i686, Ubuntu 14.04 on virtualbox. My output is like this:
I removed the other code too, works fine for me. Maybe it's because of virtualbox or something, it is indeed weird. |
I thought that too :) Thank you, we'll wait for @vysheng then. |
Hello,
I encountered the assert(0) in mtproto-utils.c line 101. It says "As long as nobody ever uses this code, assume it is broken."
I had to remove the assert and it worked fine. I guess it's ok to remove it?
The text was updated successfully, but these errors were encountered: