Project

General

Profile

Actions

Emulator Issues #13442

closed

crunchyroll crash on dolphin

Added by Tanjirokamado 11 months ago. Updated 11 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-20842

Description

Game Name?

crunchyroll

Game ID? (right click the game in the game list, Properties, Info tab)

HC4P

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

4d484a19dc9817ddb9b8eee2093013c1

What's the problem? Describe what went wrong.

after launch crunchyroll,and force stop because it locked,dolphin crash

What steps will reproduce the problem?

Launch crunchyroll

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-20824

Is the issue present in the latest stable version?

5.0-20347

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.)

[First broken version number here (if applicable)]

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

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

[PC specs here]

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

[Anything else here]

Actions #1

Updated by sepalani 11 months ago

I was able to reproduce it. It tries to dereference the this pointer but it's nullptr. Here is the callstack of the crash:

DolphinD.exe!IOS::HLE::EmulationKernel::GetSystem() Line 189	C++
>	DolphinD.exe!IOS::HLE::EmulationKernel::EnqueueIPCReply(const IOS::HLE::Request & request, int return_value, __int64 cycles_in_future, CoreTiming::FromThread from) Line 794	C++
DolphinD.exe!IOS::HLE::WiiSocket::CloseFd() Line 217	C++
DolphinD.exe!IOS::HLE::WiiSocket::~WiiSocket() Line 123	C++
[External Code]	
DolphinD.exe!std::destroy_at<std::pair<int const ,IOS::HLE::WiiSocket>>(std::pair<int const ,IOS::HLE::WiiSocket> * const _Location) Line 322	C++
DolphinD.exe!std::_Default_allocator_traits<std::allocator<std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>>>::destroy<std::pair<int const ,IOS::HLE::WiiSocket>>(std::allocator<std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>> & __formal, std::pair<int const ,IOS::HLE::WiiSocket> * const _Ptr) Line 734	C++
DolphinD.exe!std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>::_Freenode<std::allocator<std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>>>(std::allocator<std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>> & _Al, std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *> * _Ptr) Line 318	C++
DolphinD.exe!std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>::_Free_non_head<std::allocator<std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>>>(std::allocator<std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *>> & _Al, std::_List_node<std::pair<int const ,IOS::HLE::WiiSocket>,void *> * _Head) Line 330	C++
DolphinD.exe!std::list<std::pair<int const ,IOS::HLE::WiiSocket>,std::allocator<std::pair<int const ,IOS::HLE::WiiSocket>>>::_Tidy() Line 1501	C++
DolphinD.exe!std::list<std::pair<int const ,IOS::HLE::WiiSocket>,std::allocator<std::pair<int const ,IOS::HLE::WiiSocket>>>::~list<std::pair<int const ,IOS::HLE::WiiSocket>,std::allocator<std::pair<int const ,IOS::HLE::WiiSocket>>>() Line 1047	C++
[External Code]	
DolphinD.exe!IOS::HLE::WiiSockMan::~WiiSockMan() Line 91	C++
[External Code]	
DolphinD.exe!std::_Destroy_in_place<IOS::HLE::WiiSockMan>(IOS::HLE::WiiSockMan & _Obj) Line 309	C++
DolphinD.exe!std::_Ref_count_obj2<IOS::HLE::WiiSockMan>::_Destroy() Line 2113	C++
DolphinD.exe!std::_Ref_count_base::_Decref() Line 1182	C++
DolphinD.exe!std::_Ptr_base<IOS::HLE::WiiSockMan>::_Decref() Line 1400	C++
DolphinD.exe!std::shared_ptr<IOS::HLE::WiiSockMan>::~shared_ptr<IOS::HLE::WiiSockMan>() Line 1683	C++
DolphinD.exe!std::shared_ptr<IOS::HLE::WiiSockMan>::reset() Line 1730	C++
DolphinD.exe!IOS::HLE::EmulationKernel::~EmulationKernel() Line 344	C++
[External Code]	
DolphinD.exe!std::default_delete<IOS::HLE::EmulationKernel>::operator()(IOS::HLE::EmulationKernel * _Ptr) Line 3170	C++
DolphinD.exe!std::unique_ptr<IOS::HLE::EmulationKernel,std::default_delete<IOS::HLE::EmulationKernel>>::reset(IOS::HLE::EmulationKernel * _Ptr) Line 3317	C++
DolphinD.exe!IOS::HLE::Shutdown() Line 987	C++
DolphinD.exe!HW::Shutdown(Core::System & system) Line 68	C++
DolphinD.exe!Core::EmuThread::__l2::<lambda_7>::operator()() Line 581	C++
DolphinD.exe!Common::ScopeGuard<`Core::EmuThread'::`2'::<lambda_7>>::Exit() Line 28	C++
DolphinD.exe!Common::ScopeGuard<`Core::EmuThread'::`2'::<lambda_7>>::~ScopeGuard<`Core::EmuThread'::`2'::<lambda_7>>() Line 21	C++
DolphinD.exe!Core::EmuThread(std::unique_ptr<BootParameters,std::default_delete<BootParameters>> boot, WindowSystemInfo wsi) Line 712	C++
DolphinD.exe!std::invoke<void (__cdecl*)(std::unique_ptr<BootParameters,std::default_delete<BootParameters>>,WindowSystemInfo),std::unique_ptr<BootParameters,std::default_delete<BootParameters>>,WindowSystemInfo>(void(*)(std::unique_ptr<BootParameters,std::default_delete<BootParameters>>, WindowSystemInfo) && _Obj, std::unique_ptr<BootParameters,std::default_delete<BootParameters>> && _Arg1, WindowSystemInfo && <_Args2_0>) Line 1756	C++
DolphinD.exe!std::thread::_Invoke<std::tuple<void (__cdecl*)(std::unique_ptr<BootParameters,std::default_delete<BootParameters>>,WindowSystemInfo),std::unique_ptr<BootParameters,std::default_delete<BootParameters>>,WindowSystemInfo>,0,1,2>(void * _RawVals) Line 61	C++
[External Code]	

This PR should fix the issue: https://github.com/dolphin-emu/dolphin/pull/12462

Actions #2

Updated by JosJuice 11 months ago

  • Status changed from New to Fixed
  • Fixed in set to 5.0-20842
Actions

Also available in: Atom PDF