Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on daily challenge after switching windows #29520

Open
gepbird opened this issue Aug 19, 2024 · 2 comments
Open

Crash on daily challenge after switching windows #29520

gepbird opened this issue Aug 19, 2024 · 2 comments

Comments

@gepbird
Copy link
Contributor

gepbird commented Aug 19, 2024

Type

Crash to desktop

Bug description

I was playing the daily challenge, then I quit the map, switched to a different window and osu! got unresponsive so I killed the process. I can't reproduce it, seems like a rare error.

Screenshots or videos

No response

Version

2024.817.0

Logs

1724077737.auth.log
1724077737.database.log
1724077737.input.log
1724077737.nauth.log
1724077737.network.log
1724077737.performance.log
1724077737.runtime.log

@ppy-sentryintegration
Copy link

Sentry issue: OSU-1J7Z

@bdach
Copy link
Collaborator

bdach commented Aug 20, 2024

I have precisely zero evidence for this but I wouldn't be surprised if this is SDL pushing some garbage zero window size everywhere and everything else falling apart at the same time, because I don't know how to explain this otherwise:

2024-08-19 14:51:50 [error]: System.DivideByZeroException: Attempted to divide by zero.
2024-08-19 14:51:50 [error]: at System.Decimal.DecCalc.VarDecDiv(DecCalc& d1, DecCalc& d2)
2024-08-19 14:51:50 [error]: at osu.Game.Screens.SelectV2.Leaderboards.LeaderboardScoreV2.createRightContent() in /home/runner/work/osu-auth-client/osu-auth-client/osu/osu.Game/Screens/SelectV2/Leaderboards/LeaderboardScoreV2.cs:line 378
2024-08-19 14:51:50 [error]: at osu.Game.Screens.SelectV2.Leaderboards.LeaderboardScoreV2.load() in /home/runner/work/osu-auth-client/osu-auth-client/osu/osu.Game/Screens/SelectV2/Leaderboards/LeaderboardScoreV2.cs:line 137
2024-08-19 14:51:50 [error]: at osu.Game.Screens.SelectV2.Leaderboards.LeaderboardScoreV2.<>c.<RegisterForDependencyActivation>b__92_0(Object t, IReadOnlyDependencyContainer d) in /home/runner/work/osu-auth-client/osu-auth-client/osu/osu.Game/obj/Release/net8.0/osu.Framework.SourceGeneration/osu.Framework.SourceGeneration.Generators.Dependencies.DependencyInjectionSourceGenerator/g_osu.Game.Screens.SelectV2.Leaderboards.LeaderboardScoreV2_Dependencies.cs:line 20
2024-08-19 14:51:50 [error]: at osu.Framework.Allocation.DependencyActivator.<Activate>g__activateRecursively|8_0[T](Object obj, IReadOnlyDependencyContainer dependencies, Type currentType)
2024-08-19 14:51:50 [error]: at osu.Framework.Allocation.DependencyActivator.Activate[T](T obj, IReadOnlyDependencyContainer dependencies)
2024-08-19 14:51:50 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies)
2024-08-19 14:51:50 [error]: at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies)
2024-08-19 14:51:50 [error]: at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext)
2024-08-19 14:51:50 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child)
2024-08-19 14:51:50 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.AddInternal(Drawable drawable)
2024-08-19 14:51:50 [error]: at osu.Framework.Graphics.Containers.Container`1.AddInternal(Drawable drawable)
2024-08-19 14:51:50 [error]: at osu.Game.Screens.OnlinePlay.DailyChallenge.DailyChallengeLeaderboard.<>c__DisplayClass39_0.<RefetchScores>b__1() in /home/runner/work/osu-auth-client/osu-auth-client/osu/osu.Game/Screens/OnlinePlay/DailyChallenge/DailyChallengeLeaderboard.cs:line 181

I don't even see a division operation in that method. Reminds me of that one bug that caused all sprite texts game-wide to become truncated for no reason.

Notably all of the occurrences of this I can see on sentry are on nixos, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants