http://bugs.winehq.org/show_bug.cgi?id=4478
------- Additional Comments From cnbiz850@sohu.com 2006-19-02 17:29 ------- I ran through the problem area of the program with +shell option. It doesn't seem to tell anything. See below for the log.
--------------------------------- $ WINEDEBUG=+shell wine ./superstkn trace:shell:DllMain 0x7f660000 0x1 0x1 trace:shell:DllMain 0x7f6c0000 0x1 0x1 trace:shell:SIC_Initialize trace:shell:SIC_IconAppend L"c:\windows\system32\shell32.dll" 0 0x1116 0x111etrace:shell:SHGetMalloc (0x7fb9f9a8) trace:shell:SHGetMalloc got ole32 IMalloc trace:shell:SHAlloc 20 bytes at 0x7fd44cb0 trace:shell:SIC_IconAppend L"c:\windows\system32\shell32.dll" -1 0x1116 0x111e trace:shell:SHAlloc 20 bytes at 0x7fd45178 trace:shell:SIC_Initialize hIconSmall=0x7fd43b90 hIconBig=0x7fd444a0 trace:shell:SHGetFolderPathW (nil),0x7fb9fa84,nFolder=0x8020 trace:shell:_SHGetUserProfilePath (nil),0x00000000,0x20,0x7fb9f3ec trace:shell:_SHGetUserShellFolderPath 0x80000001,(null),L"Cache",0x7fb9f3ec trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\Local Settings\Temporary Internet Files", 0x7fb9ed30 trace:shell:PathAddBackslashW (L"c:\windows") trace:shell:PathAppendW (L"c:\windows\",L"profiles") trace:shell:PathIsUNCW (L"profiles") trace:shell:PathCombineW (0x7fb9e6bc,L"c:\windows\",L"profiles") trace:shell:PathIsRelativeW (L"profiles") trace:shell:PathAddBackslashW (L"c:\windows\") trace:shell:PathCanonicalizeW (0x7fb9e6bc,L"c:\windows\profiles") trace:shell:_SHGetProfilesValue 0x58,L"ProfilesDirectory",0x7fb9e8c4,L"c:\windows\profiles" trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"c:\windows\profiles") trace:shell:PathAppendW (L"c:\windows\profiles",L"djia") trace:shell:PathIsUNCW (L"djia") trace:shell:PathCombineW (0x7fb9ed30,L"c:\windows\profiles",L"djia") trace:shell:PathIsRelativeW (L"djia") trace:shell:PathAddBackslashW (L"c:\windows\profiles") trace:shell:PathCanonicalizeW (0x7fb9ed30,L"c:\windows\profiles\djia") trace:shell:PathAppendW (L"c:\windows\profiles\djia",L"\Local Settings\Temporary Internet Files") trace:shell:PathIsUNCW (L"\Local Settings\Temporary Internet Files") trace:shell:PathCombineW (0x7fb9ed30,L"c:\windows\profiles\djia",L"Local Settings\Temporary Internet Files") trace:shell:PathIsRelativeW (L"Local Settings\Temporary Internet Files") trace:shell:PathAddBackslashW (L"c:\windows\profiles\djia") trace:shell:PathCanonicalizeW (0x7fb9ed30,L"c:\windows\profiles\djia\Local Settings\Temporary Internet Files") trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\Local Settings\Temporary Internet Files", output is L"c:\windows\profiles\djia\Local Settings\Temporary Internet Files") trace:shell:_SHGetUserShellFolderPath returning 0x00000000 trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"c:\windows\profiles\djia\Local Settings\Temporary Internet Files") trace:shell:PathFileExistsW (L"c:\windows\profiles\djia\Local Settings\Temporary Internet Files") trace:shell:SHGetFolderPathW returning 0x00000000 (final path is L"c:\windows\profiles\djia\Local Settings\Temporary Internet Files") trace:shell:SHGetFolderPathW (nil),0x7fb9fa84,nFolder=0x8022 trace:shell:_SHGetUserProfilePath (nil),0x00000000,0x22,0x7fb9f3ec trace:shell:_SHGetUserShellFolderPath 0x80000001,(null),L"History",0x7fb9f3ec trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\Local Settings\History", 0x7fb9ed30 trace:shell:PathAddBackslashW (L"c:\windows") trace:shell:PathAppendW (L"c:\windows\",L"profiles") trace:shell:PathIsUNCW (L"profiles") trace:shell:PathCombineW (0x7fb9e6bc,L"c:\windows\",L"profiles") trace:shell:PathIsRelativeW (L"profiles") trace:shell:PathAddBackslashW (L"c:\windows\") trace:shell:PathCanonicalizeW (0x7fb9e6bc,L"c:\windows\profiles") trace:shell:_SHGetProfilesValue 0x5c,L"ProfilesDirectory",0x7fb9e8c4,L"c:\windows\profiles" trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"c:\windows\profiles") trace:shell:PathAppendW (L"c:\windows\profiles",L"djia") trace:shell:PathIsUNCW (L"djia") trace:shell:PathCombineW (0x7fb9ed30,L"c:\windows\profiles",L"djia") trace:shell:PathIsRelativeW (L"djia") trace:shell:PathAddBackslashW (L"c:\windows\profiles") trace:shell:PathCanonicalizeW (0x7fb9ed30,L"c:\windows\profiles\djia") trace:shell:PathAppendW (L"c:\windows\profiles\djia",L"\Local Settings\History") trace:shell:PathIsUNCW (L"\Local Settings\History") trace:shell:PathCombineW (0x7fb9ed30,L"c:\windows\profiles\djia",L"Local Settings\History") trace:shell:PathIsRelativeW (L"Local Settings\History") trace:shell:PathAddBackslashW (L"c:\windows\profiles\djia") trace:shell:PathCanonicalizeW (0x7fb9ed30,L"c:\windows\profiles\djia\Local Settings\History") trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\Local Settings\History", output is L"c:\windows\profiles\djia\Local Settings\History") trace:shell:_SHGetUserShellFolderPath returning 0x00000000 trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"c:\windows\profiles\djia\Local Settings\History") trace:shell:PathFileExistsW (L"c:\windows\profiles\djia\Local Settings\History") trace:shell:SHGetFolderPathW returning 0x00000000 (final path is L"c:\windows\profiles\djia\Local Settings\History") trace:shell:SHGetFolderPathW (nil),0x7fb9fa84,nFolder=0x8021 trace:shell:_SHGetUserProfilePath (nil),0x00000000,0x21,0x7fb9f3ec trace:shell:_SHGetUserShellFolderPath 0x80000001,(null),L"Cookies",0x7fb9f3ec trace:shell:_SHExpandEnvironmentStrings L"%USERPROFILE%\Cookies", 0x7fb9ed30 trace:shell:PathAddBackslashW (L"c:\windows") trace:shell:PathAppendW (L"c:\windows\",L"profiles") trace:shell:PathIsUNCW (L"profiles") trace:shell:PathCombineW (0x7fb9e6bc,L"c:\windows\",L"profiles") trace:shell:PathIsRelativeW (L"profiles") trace:shell:PathAddBackslashW (L"c:\windows\") trace:shell:PathCanonicalizeW (0x7fb9e6bc,L"c:\windows\profiles") trace:shell:_SHGetProfilesValue 0x60,L"ProfilesDirectory",0x7fb9e8c4,L"c:\windows\profiles" trace:shell:_SHGetProfilesValue returning 0x00000000 (output value is L"c:\windows\profiles") trace:shell:PathAppendW (L"c:\windows\profiles",L"djia") trace:shell:PathIsUNCW (L"djia") trace:shell:PathCombineW (0x7fb9ed30,L"c:\windows\profiles",L"djia") trace:shell:PathIsRelativeW (L"djia") trace:shell:PathAddBackslashW (L"c:\windows\profiles") trace:shell:PathCanonicalizeW (0x7fb9ed30,L"c:\windows\profiles\djia") trace:shell:PathAppendW (L"c:\windows\profiles\djia",L"\Cookies") trace:shell:PathIsUNCW (L"\Cookies") trace:shell:PathCombineW (0x7fb9ed30,L"c:\windows\profiles\djia",L"Cookies") trace:shell:PathIsRelativeW (L"Cookies") trace:shell:PathAddBackslashW (L"c:\windows\profiles\djia") trace:shell:PathCanonicalizeW (0x7fb9ed30,L"c:\windows\profiles\djia\Cookies") trace:shell:_SHExpandEnvironmentStrings returning 0x00000000 (input was L"%USERPROFILE%\Cookies", output is L"c:\windows\profiles\djia\Cookies") trace:shell:_SHGetUserShellFolderPath returning 0x00000000 trace:shell:_SHGetUserProfilePath returning 0x00000000 (output path is L"c:\windows\profiles\djia\Cookies") trace:shell:PathFileExistsW (L"c:\windows\profiles\djia\Cookies") trace:shell:SHGetFolderPathW returning 0x00000000 (final path is L"c:\windows\profiles\djia\Cookies") fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE") fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE") fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE") fixme:win:LockWindowUpdate (0x10056), partial stub! fixme:win:LockWindowUpdate ((nil)), partial stub! fixme:win:LockWindowUpdate (0x10056), partial stub! fixme:win:LockWindowUpdate ((nil)), partial stub! fixme:win:LockWindowUpdate (0x10074), partial stub! fixme:win:LockWindowUpdate ((nil)), partial stub! trace:shell:DllMain 0x7f690000 0x1 0x1 trace:shell:DllMain 0x7f6f0000 0x1 0x1 trace:shell:SIC_Initialize trace:shell:SIC_IconAppend L"c:\windows\system32\shell32.dll" 0 0x1116 0x111etrace:shell:SHGetMalloc (0x7fb8f9a8) trace:shell:SHGetMalloc got ole32 IMalloc trace:shell:SHAlloc 20 bytes at 0x7fd44938 trace:shell:SIC_IconAppend L"c:\windows\system32\shell32.dll" -1 0x1116 0x111e trace:shell:SHAlloc 20 bytes at 0x7fd44e00 trace:shell:SIC_Initialize hIconSmall=0x7fd43818 hIconBig=0x7fd44128 trace:shell:SHGetFileInfoW L"" fattr=0x10 sfi=0x7fb8f97c(attr=0x00000000) size=0x2b4 flags=0x4015 trace:shell:PathIsRelativeW (L"") trace:shell:PathCombineW (0x7fb8f344,L"E:\fxj",L"") trace:shell:PathCanonicalizeW (0x7fb8f344,L"E:\fxj") fixme:shell:SHGetFileInfoW set icon to shell size, stub trace:shell:SIC_GetIconIndex L"c:\windows\system32\shell32.dll" -4 trace:shell:SIC_CompareEntries 0x7fb8f0cc 0x7fd44938 0 trace:shell:SIC_CompareEntries 0x7fb8f0cc 0x7fd44e00 0 trace:shell:SIC_IconAppend L"c:\windows\system32\shell32.dll" -4 0x1136 0x112e trace:shell:SHAlloc 20 bytes at 0x7fd4bc70 trace:shell:SHGetFileInfoW icon=0x8ba8e0 index=0x00000002 attr=0x00000000 name=L"" type=L"" ret=0x7fd43818 fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE") trace:shell:Shell_NotifyIconW enter 0x100e6 128 0 trace:shell:SYSTRAY_Add 0x7fdd4c70: 0x100e6 L"\5206\6790\5bb62006\63a5\6536\7cfb\7edfV6.0 Build 0001" trace:shell:Shell_NotifyIconW leave 0x100e6 128 0=1
fixme:font:WineEngCreateFontInstance Dirty hack. Default and ansi charset is translated to getenv("WINE_DEFAULT_CODEPAGE") trace:shell:Shell_NotifyIconW enter 0x100e6 128 2 trace:shell:SYSTRAY_Delete 0x7fdd4c70: 0x100e6 L"\5206\6790\5bb62006\63a5\6536\7cfb\7edfV6.0 Build 0001" trace:shell:Shell_NotifyIconW leave 0x100e6 128 2=1 trace:shell:DllMain 0x7f6c0000 0x0 0x1 trace:shell:SIC_Destroy trace:shell:SHFree 0x7fd44cb0 trace:shell:SHFree 0x7fd45178 trace:shell:FreeChangeNotifications trace:shell:DllMain 0x7f660000 0x0 0x1