https://bugs.winehq.org/show_bug.cgi?id=35892
Bug ID: 35892 Summary: sdb2xml (.NET 2.0 app) crashes on unimplemented function apphelp.dll.SdbGetAppPatchDir 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,
as the summary says.
Prerequisite: 'winetricks -q dotnet20' (Mono might work too, couldn't test)
('foo' doesn't exist)
--- snip --- $ wine ./sdb2xml.exe foo fixme:thread:SetThreadStackGuarantee (0x33fc28): stub fixme:shell:URL_ParseUrl failed to parse L"System" fixme:shell:URL_ParseUrl failed to parse L"System.Xml" wine: Call from 0x7b83abc3 to unimplemented function apphelp.dll.SdbGetAppPatchDir, aborting Error: External component has thrown an exception. fixme:process:FlushProcessWriteBuffers : stub --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/bb432442%28v=vs.85%29.aspx
--- quote --- void WINAPI SdbGetAppPatchDir( _In_opt_ HSDB hSDB, _Out_ LPTSTR szAppPatchPath, _In_ DWORD cchSize );
Parameters
hSDB [in, optional]
A handle to the shim database returned by the SdbInitDatabase function. szAppPatchPath [out]
The resulting path. cchSize [in]
The size of the szAppPatchPath buffer, in characters. If the function fails, this parameter is set to the empty string (""). --- quote ---
The documentation doesn't live up to the standards. Vista+ API with no ANSI version of the API but they still state 'LPTSTR' type?
$ 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=35892
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://blogs.msdn.com/b/hea | |ths/archive/2007/11/02/sdb2 | |xml.aspx
https://bugs.winehq.org/show_bug.cgi?id=35892
--- Comment #1 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/108976
https://bugs.winehq.org/show_bug.cgi?id=35892
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
I also found the work of Mislav Blažević 'krofna' on app shim database infrastructure interesting:
https://github.com/krofna/wine
Specifically:
https://github.com/wine-mirror/wine/compare/master...krofna:master
(unfortunately stopped 2 years ago)
Recently discussed on #wine-staging
$ wine --version wine-1.7.45-62-g46bdb6e
Regards
https://bugs.winehq.org/show_bug.cgi?id=35892
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de, | |super_man@post.com
--- Comment #3 from super_man@post.com --- Patch still applies, maybee staging is interested?
patching file dlls/apphelp/apphelp.c patching file dlls/apphelp/apphelp.spec
wine 1.9.4-git
https://bugs.winehq.org/show_bug.cgi?id=35892
--- Comment #4 from super_man@post.com --- Maybe resend the patch with signed off?
https://bugs.winehq.org/show_bug.cgi?id=35892
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=35892
--- Comment #5 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/123588
https://bugs.winehq.org/show_bug.cgi?id=35892
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |48091559b50c28b2a9fd9a6cbc3 | |90363d38d24b9 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #5)
https://source.winehq.org/git/wine.git/commitdiff/48091559b50c28b2a9fd9a6cbc...
https://bugs.winehq.org/show_bug.cgi?id=35892
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.18.
https://bugs.winehq.org/show_bug.cgi?id=35892
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=35892
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #8 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.5.
https://bugs.winehq.org/show_bug.cgi?id=35892
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |apphelp
https://bugs.winehq.org/show_bug.cgi?id=35892
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 #9 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