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 Swift6 when calling GiphyCore.shared.gifByID(giphyId) #265

Open
rckoenes opened this issue Jan 23, 2025 · 0 comments
Open

Crash in Swift6 when calling GiphyCore.shared.gifByID(giphyId) #265

rckoenes opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@rckoenes
Copy link

🐛 Bug Report

Using 2.2.13 the app crash after calling: GiphyCore.shared.gifByID(giphyId)

To Reproduce

Just call GiphyCore.shared.gifByID(giphyId)

Expected behavior

That the app will not crash

Actual Behavior

The app crashes.

Here ios the back trace:

* thread #6, queue = 'com.apple.NSURLSession-delegate', stop reason = EXC_BREAKPOINT (code=1, subcode=0x1003d8214)
  * frame #0: 0x00000001003d8214 libdispatch.dylib`_dispatch_assert_queue_fail + 116
    frame #1: 0x00000001003d81a0 libdispatch.dylib`dispatch_assert_queue + 188
    frame #2: 0x00000002493a0400 libswift_Concurrency.dylib`swift_task_isCurrentExecutorImpl(swift::SerialExecutorRef) + 284
    frame #3: 0x00000001047b98b8 TestServer1.debug.dylib`closure #1 in GiphyViewModel.load(response=0x000060000037ec20, error=nil) at GiphyViewModel.swift:0
    frame #4: 0x0000000101464bac GiphyUISDK`___lldb_unnamed_symbol7365 + 416
    frame #5: 0x0000000101464dd8 GiphyUISDK`___lldb_unnamed_symbol7367 + 52
    frame #6: 0x000000010146b0a8 GiphyUISDK`___lldb_unnamed_symbol7530 + 268
    frame #7: 0x000000010146bb20 GiphyUISDK`___lldb_unnamed_symbol7535 + 1412
    frame #8: 0x000000010146962c GiphyUISDK`___lldb_unnamed_symbol7502 + 144
    frame #9: 0x0000000184802a48 CFNetwork`__40-[__NSURLSessionLocal taskForClassInfo:]_block_invoke + 500
    frame #10: 0x0000000184819abc CFNetwork`__49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke_2 + 152
    frame #11: 0x00000001003d4cd8 libdispatch.dylib`_dispatch_call_block_and_release + 24
    frame #12: 0x00000001003d65d0 libdispatch.dylib`_dispatch_client_callout + 16
    frame #13: 0x00000001003de8b8 libdispatch.dylib`_dispatch_lane_serial_drain + 896
    frame #14: 0x00000001003df628 libdispatch.dylib`_dispatch_lane_invoke + 420
    frame #15: 0x00000001003ec2cc libdispatch.dylib`_dispatch_root_queue_drain_deferred_wlh + 324
    frame #16: 0x00000001003eb838 libdispatch.dylib`_dispatch_workloop_worker_thread + 732
    frame #17: 0x000000010046fb74 libsystem_pthread.dylib`_pthread_wqthread + 284

Your Environment

  • Giphy iOS SDK version: 2.2.13
  • Dependency Manager: SPM
  • Xcode Version: 16.2
  • Swift Version: 6
  • Device info Simulator iOS 18.2

Reproducible Demo

Swift6 project that show the crash.

@rckoenes rckoenes added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant