WineHQ
Bug Tracking Database – Bug 35171

 Bugzilla

 

Last modified: 2021-11-18 02:48:00 UTC  

Adobe Shockwave Player 12.x installer crashes on startup (URL moniker notify window class not unregistered during unload of urlmon)

Bug 35171 - Adobe Shockwave Player 12.x installer crashes on startup (URL moniker notify window class not unregistered during unload of urlmon)
Adobe Shockwave Player 12.x installer crashes on startup (URL moniker notify ...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: urlmon
1.7.8
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
https://web.archive.org/web/201312071...
: download, Installer
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-12-19 07:10 UTC by Anastasius Focht
Modified: 2021-11-18 02:48 UTC (History)
1 user (show)

See Also:
Regression SHA1:
Fixed by SHA1: 9ca4f9b65a2aa28c0a00a729efcb36bafc20d666
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anastasius Focht 2013-12-19 07:10:08 UTC
Hello folks,

as the summary says.

Relevant part of trace log:

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+win,+msg wine ./Shockwave_Installer_Full.exe >>log.txt 2>&1
...
0024:Call urlmon.URLOpenStreamW(00000000,00206e00 L"http://liveupdate.symantecliveupdate.com/upgrade/NSS/SymCCIS/Production/SCC/adobe/SCC.dll",00000000,0182b370) ret=017e697a 
...
0024:Call user32.RegisterClassExW(7d8bf420) ret=7d82b211
0024:trace:win:alloc_winproc allocated 0xffff002b for W 0x7d82b0e1 (44/4096 used)
0024:Ret  user32.RegisterClassExW() retval=0000c053 ret=7d82b211
0024:Call user32.CreateWindowExW(00000000,7d88a000 L"URL Moniker Notification Window",7d88a000 L"URL Moniker Notification Window",00000000,00000000,00000000,00000000,00000000,fffffffd,00000000,7d810000,00000000) ret=7d82b2ad
0024:trace:win:WIN_CreateWindowEx L"URL Moniker Notification Window" L"URL Moniker Notification Window" ex=00000000 style=00000000 0,0 0x0 parent=0xfffffffd menu=(nil) inst=0x7d810000 params=(nil)
0024:trace:win:dump_window_styles style:
0024:trace:win:dump_window_styles exstyle:
0024:trace:win:GetWindowRect hwnd 0x60098 (0,0)-(0,0) 
...
0024:Ret  urlmon.URLOpenStreamW() retval=000401e8 ret=017e697a 
...
0024:Ret  PE DLL (proc=0x7d886d0c,module=0x7d810000 L"urlmon.dll",reason=PROCESS_DETACH,res=(nil)) retval=1
0024:Ret  KERNEL32.FreeLibrary() retval=00000001 ret=00f4af02
...
0024:Call user32.PeekMessageW(00f3d758,00000000,00000000,00000000,00000003) ret=7e5d0994
0024:trace:msg:peek_message got type 6 msg 465 (WM_USER+101) hwnd 0x60098 wp 0 lp 207918
0024:Ret  user32.PeekMessageW() retval=00000001 ret=7e5d0994
0024:Call user32.TranslateMessage(00f3d758) ret=7e5d0d5b
0024:Ret  user32.TranslateMessage() retval=00000000 ret=7e5d0d5b
0024:Call user32.DispatchMessageW(00f3d758) ret=7e5d0d6c
0024:Call window proc 0x7d82b0e1 (hwnd=0x60098,msg=WM_USER+101,wp=00000000,lp=00207918)
0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7d82b0e1 ip=7d82b0e1 tid=0024
0024:trace:seh:raise_exception  info[0]=00000000
0024:trace:seh:raise_exception  info[1]=7d82b0e1
0024:trace:seh:raise_exception  eax=7d82b0e1 ebx=7ed98000 ecx=00000000 edx=00f3ef88 esi=00207918 edi=00f3d6a8
0024:trace:seh:raise_exception  ebp=00f3d538 esp=00f3d50c cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010202 
--- snip ----

The class proc is still registered when urlmon is unloaded, leading to later crash.

Registration of window class:

--- snip ---
Wine-dbg>bt
Backtrace:
=>0 0x7ec829ba RegisterClassExW(wc=0x7d816420) [/home/focht/projects/wine/wine-git/dlls/user32/class.c:615] in user32 (0x00f3dc68)
  1 0x7d781144 Binding_Create+0xa7(mon=(nil), binding_ctx=(nil), uri=0x1d5718, pbc=0x1d59f8, to_obj=0, riid=0x7d7ea79c, binding=0xf3dd58) [/home/focht/projects/wine/wine-git/dlls/urlmon/binding.c:1410] in urlmon (0x00f3dd08)
  2 0x7d781749 start_binding+0x50(mon=(nil), binding_ctx=(nil), uri=0x1d5718, pbc=0x1d59f8, to_obj=0, riid=0x7d7ea79c, ret=0xf3dde8) [/home/focht/projects/wine/wine-git/dlls/urlmon/binding.c:1510] in urlmon (0x00f3ddb8)
  3 0x7d781b26 bind_to_storage+0x52(uri=0x1d5718, pbc=0x1d59f8, riid=0x7d7ea79c, ppv=0xf3def4) [/home/focht/projects/wine/wine-git/dlls/urlmon/binding.c:1567] in urlmon (0x00f3de08)
  4 0x7d7a197e URLMoniker_BindToStorage+0x14a(iface=0x1dc9b8, pbc=0x1d59f8, pmkToLeft=(nil), riid=0x7d7ea79c, ppvObject=0xf3def4) [/home/focht/projects/wine/wine-git/dlls/urlmon/umon.c:280] in urlmon (0x00f3de68)
  5 0x7d7a3e8e URLStartDownload+0x138(szURL="http://liveupdate.symantecliveupdate.com/upgrade/NSS/SymCCIS/Production/SCC/adobe/SCC.dll", ppStream=0xf3def4, pBSC=0xf3def8) [/home/focht/projects/wine/wine-build32/dlls/urlmon/../../include/objidl.h:3488] in urlmon (0x00f3dec8)
  6 0x7d7a434a URLOpenStreamW+0xc0(pCaller=<couldn't compute location>, szURL=<couldn't compute location>, dwReserved=<couldn't compute location>, lpfnCB=<couldn't compute location>) [/home/focht/projects/wine/wine-git/dlls/urlmon/umstream.c:337] in urlmon (0x00f3df28)
  7 0x017e697a in symccis (+0x6979) (0x7b836097)
  8 0xfff0e483 (0x04244c8d)
--- snip ---

There is no code path where the window class is unregistered when tearing down?

Regards
Comment 1 Anastasius Focht 2013-12-19 07:17:08 UTC
Hello folks,

adding some metadata...

$ sha1sum Shockwave_Installer_Full.exe 
4d5c3b285e41227ffec44cebc807f49a3c2b6936  Shockwave_Installer_Full.exe

$ du -sh Shockwave_Installer_Full.exe 
13M	Shockwave_Installer_Full.exe

$ wine --version
wine-1.7.8-258-g15b3ff2

Regards
Comment 2 Jacek Caban 2014-02-13 07:20:57 UTC
Patch sent:

http://source.winehq.org/patches/data/102455

Thanks for the analyze.
Comment 3 Anastasius Focht 2014-02-13 14:55:54 UTC
Hello folks,

this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/9ca4f9b65a2aa28c0a00a729efcb36bafc20d666

Thanks Jacek

Regards
Comment 4 Alexandre Julliard 2014-02-20 12:36:54 UTC
Closing bugs fixed in 1.7.13.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers