[Bug 40630] New: AdabiyyatArabi application trys to enumerate system disk drives and fails
https://bugs.winehq.org/show_bug.cgi?id=40630 Bug ID: 40630 Summary: AdabiyyatArabi application trys to enumerate system disk drives and fails Product: Wine Version: 1.9.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs(a)winehq.org Reporter: bob.mt.wya(a)gmail.com Distribution: --- Created attachment 54499 --> https://bugs.winehq.org/attachment.cgi?id=54499 backtrace I am supporting a user to file a WineHQ bug... See https://forum.winehq.org/viewtopic.php?f=8&t=26796 He tested it using Wine version: wine-1.9.8 (Staging) The application he is trying to run enumerates the System Disk Drives ( using class GUID "{4d36e967-e325-11ce-bfc1-08002be10318}" ). Wine does not currently support enumerating DIGCF_PRESENT (all present drives) for SetupDiGetClassDevs(). However the application doesn't check the return value of SetupDiEnumDeviceInfo(). For Wine this will return FALSE on the first call. Apparently assuming that all systems must have at least ONE disk drive! The call to: SetupDiGetDeviceRegistryProperty() naturally fails - as the pointer (DeviceInfoData) will be invalid. -- 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=40630 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.9.9 |1.9.8 -- 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=40630 --- Comment #1 from Robert Walker <bob.mt.wya(a)gmail.com> --- Created attachment 54500 --> https://bugs.winehq.org/attachment.cgi?id=54500 console log -- 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=40630 --- Comment #2 from Robert Walker <bob.mt.wya(a)gmail.com> --- Created attachment 54501 --> https://bugs.winehq.org/attachment.cgi?id=54501 Windows C Source (setupapi test case) I wrote a little Windows setupapi C application test case. It just tries to enumerate all the disk drives on a system and print the friendly names for them. When compiled to a Windows executable it normally returns at least ONE drive result on a native Windows system. Under Wine this executable returns NO disk drive results. -- 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=40630 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #3 from winetest(a)luukku.com --- Based on the analyze it seems that something needs to be changed over here http://source.winehq.org/git/wine.git/blob/1dedd90e8c56ff61772915d575a43ad6c... -- 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=40630 ojzim0(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ojzim0(a)gmail.com -- 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=40630 --- Comment #4 from ojzim0(a)gmail.com --- I have tested this in wine 2.2. The problem also exists and bug not fixed... -- 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=40630 --- Comment #5 from ojzim0(a)gmail.com --- I have fixed this problem using non-standard method. Who can fix that and send fixed source code to wine github, do this. You can see what are I do: https://forum.winehq.org/viewtopic.php?f=8&t=26796&p=109808#p109808 -- 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 (1)
-
wine-bugs@winehq.org