http://bugs.winehq.org/show_bug.cgi?id=21767
Summary: JLC's Internet TV crashes on startup Product: Wine Version: 1.1.39 Platform: x86 URL: http://download.cnet.com/JLC-s-Internet-TV/3000-2139_4 -10630045.html OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: atl AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
Created an attachment (id=26315) --> (http://bugs.winehq.org/attachment.cgi?id=26315) JLC's Internet TV backtrace
With wine-1.1.39, after installing JLC's Internet TV, the application crashes with:
Backtrace: =>0 0x6f3af97c ServiceProviderVtbl() in shdocvw (0x0032f4d0) 1 0x6851a569 call_window_proc+0xc8(hwnd=0x10074, msg=0x0030, wp=0x0088, lp=0x0001, result=0x32f550, arg=0x6f3af97c) [/home/arethusa/wine32/dlls/user32/../../../wine.git/dlls/user32/winproc.c:242] in user32 (0x0032f520) 2 0x6851c98f CallWindowProcW+0x64(func=0x6f3af97c, hwnd=0x10074, msg=0x0030, wParam=0x0088, lParam=0x0001) [/home/arethusa/wine32/dlls/user32/../../../wine.git/dlls/user32/winproc.c:980] in user32 (0x0032f560) 3 0x2ce13281 IOCS_OnWndProc+0xb8(This=0x166b78, hWnd=0x10074, uMsg=0x0030, wParam=0x0088, lParam=0x0001) [/home/arethusa/wine32/dlls/atl/../../../wine.git/dlls/atl/atl_ax.c:850] in atl (0x0032f5b0) 4 0x2ce132cc AtlHost_wndproc+0x46(hWnd=0x10074, wMsg=0x0030, wParam=0x0088, lParam=0x0001) [/home/arethusa/wine32/dlls/atl/../../../wine.git/dlls/atl/atl_ax.c:857] in atl (0x0032f5f0) ...
Using native atl.dll allows the application to start up.
http://bugs.winehq.org/show_bug.cgi?id=21767
Niko Sandschneider nsandschn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nsandschn@gmx.de
--- Comment #1 from Niko Sandschneider nsandschn@gmx.de 2010-10-15 14:33:56 CDT --- Still present in wine-1.3.4-429-gb29e111
http://bugs.winehq.org/show_bug.cgi?id=21767
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.cnet.com/JL |http://www.jlc-software.com |C-s-Internet-TV/3000-2139_4 |/programs/JLCs_Internet_TV_ |-10630045.html |Setup.exe
--- Comment #2 from Austin English austinenglish@gmail.com 2011-05-04 14:23:50 CDT --- Still in wine-1.3.19-133-g79ab0c3, updating url.
http://bugs.winehq.org/show_bug.cgi?id=21767
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26315|0 |1 is obsolete| |
--- Comment #3 from Austin English austinenglish@gmail.com 2011-05-04 14:24:28 CDT --- Created an attachment (id=34479) --> (http://bugs.winehq.org/attachment.cgi?id=34479) backtrace
http://bugs.winehq.org/show_bug.cgi?id=21767
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2011-11-02 14:58:23 CDT --- (In reply to comment #3) Same in wine-1.3.31-280-g3373761.
http://bugs.winehq.org/show_bug.cgi?id=21767
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #5 from Jacek Caban jacek@codeweavers.com 2013-01-10 05:55:56 CST --- Please retest and attach atl,atl100,atl80,ieframe logs if the bug still exists.
http://bugs.winehq.org/show_bug.cgi?id=21767
--- Comment #6 from Qian Hong fracting@gmail.com 2013-01-20 13:54:13 CST --- Created attachment 43265 --> http://bugs.winehq.org/attachment.cgi?id=43265 Log: +ieframe,+atl,+atl80,+atl100
Still present in Wine 1.5.22, log attached.
http://bugs.winehq.org/show_bug.cgi?id=21767
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com Assignee|wine-bugs@winehq.org |fracting@gmail.com
--- Comment #7 from Qian Hong fracting@gmail.com --- Created attachment 48149 --> http://bugs.winehq.org/attachment.cgi?id=48149 Patch: hack
--- snip --- 002b:Call user32.SetWindowLongA(0001008c,ffffffeb,00174058) ret=00416668 002b:trace:win:WIN_SetWindowLong 0x1008c -21 174058 A 002b:Ret user32.SetWindowLongA() retval=001741d0 ret=00416668 --- snip ---
The application call SetWindowLong to store its own data on offset -21, which is conflicted with Wine's current implementation, Wine use -21 to store the IOCS pointer, this patch fix the problem.
I'll work on it later.
http://bugs.winehq.org/show_bug.cgi?id=21767
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=21767
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #8 from hanska2@luukku.com --- Qian Hong
PING.
https://bugs.winehq.org/show_bug.cgi?id=21767
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|JLC's Internet TV crashes |Multiple applications |on startup |storing AxHostWindow | |instance pointer in | |GWLP_USERDATA crash on | |startup (Wine uses | |GWLP_USERDATA to store | |IOCS)(JLC's Internet TV, | |Anime Studio Pro 10.x)
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary as this affects multiple applications.
'Anime Studio Pro 10.1'
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Smith Micro/Anime Studio Pro 10
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant,+atl wine ./Anime\ Studio\ Pro\ Win32.exe >>log.txt 2>&1 ... 0023:Call atl100.AtlAxWinInit() ret=0074ffb2 0023:fixme:atl:AtlAxWinInit version 0a00 semi-stub ... 0023:Ret atl100.AtlAxWinInit() retval=00000001 ret=0074ffb2 ... 0023:Call user32.CreateWindowExW(00000000,0099c0d8 L"AtlAxWin100",00a51458 L"http://127.0.0.1:52192/Dojo_1.9.1/ContentLibrary/ContentLibrary.html%22,5000...) ret=007500aa ... 0023:trace:atl:AtlAxCreateControlEx (L"http://127.0.0.1:52192/Dojo_1.9.1/ContentLibrary/ContentLibrary.html" 0x100e4 (nil) (nil) (nil) (nil) (nil)) ... 0023:warn:ole:clsid_from_string_reg couldn't open key for ProgID L"http://127.0.0.1:52192/Dojo_1.9.1/ContentLibrary/ContentLibrary.html" ... 0023:Call ole32.CoCreateInstance(00335c78,00000000,00000017,7e44bac8,00335c74) ret=7e444d66 0023:trace:ole:CoCreateInstance (rclsid={8856f961-340a-11d0-a96b-00c04fd705a2}, pUnkOuter=(nil), dwClsContext=00000017, riid={00000112-0000-0000-c000-000000000046}, ppv=0x335c74) 0023:trace:ole:CoGetTreatAsClass ({8856f961-340a-11d0-a96b-00c04fd705a2},0x335b48) ... 0023:trace:ole:COMPOBJ_DllList_Add L"C:\windows\system32\ieframe.dll" 0023:Call KERNEL32.LoadLibraryExW(003357ce L"C:\windows\system32\ieframe.dll",00000000,00000008) ret=7e79788c ... 0023:fixme:ieframe:PersistStreamInit_InitNew (0x21a030) 0023:trace:atl:AtlAxAttachControl (0x21a030 0x100e4 0x335c68) ... 0023:trace:atl:OleInPlaceSiteWindowless_GetWindow (0x21a1a8,0x335a98) 0023:trace:atl:OleClientSite_Release (0x21a1a8)->(2) 0023:Call user32.CreateWindowExW(00000100,7bfbff40 L"Shell Embedding",7bfbff40 L"Shell Embedding",46010000,00000000,00000000,00000000,00000000,000100e4,00000000,7bf80000,0021a030) ret=7bfa96b4 ... 0023:Ret user32.CreateWindowExW() retval=000100e6 ret=7bfa96b4 ... 0023:fixme:atl:OleClientSite_ShowObject (0x21a1a8) - stub 0023:trace:atl:OleClientSite_GetContainer (0x21a1a8, 0x335a18) 0023:trace:atl:OleClientSite_QueryInterface (0x21a1a8)->({0000011b-0000-0000-c000-000000000046} 0x335a18) 0023:trace:atl:OleClientSite_AddRef (0x21a1a8)->(5) 0023:trace:atl:OleInPlaceFrame_GetWindow (0x21a1a8,0x21a090) ... 0023:Call user32.CreateWindowExW(00000000,7bfbafe0 L"Shell DocObject View",7bfbafe0 L"Shell DocObject View",56010000,00000000,00000000,000001c3,000001e1,000100e6,00000000,7bf80000,0021a0e8) ret=7bf911bb ... 0023:Ret user32.CreateWindowExW() retval=000100e8 ret=7bf911bb ... 0023:fixme:atl:OleInPlaceFrame_EnableModeless (0x21a1a8, 0) - stub ... 0023:Ret user32.CreateWindowExW() retval=000100e4 ret=007500aa 0023:Call user32.GetWindowLongW(000100e4,fffffffc) ret=007500bd 0023:Ret user32.GetWindowLongW() retval=7e444843 ret=007500bd 0023:Call user32.SetWindowLongW(000100e4,fffffffc,0074fdb0) ret=007500d8 0023:Ret user32.SetWindowLongW() retval=7e444843 ret=007500d8 0023:Call user32.SetWindowLongW(000100e4,ffffffeb,049bc788) ret=007500e4 0023:Ret user32.SetWindowLongW() retval=0021a1a8 ret=007500e4 0023:Call shell32.DragAcceptFiles(000100e4,00000001) ret=007500f3 ... 0023:Ret shell32.DragAcceptFiles() retval=00000000 ret=007500f3 0023:Call atl100.AtlAxGetControl(000100e4,003362a0) ret=00750105 0023:trace:atl:AtlAxGetControl (0x100e4, 0x3362a0) 0023:Call user32.GetWindowLongW(000100e4,ffffffeb) ret=7e445d0d 0023:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e445d8b ip=7e445d8b tid=0023 0023:trace:seh:raise_exception info[0]=00000000 0023:trace:seh:raise_exception info[1]=00000040 0023:trace:seh:raise_exception eax=00000040 ebx=7e455000 ecx=00000000 edx=7ebb5764 esi=00336250 edi=00336258 0023:trace:seh:raise_exception ebp=00336238 esp=003361e0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210202 ... --- snip ---
'winetricks -q vcrun2010' works around (you can remove all overrides except 'atl100.dll').
$ sha1sum AnimeStudioPro_UniversalWin_10.1.exe 8726adcc50264d48a36ef07831ebcae8d0b6fd1b AnimeStudioPro_UniversalWin_10.1.exe
$ du -sh AnimeStudioPro_UniversalWin_10.1.exe 261M AnimeStudioPro_UniversalWin_10.1.exe
$ wine --version wine-1.7.25-51-g60de497
Regards
https://bugs.winehq.org/show_bug.cgi?id=21767
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #10 from Sebastian Lackner sebastian@fds-team.de --- Fixed with http://source.winehq.org/git/wine.git/commit/6756049be4b97de448f4bcbee8757db...
https://bugs.winehq.org/show_bug.cgi?id=21767
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6756049be4b97de448f4bcbee87 | |57db2cfda5c57 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/6756049be4b97de448f4bcbee87...
Thanks Qian
Regards
https://bugs.winehq.org/show_bug.cgi?id=21767
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.35.