Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Tuma has crashed after uploading the file on iOS #1

Closed
Moussabaddour opened this issue Jul 21, 2021 · 7 comments
Closed

Tuma has crashed after uploading the file on iOS #1

Moussabaddour opened this issue Jul 21, 2021 · 7 comments

Comments

@Moussabaddour
Copy link

The App crashed after finishing uploading the file on iOS and got this error:

thread App crashes on startup #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7000000000000060)
frame #0: 0x0000000102d3e21c NMSSHsftp_shutdown + 24 NMSSHsftp_shutdown:
-> 0x102d3e21c <+24>: ldr x0, [x0, #0x60]
0x102d3e220 <+28>: str x0, [sp, #0x8]
0x102d3e224 <+32>: ldur x0, [x29, #-0x8]
0x102d3e228 <+36>: ldr x0, [x0, #0x50]
Target 0: (Runner) stopped.
Lost connection to device.
Any help!!!

@ImranR98
Copy link
Owner

Sadly there isn't much I can do to debug this right now since I don't have access to macOS.

@Moussabaddour
Copy link
Author

Thank you for your reply.

I think the bug is from ssh.dart , because I developed simple app and I got the same error.
Always uploading success but the App crashed.
maybe it was working well with previous iOS versions.

BR

@ImranR98
Copy link
Owner

ImranR98 commented Jul 23, 2021

Looks like the ssh library is unmaintained; no commits in over a year and 5 unapproved PRs. Seems like there's only 1 alternative on pub.dev that could be tried https://pub.dev/packages/dartssh, but it has also not been updated in 2 years.

@Moussabaddour
Copy link
Author

Thank you for your prompt reply.
I will try to use this and let you know if it successes

@Moussabaddour
Copy link
Author

I fixed the bug just by comment
//connection.disconnect();
in targetConnector.dart file

@ImranR98
Copy link
Owner

Nice. You could make a pull request or I'll get around to doing so after testing on Android at some point.

@ImranR98
Copy link
Owner

Removed the line. No apparent impact on Android. Pushed commit.

ImranR98 pushed a commit that referenced this issue Jul 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants