http://bugs.winehq.org/show_bug.cgi?id=21930
Summary: Free Ghost installer crashes during project building
in console
Product: Wine
Version: 1.1.39
Platform: x86
URL: http://www.ethalone.com/download/gi/GIFree.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ariafan(a)mail.ru
Created an attachment (id=26619)
--> (http://bugs.winehq.org/attachment.cgi?id=26619)
Test installation project
Try in console
wineconsole "c:\program files\Ethalone\Ghost Installer\Bin\GIBuild.exe"
test.gpr
Message is appeared during project building:
fixme:msvcrt:MSVCRT__sopen : pmode 0x81b6 ignored
and later
err:seh:setup_exception_record stack overflow 860 bytes in thread 003f eip
00406df5 esp 00240fd4 stack 0x240000-0x241000-0x340000
testsetup.exe was not created.
See test.gpr in attachment.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=22176
Summary: Rocket Reader 8.3 fails to install
Product: Wine
Version: 1.1.16
Platform: x86
URL: ftp://rocketreader.com/rocketreaderv83.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: lukasz.wojnilowicz(a)gmail.com
CC: julliard(a)winehq.org
Created an attachment (id=27054)
--> (http://bugs.winehq.org/attachment.cgi?id=27054)
WINEDEBUG=+relay on Wine 1.1.41-72-ge9be1b4
At installation, around 75%, the program displays an error (Error changing
registry data), after that it deletes all what it has installed. This error
doesn't appear on Wine 1.1.15 so it's regression. Regression test did give
1c91d54503f9b2afa513dc4dd79bf19bc9bad51a is the first bad commit
commit 1c91d54503f9b2afa513dc4dd79bf19bc9bad51a
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Feb 18 14:44:17 2009 +0100
msvcrt: Don't try to duplicate invalid handles. Don't reset std handles if
we didn't set them.
:040000 040000 2abf5f9a82de1d29b1fccadc658fc3a956388ac4
86464380dfe4aca4c5c11ea2a539a1fc5def03b8 M dlls
Reverting this fault patch enables me to install Rocket Reader.
The program doesn't install on wine 1.1.41. In terminal there is
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program
Files\\RocketReaderV83\\french.qmc") stub
I'm attaching terminal output with +relay
--
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.
http://bugs.winehq.org/show_bug.cgi?id=27478
Summary: wordview_zh-cn.exe crash
Product: Wine
Version: 1.3.21
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: fracting(a)gmail.com
Created an attachment (id=35133)
--> (http://bugs.winehq.org/attachment.cgi?id=35133)
Log: start wordview_zh-cn.exe
1. Download wordview_zh-cn.exe from
http://www.microsoft.com/downloads/zh-cn/confirmation.aspx?displaylang=zh-c…
wget --referer=http://www.microsoft.com
http://download.microsoft.com/download/3/a/c/3ac87e64-8099-46d6-8e04-363d2d…
2. start the installer with wine
$ wine Wine/wordview_zh-cn.exe &> wordview_zh-cn.log
then the installer will crash.
See attachment for full log
Backtrace:
=>0 0x492cccb9 cabinet_seek_stream+0x19(hf=0, dist=0, seektype=0x1)
[/build/buildd/wine1.3-1.3.21/dlls/msi/media.c:280] in msi (0x003292a4)
1 0x360ac2b5 FDI_read_entries+0x54(fdi=0x556190, hf=0, pfdici=0x329438,
pmii=0x5902f4) [/build/buildd/wine1.3-1.3.21/dlls/cabinet/fdi.c:466] in cabinet
(0x003293a4)
2 0x360b01eb FDICopy+0x23a(hfdi=0x556190, pszCabinet="<STREAM>",
pszCabPath=0x0(nil), flags=0, pfnfdin=0x492ce170, pfnfdid=(nil),
pvUser=0x329688) [/build/buildd/wine1.3-1.3.21/dlls/cabinet/fdi.c:2535] in
cabinet (0x003295b4)
3 0x492cebb7 msi_cabextract+0x456(package=0x529480, mi=0x555e10,
data=0x329688) [/build/buildd/wine1.3-1.3.21/dlls/msi/media.c:632] in msi
(0x00329624)
--
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=38836
Bug ID: 38836
Summary: PunkBuster 'PnkBstrB' service exits with failure
('StartService' must wait for driver service entry
point execution before return)
Product: Wine
Version: 1.7.46
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: programs
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
found during investigation of bug 38820 (albeit unrelated).
The PunkBuster service test tool 'pbsvc.exe' writes a failure during test of
the services into log files.
--- snip ---
$ ls -1sh .wine/drive_c/windows/system32/LogFiles/PunkBuster/
total 12K
4.0K pbsvc.log
4.0K PnkBstrA.log
4.0K PnkBstrB.log
--- snip ---
'pbsvc.log':
--- snip ---
Starting PunkBuster Service Installer (v0.994) (06/29/15 20:45:01)
Windows XP (build 2600, Service Pack 3) 32-bit
Checking user is Administrator OK
Checking Administrator privileges OK
Opening Service Control Manager OK
Searching for PnkBstrA None Found - OK
Extracting PnkBstrA service OK
Verifying service authenticity OK
Installing PunkBuster service OK
Installed at "C:\windows\system32\PnkBstrA.exe"
serviceInstallFile does exist
Checking PunkBuster service status STOPPED
Starting PunkBuster service OK
Adding firewall rule for PnkBstrA OK
Adding firewall rule for PnkBstrB OK
Installation Finished.
Please click "Next" to test the PunkBuster services.Starting PunkBuster Service
Tests (v0.994) (06/29/15 20:45:09)
Checking OS
Windows XP (build 2600, Service Pack 3) 32-bit
Checking PnkBstrA service status RUNNING
Checking PnkBstrA Version OK (1041)
Extracting "PnkBstrB.exe" to:
"C:\users\focht\Application Data\PnkBstrB.exe"
OK
Checking firewall settings OFF
Checking if PnkBstrB is running NOT RUNNING
Getting port for PnkBstrA OK (44301)
Opening socket for packet send OK
Sending version packet to PnkBstrA SENT
Receiving version from PnkBstrA OK
Received 6 bytes from 127.0.0.1:44301
Response = 7064 (ms) Version = v1041
Getting PnkBstrB install instance NOT FOUND
Sending start packet to PnkBstrA SENT
Waiting for packet from PnkBstrA OK
Received 3 bytes from 127.0.0.1:44301
Response = 11087 (ms) PnkBstrB started.
Load SUCCESSFUL.
Watching for PnkBstrB instance change (0) CHANGED (1)
Getting port for PnkBstrB OK (45301)
Sending version packet to PnkBstrB SENT
Receiving version from PnkBstrB OK
Received 5 bytes from 127.0.0.1:45301
Response = 1 (ms) Version = 2333
Checking PnkBstrK driver status NOT FOUND
Extracting new PnkBstrK to:
"C:\users\focht\Application Data\PnkBstrK.sys"
OK
Sending load packet to PnkBstrB SENT
Checking PnkBstrK driver status NOT FOUND
Manually stopping PnkBstrB FAILED - no handle
Removing test PnkBstrB file OK
PnkBstrA.log: [06.29.2015 20:45:06] PnkBstrA v1041 Service Started
Successfully. This service is a component of the PunkBuster Anti-Cheat system.
Visit http://www.evenbalance.com for more information.
[06.29.2015 20:45:22] Attempting unload of pnkbstrb.
PnkBstrB.log: [06.29.2015 20:45:19] PnkBstrB v2.333 (BF4) Service Started
Successfully. This service is a component of the PunkBuster Anti-Cheat system.
Visit http://www.evenbalance.com for more information.
[06.29.2015 20:45:20] Attempting Component Load
[PnkBstrK][drivers\][PnkBstrK.sys]
[06.29.2015 20:45:21] Loaded and Started PnkBstrK
[06.29.2015 20:45:21] WARNING: CRITICAL ERROR: Failed to Register Service
(ffab)
[06.29.2015 20:45:22] PnkBstrB v2.333 (BF4) Service Attempting Unload (ffab).
This service is a component of the PunkBuster Anti-Cheat system. Visit
http://www.evenbalance.com for more information.
--- snip ---
Relevant part of trace log.
The main area of interest is how 'PnkBstrB' and 'PnkBstrK' services interact.
'PnkBstrA' service -> 'PnkBstrB' service -> 'PnkBstrK' kernel driver service.
--- snip ---
...
0009:trace:process:__wine_kernel_init starting process
name=L"Z:\\home\\focht\\Downloads\\pbsvc.exe"
argv[0]=L"Z:\\home\\focht\\Downloads\\pbsvc.exe"
...
0026:trace:service:service_handle_start L"PnkBstrA" argsize 10
...
0027:Starting thread proc 0x7ea8ded4 (arg=0x13bfc0)
0027:trace:service:service_thread 0x13bfc0
0027:Call advapi32.RegisterServiceCtrlHandlerA(0040d830 "PnkBstrA",00401782)
ret=00401993
...
0027:Call advapi32.CreateServiceA(0013da80,0040d2f4 "PnkBstrB",0040d2f4
"PnkBstrB",000f01ff,00000010,00000002,00000001,00410c00
"C:\\windows\\system32\\PnkBstrB.exe",00000000,00000000,00000000,00000000,00000000)
ret=004014cb
...
0027:Ret advapi32.CreateServiceA() retval=0013ef60 ret=004014cb
...
0016:Call KERNEL32.CreateProcessW(00000000,0011a460
L"C:\\windows\\system32\\PnkBstrB.exe",00000000,00000000,00000000,00000400,00540000,00000000,0084e4a4,0084e4e8)
ret=7ed5756f
...
0016:trace:process:create_process_impl starting
L"C:\\windows\\system32\\PnkBstrB.exe" as Win32 binary (0x400000-0x446000, arch
014c)
...
0034:Call KERNEL32.__wine_kernel_init() ret=7bc69749
...
0016:trace:process:create_process_impl started process pid 0033 tid 0034
0016:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7ed5756f
...
0034:Call advapi32.StartServiceCtrlDispatcherA(0033fd44) ret=00417033
...
0034:trace:service:service_run_main_thread Starting 1 services running as
process 51
...
0038:trace:service:service_control_dispatcher got request 1 for service
L"PnkBstrB"
...
0039:trace:service:service_thread 0x13bf08
...
0039:Call advapi32.SetServiceStatus(0013d208,0042a4e0) ret=00441731
0039:trace:service:SetServiceStatus 0x13d208 30 4 5 0 0 0 0
...
0016:trace:service:service_wait_for_startup Service started successfully
...
0027:Ret advapi32.StartServiceA() retval=00000001 ret=00401524
...
0039:trace:service:SERV_OpenServiceW returning (nil)
...
0039:Call KERNEL32.CreateFileA(004275b9 "C:\\users\\focht\\Application
Data\\PnkBstrK.sys",c0000000,00000003,0075d850,00000003,00000080,00000000)
ret=00420a9b
...
0039:Call wintrust.WinVerifyTrust(00000000,0075d174,0075d138) ret=00417317
...
0039:Ret wintrust.WinVerifyTrust() retval=00000000 ret=00417317
...
0039:Call
crypt32.CryptQueryObject(00000001,0042d3f0,00000400,00000002,00000000,0075d290,0075d28c,0075d294,0075d2d0,0075d2c8,00000000)
ret=0041791e
0039:Call KERNEL32.CreateFileW(0042d3f0 L"C:\\users\\focht\\Application
Data\\PnkBstrK.sys",80000000,00000001,00000000,00000003,00000080,00000000)
ret=7e5db1ec
0039:Ret KERNEL32.CreateFileW() retval=00000060 ret=7e5db1ec
...
0039:Call KERNEL32.CopyFileA(004275b9 "C:\\users\\focht\\Application
Data\\PnkBstrK.sys",00426600
"C:\\windows\\system32\\drivers\\PnkBstrK.sys",00000000) ret=00408184
0039:Ret KERNEL32.CopyFileA() retval=00000001 ret=00408184
...
0039:Call advapi32.CreateServiceA(0013d9b8,0075d980 "PnkBstrK",0075d980
"PnkBstrK",000f01ff,00000001,00000003,00000001,00426600
"C:\\windows\\system32\\drivers\\PnkBstrK.sys",00000000,00000000,00000000,00000000,00000000)
ret=0040829e
...
0016:trace:service:create_serviceW (L"PnkBstrK", L"PnkBstrK", 0xf01ff,
L"C:\\windows\\system32\\drivers\\PnkBstrK.sys")
...
0039:Call advapi32.OpenServiceA(0013d9b8,0075d980 "PnkBstrK",000f01ff)
ret=004082ca
...
0037:trace:service:svcctl_StartServiceW (0x11aaa8, 0, (nil))
...
0037:Call KERNEL32.CreateProcessW(00000000,0011ac88
L"C:\\windows\\system32\\winedevice.exe
PnkBstrK",00000000,00000000,00000000,00000400,00540000,00000000,00c4e4a4,00c4e4e8)
ret=7ed5756f
...
0037:trace:process:create_process_impl starting
L"C:\\windows\\system32\\winedevice.exe" as Win32 binary
(0x10000000-0x10003000, arch 014c, fakedll)
...
003d:Call KERNEL32.__wine_kernel_init() ret=7bc69749
...
0037:trace:process:create_process_impl started process pid 003c tid 003d
0037:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7ed5756f
...
003d:Call advapi32.StartServiceCtrlDispatcherW(0033fdd8) ret=7effced6
...
003d:trace:service:service_run_main_thread Starting 1 services running as
process 60
...
0040:trace:service:service_control_dispatcher got request 1 for service
L"PnkBstrK"
...
0041:Call advapi32.SetServiceStatus(0011aab0,0053e958) ret=7effcd1d
0041:trace:service:SetServiceStatus 0x11aab0 30 2 0 0 0 0 2710
...
0037:trace:service:service_wait_for_startup Service state changed to
SERVICE_START_PENDING
...
0039:Ret advapi32.StartServiceA() retval=00000001 ret=00408304
...
0039:Call advapi32.CloseServiceHandle(001421f0) ret=0040834e
...
0039:Call advapi32.CloseServiceHandle(0013d9b8) ret=00408353
...
0039:Ret advapi32.CloseServiceHandle() retval=00000001 ret=00408353
0039:Call KERNEL32.CreateFileA(004223f8
"\\\\.\\pnkbstrk_link",c0000000,00000001,00000000,00000003,00000000,00000000)
ret=0040aa02
0039:Ret KERNEL32.CreateFileA() retval=ffffffff ret=0040aa02
...
0041:trace:loaddll:load_native_dll Loaded
L"C:\\windows\\system32\\drivers\\PnkBstrK.sys" at 0x10000000: native
...
0041:Call driver init 0x100033e0
(obj=0x7efff4a0,str=L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\PnkBstrK")
...
0041:Call
ntoskrnl.exe.IoCreateDevice(7efff4a0,00000000,0053e61c,00009c40,00000000,00000000,0053e618)
ret=1000344e
0041:trace:ntoskrnl:IoCreateDevice (0x7efff4a0, 0, L"\\Device\\pnkbstrk",
40000, 0, 0, 0x53e618)
...
0041:Call ntoskrnl.exe.IoCreateSymbolicLink(1000a590,0053e61c) ret=10003476
0041:trace:ntoskrnl:IoCreateSymbolicLink L"\\DosDevices\\pnkbstrk_link" ->
L"\\Device\\pnkbstrk"
0041:Call ntdll.NtCreateSymbolicLinkObject(0053e5a4,000f0001,0053e58c,0053e61c)
ret=7eccf0a0
0041:Ret ntdll.NtCreateSymbolicLinkObject() retval=00000000 ret=7eccf0a0
0041:Ret ntoskrnl.exe.IoCreateSymbolicLink() retval=00000000 ret=10003476
0041:Ret driver init 0x100033e0
(obj=0x7efff4a0,str=L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\PnkBstrK")
retval=00000000
0041:Call advapi32.SetServiceStatus(0011aab0,0053e958) ret=7effcd50
0041:trace:service:SetServiceStatus 0x11aab0 30 4 5 0 0 0 2710
...
--- snip ---
'PnkBstrK' is extracted by the service maintenance app into a temp directory.
'PnkBstrB' service verifies the digital signature of the driver and requests
creation of the actual kernel service upon success.
There is a small time frame between service start call returning (state
'SERVICE_START_PENDING') and the driver service entry point being fully
executed (state 'SERVICE_RUNNING') which causes the harm here.
Immediately after the return from call to 'StartServiceA', 'PnkBstrB' service
tries to open '\\DosDevices\\pnkbstrk_link' which fails because the device
symlink is created in the driver entry point which is executing asynchronously.
MSDN:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms686321%28v=vs.85…
The 'remarks' section gives the hint:
--- quote ---
When a driver service is started, the StartService function does not return
until the device driver has finished initializing.
--- quote ---
Wine must follow this requirement.
$ sha1sum pbsvc.exe
06f372448af09dc1156d6710945936e028f2152a pbsvc.exe
$ du -sh pbsvc.exe
1.7M pbsvc.exe
$ wine --version
wine-1.7.46-43-g9353a36
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=30076
Bug #: 30076
Summary: .NET Framework 4.x with WinVer setting "Windows 7"
spams terminal with "LocaleNameToLCID/LCIDToLocaleName
unsupported flags 8000000"
(LOCALE_ALLOW_NEUTRAL_NAMES)
Product: Wine
Version: 1.4-rc6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
a minor one ...
When using .NET 4.x Framework in "Windows 7" mode (at least installer requires
this) the terminal is spammed with:
--- snip ---
$ wine ./hello.exe
...
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:nls:LCIDToLocaleName unsupported flags 8000000
Hello C# World :-)
--- snip ---
This due to LOCALE_ALLOW_NEUTRAL_NAMES (0x8000000) being passed to allow
returning neutral names/lcids for name.
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd318711%28v=vs.85%…
--- quote ---
Windows 7 and later: Can be set to LOCALE_ALLOW_NEUTRAL_NAMES to allow the
return of a neutral LCID.
--- quote ---
One could set to default "Windows XP" after installation but I'm not sure about
the side-effects.
Regards
--
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.
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=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=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.