http://bugs.winehq.org/show_bug.cgi?id=33377
Bug #: 33377
Summary: Dependencies on third-party import dlls are undetected
Product: Wine-Testbot
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: fgouget(a)codeweavers.com
Classification: Unclassified
Created attachment 44167
--> http://bugs.winehq.org/attachment.cgi?id=44167
Patch to reproduce this bug
The attached patch reproduces an issue first encountered 'in the wild' with
this set of patches:
* [1/3] include: Add COM interface definitions needed for PrintDlgEx
implementation.
http://www.winehq.org/pipermail/wine-patches/2013-April/123420.html
* [3/3] comdlg32: Add an interactive PrintDlgEx test.
http://www.winehq.org/pipermail/wine-patches/2013-April/123422.html
* Re: [3/3] comdlg32: Add an interactive PrintDlgEx test.
http://www.winehq.org/pipermail/wine-devel/2013-April/099397.html
Here is the core of the issue:
* The patch contains a first chunk that modifies include/commdlg.h.
* This causes a new symbol to be exported by libuuid.a.
* The comdlg32:printdlg test needs that symbol to be relinked.
The problem is that the WineTestBot does not do a full recompile (for
performance reasons), and thus libuuid.a is not rebuilt. So the comdlg32 relink
fails because of the missing symbol.
Unfortunately there's really no clear indication in the patch that libuuid.a
needs to be rebuilt. We could very well run into the same issue with dxguid or
a number of other dlls.
Some options:
* Systematically do a full rebuild. This would be pretty wasteful.
* Do a full rebuild whenever the patch touches 'include/'.
* Hardcode a list of uuid-like dlls and rebuild them all whenever a patch
touches 'include/'.
* Detect which uuid-like dlls the test links with (by parsing the Makefile?),
and rebuild those whenever the patch touches 'include/'.
It's also possible that any chunk outside of the test directory could get us
into trouble if we link with the corresponding dll.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39799
Bug ID: 39799
Summary: Visilogic 8.0 needs 'ITypeInfo_fnInvoke' support for
coclass objects (TKIND_COCLASS) in arguments
Product: Wine
Version: 1.8-rc3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: oleaut32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
continuation of discussion in bug 12688 ("Unitronics OPLC IDE VisiLogic 6.0
(vb6 app) fails on startup, reports run-time error '372' (failure to load
control 'ActiveBar3' from 'Actbar3.ocx')".
Starting with: https://bugs.winehq.org/show_bug.cgi?id=12688#c8
There also exists bug 19016 ("Word Automation from .NET does not work") which
has a Wine-Staging patchset that covers much more the app needs here.
The marshalling aspect is not involved hence I decided to have a separate
ticket for adding 'ITypeInfo_fnInvoke' support for coclass objects
(TKIND_COCLASS) in arguments.
Unitronics OPLC IDE Visilogic 8.0.1 (VB6 app)
Dmitry says that current implementation still contains some issue
(https://bugs.winehq.org/show_bug.cgi?id=12688#c11) and fixing that allows the
applications to proceed further.
Download:
http://support.somex.ie/index.php/downloads/category/1-plc-utility-software…
---
Visilogic 8.0.1
Installer prerequisite: 'winetricks -q jet40'
Workaround for another problem:
--- snip ---
$ WINEDLLOVERRIDES=tapi32=d wine ./VisiLogic.exe
--- snip ---
--- snip ---
-=[ ProtectionID v0.6.6.7 DECEMBER]=-
(c) 2003-2015 CDKiLLER & TippeX
Build 24/12/14-22:48:13
Ready...
Scanning -> Z:\home\focht\Downloads\VisiLogicSetup_801.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 118161024 (070AFE80h)
Byte(s)
Compilation TimeStamp : 0x3B965AC1 -> Wed 05th Sep 2001 17:02:57 (GMT)
[TimeStamp] 0x3B965AC1 -> Wed 05th Sep 2001 17:02:57 (GMT) | PE Header | - |
Offset: 0x000000F8 | VA: 0x004000F8 | -
-> File has 117882496 (0706BE80h) bytes of appended data starting at offset
044000h
[File Heuristics] -> Flag #1 : 00000000000000000000000000000100 (0x00000004)
[Entrypoint Section Entropy] : 6.66 (section #0) ".text " | Size : 0x11B16
(72470) byte(s)
[DllCharacteristics] -> Flag : (0x0000) -> NONE
[SectionCount] 4 (0x4) | ImageSize 0x47000 (290816) byte(s)
[VersionInfo] Company Name : Unitronics
[VersionInfo] Product Name : VisiLogic
[VersionInfo] Product Version : 8.0.1
[VersionInfo] File Description : Vision IDE
[VersionInfo] File Version : 8.0.1
[VersionInfo] Original FileName : stub32i.exe
[VersionInfo] Internal Name : stub32
[-= Installer =-] InstallShield v6.31.100.1221 Setup Module
[CompilerDetect] -> Visual C++ 6.0
- Scan Took : 0.211 Second(s) [0000000D3h (211) tick(s)] [558 of 573 scan(s)
done]
Scanning -> C:\Program Files\Unitronics\Unitronics
VisiLogic_C\Main\VisiLogic.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 2887680 (02C1000h)
Byte(s)
Compilation TimeStamp : 0x49EC8D77 -> Mon 20th Apr 2009 14:57:59 (GMT)
[TimeStamp] 0x49EC8D77 -> Mon 20th Apr 2009 14:57:59 (GMT) | PE Header | - |
Offset: 0x000000C0 | VA: 0x004000C0 | -
[File Heuristics] -> Flag #1 : 00000000000000000000000000000000 (0x00000000)
[Entrypoint Section Entropy] : 5.26 (section #0) ".text " | Size : 0x2BB3A8
(2864040) byte(s)
[DllCharacteristics] -> Flag : (0x0000) -> NONE
[SectionCount] 3 (0x3) | ImageSize 0x2C6000 (2908160) byte(s)
[VersionInfo] Company Name : Unitronics Website:
www.unitronics.com Sales: export(a)untronics.com Support:
support(a)unitronics.com
[VersionInfo] Product Name : VisiLogic
[VersionInfo] Product Version : 8.00.0001
[VersionInfo] File Description : Unitronics OPLC IDE
[VersionInfo] File Version : 8.00.0001
[VersionInfo] Original FileName : VisiLogic.exe
[VersionInfo] Internal Name : VisiLogic
[VersionInfo] Version Comments : Unitronics OPLC IDE
[VersionInfo] Legal Trademarks : OPLC is the legal trademark of Unitronics
[VersionInfo] Legal Copyrights : This file is the property of Unitronics. It
may not be changed without prior written permission. The company takes no
responsibility for the improper use of the material contained herein.
[CompilerDetect] -> Visual Basic 6 (native)
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 0.593 Second(s) [000000251h (593) tick(s)] [499 of 573 scan(s)
done]
--- snip ---
$ sha1sum VisiLogicSetup_801.exe
243390482d7b8023c43191772ca783665ebe7c31 VisiLogicSetup_801.exe
$ du -sh VisiLogicSetup_801.exe
113M VisiLogicSetup_801.exe
$ wine --version
wine-1.8-rc4
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38828
Bug ID: 38828
Summary: Cerbero PE Insider 1.0.2 crashes on unimplemented
function dbghelp.dll.UnDecorateSymbolNameW when
viewing export directory
Product: Wine
Version: 1.7.46
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: dbghelp
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
as the summary says ...
Reproduce: start the app -> select a PE binary -> click 'Export Directory' in
left hand side tree view.
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Cerbero/PEInsider
$ wine ./peinsider.exe
...
wine: Call from 0x7b8456d9 to unimplemented function
dbghelp.dll.UnDecorateSymbolNameW, aborting
wine: Unimplemented function dbghelp.dll.UnDecorateSymbolNameW called at
address 0x7b8456d9 (thread 0009), starting debugger...
--- snip ---
MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms681400%28v=vs.85…
Source:
https://source.winehq.org/git/wine.git/blob/878ea7d9ea4bbb924a539ec28088674…
$ sha1sum peinsider_setup.exe
81324f9802f86bb93a9440c96460f911bedcc0f6 peinsider_setup.exe
$ du -sh peinsider_setup.exe
6.5M peinsider_setup.exe
$ wine --version
wine-1.7.46
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39961
Bug ID: 39961
Summary: steamwebhelper.exe page fault NULL pointer crash
Product: Wine
Version: 1.6.2
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jg(a)jguk.org
Distribution: ---
Created attachment 53394
--> https://bugs.winehq.org/attachment.cgi?id=53394
steamweb.exe crash backtrace
Call Of Duty: World of War installs Steam. Which crashes after installing and
running.
backtrace attached from Ubuntu 64bit.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=35367
Bug ID: 35367
Summary: Cyberlink Powerdirector 8 crashes during media scan
(Wine ole32 code must take implicit MTA into account)
Product: Wine
Version: 1.7.10
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ole32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Classification: Unclassified
Hello folks,
Prerequisite: 'winetricks -q mfc42'
Upon startup the app shows a registration dialog with some options:
* "Buy Now"
* "Activate"
* "Try Now"
After selecting "Try Now" the app continues loading and starts importing some
media files.
"Activation" feature also works (tested with some code found here and there).
There is a crash (heap corruption) in libxml2/msxml during media import.
This is a different problem which can be worked around with 'winetricks -q
msxml3'.
This bug is about the COM/OLE part of media import crash.
Relevant part of trace log:
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/CyberLink/PowerDirector
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./PDR8.exe >>log2.txt 2>&1
...
0016:Call shlwapi.PathFileExistsW(0430b2e4 L"C:\\Program
Files\\CyberLink\\PowerDirector\\SampleClips\\ntsc\\Nature.mpg") ret=02cb0bbd
...
0016:Ret shlwapi.PathFileExistsW() retval=00000001 ret=02cb0bbd
0016:Call ole32.CoCreateInstance(02ce6e68,00000000,00000007,02ce6e38,0275b5b4)
ret=02cb5171
0016:trace:ole:CoCreateInstance (rclsid={889ca1c3-e115-47e1-88ec-20df644e982a},
pUnkOuter=(nil), dwClsContext=00000007,
riid={38df9356-47c1-40ef-89ce-af1d019b0baa}, ppv=0x275b5b4)
0016:trace:ole:apartment_addref 2e0000cafe: before = 8
0016:trace:ole:apartment_release 2e0000cafe: after = 8
0016:trace:ole:CoGetClassObject CLSID:
{889ca1c3-e115-47e1-88ec-20df644e982a},IID:
{00000001-0000-0000-c000-000000000046}
0016:trace:ole:apartment_addref 2e0000cafe: before = 8
...
0016:warn:ole:CoGetClassObject class {889ca1c3-e115-47e1-88ec-20df644e982a} not
registered as in-proc server
...
0016:warn:ole:CoGetClassObject class {889ca1c3-e115-47e1-88ec-20df644e982a} not
registered in-proc handler
0016:trace:ole:apartment_release 2e0000cafe: after = 8
0016:trace:ole:RPC_GetLocalClassObject
rclsid={889ca1c3-e115-47e1-88ec-20df644e982a},
iid={00000001-0000-0000-c000-000000000046}
0016:trace:ole:RPC_GetLocalClassObject waiting for
L"\\\\.\\pipe\\{889CA1C3-E115-47E1-88EC-20DF644E982A}"
0016:Call KERNEL32.WaitNamedPipeW(0275b228
L"\\\\.\\pipe\\{889CA1C3-E115-47E1-88EC-20DF644E982A}",ffffffff) ret=7e773bc3
0016:Ret KERNEL32.WaitNamedPipeW() retval=00000001 ret=7e773bc3
0016:Call KERNEL32.CreateFileW(0275b228
L"\\\\.\\pipe\\{889CA1C3-E115-47E1-88EC-20DF644E982A}",c0000000,00000000,00000000,00000003,00000000,00000000)
ret=7e773c04
0016:Ret KERNEL32.CreateFileW() retval=00000914 ret=7e773c04
0016:Call KERNEL32.ReadFile(00000914,0275b158,000000c8,0275b220,00000000)
ret=7e773e29
0016:Ret KERNEL32.ReadFile() retval=00000001 ret=7e773e29
0016:trace:ole:RPC_GetLocalClassObject read marshal id from pipe
...
0016:trace:ole:RPC_GetLocalClassObject unmarshalling local server
0016:trace:ole:CoUnmarshalInterface (0x4365a08,
{6d5140c1-7436-11ce-8034-00aa006009fa}, 0x275b13c)
...
0016:trace:ole:get_unmarshaler_from_stream Using standard unmarshaling
0016:Call ntdll.RtlAllocateHeap(00110000,00000000,00000010) ret=7e75bf7e
0016:Ret ntdll.RtlAllocateHeap() retval=043fd2f8 ret=7e75bf7e
0016:trace:ole:StdMarshalImpl_UnmarshalInterface
(...,{6d5140c1-7436-11ce-8034-00aa006009fa},....)
0016:err:ole:StdMarshalImpl_UnmarshalInterface Apartment not initialized
0016:err:ole:CoUnmarshalInterface IMarshal::UnmarshalInterface failed,
0x800401f0
...
0016:trace:ole:CoUnmarshalInterface completed with hr 0x800401f0
0016:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e7740f4
ip=7e7740f4 tid=0016
0016:trace:seh:raise_exception info[0]=00000000
0016:trace:seh:raise_exception info[1]=000003de
0016:trace:seh:raise_exception eax=000003de ebx=7e854000 ecx=0275b100
edx=0275ef8c esi=0275ecc5 edi=0275eb8c
0016:trace:seh:raise_exception ebp=0275b378 esp=0275b100 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210286
--- snip ---
"{889ca1c3-e115-47e1-88ec-20df644e982a}" is registered as out-of-process COM
server:
--- snip ---
CLSID: {889CA1C3-E115-47E1-88EC-20DF644E982A}
LOCAL SERVER: %ROOT%\PROGRA~1\CYBERL~1\SHARED~1\RICHVI~1.EXE
TYPELIB: {D37B5B2C-8D1B-4832-89E4-6FCE903B3A18}
VERSION IND. PROGID: RichVideo.RVInterface
--- snip ---
The problem most likely stems from crappy vendor code. The thread in question
that ought to instantiate the COM object never explicitly initializes its COM
apartment.
>From my experience in 99% of the cases the developers forgot the call to
CoÂInitializeÂEx() on thread entry and the reason why this works for native is
the so called implicit MTA.
Basically another thread in the process called CoÂInitializeÂEx(0,
COINIT_MULTIÂTHREADED), which means that the thread which forgot to call
CoÂInitializeEx() was implicitly placed in the MTA (the app creates a crapload
of threads).
I had to change quite some code to make a proof-of-concept.
There is various code in Wine ole32 that makes use of COM_CurrentApt() which
doesn't take implicit MTA into account.
--- snip ---
# modified: dlls/ole32/compobj.c
# modified: dlls/ole32/marshal.c
# modified: dlls/ole32/rpc.c
--- snip ---
The app/thread was finally able to instantiate the out-of-process COM server
and make COM calls.
Media files were successfully imported and movies/images showed up in some
thumbnail-like view.
$ sha1sum cyberlink2220_vde09070801.exe
2fbc508b971332872b68761ea0d56803c5d122bd cyberlink2220_vde09070801.exe
$ du -sh cyberlink2220_vde09070801.exe
236M cyberlink2220_vde09070801.exe
$ wine --version
wine-1.7.10-343-g770d09d
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=33749
Bug #: 33749
Summary: fix for "called from wrong apartment" bug in
ClientRpcChannelBuffer_SendReceive
Product: Wine
Version: 1.6-rc1
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: ole32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: rosen.diankov(a)gmail.com
Classification: Unclassified
There are cases where the "called from wrong apartment" gets called in
ole32/rpc.c:ClientRpcChannelBuffer_SendReceive and there is no COM apartment
set.
Actually the thread should be using the implicit multithreaded apartment
created from a previous thread's CoÂInitializeEx call
http://blogs.msdn.com/b/oldnewthing/archive/2013/04/19/10412399.aspx
Therefore the fix is really simple, add this check right in the beginning of
ClientRpcChannelBuffer_SendReceive
if( !COM_CurrentApt() ) {
apartment_joinmta();
}
Note that in Windows 7 and beyond, there's a new flag that controls the
implicit MTA behavior called APTTYPEQUALIFIER.
http://msdn.microsoft.com/library/dd542638
Wine should support this for Windows 7 and beyond.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39508
Bug ID: 39508
Summary: OneDrive for Business installer reports failure to
decode 'Owner Rights' SID 'S-1-3-4' in Win8 mode
Product: Wine
Version: 1.7.53
Hardware: x86-64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: advapi32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
found during other investigations.
Not critical though, the installer catches the C++ exception (log).
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Microsoft Office 15/ClientX86
$ WINEDEBUG=+tid,+seh,+relay wine ./officeclicktorun.exe >>log.txt 2>&1
...
0022:Call
advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW(005d2330
L"D:(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)(A;;GA;;;BA)(A;;GA;;;OW)(A;;GR;;;AC)S:(ML;OICI;NW;;;LW)",00000001,0033ef88,00000000)
ret=004b4f58
0022:fixme:advapi:ParseStringSidToSid String constant not supported: L"OW"
0022:Ret advapi32.ConvertStringSecurityDescriptorToSecurityDescriptorW()
retval=00000000 ret=004b4f58
0022:Call KERNEL32.GetLastError() ret=004b4f64
0022:Ret KERNEL32.GetLastError() retval=00000538 ret=004b4f64
0022:Call KERNEL32.GetLastError() ret=004b4f79
0022:Ret KERNEL32.GetLastError() retval=00000538 ret=004b4f79
...
0022:Call msvcr100.wcsncpy_s(0033e848,00000100,005e6d60 L"failed to create
security descriptor from string
D:(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)(A;;GA;;;BA)(A;;GA;;;OW)(A;;GR;;;AC)S:(ML;OICI;NW;;;LW),
error = 1336",ffffffff) ret=004b5031
0022:Ret msvcr100.wcsncpy_s() retval=00000000 ret=004b5031
...
0022:Call msvcr100._CxxThrowException(0033ebcc,00547e64) ret=004b4fa7
0022:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033e7c4)
ret=7e79c928
0022:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b845f21
ip=7b845f21 tid=0022
0022:trace:seh:raise_exception info[0]=19930520
0022:trace:seh:raise_exception info[1]=0033ebcc
0022:trace:seh:raise_exception info[2]=00547e64
0022:trace:seh:raise_exception eax=7b832cbd ebx=00000000 ecx=0000000c
edx=0033e714 esi=0033e7c0 edi=0033e780
0022:trace:seh:raise_exception ebp=0033e758 esp=0033e6f4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000202
0022:trace:seh:call_stack_handlers calling handler at 0x5333d5 code=e06d7363
flags=1
0022:trace:seh:call_stack_handlers handler at 0x5333d5 returned 1
0022:trace:seh:call_stack_handlers calling handler at 0x535c6d code=e06d7363
flags=1
0022:trace:seh:call_stack_handlers handler at 0x535c6d returned 1
...
--- snip ---
MSDN: https://msdn.microsoft.com/en-us/library/cc230374.aspx ("SDDL -> 2.5.1.1
Syntax")
--- quote ---
SDDL alias | Well-Known SID name
...
"OW" | OWNER_RIGHTS
...
--- quote ---
--- quote ---
SID: S-1-3-4 Name: Owner Rights
Description: A group that represents the current owner of the object. When an
ACE that carries this SID is applied to an object, the system ignores the
implicit READ_CONTROL and WRITE_DAC permissions for the object owner.
--- quote ---
$ sha1sum Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
ddf02801b54227849886ef9a2767a1155f87a9ef
Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
$ du -sh Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
1.1M Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
$ wine --version
wine-1.7.53-156-gf8d78b0
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.