Skip to content

web3auth native ios crash #107

@ldemyanenko

Description

@ldemyanenko

Steps to reproduce

Please tell us exactly how to reproduce the problem you are running into.
We don't really have the steps. It was one time when this crash happened and we don't have the steps to reproduce. In general cases functionality works without issues

Code sample

class AuthWeb3AuthService {
  final String appClientId;
  final IErrorLoggingService errorLoggingService;
  final bool isDevEnv;

  AuthWeb3AuthService({
    required this.appClientId,
    required this.errorLoggingService,
    required this.isDevEnv,
  });

  Future<void> init() async {
    errorLoggingService.logMessage(
      message: "Initializing Web3Auth...",
      source: "AuthWeb3AuthService",
    );

    await Web3AuthFlutter.init(
      Web3AuthOptions(
        clientId: appClientId,
        redirectUrl: Uri.parse('fi.credi.app://auth'),
        network: isDevEnv ? Network.sapphire_devnet : Network.sapphire_mainnet,
      ),
    );

    errorLoggingService.logMessage(
      message: "Web3Auth initialized successfully",
      source: "AuthWeb3AuthService",
    );
  }

  Future<String?> authenticateWithEmail(String email) async {
    errorLoggingService.logMessage(
      message: "Email authentication started for: $email",
      source: "AuthWeb3AuthService",
    );

    try {
      final response = await Web3AuthFlutter.login(
        LoginParams(
          loginProvider: Provider.email_passwordless,
          extraLoginOptions: ExtraLoginOptions(login_hint: email),
        ),
      );

      final accessToken = response.userInfo?.idToken;

      if (accessToken != null && accessToken.isNotEmpty) {
        errorLoggingService.logMessage(
          message: "Email authentication successful",
          source: "AuthWeb3AuthService",
        );
        return accessToken;
      } else {
        errorLoggingService.logMessage(
          message: "Email authentication failed: No access token received",
          source: "AuthWeb3AuthService",
        );
        return null;
      }
    } catch (e, stack) {
      errorLoggingService.logError(
        exception: e,
        reason: "Email authentication failed",
        stack: stack,
      );
      rethrow;
    }
  }
..
}

Screenshots or Video

signal-2026-01-29-013133.mp4

Logs

Incident Identifier: 63C187E2-596D-4D9E-9469-621AF2332C69
Distributor ID:      com.apple.TestFlight
Hardware Model:      iPhone15,2
Process:             Runner [64680]
Path:                /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Runner
Identifier:          fi.credi.app.dev
Version:             1.0.0 (31)
AppStoreTools:       17C48
AppVariant:          1:iPhone15,2:18
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           fi.credi.app.dev [18066]

