Got CFNetwork Error when connect to sendbird

hi i’m trying to implement sendbird on my project, but i got error Thread 2: EXC_BAD_ACCESS (code=1, address=0x0) when i’m calling connect method either from uikit or sdk sendbird. I’m using m1 and simulator. The weird one is, the user id is added on dashboard, but i’m gotting this error, below i attached the error, maybe it will help. Please help this. thank you

CFNetwork`___lldb_unnamed_symbol9516$$CFNetwork:
0x11080330a <+0>: pushq %rbp
0x11080330b <+1>: movq %rsp, %rbp
0x11080330e <+4>: pushq %r15
0x110803310 <+6>: pushq %r14
0x110803312 <+8>: pushq %r13
0x110803314 <+10>: pushq %r12
0x110803316 <+12>: pushq %rbx
0x110803317 <+13>: subq $0xa8, %rsp
0x11080331e <+20>: movq %rdi, %r13
0x110803321 <+23>: movq 0x19be10(%rip), %rax ; (void *)0x000000011884b0b0: __stack_chk_guard
0x110803328 <+30>: movq (%rax), %rax
0x11080332b <+33>: movq %rax, -0x30(%rbp)
0x11080332f <+37>: movq %rdx, %rdi
0x110803332 <+40>: callq *0x19c378(%rip) ; (void *)0x0000000114eb5350: objc_retain
0x110803338 <+46>: movq %rax, %r15
0x11080333b <+49>: movq 0x2000f6(%rip), %rsi ; “workQueue”
0x110803342 <+56>: movq %r13, %rdi
0x110803345 <+59>: callq *0x19c355(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x11080334b <+65>: movq %rax, %rdi
0x11080334e <+68>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x110803353 <+73>: movq %rax, %rbx
0x110803356 <+76>: movq %rax, %rdi
0x110803359 <+79>: callq 0x11087a05c ; symbol stub for: dispatch_assert_queue$V2
0x11080335e <+84>: movq %rbx, %rdi
0x110803361 <+87>: callq *0x19c341(%rip) ; (void *)0x0000000114eb5000: objc_release
0x110803367 <+93>: movq 0x200322(%rip), %r12 ; “session”
0x11080336e <+100>: movq %r13, %rdi
0x110803371 <+103>: movq %r12, %rsi
0x110803374 <+106>: callq *0x19c326(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x11080337a <+112>: movq %rax, %rdi
0x11080337d <+115>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x110803382 <+120>: movq %rax, %r14
0x110803385 <+123>: movq 0x202adc(%rip), %rsi ; “delegate”
0x11080338c <+130>: movq %rax, %rdi
0x11080338f <+133>: callq *0x19c30b(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x110803395 <+139>: movq %rax, %rdi
0x110803398 <+142>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x11080339d <+147>: movq %rax, %rbx
0x1108033a0 <+150>: movq %r14, %rdi
0x1108033a3 <+153>: callq *0x19c2ff(%rip) ; (void *)0x0000000114eb5000: objc_release
0x1108033a9 <+159>: movq 0x2036e0(%rip), %rsi ; “URLSession:webSocketTask:didOpenWithProtocol:”
0x1108033b0 <+166>: movq %rbx, -0x60(%rbp)
0x1108033b4 <+170>: movq %rbx, %rdi
0x1108033b7 <+173>: callq 0x11087a9ec ; symbol stub for: objc_opt_respondsToSelector
0x1108033bc <+178>: testb $0x1, %al
0x1108033be <+180>: je 0x110803484 ; <+378>
0x1108033c4 <+186>: movq %r13, %rdi
0x1108033c7 <+189>: movq %r12, %rsi
0x1108033ca <+192>: movq %r15, -0x58(%rbp)
0x1108033ce <+196>: callq *0x19c2cc(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x1108033d4 <+202>: movq %rax, %rdi
0x1108033d7 <+205>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x1108033dc <+210>: movq %rax, %rbx
0x1108033df <+213>: movq 0x201ec2(%rip), %rsi ; “delegateQueue”
0x1108033e6 <+220>: movq %rax, %rdi
0x1108033e9 <+223>: callq *0x19c2b1(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x1108033ef <+229>: movq %rbx, -0x68(%rbp)
0x1108033f3 <+233>: movq %rax, %rdi
0x1108033f6 <+236>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x1108033fb <+241>: movq %rax, %r12
0x1108033fe <+244>: movq 0x19bcfb(%rip), %rax ; (void *)0x00000001187be030: _NSConcreteStackBlock
0x110803405 <+251>: leaq -0xa0(%rbp), %r14
0x11080340c <+258>: movq %rax, (%r14)
0x11080340f <+261>: movl $0xc2000000, %eax ; imm = 0xC2000000
0x110803414 <+266>: movq %rax, 0x8(%r14)
0x110803418 <+270>: leaq 0x3c6f(%rip), %rax ; ___lldb_unnamed_symbol9581$$CFNetwork
0x11080341f <+277>: movq %rax, 0x10(%r14)
0x110803423 <+281>: leaq 0x1b7f26(%rip), %rax ; NSURLSessionDownloadTaskResumeData + 8376
0x11080342a <+288>: movq %rax, 0x18(%r14)
0x11080342e <+292>: movq 0x19c27b(%rip), %r15 ; (void *)0x0000000114eb5350: objc_retain
0x110803435 <+299>: movq -0x60(%rbp), %rdi
0x110803439 <+303>: callq *%r15
0x11080343c <+306>: movq %rax, 0x20(%r14)
0x110803440 <+310>: movq %r13, 0x28(%r14)
0x110803444 <+314>: movq -0x58(%rbp), %rdi
0x110803448 <+318>: callq *%r15
0x11080344b <+321>: movq %rax, 0x30(%r14)
0x11080344f <+325>: movq 0x2004ba(%rip), %rsi ; “addOperationWithBlock:”
0x110803456 <+332>: movq %r12, %rdi
0x110803459 <+335>: movq %r14, %rdx
0x11080345c <+338>: callq *0x19c23e(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x110803462 <+344>: movq 0x19c23f(%rip), %rbx ; (void *)0x0000000114eb5000: objc_release
0x110803469 <+351>: movq %r12, %rdi
0x11080346c <+354>: callq *%rbx
0x11080346e <+356>: movq -0x68(%rbp), %rdi
0x110803472 <+360>: callq *%rbx
0x110803474 <+362>: movq -0x70(%rbp), %rdi
0x110803478 <+366>: callq *%rbx
0x11080347a <+368>: movq -0x80(%rbp), %rdi
0x11080347e <+372>: callq *%rbx
0x110803480 <+374>: movq -0x58(%rbp), %r15
0x110803484 <+378>: callq 0x110805ce3 ; ___lldb_unnamed_symbol9554$$CFNetwork
0x110803489 <+383>: movq %rax, %rdi
0x11080348c <+386>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x110803491 <+391>: movq %rax, %rbx
0x110803494 <+394>: movq %rax, %rdi
0x110803497 <+397>: movl $0x2, %esi
0x11080349c <+402>: callq 0x11087aa5e ; symbol stub for: os_log_type_enabled
0x1108034a1 <+407>: testb %al, %al
0x1108034a3 <+409>: jne 0x1108035fb ; <+753>
0x1108034a9 <+415>: movq %rbx, %rdi
0x1108034ac <+418>: callq *0x19c1f6(%rip) ; (void *)0x0000000114eb5000: objc_release
0x1108034b2 <+424>: movq 0x20550f(%rip), %rax
0x1108034b9 <+431>: movq (%r13,%rax), %rdi
→ 0x1108034be <+436>: movq (%rdi), %rax
0x1108034c1 <+439>: callq *0x148(%rax)
0x1108034c7 <+445>: movq %rax, %r12
0x1108034ca <+448>: movl $0x1, %edi
0x1108034cf <+453>: callq 0x11087a914 ; symbol stub for: nw_ws_create_options
0x1108034d4 <+458>: movq %rax, %r14
0x1108034d7 <+461>: movq %rax, %rdi
0x1108034da <+464>: movl $0x1, %esi
0x1108034df <+469>: callq 0x11087a932 ; symbol stub for: nw_ws_options_set_auto_reply_ping
0x1108034e4 <+474>: movq %r14, %rdi
0x1108034e7 <+477>: movl $0x1, %esi
0x1108034ec <+482>: callq 0x11087a944 ; symbol stub for: nw_ws_options_set_skip_handshake
0x1108034f1 <+487>: movq 0x2054d8(%rip), %rax
0x1108034f8 <+494>: movq (%r13,%rax), %rsi
0x1108034fd <+499>: movq %r14, %rdi
0x110803500 <+502>: callq 0x11087a93e ; symbol stub for: nw_ws_options_set_prepend_data
0x110803505 <+507>: movq 0x2066f4(%rip), %rax
0x11080350c <+514>: movq (%r13,%rax), %rsi
0x110803511 <+519>: movq %r14, %rdi
0x110803514 <+522>: callq 0x11087a938 ; symbol stub for: nw_ws_options_set_maximum_message_size
0x110803519 <+527>: leaq -0x50(%rbp), %rax
0x11080351d <+531>: movq $0x0, (%rax)
0x110803524 <+538>: movq %rax, 0x8(%rax)
0x110803528 <+542>: movabsq $0x2020000000, %rcx ; imm = 0x2020000000
0x110803532 <+552>: movq %rcx, 0x10(%rax)
0x110803536 <+556>: movb $0x0, 0x18(%rax)
0x11080353a <+560>: movq 0x19bbbf(%rip), %rcx ; (void *)0x00000001187be030: _NSConcreteStackBlock
0x110803541 <+567>: leaq -0xd0(%rbp), %rbx
0x110803548 <+574>: movq %rcx, (%rbx)
0x11080354b <+577>: movl $0xc2000000, %ecx ; imm = 0xC2000000
0x110803550 <+582>: movq %rcx, 0x8(%rbx)
0x110803554 <+586>: leaq 0x3ba4(%rip), %rcx ; ___lldb_unnamed_symbol9582$$CFNetwork
0x11080355b <+593>: movq %rcx, 0x10(%rbx)
0x11080355f <+597>: leaq 0x1b7e1a(%rip), %rcx ; NSURLSessionDownloadTaskResumeData + 8424
0x110803566 <+604>: movq %rcx, 0x18(%rbx)
0x11080356a <+608>: movq %rax, 0x28(%rbx)
0x11080356e <+612>: movq %r14, %rdi
0x110803571 <+615>: callq *0x19c139(%rip) ; (void *)0x0000000114eb5350: objc_retain
0x110803577 <+621>: movq %rax, %r14
0x11080357a <+624>: movq %rax, 0x20(%rbx)
0x11080357e <+628>: movq %r12, %rdi
0x110803581 <+631>: movq %rbx, %rsi
0x110803584 <+634>: callq 0x11087a51e ; symbol stub for: nw_connection_modify_connected_protocol_stack
0x110803589 <+639>: movq 0x206658(%rip), %rax
0x110803590 <+646>: movb $0x1, (%r13,%rax)
0x110803596 <+652>: movq 0x201c0b(%rip), %rsi ; “_onqueue_ioTick”
0x11080359d <+659>: movq %r13, %rdi
0x1108035a0 <+662>: callq *0x19c0fa(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x1108035a6 <+668>: movq -0xb0(%rbp), %rdi
0x1108035ad <+675>: movq 0x19c0f4(%rip), %rbx ; (void *)0x0000000114eb5000: objc_release
0x1108035b4 <+682>: callq *%rbx
0x1108035b6 <+684>: leaq -0x50(%rbp), %rdi
0x1108035ba <+688>: movl $0x8, %esi
0x1108035bf <+693>: callq 0x110879da4 ; symbol stub for: _Block_object_dispose
0x1108035c4 <+698>: movq %r14, %rdi
0x1108035c7 <+701>: callq *%rbx
0x1108035c9 <+703>: movq %r12, %rdi
0x1108035cc <+706>: callq *%rbx
0x1108035ce <+708>: movq -0x60(%rbp), %rdi
0x1108035d2 <+712>: callq *%rbx
0x1108035d4 <+714>: movq %r15, %rdi
0x1108035d7 <+717>: callq *%rbx
0x1108035d9 <+719>: movq 0x19bb58(%rip), %rax ; (void *)0x000000011884b0b0: __stack_chk_guard
0x1108035e0 <+726>: movq (%rax), %rax
0x1108035e3 <+729>: cmpq -0x30(%rbp), %rax
0x1108035e7 <+733>: jne 0x110803654 ; <+842>
0x1108035e9 <+735>: addq $0xa8, %rsp
0x1108035f0 <+742>: popq %rbx
0x1108035f1 <+743>: popq %r12
0x1108035f3 <+745>: popq %r13
0x1108035f5 <+747>: popq %r14
0x1108035f7 <+749>: popq %r15
0x1108035f9 <+751>: popq %rbp
0x1108035fa <+752>: retq
0x1108035fb <+753>: movq 0x1ffefe(%rip), %rsi ; “_loggableDescription”
0x110803602 <+760>: movq %r13, %rdi
0x110803605 <+763>: callq *0x19c095(%rip) ; (void *)0x0000000114e9b780: objc_msgSend
0x11080360b <+769>: movq %rax, %rdi
0x11080360e <+772>: callq 0x11087aa04 ; symbol stub for: objc_retainAutoreleasedReturnValue
0x110803613 <+777>: movq %rax, %r14
0x110803616 <+780>: leaq -0x50(%rbp), %r8
0x11080361a <+784>: movl $0x8420102, (%r8) ; imm = 0x8420102
0x110803621 <+791>: movq %rax, 0x4(%r8)
0x110803625 <+795>: leaq -0x1bd62c(%rip), %rdi
0x11080362c <+802>: leaq 0x16b4cd(%rip), %rcx ; “%{public}@ handshake successful”
0x110803633 <+809>: movq %rbx, %rsi
0x110803636 <+812>: movl $0x2, %edx
0x11080363b <+817>: movl $0xc, %r9d
0x110803641 <+823>: callq 0x110879fb4 ; symbol stub for: _os_log_debug_impl
0x110803646 <+828>: movq %r14, %rdi
0x110803649 <+831>: callq *0x19c059(%rip) ; (void *)0x0000000114eb5000: objc_release
0x11080364f <+837>: jmp 0x1108034a9 ; <+415>
0x110803654 <+842>: callq 0x110879f9c ; symbol stub for: __stack_chk_fail
0x110803659 <+847>: movq %r15, -0x58(%rbp)
0x11080365d <+851>: jmp 0x110803682 ; <+888>
0x11080365f <+853>: movq %rax, %r13
0x110803662 <+856>: movq 0x19c03f(%rip), %rbx ; (void *)0x0000000114eb5000: objc_release
0x110803669 <+863>: movq %r12, %rdi
0x11080366c <+866>: callq *%rbx
0x11080366e <+868>: movq -0x68(%rbp), %rdi
0x110803672 <+872>: callq *%rbx
0x110803674 <+874>: movq -0x70(%rbp), %rdi
0x110803678 <+878>: callq *%rbx
0x11080367a <+880>: movq -0x80(%rbp), %rdi
0x11080367e <+884>: callq *%rbx
0x110803680 <+886>: jmp 0x110803700 ; <+1014>
0x110803682 <+888>: movq %rax, %r13
0x110803685 <+891>: movq %rbx, %rdi
0x110803688 <+894>: jmp 0x1108036fa ; <+1008>
0x11080368a <+896>: jmp 0x11080369b ; <+913>
0x11080368c <+898>: movq %r15, -0x58(%rbp)
0x110803690 <+902>: movq %rax, %r13
0x110803693 <+905>: jmp 0x1108036f7 ; <+1005>
0x110803695 <+907>: jmp 0x110803697 ; <+909>
0x110803697 <+909>: movq %r15, -0x58(%rbp)
0x11080369b <+913>: movq %rax, %r13
0x11080369e <+916>: jmp 0x110803700 ; <+1014>
0x1108036a0 <+918>: movq %r15, -0x58(%rbp)
0x1108036a4 <+922>: movq %rax, %r13
0x1108036a7 <+925>: movq %r14, %rdi
0x1108036aa <+928>: jmp 0x110803704 ; <+1018>
0x1108036ac <+930>: jmp 0x1108036ba ; <+944>
0x1108036ae <+932>: movq %r15, -0x58(%rbp)
0x1108036b2 <+936>: movq %rax, %r13
0x1108036b5 <+939>: movq %rbx, %rdi
0x1108036b8 <+942>: jmp 0x110803704 ; <+1018>
0x1108036ba <+944>: movq %r15, -0x58(%rbp)
0x1108036be <+948>: movq %rax, %r13
0x1108036c1 <+951>: jmp 0x11080370a ; <+1024>
0x1108036c3 <+953>: movq %r15, -0x58(%rbp)
0x1108036c7 <+957>: movq %rax, %r13
0x1108036ca <+960>: movq -0xb0(%rbp), %rdi
0x1108036d1 <+967>: callq *0x19bfd1(%rip) ; (void *)0x0000000114eb5000: objc_release
0x1108036d7 <+973>: leaq -0x50(%rbp), %rdi
0x1108036db <+977>: movl $0x8, %esi
0x1108036e0 <+982>: callq 0x110879da4 ; symbol stub for: _Block_object_dispose
0x1108036e5 <+987>: jmp 0x1108036ee ; <+996>
0x1108036e7 <+989>: movq %r15, -0x58(%rbp)
0x1108036eb <+993>: movq %rax, %r13
0x1108036ee <+996>: movq %r14, %rdi
0x1108036f1 <+999>: callq *0x19bfb1(%rip) ; (void *)0x0000000114eb5000: objc_release
0x1108036f7 <+1005>: movq %r12, %rdi
0x1108036fa <+1008>: callq *0x19bfa8(%rip) ; (void *)0x0000000114eb5000: objc_release
0x110803700 <+1014>: movq -0x60(%rbp), %rdi
0x110803704 <+1018>: callq *0x19bf9e(%rip) ; (void *)0x0000000114eb5000: objc_release
0x11080370a <+1024>: movq -0x58(%rbp), %rdi
0x11080370e <+1028>: callq *0x19bf94(%rip) ; (void *)0x0000000114eb5000: objc_release
0x110803714 <+1034>: movq %r13, %rdi
0x110803717 <+1037>: callq 0x110879e40 ; symbol stub for: _Unwind_Resume
0x11080371c <+1042>: ud2

@daniel hello, would you tell me sdk version you use? additionally please attach some crash log if you have any

@Woo thanks for the reply, i’m using SendBirdSDK (3.0.224) and below i attach the crash, i got lot of them so i zipped it if you don’t mind. Thanks for your help

Your log files do not show anything related to CFNetwork nor SendbirdSDK

I also tried to run sdk on m1 machine which I could not find any issue :confused:

yeah, the weird one is, i try to create new project, and it’s doesn’t have any issue :frowning:

idk where the issue came from, but it’s only crashed after i called the connect method :mask:

do u think it came from One Signal? maybe some conflict or anything?

i commented the one signal functions, but still got those error, it’s so frustating to be honest.