-
Notifications
You must be signed in to change notification settings - Fork 86
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
App Crash when upload/write file to shared folder through iOS. #85
Comments
Hi Narendra, |
thanks for the response and error i got is ; **(220,0x16e0a3000) malloc: * error for object 0x15711d600: incorrect checksum for freed object - object was probably modified after being freed. Maximum times its giving this error and in some times at the initialstage itself crashing. |
hello, netbios_session_packet_recv: : Connection reset by peer netbios_session_packet_send: Unable to send (full?) packet: Broken pipe while uploading file to shared folder giving these types of messages and app crashing . Please have a look on it and plz help me on this how to handle. Thanks, |
Hello, |
Hello, // code to upload file/write file please find this line to check the upload/write to file code. Thanks, |
Ok I've made some tests with your sample app and I managed to upload files (tried a 3.5MB file and a 1.07GB file) on my servers with no issue/crash ! |
Im using my mac shared folder instead of server and i will try with NAS server and Im also able to upload 1.3 GB of data and if i try 2 GB or More than 2 GB app crashes.Cold you please try with 2GB file . |
hello i observed one more thing here .. Im able to upload the zip file from my shared folder and if try to unzip manually (in MAC) it works fine, if try to unzip the file using iOS Library (SSZipArchive or ZipArchive) it throws an error as BADZIP file. Thanks, |
I've just tested uploading a 3.2GB file with no issue :-/ |
I'd just like to note it's happening to me as well. I've opened similar issue here: TimOliver/TOSMBClient#26, but it seems to be a problem of The crash happens when I disconnect from Samba device I'm downloading from. My logs:
We're using such device as SMB server: http://www.ravpower.com/rp-wd03-filehub-6000mah-power-bank-portable-wireless-router.html. |
Any backtrace? |
@jbkempf I just found a bug in TOSMBClient, so sorry for the false alarm, the bug was not from here. In case you'd like to see what happened: TimOliver/TOSMBClient#27. |
Hi All, |
Hi, |
Hi,
Thanks for the great lib, I'm trying to upload files with my iOS application and i have done some research on how to use smb_fwrite and finally I'm able to use it. But most of the times its crashing at
and the buffer size I'm giving as 65535
please help me on this, how can i handle this?
Thanks in advance .
Narendra.
The text was updated successfully, but these errors were encountered: