-
Notifications
You must be signed in to change notification settings - Fork 148
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
memory allocation failed #54
Comments
Thanks for the kind words! Very unfortunate to see an allocation error like that though.... Can you possibly send me the exact size in bytes of the .mp4 so I can reproduce? This and #51 are next on my list. |
It's 817597378 bytes in size (info from |
I'm not able to replicate so far. Could you please send the output of the both sides when it crashes? Does changing the filename to |
Oh it's the file name that caused the error! Sorry for my misleading I tried several file names, maybe it's caused by non-ASCII characters:
As for the output, the Linux client crashed and leave the above memory allocation failed error in the terminal, and the Android client's last output is There's one more special case when the file name is only 1 non-ASCII character
the file size is wrong, also the filename is missing the
The Android client output the same |
Not misleading at all, very grateful for you uncovering the bug. I found the problem, I wasn't handling the size of non-ASCII strings properly on Android. I'll fix it and get an updated Android version out soon. I should probably also move to a more mature transfer protocol at some point. Thanks again! |
My pleasure, looking forward to the update! |
Version 7.2 is available on the releases page and should be on the Play Store soon. Please let me know if this fixes the filename issue, thanks! |
Have tried the Version 7.2 of Android client, and I'm pretty sure it fixes the filename issue (even tried filename with emoji |
Closing this since the other issue is being tracked in #51. |
First of all, Thanks for making this amazing app, I absolutely love it!
The problem occurred when I try to transfer from Android 13 to Ubuntu 22.04 LTS, a 818 MB .mp4 video file, the Linux app crashed after the Android had connected to the hotspot:
Version information:
In fact, the .deb version of Linux client also suffered from the same issue.
Also, I tried a 9.8MB .jpg file, which is smaller, and it succeeded.
PS: I also met the same problem as in #51. Although I'm a Windows user most of the time, it would be great if FlyingCarpet can also work flawlessly under Linux (like it does under Windows)
The text was updated successfully, but these errors were encountered: