http://bugs.winehq.org/show_bug.cgi?id=30284
Bug #: 30284 Summary: Mathematica won't install on wine 1.1.16 Product: Wine Version: 1.1.16 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gary719_list1@verizon.net Classification: Unclassified
Created attachment 39569 --> http://bugs.winehq.org/attachment.cgi?id=39569 backtrace for loading failure on version 1.1.16
Attempt to install Mathematica 6 on wine version 1.4 failed. Regression found that the latest version that worked is 1.1.15. The backtrace for 1.1.16 is attached. System information: Intel 15750 processor Intel DP55KG Motherboard Debian Squeeze system Kernel under which testing was performed 2.6.32-5-686
http://bugs.winehq.org/show_bug.cgi?id=30284
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Severity|major |normal
--- Comment #1 from Austin English austinenglish@gmail.com 2012-03-27 13:38:51 CDT --- Please retest in at least 1.4 (preferably 1.5). If still present, find what commit broke it between 1.1.15/1.1.16: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #2 from Austin English austinenglish@gmail.com 2012-03-27 14:42:26 CDT --- (In reply to comment #1)
Please retest in at least 1.4 (preferably 1.5). If still present, find what commit broke it between 1.1.15/1.1.16: http://wiki.winehq.org/RegressionTesting
Err, ignore the retest, didn't see that initially :). But we do need the regression test.
Is there a demo/download available?
http://bugs.winehq.org/show_bug.cgi?id=30284
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mathematica won't install |Mathematica won't install |on wine 1.1.16 |
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-27 21:48:58 CDT --- The log attached indicates a really badly broken wineprefix. What is the commit you came up with as the result of regression testing?
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #4 from Gary Roach gary719_list1@verizon.net 2012-03-28 11:56:54 CDT --- I'm not sure what you mean by the term "commit". The original problem occurred with version 1.4 . There is a complete printout of the stderr output when trying to install on 1.1.16 attached to the original submission. Please clarify and I will try to comply.
Gary R.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #5 from Austin English austinenglish@gmail.com 2012-03-28 12:43:22 CDT --- (In reply to comment #4)
I'm not sure what you mean by the term "commit". The original problem occurred with version 1.4 . There is a complete printout of the stderr output when trying to install on 1.1.16 attached to the original submission. Please clarify and I will try to comply.
Gary R.
We need to know which individual patch to wine introduced the problem. If you follow the instructions at http://wiki.winehq.org/RegressionTesting, it will give you that information.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #6 from Gary Roach gary719_list1@verizon.net 2012-03-29 15:01:41 CDT --- Created attachment 39602 --> http://bugs.winehq.org/attachment.cgi?id=39602 Program install errors for wine-1.5.0
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #7 from Gary Roach gary719_list1@verizon.net 2012-03-29 15:06:10 CDT --- Created attachment 39603 --> http://bugs.winehq.org/attachment.cgi?id=39603 Program install errors for wine-1.3.0
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #8 from Gary Roach gary719_list1@verizon.net 2012-03-29 15:06:46 CDT --- Created attachment 39604 --> http://bugs.winehq.org/attachment.cgi?id=39604 Program install errors for wine-1.3.20
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #9 from Gary Roach gary719_list1@verizon.net 2012-03-29 15:07:25 CDT --- Created attachment 39605 --> http://bugs.winehq.org/attachment.cgi?id=39605 Program install errors for wine-1.3.30
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #10 from Gary Roach gary719_list1@verizon.net 2012-03-29 15:14:14 CDT --- Created attachment 39606 --> http://bugs.winehq.org/attachment.cgi?id=39606 Compiler errors see text
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #11 from Gary Roach gary719_list1@verizon.net 2012-03-29 15:24:09 CDT --- I hope that the following information will help. I could not get to the commits that you wanted because bisect quit working. I will need some advise on what to do next. I seem to be fighting multiple problems but am trying to stick to the failure to load one. The following is my log
Installed wine per regression instructions - Version 1.5.0 installed ran to [[/media/cdrom0/setup.ext]] Mathematica 6 started to install The setup screen appeared. installation proceeded to "Publishing product information" and an "Unhandled Exception" screen popped up with Error Number 0x80020006. Setup will now terminate. Which it did.** The stderr output is attached as: MathInstError1.5.0 **
I then set git bisect bad Bisecting: 701 revisions left to test after this (roughly 10 steps) [0048a0373b93616b934f5a0395bf3616ab961aa5] d3d10core: Keep a referene to the wined3d device in the d3d10 device.
I than ran ./configure --verbose && make This installed version 1.3.0 Mathematica loaded but I was not able to start the program. This would seem to be a separate problem. Later. **The stderr output is attached as: MathInstError1.3.0** I ran git bisect good (Loader worked afterall) and got: Bisecting: 7942 revisions left to test after this (roughly 13 steps) [4af30811a807957bb6c1957047bfc82681dcf66f] sane.ds: Mark internal symbols with hidden visibility.
**Next itteration.** Loaded Version 1.3.20 Mathematica loade but would not start. **The stderr output is attached as: MathInstError1.3.20** Set git bisect good. Return message: **Bisecting: 3971 revisions left to test after this (roughly 12 steps)** **error: unable to unlink old 'dlls/wineqtdecoder/qtsplitter.c' (Permission denied)** **[b1b63af04a01e09d5a7419af49f86e1be2b6a222] mmcndmgr: Add MMC interfaces.**
**Next Itteration.** Loaded Version 1.3.30 When winecfg run the following program error occured: **The program rundll32.exe has encountered a serious problem** **and needs to close. We are sorry for the inconvenience.** winecfg started anyway, Set ALSA and Win2K **InstallShield error:** **1608: Unable to create InstallDriver instance. ** **Return code - 2147221163** Install aborted. **The stderr output is attached as: MathInstError1.3.30** Set git bisect bad. Return message: **Bisecting: 1985 revisions left to test after this (roughly 11 steps)** **error: You have local changes to 'dlls/wineqtdecoder/qtsplitter.c'; cannot switch branches.** A recompile generated [[CompileErrors1]] attached. I could go no further. Bisect no longer works. Suggestions?
Gary R
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #12 from Austin English austinenglish@gmail.com 2012-03-29 16:00:59 CDT --- 'make distclean' will work around the compiler error.
Please use the forum for help with the regression test.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #13 from Gary Roach gary719_list1@verizon.net 2012-03-31 22:02:57 CDT --- Finally, I got through the regression and probably have what everyone wanted to begin with. Sorry about the extraneous stuff. Chalk it up to the learning curve.
The final regression step produced the following:
1.3.33 good 174d2f6d72681c3acec0f8b0c6e41c1e4ca19e9f is the first bad commit commit 174d2f6d72681c3acec0f8b0c6e41c1e4ca19e9f Author: Alexandre Julliard julliard@winehq.org Date: Wed Nov 30 14:26:25 2011 +0100
user32: Use the correct alpha for the title bar gradient and simplify the mesh.
:040000 040000 572e0dd4f6c1395ea344b03054b0a11b0b99ed6c f36d707d597d562d8b688e736b4c1484b279e518 M dlls
I sure hope this does the trick. It took the better part of a week to get it.
Gary R.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2012-04-01 03:07:40 CDT --- That doesn't seem right. Try reverting that commit in the tip.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #15 from Gary Roach gary719_list1@verizon.net 2012-04-01 10:26:53 CDT --- If you mean run bisect for another itteration, I did that allready and got the exact same message.
Gary R.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #16 from Austin English austinenglish@gmail.com 2012-04-01 15:27:39 CDT --- (In reply to comment #15)
If you mean run bisect for another itteration, I did that allready and got the exact same message.
Gary R.
No, do: $ git show 174d2f6d72681c3acec0f8b0c6e41c1e4ca19e9f | patch -p1 -R $ make
and see if the problem goes away.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #17 from Gary Roach gary719_list1@verizon.net 2012-04-02 12:57:16 CDT --- I did as you suggested and the problem is still there. While computing space requirements Mathematica 6 returns an Error: 1627 Function Failed error message and quits.
Gary R
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #18 from Austin English austinenglish@gmail.com 2012-04-02 15:07:01 CDT --- (In reply to comment #17)
I did as you suggested and the problem is still there. While computing space requirements Mathematica 6 returns an Error: 1627 Function Failed error message and quits.
Gary R
Then that commit was not the cause of the problem.
http://bugs.winehq.org/show_bug.cgi?id=30284
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |shell32 Summary|Mathematica won't install |Mathematica 6.0 installer | |fails, reports error | |0x80020006 (missing support | |for | |IShellDispatch2::IsServiceR | |unning) Ever Confirmed|0 |1
--- Comment #19 from Anastasius Focht focht@gmx.net 2012-04-02 18:22:53 CDT --- Hello,
the problem seems to be the missing IShellDispatch2 object support.
Near the end of installation, the InstallShield script engine calls:
--- snip --- ... 0024:Call ole32.CLSIDFromProgID(0229392e L"Shell.Application",0033cffc) ret=00d8d424 ... 0024:Call ole32.CoCreateInstance(0033cffc,00000000,00000005,00dabd38,0033d01c) ret=00d8d44f 0024:trace:ole:CoCreateInstance (rclsid={13709620-c279-11ce-a49e-444553540000}, pUnkOuter=(nil), dwClsContext=00000005, riid={00020400-0000-0000-c000-000000000046}, ppv=0x33d01c) 0024:trace:ole:CoGetClassObject CLSID: {13709620-c279-11ce-a49e-444553540000},IID: {00000001-0000-0000-c000-000000000046} ... 0024:trace:ole:apartment_getclassobject found L"C:\windows\system32\shell32.dll" already loaded 0024:trace:ole:apartment_getclassobject calling DllGetClassObject 0x7e8d7cec ... 0024:Ret ole32.CoCreateInstance() retval=00000000 ret=00d8d44f ... 0024:trace:ole:ITypeInfo_fnGetIDsOfNames (0x22e14b8) Name L"IsServiceRunning" cNames 1 ... 0024:warn:ole:ITypeInfo_fnGetIDsOfNames no names found 0024:trace:ole:ITypeInfo_fnRelease (0x22e14b8)->(0) 0024:trace:ole:ITypeLib2_fnRelease (0x22e07b0)->(2) 0024:trace:ole:ITypeInfo_fnRelease (0x22e1790)->(0) 0024:trace:ole:ITypeLib2_fnRelease (0x22e07b0)->(1) 0024:Call ntdll.RtlAllocateHeap(016cd000,00000000,00000010) ret=00ceaf90 0024:Ret ntdll.RtlAllocateHeap() retval=05d562c0 ret=00ceaf90 0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033d1d0) ret=00ce9983 0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b839357 ip=7b839357 tid=0024 0024:trace:seh:raise_exception info[0]=19930520 0024:trace:seh:raise_exception info[1]=0033d1ec 0024:trace:seh:raise_exception info[2]=00cf9590 0024:trace:seh:raise_exception eax=7b826381 ebx=7b8aa708 ecx=19930520 edx=0033d0d4 esi=0033d1b4 edi=0033d130 0024:trace:seh:raise_exception ebp=0033d118 esp=0033d0b4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 ... 0024:Call KERNEL32.FormatMessageA(00001300,00000000,80020006,00000000,0033d1fc,00000000,00000000) ret=00cd594f 0024:Ret KERNEL32.FormatMessageA() retval=00000000 ret=00cd594f ... 0024:Call KERNEL32.MultiByteToWideChar(00000000,00000000,05d530c8 "Error Number: 0x80020006\nDescription: \n\nSetup will now terminate.",00000400,00000000,00000000) ret=00cd5ffd ... --- snip ---
MSDN:
IShellDispatch2 object:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb774138%28v=vs.85%2...
Currently there is only IShellDispatch support:
Source:
http://source.winehq.org/git/wine.git/blob/9ba0f5c52ea87c2e268f779794bf410f7...
--- snip --- 1002 static const IShellDispatchVtbl ShellDispatch_Vtbl = { 1003 ShellDispatch_QueryInterface, 1004 ShellDispatch_AddRef, 1005 ShellDispatch_Release, 1006 ShellDispatch_GetTypeInfoCount, 1007 ShellDispatch_GetTypeInfo, 1008 ShellDispatch_GetIDsOfNames, 1009 ShellDispatch_Invoke, 1010 ShellDispatch_get_Application, 1011 ShellDispatch_get_Parent, 1012 ShellDispatch_NameSpace, 1013 ShellDispatch_BrowseForFolder, 1014 ShellDispatch_Windows, 1015 ShellDispatch_Open, 1016 ShellDispatch_Explore, 1017 ShellDispatch_MinimizeAll, 1018 ShellDispatch_UndoMinimizeALL, 1019 ShellDispatch_FileRun, 1020 ShellDispatch_CascadeWindows, 1021 ShellDispatch_TileVertically, 1022 ShellDispatch_TileHorizontally, 1023 ShellDispatch_ShutdownWindows, 1024 ShellDispatch_Suspend, 1025 ShellDispatch_EjectPC, 1026 ShellDispatch_SetTime, 1027 ShellDispatch_TrayProperties, 1028 ShellDispatch_Help, 1029 ShellDispatch_FindFiles, 1030 ShellDispatch_FindComputer, 1031 ShellDispatch_RefreshMenu, 1032 ShellDispatch_ControlPanelItem 1033 }; --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=30284
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | AssignedTo|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #20 from Nikolay Sivov bunglehead@gmail.com 2012-05-06 14:42:53 CDT --- I'll send something for that next week.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #21 from Nikolay Sivov bunglehead@gmail.com 2012-05-06 23:19:34 CDT --- Here is a patch http://www.winehq.org/pipermail/wine-patches/2012-May/113981.html. Let's see if it really needs an implementation for this method.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #22 from Anastasius Focht focht@gmx.net 2012-05-07 01:58:00 CDT --- Hello Nikolay,
--- quote --- Here is a patch http://www.winehq.org/pipermail/wine-patches/2012-May/113981.html. Let's see if it really needs an implementation for this method. --- quote ---
as you wish ;-)
--- snip --- 0026:trace:ole:ITypeInfo_fnInvoke (0x2cfc8c0)(0x4230570,id=1610809350,flags=0x00000003,0x33d220,0x33d280,0x33d1a8,0x33d1e8) 0026:trace:ole:dump_DispParms args=1 named args=0 0026:trace:ole:dump_DispParms args: 0026:trace:ole:dump_Variant 0xa1662f0->{VT_BSTR,L"SharedAccess"} 0026:trace:ole:ITypeInfo_fnInvoke invoking: L"IsServiceRunning"(2) parm0: L"service" parm1: L"running" memid is 60030006 Param 0: tdesc.vartype 8 (VT_BSTR) u.paramdesc.wParamFlags PARAMFLAG_FIN u.paramdesc.lpex (nil) Param 1: tdesc.vartype 26 (ptr to VT_VARIANT) u.paramdesc.wParamFlags PARAMFLAG_FOUT PARAMFLAG_FRETVAL u.paramdesc.lpex (nil) funckind: 1 (pure virtual) invkind: 1 (func) callconv: 4 (stdcall) oVft: 144 cParamsOpt: 0 wFlags: 0 elemdescFunc (return value type): tdesc.vartype 25 (VT_HRESULT) u.paramdesc.wParamFlags PARAMFLAGS_NONE u.paramdesc.lpex (nil) helpstring: (null) entry: invalid ... 0026:trace:ole:DispCallFunc arg 0: type 8 0026:trace:ole:dump_Variant 0xa1662f0->{VT_BSTR,L"SharedAccess"} 0026:trace:ole:DispCallFunc arg 1: type 16396 0026:trace:ole:dump_Variant 0x2cff2d8->{VT_VARIANT|VT_BYREF,0x33cf3c} 0026:fixme:shell:ShellDispatch_IsServiceRunning (L"SharedAccess", 0x33cf3c): stub ... 0026:trace:ole:DispCallFunc retval: 0x33cf4c->{VT_ERROR} ... 0026:warn:ole:ITypeInfo_fnInvoke invoked function failed with error 0x80004001 0026:Call ole32.GetErrorInfo(00000000,0033cf24) ret=7e46b6b1 0026:trace:ole:GetErrorInfo (0, 0x33cf24, (nil)) 0026:Ret ole32.GetErrorInfo() retval=00000001 ret=7e46b6b1 ... 0026:trace:ole:ITypeInfo_fnInvoke -- 0x80020009 ... 0026:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033d154) ret=00be9983 0026:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b8393ff ip=7b8393ff tid=0026 0026:trace:seh:raise_exception info[0]=19930520 0026:trace:seh:raise_exception info[1]=0033d17c 0026:trace:seh:raise_exception info[2]=00bfd8c8 0026:trace:seh:raise_exception eax=7b826429 ebx=7b8b06b0 ecx=00bfd8c8 edx=0033d060 esi=0033d138 edi=0033d0b0 0026:trace:seh:raise_exception ebp=0033d098 esp=0033d034 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 ... 0026:Call user32.MessageBoxA(000100a6,0a1632f8 "Error Number: 0x80004001\nDescription: \n\nSetup will now terminate.",0a1637a8 "Unhandled Exception",00002010) ret=00bd7dbf ... --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #23 from Nikolay Sivov bunglehead@gmail.com 2012-05-07 03:52:20 CDT --- Created attachment 40070 --> http://bugs.winehq.org/attachment.cgi?id=40070 patch
Okay, try this one please.
http://bugs.winehq.org/show_bug.cgi?id=30284
--- Comment #24 from Anastasius Focht focht@gmx.net 2012-05-07 15:31:41 CDT --- Hello Nikolay,
the patch is sufficient to let the installer finish successfully ;-)
--- snip --- 0024:trace:ole:dump_Variant 0xa1662f0->{VT_BSTR,L"SharedAccess"} 0024:trace:ole:DispCallFunc (0x2da57e8, 144, 4, 10, 2, 0x2cfeba8, 0x2cfeba0, 0x33cf4c (vt=10)) ... 0024:Call advapi32.OpenSCManagerW(00000000,00000000,00000001) ret=7e907b59 ... 0024:Ret advapi32.OpenSCManagerW() retval=02cfee20 ret=7e907b59 0024:Call advapi32.OpenServiceW(02cfee20,02cfeb3c L"SharedAccess",00000004) ret=7e907bd2 ... 0024:Ret advapi32.OpenServiceW() retval=00000000 ret=7e907bd2 0024:err:shell:ShellDispatch_IsServiceRunning Failed to open service L"SharedAccess" (1060) 0024:Call advapi32.CloseServiceHandle(00000000) ret=7e907c58 ... 0024:trace:variant:VariantCopyInd returning 0x00000000, 0x33d280->(VT_BOOL) ... 0024:trace:ole:ITypeInfo_fnInvoke -- 0x00000000 --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=30284
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9af543aad8ff50ba0e5ad7a1803 | |b6608433a3717 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #25 from Nikolay Sivov bunglehead@gmail.com 2012-05-08 14:27:04 CDT --- So fixed.
http://bugs.winehq.org/show_bug.cgi?id=30284
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org 2012-05-11 13:22:20 CDT --- Closing bugs fixed in 1.5.4.
http://bugs.winehq.org/show_bug.cgi?id=30284
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.4.x
http://bugs.winehq.org/show_bug.cgi?id=30284
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.4.x |---
https://bugs.winehq.org/show_bug.cgi?id=30284
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org