https://bugs.winehq.org/show_bug.cgi?id=52259
Bug ID: 52259 Summary: osu! sometimes crashes in select() Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: openglfreak@googlemail.com Distribution: ---
In an osu! Discord server I'm in I've received multiple reports of osu! crashing, with the stack trace given by the game ending in System.Net.UnsafeNclNativeMethods.OSSOCK.select. According to old .NET Core code the .NET Framework calls select() with manually constructed `fd_set`s consisting of only two pointers. Since Wine always reads the whole fd_set, if these allocations fall on the edge of the heap Wine tries to read past the end of the heap and segfaults.
https://bugs.winehq.org/show_bug.cgi?id=52259
Torge Matthies openglfreak@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://osu.ppy.sh/ Keywords| |dotnet
https://bugs.winehq.org/show_bug.cgi?id=52259
Torge Matthies openglfreak@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |openglfreak@googlemail.com
https://bugs.winehq.org/show_bug.cgi?id=52259
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #1 from temp82@luukku.com --- your patch went in. so is this fixed in git and wine 7.0rc3?
https://bugs.winehq.org/show_bug.cgi?id=52259
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |7.0-rc2 Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=52259
--- Comment #2 from Torge Matthies openglfreak@googlemail.com --- temp82@luukku.com Yeah this should be fixed now with 7.0 rc3
https://bugs.winehq.org/show_bug.cgi?id=52259
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Regression SHA1| |ae0209a33665e16db885f38a123 | |00d581d516123 Resolution|--- |FIXED CC| |z.figura12@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Marking fixed then.
https://bugs.winehq.org/show_bug.cgi?id=52259
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ae0209a33665e16db885f38a123 | |00d581d516123 Regression SHA1|ae0209a33665e16db885f38a123 | |00d581d516123 |
https://bugs.winehq.org/show_bug.cgi?id=52259
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc4.