[Bug 60525] New: FindVUK breaks in Wine 11.20 - SetFilePointer fails on Blu-ray/DVD drive
http://bugs.winehq.org/show_bug.cgi?id=60525 Bug ID: 60525 Summary: FindVUK breaks in Wine 11.20 - SetFilePointer fails on Blu-ray/DVD drive Product: Wine Version: 11.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: toadking@toadking.com Target Milestone: --- Distribution: --- In Wine 11.20, the tool FindVUK fails on parsing Blu-ray/DVD discs/drives. The tool log prints this error: [E] drive_ms(399) / DRVMS_ReadLogicalBlockDrive / ERROR! SetFilePointer failed! ReadPos >32768< Looking at a trace it looks like get_handle_fd() with a raw drive handle (like "\\\\.\\D:") returns BAD_DEVICE_TYPE, when you should be able to open and read a Blu-ray/DVD disc this way. This program worked in Wine 11.19. A trace with WINEDEBUG=+all,+file is too large to attach (it was the only way to get the relevant log around BAD_DEVICE_TYPE) so it can be found here: https://toadking.com/findvuk.log.gz (relevant logs start around line 3537826) Command used: WINEDEBUG=+all,+file wine findvuk.exe validatedisc drive=d (expects a Blu-ray disc to inserted in drive D) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 Michael Lelli <toadking@toadking.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://fvonline-db.bplaced | |.net/findvuk/FindVUK_2.08.z | |ip Keywords| |download -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 Austin English <austinenglish@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression --- Comment #1 from Austin English <austinenglish@gmail.com> --- Please run a regression test: https://gitlab.winehq.org/wine/wine/-/wikis/Regression-Testing -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 --- Comment #2 from Michael Lelli <toadking@toadking.com> --- Bisected to e80361b977946f88abbe046145daa041d5570149 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com --- Comment #3 from Zeb Figura <z.figura12@gmail.com> --- I'm baffled, as when I tested direct I/O on a CD device, it didn't work on Windows; you need to use read ioctls instead. Maybe it only works on older Windows versions? Maybe I tested incorrectly? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |e80361b977946f88abbe046145d | |aa041d5570149 Component|-unknown |ntdll -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 --- Comment #4 from Michael Lelli <toadking@toadking.com> --- Created attachment 82397 --> http://bugs.winehq.org/attachment.cgi?id=82397 drivetest.c I've attached the source code and compiled binary for a test app that try to reproduce what FindVUK does. (Open a drive, seek to 0x8000, read a sector). I can confirm it works on a Windows 11 VM with a USB drive passed through and on Wine builds before the breaking commit. Works on both DVD and Blu-ray discs, don't have any CD-ROMs to test with. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 --- Comment #5 from Michael Lelli <toadking@toadking.com> --- Created attachment 82398 --> http://bugs.winehq.org/attachment.cgi?id=82398 drivetest.exe -- 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.
http://bugs.winehq.org/show_bug.cgi?id=60525 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #6 from Zeb Figura <z.figura12@gmail.com> --- Okay, I see the problem, I tested using an unaligned size. Passing 2048 makes things work. I'll fix this anon. -- 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)
-
WineHQ Bugzilla