Date/Time:           2025-12-22 00:02:31.8307 +0530
Launch Time:         2025-12-21 22:31:14.6277 +0530
OS Version:          iPhone OS 18.0 (22A3354)
Release Type:        User
Baseband Version:    3.02.08
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000018c43fd78
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [64680]

Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   libswiftCore.dylib            	0x000000018c43fd78 _assertionFailure(_:_:file:line:flags:) + 264 (AssertCommon.swift:147)
1   libswift_Concurrency.dylib    	0x0000000199441804 CheckedContinuation.resume(throwing:) + 472 (CheckedContinuation.swift:189)
2   Web3Auth                      	0x00000001019a9554 closure #1 in closure #1 in Web3Auth.login(_:) + 684 (Web3Auth.swift:222)
3   Web3Auth                      	0x00000001019b02a4 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28
4   libdispatch.dylib             	0x0000000195aa8370 _dispatch_call_block_and_release + 32 (init.c:1549)
5   libdispatch.dylib             	0x0000000195aaa0d0 _dispatch_client_callout + 20 (object.m:576)
6   libdispatch.dylib             	0x0000000195ab89e0 _dispatch_main_queue_drain + 980 (queue.c:8093)
7   libdispatch.dylib             	0x0000000195ab85fc _dispatch_main_queue_callback_4CF + 44 (queue.c:8253)
8   CoreFoundation                	0x000000018de03f64 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1773)
9   CoreFoundation                	0x000000018de01188 __CFRunLoopRun + 1996 (CFRunLoop.c:3143)
10  CoreFoundation                	0x000000018de005b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414)
11  GraphicsServices              	0x00000001d98961c4 GSEventRunModal + 164 (GSEvent.c:2196)
12  UIKitCore                     	0x00000001909565f0 -[UIApplication _run] + 816 (UIApplication.m:3820)
13  UIKitCore                     	0x0000000190a0510c UIApplicationMain + 340 (UIApplication.m:5472)
14  UIKitCore                     	0x0000000190d31e50 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:565)
15  Runner                        	0x0000000100d58c28 specialized static UIApplicationDelegate.main() + 28 (/<compiler-generated>:6)
16  Runner                        	0x0000000100d58c28 static AppDelegate.$main() + 28 (AppDelegate.swift:0)
17  Runner                        	0x0000000100d58c28 main + 120
18  dyld                          	0x00000001b35d3d34 start + 2724 (dyldMain.cpp:1334)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib        	0x00000001ddc44728 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001ddc47e38 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001ddc47d50 mach_msg_overwrite + 424 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001ddc47b9c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000018de017cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617)
5   CoreFoundation                	0x000000018de00e78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001)
6   CoreFoundation                	0x000000018de005b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414)
7   Foundation                    	0x000000018ca96f00 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x000000018ca96d50 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                     	0x0000000190969a44 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1212)
10  Foundation                    	0x000000018caa8058 __NSThread__start__ + 724 (NSThread.m:991)
11  libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
12  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        	0x00000001ddc44728 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001ddc47e38 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001ddc47d50 mach_msg_overwrite + 424 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001ddc47b9c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000018de017cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617)
5   CoreFoundation                	0x000000018de00e78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001)
6   CoreFoundation                	0x000000018de005b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414)
7   Flutter                       	0x0000000102198104 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
8   Flutter                       	0x0000000102197dec fml::MessageLoopImpl::DoRun() + 28 (message_loop_impl.cc:94)
9   Flutter                       	0x0000000102197dec fml::MessageLoop::Run() + 32 (message_loop.cc:49)
10  Flutter                       	0x0000000102197dec fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 160 (thread.cc:154)
11  Flutter                       	0x0000000102197dec decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::__invoke[abi:nn210000]<fml::Thr... + 160 (invoke.h:179)
12  Flutter                       	0x0000000102197dec void std::_fl::__invoke_void_return_wrapper<void, true>::__call[abi:nn210000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const... + 160 (invoke.h:251)
13  Flutter                       	0x0000000102197dec void std::_fl::__invoke_r[abi:nn210000]<void, fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(st... + 160 (invoke.h:273)
14  Flutter                       	0x0000000102197dec std::_fl::__function::__alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::T... + 160 (function.h:167)
15  Flutter                       	0x0000000102197dec std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(... + 180 (function.h:319)
16  Flutter                       	0x0000000102197afc std::_fl::__function::__value_func<void ()>::operator()[abi:nn210000]() const + 20 (function.h:436)
17  Flutter                       	0x0000000102197afc std::_fl::function<void ()>::operator()() const + 20 (function.h:995)
18  Flutter                       	0x0000000102197afc fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void*) const + 20 (thread.cc:76)
19  Flutter                       	0x0000000102197afc fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 36 (thread.cc:73)
20  libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
21  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib        	0x00000001ddc44728 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001ddc47e38 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001ddc47d50 mach_msg_overwrite + 424 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001ddc47b9c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000018de017cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617)
5   CoreFoundation                	0x000000018de00e78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001)
6   CoreFoundation                	0x000000018de005b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414)
7   Flutter                       	0x0000000102198104 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
8   Flutter                       	0x0000000102197dec fml::MessageLoopImpl::DoRun() + 28 (message_loop_impl.cc:94)
9   Flutter                       	0x0000000102197dec fml::MessageLoop::Run() + 32 (message_loop.cc:49)
10  Flutter                       	0x0000000102197dec fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 160 (thread.cc:154)
11  Flutter                       	0x0000000102197dec decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::__invoke[abi:nn210000]<fml::Thr... + 160 (invoke.h:179)
12  Flutter                       	0x0000000102197dec void std::_fl::__invoke_void_return_wrapper<void, true>::__call[abi:nn210000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const... + 160 (invoke.h:251)
13  Flutter                       	0x0000000102197dec void std::_fl::__invoke_r[abi:nn210000]<void, fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(st... + 160 (invoke.h:273)
14  Flutter                       	0x0000000102197dec std::_fl::__function::__alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::T... + 160 (function.h:167)
15  Flutter                       	0x0000000102197dec std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(... + 180 (function.h:319)
16  Flutter                       	0x0000000102197afc std::_fl::__function::__value_func<void ()>::operator()[abi:nn210000]() const + 20 (function.h:436)
17  Flutter                       	0x0000000102197afc std::_fl::function<void ()>::operator()() const + 20 (function.h:995)
18  Flutter                       	0x0000000102197afc fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void*) const + 20 (thread.cc:76)
19  Flutter                       	0x0000000102197afc fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 36 (thread.cc:73)
20  libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
21  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001ddc4a030 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x0000000215196a50 _pthread_cond_wait + 1204 (pthread_cond.c:862)
2   Flutter                       	0x00000001021733b4 std::_fl::__libcpp_condvar_wait[abi:nn210000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (pthread.h:122)
3   Flutter                       	0x00000001021733b4 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 20 (condition_variable.cpp:30)
4   Flutter                       	0x0000000102191488 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 44 (condition_variable.h:147)
5   Flutter                       	0x0000000102191488 fml::ConcurrentMessageLoop::WorkerMain() + 60 (concurrent_message_loop.cc:75)
6   Flutter                       	0x0000000102191488 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 292 (concurrent_message_loop.cc:20)
7   Flutter                       	0x0000000102191488 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:nn210000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::... + 292 (invoke.h:179)
8   Flutter                       	0x0000000102191488 void std::_fl::__thread_execute[abi:nn210000]<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop... + 292 (thread.h:200)
9   Flutter                       	0x0000000102191488 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::Concur... + 392 (thread.h:209)
10  libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
11  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib        	0x00000001ddc4a030 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x0000000215196a50 _pthread_cond_wait + 1204 (pthread_cond.c:862)
2   Flutter                       	0x00000001021733b4 std::_fl::__libcpp_condvar_wait[abi:nn210000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (pthread.h:122)
3   Flutter                       	0x00000001021733b4 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 20 (condition_variable.cpp:30)
4   Flutter                       	0x0000000102191488 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 44 (condition_variable.h:147)
5   Flutter                       	0x0000000102191488 fml::ConcurrentMessageLoop::WorkerMain() + 60 (concurrent_message_loop.cc:75)
6   Flutter                       	0x0000000102191488 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 292 (concurrent_message_loop.cc:20)
7   Flutter                       	0x0000000102191488 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:nn210000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::... + 292 (invoke.h:179)
8   Flutter                       	0x0000000102191488 void std::_fl::__thread_execute[abi:nn210000]<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop... + 292 (thread.h:200)
9   Flutter                       	0x0000000102191488 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::Concur... + 392 (thread.h:209)
10  libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
11  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib        	0x00000001ddc4a030 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x0000000215196a50 _pthread_cond_wait + 1204 (pthread_cond.c:862)
2   Flutter                       	0x00000001021733b4 std::_fl::__libcpp_condvar_wait[abi:nn210000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (pthread.h:122)
3   Flutter                       	0x00000001021733b4 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 20 (condition_variable.cpp:30)
4   Flutter                       	0x0000000102191488 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 44 (condition_variable.h:147)
5   Flutter                       	0x0000000102191488 fml::ConcurrentMessageLoop::WorkerMain() + 60 (concurrent_message_loop.cc:75)
6   Flutter                       	0x0000000102191488 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 292 (concurrent_message_loop.cc:20)
7   Flutter                       	0x0000000102191488 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:nn210000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::... + 292 (invoke.h:179)
8   Flutter                       	0x0000000102191488 void std::_fl::__thread_execute[abi:nn210000]<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop... + 292 (thread.h:200)
9   Flutter                       	0x0000000102191488 void* std::_fl::__thread_proxy[abi:nn210000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::Concur... + 392 (thread.h:209)
10  libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
11  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib        	0x00000001ddc4b46c kevent + 8 (:-1)
1   Flutter                       	0x000000010258ac7c dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 364 (eventhandler_macos.cc:459)
2   Flutter                       	0x00000001025b6fcc dart::bin::ThreadStart(void*) + 88 (thread_macos.cc:65)
3   libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
4   libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib        	0x00000001ddc48cc0 write + 8 (:-1)
1   FirebaseCrashlytics           	0x0000000100fd9c50 FIRCLSSDKFileLog + 312 (FIRCLSInternalLogging.c:62)
2   FirebaseCrashlytics           	0x0000000100fdb8e0 FIRCLSMachExceptionReply + 120 (FIRCLSMachException.c:269)
3   FirebaseCrashlytics           	0x0000000100fdb8e0 FIRCLSMachExceptionServer + 964 (FIRCLSMachException.c:180)
4   libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
5   libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib        	0x00000001ddc44728 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001ddc47e38 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001ddc47d50 mach_msg_overwrite + 424 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001ddc47b9c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x000000018de017cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617)
5   CoreFoundation                	0x000000018de00e78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001)
6   CoreFoundation                	0x000000018de005b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414)
7   CFNetwork                     	0x000000018f378f44 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CoreSchedulingSet.mm:1473)
8   Foundation                    	0x000000018caa8058 __NSThread__start__ + 724 (NSThread.m:991)
9   libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
10  libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 10:
0   libsystem_pthread.dylib       	0x0000000215194480 start_wqthread + 0 (:-1)

Thread 11:
0   libsystem_pthread.dylib       	0x0000000215194480 start_wqthread + 0 (:-1)

Thread 12:
0   libsystem_pthread.dylib       	0x0000000215194480 start_wqthread + 0 (:-1)

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib        	0x00000001ddc4a030 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x0000000215196a7c _pthread_cond_wait + 1248 (pthread_cond.c:862)
2   Flutter                       	0x00000001025fe284 dart::TimedWait(_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*, long long) + 60 (synchronization_posix.cc:118)
3   Flutter                       	0x00000001025fe284 dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 116 (synchronization_posix.cc:147)
4   Flutter                       	0x00000001026bf7e0 dart::ThreadPool::Worker::Sleep(long long) + 16 (thread_pool.h:94)
5   Flutter                       	0x00000001026bf7e0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 456 (thread_pool.cc:231)
6   Flutter                       	0x00000001026bf7e0 dart::ThreadPool::Worker::Main(unsigned long) + 664 (thread_pool.cc:367)
7   Flutter                       	0x00000001026a0934 dart::ThreadStart(void*) + 272 (os_thread_macos.cc:94)
8   libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
9   libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)

Thread 14 name:
Thread 14:
0   libsystem_kernel.dylib        	0x00000001ddc4a030 __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x0000000215196a50 _pthread_cond_wait + 1204 (pthread_cond.c:862)
2   JavaScriptCore                	0x00000001a5ab40ac scavenger_thread_main + 1512 (pas_scavenger.c:347)
3   libsystem_pthread.dylib       	0x000000021519937c _pthread_start + 136 (pthread.c:931)
4   libsystem_pthread.dylib       	0x0000000215194494 thread_start + 8 (:-1)


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000300c06008   x1: 0x0000000200000003   x2: 0x0000000000000000   x3: 0x0000000301e47640
    x4: 0x0000000301e47680   x5: 0x0000000000000013   x6: 0x0000000000000020   x7: 0x0000000000000000
    x8: 0xfffffffe00000000   x9: 0x0000000200000003  x10: 0x0000000000000003  x11: 0x0000000000003600
   x12: 0x00000000000007fb  x13: 0x00000000000007fd  x14: 0x000000009280e06d  x15: 0x000000009260d872
   x16: 0x0000000092800000  x17: 0x000000000000006d  x18: 0x0000000000000000  x19: 0x00000001994b0a90
   x20: 0x0000000300c06000  x21: 0x0000000000000000  x22: 0x000000000000000b  x23: 0x0000000000000026
   x24: 0x00000000000000bd  x25: 0x00000001994b0b60  x26: 0xf000000000000072  x27: 0x0000000000000000
   x28: 0x000000016f0aa500   fp: 0x000000016f0aa470   lr: 0x000000018c43fd78
    sp: 0x000000016f0aa3a0   pc: 0x000000018c43fd78 cpsr: 0x60001000
   esr: 0xf2000001 (Breakpoint) brk 1


Binary Images:
        0x100d54000 -         0x100d73fff Runner arm64  <1cc7083c34883671be25df7931d2f446> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Runner
        0x100df0000 -         0x100e1ffff BigInt arm64  <0f3957bbdcc13d539cce9f9c2edfd12b> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/BigInt.framework/BigInt
        0x100e5c000 -         0x100e6bfff FBLPromises arm64  <8a0f26548bbc3464a5f4e8b82223dc38> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FBLPromises.framework/FBLPromises
        0x100e88000 -         0x100e8ffff FirebaseCoreExtension arm64  <3625f69c4d3331e1aed84c04d2f7d86a> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseCoreExtension.framework/FirebaseCoreExtension
        0x100e9c000 -         0x100ea3fff nanopb arm64  <6ee9269192bf3cff9c988c77c8cd0659> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/nanopb.framework/nanopb
        0x100f34000 -         0x100f47fff FirebaseCore arm64  <109f09ed5f57369784b1560132a854b0> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseCore.framework/FirebaseCore
        0x100f68000 -         0x100f83fff FirebaseCoreInternal arm64  <7400f412a6fb39cb8732d3d7327f4378> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal
        0x100fc4000 -         0x10100ffff FirebaseCrashlytics arm64  <903aecb670aa3d00b2b77e0e227b736d> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics
        0x101094000 -         0x1010abfff FirebaseInstallations arm64  <9cce99a5dd6932cea66bd10b71a88653> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations
        0x1010d4000 -         0x101107fff FirebaseMessaging arm64  <4a009311d06830c8b4eee457b6aee00b> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging
        0x101158000 -         0x101163fff FirebaseRemoteConfigInterop arm64  <159bdbd06dfc375d85c20ecaa23b82a1> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseRemoteConfigInterop.framework/FirebaseRemoteConfigInterop
        0x10117c000 -         0x10119bfff FirebaseSessions arm64  <5544042f70303fc0a2d734e21fd3b8c6> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/FirebaseSessions.framework/FirebaseSessions
        0x1011dc000 -         0x1011fffff GoogleDataTransport arm64  <1d2d1f27379f3f02be54f3dde2e0e16a> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport
        0x10123c000 -         0x10125bfff GoogleUtilities arm64  <bfab3cd1af6635ceba0a61a4258c2bd9> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
        0x101284000 -         0x10128ffff KeychainSwift arm64  <e537f3d14a2a365c9ea3b087fba98af9> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/KeychainSwift.framework/KeychainSwift
        0x1012a8000 -         0x101607fff LinkKit arm64  <a5395f5b0cd03ddc99f889e5dc6a636c> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/LinkKit.framework/LinkKit
        0x1018e4000 -         0x1018effff OrderedSet arm64  <c658720668bb3b258f437e8b2fc2b972> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/OrderedSet.framework/OrderedSet
        0x101908000 -         0x10191bfff Promises arm64  <a92e705a72f33dcfb1d4911a73039472> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/Promises.framework/Promises
        0x10193c000 -         0x10194ffff SessionManager arm64  <db4997b9d3713bf89bba41376181f4ae> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/SessionManager.framework/SessionManager
        0x101980000 -         0x1019cffff Web3Auth arm64  <be54cb0802463a41b08f16939d6755a5> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/Web3Auth.framework/Web3Auth
        0x101a50000 -         0x101a5bfff app_links arm64  <b5d8367cc0e837338697c5f8f317f10a> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/app_links.framework/app_links
        0x101a74000 -         0x101caffff curveSecp256k1 arm64  <bc93f614ef6133cb9442201944c5d622> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/curveSecp256k1.framework/curveSecp256k1
        0x101dc0000 -         0x101ea3fff flutter_inappwebview_ios arm64  <2e6535265c763746ac26a639df44b31b> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/flutter_inappwebview_ios.framework/flutter_inappwebview_ios
        0x102010000 -         0x10201ffff flutter_local_notifications arm64  <3437e053d2263fda83ebc6c9a8e1779b> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/flutter_local_notifications.framework/flutter_local_notifications
        0x102038000 -         0x102047fff flutter_secure_storage arm64  <272847f4b7333b1d80f6922eb3605dbe> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/flutter_secure_storage.framework/flutter_secure_storage
        0x102064000 -         0x10206bfff package_info_plus arm64  <5068ccaf18043ccba48e66c437882fb7> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/package_info_plus.framework/package_info_plus
        0x102078000 -         0x102083fff path_provider_foundation arm64  <52e0985252ec3837ac91ad0f937d7a94> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/path_provider_foundation.framework/path_provider_foundation
        0x10209c000 -         0x1020abfff url_launcher_ios arm64  <b61ae6f1328d3f4c8909dd985446fa14> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/url_launcher_ios.framework/url_launcher_ios
        0x1020cc000 -         0x1020dffff web3auth_flutter arm64  <f1accdc479043321beddc587e9acdd58> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/web3auth_flutter.framework/web3auth_flutter
        0x102104000 -         0x102897fff Flutter arm64  <4c4c441e55553144a17c628d000b1236> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/Flutter.framework/Flutter
        0x1032d0000 -         0x1032dbfff libobjc-trampolines.dylib arm64e  <ece8465d62ec35e7810fcdedfc9817bf> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
        0x105298000 -         0x1052abfff GAXClient arm64e  <a5ceead050ad375aa2cf249ab094897c> /System/Library/AccessibilityBundles/GAXClient.bundle/GAXClient
        0x106078000 -         0x106b9ffff App arm64  <7f21feef4608303abb92ada972b211f5> /private/var/containers/Bundle/Application/6175FD12-0096-49CA-BB8D-1EE7E83F8CD2/Runner.app/Frameworks/App.framework/App
        0x18c408000 -         0x18c9a7fff libswiftCore.dylib arm64e  <24ec482a274c32f2aa6da809fabfdc58> /usr/lib/swift/libswiftCore.dylib
        0x18c9e0000 -         0x18d6fefff Foundation arm64e  <12e17a7ab65f35ee82d7cbc31004e223> /System/Library/Frameworks/Foundation.framework/Foundation
        0x18ddad000 -         0x18e2f2fff CoreFoundation arm64e  <47427277ee153c17ad686886b0380b5e> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x18f27b000 -         0x18f63dfff CFNetwork arm64e  <fa95b718e8eb34bd90fa8fb1afe016d6> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
        0x190578000 -         0x192438fff UIKitCore arm64e  <5bd027b10ec935fdb9f06288a525693a> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x195aa6000 -         0x195aebfff libdispatch.dylib arm64e  <b8c15e69d076317d92961279500738fc> /usr/lib/system/libdispatch.dylib
        0x195aec000 -         0x195b6bff3 libsystem_c.dylib arm64e  <1ad666a001a831c188b9808915fb97b4> /usr/lib/system/libsystem_c.dylib
        0x19943c000 -         0x1994befff libswift_Concurrency.dylib arm64e  <866e640d33b7308a93cbf5ed6e9f1e44> /usr/lib/swift/libswift_Concurrency.dylib
        0x1a4510000 -         0x1a5c91f7f JavaScriptCore arm64e  <996b6979e43f3b188c12148e3f634a07> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
        0x1b35a0000 -         0x1b3623693 dyld arm64e  <77c1eed22ed7396aba34e770120d81d4> /usr/lib/dyld
        0x1d9895000 -         0x1d989dfff GraphicsServices arm64e  <227122eb72fd3ecb9f66986addd8e048> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
        0x1ddc43000 -         0x1ddc7cffb libsystem_kernel.dylib arm64e  <8d929b3bd4d639bfadbbbe59e928b332> /usr/lib/system/libsystem_kernel.dylib
        0x2150e4000 -         0x2150ebfe3 libsystem_platform.dylib arm64e  <b2a2c7a1128f3297a98c0b1b365ce7d2> /usr/lib/system/libsystem_platform.dylib
        0x215193000 -         0x21519fff3 libsystem_pthread.dylib arm64e  <fcc77eb0558f370392675419c4d33ae7> /usr/lib/system/libsystem_pthread.dylib

EOF

Smartphone (please complete the following information):

  • Device: iPhone15,2
  • OS: iPhone OS 18.0
  • Browser: unknown
  • Version: web3auth_flutter: 6.3.0

Additional context
It looks like on the native side web3auth does the auth action several times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions