[Bug 41300] New: BV_Ana scientific software (Brainvision) attempts to access invalid license file path
https://bugs.winehq.org/show_bug.cgi?id=41300 Bug ID: 41300 Summary: BV_Ana scientific software (Brainvision) attempts to access invalid license file path Product: Wine Version: 1.9.12 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: bob.mt.wya(a)gmail.com Distribution: --- Created attachment 55627 --> https://bugs.winehq.org/attachment.cgi?id=55627 bv_ana_console_log_trunc WineHQ Forum thread: https://forum.winehq.org/viewtopic.php?f=8&t=27355&sid=4e52de6ff33e3a23b17cf... bv_Ana application fails after attempting to access license key: 138501.970:0027:0028:Call KERNEL32.GetFullPathNameA(0057cfb8 ":\\brainvision\\ana20160420_anaOnly_x64\\program\\license.txt",00000104,0023f0a0,0023ee98) ret=1401966e9 It appears to decide to attempt access an absolute path without a valid drive letter specifier. The application fails to start saying it can't write to path: ":\brainvision\ana20160420_anaOnly_x64\program\license.txt" which is naturally treated by wine as relative file access - starting with directory : I've attached a: WINEDEBUG=+all console log (truncated to prior and including the above line). I can't see/ find where the application detects what system drive letter it is installed to (assuming it even bothers to)... I've developed a couple of hacky patches that sanitise all wine ANSI path accesses - simply remove a leading : (colon) character (if present). These are also attached. These patches allow the demo-licensed version of the application to launch successfully (with no overrides) and it appears to function reasonably well (tested in a 64-bit Wineprefix on Gentoo w/ wine staging git master). The patches merely demonstrate that the license path issue is ALL that is stopping this piece of software from working! They are definitely not intended for production use! -- 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=41300 --- Comment #1 from Robert Walker <bob.mt.wya(a)gmail.com> --- Created attachment 55628 --> https://bugs.winehq.org/attachment.cgi?id=55628 wine-1.9.18-kernel_file_strip_colon.patch [Patch 1/2] -- 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=41300 --- Comment #2 from Robert Walker <bob.mt.wya(a)gmail.com> --- Created attachment 55629 --> https://bugs.winehq.org/attachment.cgi?id=55629 wine-1.9.18-kernel_path_strip_colon.patch [Patch 2/2] -- 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=41300 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|BV_Ana scientific software |BV_Ana scientific software |(Brainvision) attempts to |(Brainvision) - version |access invalid license file |ana20160420 (64-bit) - |path |attempts to access invalid | |license file path -- 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=41300 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |download Ever confirmed|0 |1 URL| |http://www.scimedia.com/fis | |/support/download/bva/ana20 | |160420_anaOnly_x64.exe --- Comment #3 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- This looks like a bug in the application, it expects to be run from the explorer shell. A workaround is to use 'start.exe' as the program launcher: cd ~/.wine/drive_c/brainvision/ana20160420_anaOnly_x64/program/ wine start BV_Ana.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.
https://bugs.winehq.org/show_bug.cgi?id=41300 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.scimedia.com/fis |https://web.archive.org/web |/support/download/bva/ana20 |/20170423000230if_/http://s |160420_anaOnly_x64.exe |cimedia.com/fis/support/dow | |nload/bva/ana20160420_anaOn | |ly_x64.exe --- Comment #4 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- It seems that directly running BV_Ana.exe works with wine-6.18-241-ga87abdbe857, using a 64bit prefix in winxp mode. Robert, can you confirm? Adding a stable download. $ sha1sum ana20160420_anaOnly_x64.exe c9784c2696e9c6dbc37c13908ba86bf0fddca600 ana20160420_anaOnly_x64.exe $ du -sh ana20160420_anaOnly_x64.exe 21M ana20160420_anaOnly_x64.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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla