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

Crash in AWSS3StorageService.upload(serviceKey:uploadSource:contentType:metadata:accelerate:onEvent:) + 14 #3785

Closed
amruth-movano opened this issue Jul 18, 2024 · 6 comments
Labels
bug Something isn't working storage Issues related to the Storage category

Comments

@amruth-movano
Copy link

amruth-movano commented Jul 18, 2024

Describe the bug

          Crashed: com.apple.root.user-initiated-qos.cooperative
0  libswiftCore.dylib             0x398c0 _assertionFailure(_:_:file:line:flags:) + 264
1  Evie Ring                      0x7bf460 specialized static Fatal.die(reason:extra:file:line:) + 77 (Fatal.swift:77)
2  Evie Ring                      0x7bec1c static Fatal.require(_:file:line:) + 55 (Fatal.swift:55)
3  Evie Ring                      0x14cd298 specialized FileSystem.getFileSize(fileURL:) + 172 (FileSystem.swift:172)
4  Evie Ring                      0x14ebcd0 UploadSource.getFile(fileSystem:) + 21 (UploadSource.swift:21)
5  Evie Ring                      0x14bbae8 closure #2 in AWSS3StorageService.upload(serviceKey:uploadSource:contentType:metadata:accelerate:onEvent:) + 14 (UploadSource.swift:14)
6  libswift_Concurrency.dylib     0x4d764 swift::runJobInEstablishedExecutorContext(swift::Job*) + 436
7  libswift_Concurrency.dylib     0x4e9c8 swift_job_runImpl(swift::Job*, swift::ExecutorRef) + 72
8  libdispatch.dylib              0x15894 _dispatch_root_queue_drain + 392
9  libdispatch.dylib              0x1609c _dispatch_worker_thread2 + 156
10 libsystem_pthread.dylib        0x48f8 _pthread_wqthread + 228
11 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Steps To Reproduce

- Occurring sometimes

Expected behavior

App should not crash wile uploading file to s3

Amplify Framework Version

2.35.4

Amplify Categories

Storage

Dependency manager

Swift PM

Swift version

5.9

CLI version

12.1.1

Xcode version

15.0

Relevant log output

No response

Is this a regression?

Yes

Regression additional context

Platforms

iOS

OS Version

iOS 17.5.1

Device

iPhone 11 Pro

Specific to simulators

No response

Additional context

No response

@thisisabhash thisisabhash added bug Something isn't working storage Issues related to the Storage category labels Jul 18, 2024
@thisisabhash
Copy link
Member

Thank you for posting this - Could you please post the code snippets used, verbose logs with sensitive information redacted and steps to reproduce this issue?

@ruisebas ruisebas added the pending-community-response Issue is pending response from the issue requestor label Jul 23, 2024
@amruth-movano
Copy link
Author

@thisisabhash this is from firebase on the local run we are not able to reproduce this issue

@github-actions github-actions bot removed the pending-community-response Issue is pending response from the issue requestor label Jul 24, 2024
@ruisebas
Copy link
Member

Thanks, could you please provide the full symbolicated crashlog?

It includes additional information that might help us root cause the issue.

@ruisebas ruisebas added the pending-community-response Issue is pending response from the issue requestor label Jul 30, 2024
@amruth-movano
Copy link
Author

@ruisebas
We are unable to reproduce this scenario using Xcode and the only stack trace which we have is I have already added

@github-actions github-actions bot added pending-maintainer-response Issue is pending response from an Amplify team member and removed pending-community-response Issue is pending response from the issue requestor labels Aug 27, 2024
@5d
Copy link
Member

5d commented Sep 4, 2024

Hi @amruth-movano,

It would be helpful if you could provide the full text of the crash log from Firebase Crashlytics, for example, #3725, as it may contain the crash exceptions and other thread stack traces. However, if you believe it might include private information, you can reach out to us through an AWS support ticket.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify team member label Sep 4, 2024
@ruisebas ruisebas added closing soon This issue will be closed in 7 days unless further comments are made. pending-community-response Issue is pending response from the issue requestor labels Sep 20, 2024
@ruisebas ruisebas closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
@github-actions github-actions bot removed pending-community-response Issue is pending response from the issue requestor closing soon This issue will be closed in 7 days unless further comments are made. labels Sep 27, 2024
Copy link
Contributor

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working storage Issues related to the Storage category
Projects
None yet
Development

No branches or pull requests

4 participants