Emulator Issues #12643
closedmacOS Bluetooth controller disconnect issues
0%
Description
(may also be related, #12386 on an Intel Mac)
Game Name?
N/A
Game ID? (right click the game in the game list, Properties, Info tab)
N/A
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
N/A
What's the problem? Describe what went wrong.
Paired two Dualshock 4 controllers to 2020 Macbook Air 13" (M1, ARM64) and configured to Virtual Wiimote 1 and 2 respectively. Now the controllers are disconnected, Dolphin refuses to launch due to a Segmentation Fault on the "Wiimote scanning thread"
What steps will reproduce the problem?
- be on macOS
- pair a bluetooth controller (seems to be mainly DualShock controllers that are having issues)
- configure to a wiimote
- quit dolphin
- disconnect controller
- attempt to reopen dolphin
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
yes 5.0-14997
Is the issue present in the latest stable version?
Yes 5.0-14790
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
n/a
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
n/a
What are your PC specifications? (CPU, GPU, Operating System, more)
M1 Macbook Air (ARM64)
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
Yes, here is the error log
Process: Dolphin [98972]
Path: /Applications/Dolphin.app/Contents/MacOS/Dolphin
Identifier: org.dolphin-emu.dolphin
Version: 5.0-14790 (5.0)
Code Type: ARM-64 (Native)
Parent Process: ??? [1]
Responsible: Dolphin [98972]
OS Version: macOS 11.5.1 (20G80)
Report Version: 12
Time Awake Since Boot: 910000 seconds
Time Since Wake: 7500 seconds
System Integrity Protection: enabled
Crashed Thread: 17 Wiimote Scanning Thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [98972]
VM Regions Near 0:
-->
__TEXT 104828000-1050c8000 [ 8832K] r-x/r-x SM=COW /Applications/Dolphin.app/Contents/MacOS/Dolphin
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000018690fa48 __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x0000000186944918 _pthread_mutex_firstfit_lock_wait + 88
2 libsystem_pthread.dylib 0x0000000186942244 _pthread_mutex_firstfit_lock_slow + 232
3 libc++.1.dylib 0x00000001868d4c88 std::__1::recursive_mutex::lock() + 16
4 org.dolphin-emu.dolphin 0x0000000104cf416c ControllerEmu::EmulatedController::UpdateReferences(ciface::ExpressionParser::ControlEnvironment&) + 36
Thread 1:
0 libsystem_pthread.dylib 0x00000001869425cc start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001869425cc start_wqthread + 0
Thread 3:: org.libusb.device-hotplug
0 libsystem_kernel.dylib 0x000000018690cdd4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018690d184 mach_msg + 76
2 com.apple.CoreFoundation 0x0000000186a46d00 __CFRunLoopServiceMachPort + 372
3 com.apple.CoreFoundation 0x0000000186a451cc __CFRunLoopRun + 1212
4 com.apple.CoreFoundation 0x0000000186a44598 CFRunLoopRunSpecific + 600
5 com.apple.CoreFoundation 0x0000000186acf5c4 CFRunLoopRun + 64
6 org.dolphin-emu.dolphin 0x0000000104f91fac darwin_event_thread_main + 348
7 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 4:: libusb thread
0 libsystem_kernel.dylib 0x0000000186914f80 poll + 8
1 org.dolphin-emu.dolphin 0x0000000104f8eef0 handle_events + 392
2 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x00000001869425cc start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 libc++.1.dylib 0x00000001868a1f98 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 100
3 org.dolphin-emu.dolphin 0x0000000104f9f044 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, IoThreadHolder::Start()::'lambda'()> >(void*) + 256
4 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 7:: Thread (pooled)
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 org.qt-project.QtCore 0x00000001075d8a78 0x1075b0000 + 166520
3 org.qt-project.QtCore 0x00000001075d8790 0x1075b0000 + 165776
4 org.qt-project.QtCore 0x00000001075d86f8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 100
5 org.qt-project.QtCore 0x00000001075d4d18 0x1075b0000 + 150808
6 org.qt-project.QtCore 0x00000001075d0848 0x1075b0000 + 133192
7 libsystem_pthread.dylib 0x0000000186947878 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 8:: Thread (pooled)
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 org.qt-project.QtCore 0x00000001075d8a78 0x1075b0000 + 166520
3 org.qt-project.QtCore 0x00000001075d8790 0x1075b0000 + 165776
4 org.qt-project.QtCore 0x00000001075d86f8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 100
5 org.qt-project.QtCore 0x00000001075d4d18 0x1075b0000 + 150808
6 org.qt-project.QtCore 0x00000001075d0848 0x1075b0000 + 133192
7 libsystem_pthread.dylib 0x0000000186947878 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 9:: Thread (pooled)
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 org.qt-project.QtCore 0x00000001075d8a78 0x1075b0000 + 166520
3 org.qt-project.QtCore 0x00000001075d8790 0x1075b0000 + 165776
4 org.qt-project.QtCore 0x00000001075d86f8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 100
5 org.qt-project.QtCore 0x00000001075d4d18 0x1075b0000 + 150808
6 org.qt-project.QtCore 0x00000001075d0848 0x1075b0000 + 133192
7 libsystem_pthread.dylib 0x0000000186947878 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 10:: Thread (pooled)
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 org.qt-project.QtCore 0x00000001075d8a78 0x1075b0000 + 166520
3 org.qt-project.QtCore 0x00000001075d8790 0x1075b0000 + 165776
4 org.qt-project.QtCore 0x00000001075d86f8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 100
5 org.qt-project.QtCore 0x00000001075d4d18 0x1075b0000 + 150808
6 org.qt-project.QtCore 0x00000001075d0848 0x1075b0000 + 133192
7 libsystem_pthread.dylib 0x0000000186947878 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 11:: Thread (pooled)
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 org.qt-project.QtCore 0x00000001075d8a78 0x1075b0000 + 166520
3 org.qt-project.QtCore 0x00000001075d8790 0x1075b0000 + 165776
4 org.qt-project.QtCore 0x00000001075d86f8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 100
5 org.qt-project.QtCore 0x00000001075d4d18 0x1075b0000 + 150808
6 org.qt-project.QtCore 0x00000001075d0848 0x1075b0000 + 133192
7 libsystem_pthread.dylib 0x0000000186947878 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 12:: Analytics
0 libsystem_kernel.dylib 0x00000001869171ec __select + 8
1 libcurl.4.dylib 0x00000001989cad3c Curl_poll + 620
2 libcurl.4.dylib 0x00000001989c5ed8 Curl_multi_wait + 664
3 libcurl.4.dylib 0x00000001989be1b8 curl_easy_perform + 276
4 org.dolphin-emu.dolphin 0x0000000104ed0c30 Common::HttpRequest::Impl::Fetch(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Common::HttpRequest::Impl::Method, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::optional<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > > const&, unsigned char const*, unsigned long, Common::HttpRequest::AllowedReturnCodes) + 1008
5 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 13:: Thread (pooled)
0 libsystem_kernel.dylib 0x0000000186910548 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000186947dac _pthread_cond_wait + 1248
2 org.qt-project.QtCore 0x00000001075d8a78 0x1075b0000 + 166520
3 org.qt-project.QtCore 0x00000001075d8790 0x1075b0000 + 165776
4 org.qt-project.QtCore 0x00000001075d86f8 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 100
5 org.qt-project.QtCore 0x00000001075d4d18 0x1075b0000 + 150808
6 org.qt-project.QtCore 0x00000001075d0848 0x1075b0000 + 133192
7 libsystem_pthread.dylib 0x0000000186947878 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 14:
0 libsystem_pthread.dylib 0x00000001869425cc start_wqthread + 0
Thread 15:
0 libsystem_kernel.dylib 0x0000000186910344 __semwait_signal + 8
1 libsystem_c.dylib 0x000000018688c284 nanosleep + 216
2 libSDL2-2.0.0.dylib 0x0000000106686a70 SDL_Delay_REAL + 80
3 libSDL2-2.0.0.dylib 0x00000001065f0cf8 SDL_WaitEventTimeout_REAL + 116
4 org.dolphin-emu.dolphin 0x0000000104d314ec void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ciface::SDL::Init()::$_1> >(void*) + 224
5 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 16:: IOHIDManager Hotplug Thread
0 libsystem_kernel.dylib 0x000000018690cdd4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018690d184 mach_msg + 76
2 com.apple.CoreFoundation 0x0000000186a46d00 __CFRunLoopServiceMachPort + 372
3 com.apple.CoreFoundation 0x0000000186a451cc __CFRunLoopRun + 1212
4 com.apple.CoreFoundation 0x0000000186a44598 CFRunLoopRunSpecific + 600
5 org.dolphin-emu.dolphin 0x0000000104d29188 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ciface::OSX::Init()::$_3> >(void*) + 192
6 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 17 Crashed:: Wiimote Scanning Thread
0 org.dolphin-emu.dolphin 0x0000000104d21000 ciface::ExpressionParser::CoalesceExpression::UpdateReferences(ciface::ExpressionParser::ControlEnvironment&) + 36
1 org.dolphin-emu.dolphin 0x0000000104d20ffc ciface::ExpressionParser::CoalesceExpression::UpdateReferences(ciface::ExpressionParser::ControlEnvironment&) + 32
2 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 18:: Wiimote Pool Thread
0 libsystem_kernel.dylib 0x0000000186910344 __semwait_signal + 8
1 libsystem_c.dylib 0x000000018688c284 nanosleep + 216
2 libc++.1.dylib 0x00000001868e0584 std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 84
3 org.dolphin-emu.dolphin 0x0000000104a26e50 WiimoteReal::WiimoteScanner::PoolThreadFunc() + 200
4 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 19:: HotkeyScheduler
0 libsystem_kernel.dylib 0x0000000186910344 __semwait_signal + 8
1 libsystem_c.dylib 0x000000018688c284 nanosleep + 216
2 libsystem_c.dylib 0x000000018688c148 usleep + 68
3 org.dolphin-emu.dolphin 0x0000000104859ba0 HotkeyScheduler::Run() + 160
4 libsystem_pthread.dylib 0x00000001869425e0 thread_start + 8
Thread 17 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00006000002fe250 x2: 0x0000000000000002 x3: 0x000000018676a860
x4: 0x00000000000062dc x5: 0x000000000000006b x6: 0x0000000000000000 x7: 0x0000000107a8efb0
x8: 0x0000000000000000 x9: 0x00000000000007fb x10: 0x00000000000007fd x11: 0x00000000000000b8
x12: 0x0000000000000001 x13: 0x000000009284e0ba x14: 0x0000000092a4e800 x15: 0x000000000004e800
x16: 0x0000000012a00000 x17: 0x000000018676a83c x18: 0x0000000000000000 x19: 0x000000016bf1ed68
x20: 0x0000600000caf500 x21: 0x00006000019f85e0 x22: 0x00006000019f85e8 x23: 0x00006000019f8570
x24: 0x00006000019f8570 x25: 0x000000010514c360 x26: 0x000000016bf1eee8 x27: 0x000000010578b000
x28: 0x0000000000000000 fp: 0x000000016bf1efe0 lr: 0x0000000104d20ffc
sp: 0x000000016bf1ed00 pc: 0x0000000104d21000 cpsr: 0x60001000
far: 0x0000000000000000 esr: 0x92000006
Updated by flacs over 2 years ago
- Is duplicate of Emulator Issues #12625: Crash in ExpressionParser when booting games/homebrew/menu added
Updated by flacs over 2 years ago
- Status changed from New to Duplicate
- Operating system OS X added
- Operating system deleted (
N/A)