Project

General

Profile

Emulator Issues #11867

DJ Hero 2 hangs if you cancel the online sign-in. If you don't cancel, no hang and online works.

Added by shockdudeX about 2 months ago. Updated about 1 month ago.

Status:
New
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:

Description

Game Name?

DJ Hero 2

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

SWBE52

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

e7232c297731730c8b98a15661f12780
(note: wbfs image)

What's the problem? Describe what went wrong.

If Dolphin has certificates for connecting online, if you cancel sign-in to Nintendo Wi-Fi Connection, the game will hang.
The attached screenshot shows the moment where the game hangs.

If you don't cancel, the game successfully connects online; leaderboards work, matchmaking works, etc.
Removing the certificates avoids the hang but makes that Dolphin SSL error pop up and disables online features.

What steps will reproduce the problem?

Follow the Wii network guide (https://dolphin-emu.org/docs/guides/wii-network-guide/) or dump a NAND and extract the network certificates.
Boot the game, Press Start, cancel the signin, and the game will hang.

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-10920

Is the issue present in the latest stable version?

Yes, 5.0

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

Intel i7-4720HQ
Nvidia GTX 860M
Windows 10 1903

djh2_wifihang.png (793 KB) djh2_wifihang.png shockdudeX, 09/28/2019 06:10 PM
dolphin.log (1.09 MB) dolphin.log shockdudeX, 10/05/2019 03:00 AM
dolphin.zip (195 KB) dolphin.zip shockdudeX, 10/10/2019 06:21 AM
7577

History

#1 Updated by JMC4789 about 2 months ago

Hey, I've noticed the issues you've been writing and appreciate them. Unfortunately, we currently don't have anyone with the expertise to handle these issues available, so I can't really update you much on them.

Odds are that all of these hangs in games with third party servers are exactly the same issue. Just Dance, Call of Duty, DJ Hero, Rockband, etc.

The more examples we have, the better, but I can't guarantee much activity on these issues for a while.

#2 Updated by sepalani about 2 months ago

@shockdudeX
Could you please provide the info log for both cases? You need to enable the log widget, configure it with the maximum verbosity (info or debug), tick the right categories (BOOT/CONSOLE/CORE/HLE/OSREPORT/IOS_NET/IOS_SSL/SYMBOLS) and ideally output it into a file.

#3 Updated by shockdudeX about 1 month ago

sepalani wrote:

@shockdudeX
Could you please provide the info log for both cases? You need to enable the log widget, configure it with the maximum verbosity (info or debug), tick the right categories (BOOT/CONSOLE/CORE/HLE/OSREPORT/IOS_NET/IOS_SSL/SYMBOLS) and ideally output it into a file.

Log is attached

#4 Updated by sepalani about 1 month ago

Thank you.

It seems the WinSocket closesocket function is hanging forever on an UDP socket which is waiting input from demonware stun server.

I'm going to see what's the best way to fix that.

Callstack:

    ntdll.dll!0000000076fa997a()    Unknown
    mswsock.dll!000007fefc1d25ea()  Unknown
    mswsock.dll!000007fefc1d2440()  Unknown
    ws2_32.dll!000007fefe9a19ad()   Unknown
    [Inline Frame] Dolphin.exe!IOS::HLE::WiiSocket::CloseFd() Line 165  C++
    Dolphin.exe!IOS::HLE::WiiSockMan::DeleteSocket(int s) Line 676  C++
    [Inline Frame] Dolphin.exe!IOS::HLE::Device::NetIPTop::HandleCloseRequest(const IOS::HLE::IOCtlRequest &) Line 389  C++
    Dolphin.exe!IOS::HLE::Device::NetIPTop::IOCtl(const IOS::HLE::IOCtlRequest & request) Line 285  C++
    Dolphin.exe!IOS::HLE::Kernel::HandleIPCCommand(const IOS::HLE::Request & request) Line 547  C++
    [Inline Frame] Dolphin.exe!IOS::HLE::Kernel::ExecuteIPCCommand(unsigned int) Line 572   C++
    Dolphin.exe!IOS::HLE::Kernel::UpdateIPC() Line 637  C++
    Dolphin.exe!CoreTiming::Advance() Line 327  C++
    0000000014838087()  Unknown
    0000000341780000()  Unknown
    0000000341780000()  Unknown
    0d0000040d000004()  Unknown
    000000000d9ff17c()  Unknown
    0000000100000000()  Unknown
    ffffffffffffffff()  Unknown
    Dolphin.exe!000000014008ccf0()  C++
    0000000006edb268()  Unknown

#5 Updated by shockdudeX about 1 month ago

I realized I forgot to make a log for a successful connection. Log attached; connected online then viewed the score leaderboard for one of the songs.

Also available in: Atom PDF