[Bug 45363] New: CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, 0) return empty snapshot
https://bugs.winehq.org/show_bug.cgi?id=45363 Bug ID: 45363 Summary: CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, 0) return empty snapshot Product: Wine-staging Version: 3.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: sr-tream(a)yandex.ru CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- function CreateToolhelp32Snapshot sometimes returns an empty snapshot, while in Windows this function works correctly -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 sr-tream(a)yandex.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32 Product|Wine-staging |Wine -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- What does "sometimes" mean? Is there a pattern to it, do you know a way to reproduce the issue? Because I couldn't. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 --- Comment #2 from sr-tream(a)yandex.ru --- (In reply to Fabian Maurer from comment #1)
What does "sometimes" mean? Is there a pattern to it, do you know a way to reproduce the issue? Because I couldn't.
Unfortunately I do not know how to reproduce the problem. There is a game for which I write DLL (compile MinGW GCC 7.3). In wine, everything usually works, but sometimes when changes to DLL, even if these changes do not concern CreateToolhelp32Snapshot, this problem appears, while the person who tests this DLL in Windows does not show this problem. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 --- Comment #4 from sr-tream(a)yandex.ru --- (In reply to Fabian Maurer from comment #3)
You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice.
code for with this function: https://pastebin.com/LxR35ibX After the next recompilation of the code, it started working in the wine, before that it worked only in Windows. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> --- (In reply to sr-tream from comment #4)
(In reply to Fabian Maurer from comment #3)
You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice.
code for with this function: https://pastebin.com/LxR35ibX After the next recompilation of the code, it started working in the wine, before that it worked only in Windows.
Does this mean it works now for you? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45363 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla