https://bugs.winehq.org/show_bug.cgi?id=35891
Bug ID: 35891 Summary: sdb2xml and native setupapi override crash on unimplemented function apphelp.dll.SdbInitDatabase Product: Wine Version: 1.7.15 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
encountered by Austin's tests with native overrides (https://bugs.winehq.org/show_bug.cgi?id=26016#c20):
--- quote --- and crashes with: wine: Call from 0x7b83a82e to unimplemented function apphelp.dll.SdbInitDatabase, aborting
if I stub that, it gets further, to SCECLI.dll.SceSetupMoveSecurityFile. That function doesn't appear to be documented, howver, so I didn't try to do anything with it. (that's for ie7)
xmllite installs with no issues with native setupapi after SdbInitDatabase was stubbed. Running it now in a loop. --- quote ---
I found another interesting tool which makes use of Application Compatibility Database API's too: 'sdb2xml'
MSDN: http://blogs.msdn.com/b/heaths/archive/2007/11/02/sdb2xml.aspx
$ sha1sum sdb2xml.exe 9808bc17a7ea4f43ecdcb11f4e18204805246dbd sdb2xml.exe
$ du -sh sdb2xml.exe 28K sdb2xml.exe
$ wine --version wine-1.7.15-112-g2aad5d7
Regards
https://bugs.winehq.org/show_bug.cgi?id=35891
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://blogs.msdn.com/b/hea | |ths/archive/2007/11/02/sdb2 | |xml.aspx
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
filling fields ...
MSDN: http://msdn.microsoft.com/en-us/library/bb432452%28v=vs.85%29.aspx
Regards
https://bugs.winehq.org/show_bug.cgi?id=35891
--- Comment #2 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/103560
https://bugs.winehq.org/show_bug.cgi?id=35891
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Austin,
--- quote --- PDB WINAPI SdbInitDatabase(DWORD flags, LPCSTR path) --- quote ---
I'm curious ... did you really see an ANSI path in the FIXME or just NULL?
From my knowledge there is no ANSI version at all, those API are always
unicode.
In the .spec file: string parameters are either 'str' or 'wstr' (in this case -> wstr).
Regards
https://bugs.winehq.org/show_bug.cgi?id=35891
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #3)
Hello Austin,
--- quote --- PDB WINAPI SdbInitDatabase(DWORD flags, LPCSTR path) --- quote ---
I'm curious ... did you really see an ANSI path in the FIXME or just NULL? From my knowledge there is no ANSI version at all, those API are always unicode.
It was NULL.
In the .spec file: string parameters are either 'str' or 'wstr' (in this case -> wstr).
Thanks, I'll resend in a bit.
https://bugs.winehq.org/show_bug.cgi?id=35891
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |064968fb87b53191aa9ef7535f5 | |4c4b640b88c68 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/064968fb87b53191aa9ef7535f5...
Thanks Austin
Regards
https://bugs.winehq.org/show_bug.cgi?id=35891
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.16.
https://bugs.winehq.org/show_bug.cgi?id=35891
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |apphelp
https://bugs.winehq.org/show_bug.cgi?id=35891
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://blogs.msdn.com/b/hea |https://web.archive.org/web |ths/archive/2007/11/02/sdb2 |/20140411095247/http://blog |xml.aspx |s.msdn.com/cfs-filesystemfi | |le.ashx/__key/communityserv | |er-components-postattachmen | |ts/00-05-85-20-88/sdb2xml.e | |xe
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20100727051600/http://blogs.msdn.com/b/heaths/ar...
https://web.archive.org/web/20140411095247/http://blogs.msdn.com/cfs-filesys...
$ sha1sum sdb2xml.exe 9808bc17a7ea4f43ecdcb11f4e18204805246dbd sdb2xml.exe
$ du -sh sdb2xml.exe 28K sdb2xml.exe
Regards