http://bugs.winehq.org/show_bug.cgi?id=17161
Summary: Provide lodctr.exe tool to prevent misleading process
spawn failure console messages (.NET installers)
Product: Wine
Version: 1.1.13
Platform: Other
URL: http://www.microsoft.com/downloads/details.aspx?FamilyID
=262d25e3-f589-4842-8157-034d1e7cf3a3
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
a minor nuisance that can be easily fixed...
I had to add notes to .NET Framework appdb entries because people wrote about
messages which looked like install errors to them.
--- snip ---
wine: could not load L"C:\\windows\\system32\\lodctr.exe": Module not found
--- snip ---
Such failures are in fact harmless, not relevant to overall installer status.
"lodctr.exe" is a simple command line executable for loading performance data
into registry.
It is often called from .NET Framework v1.x, 2.x, 3.x installers.
MSDN info:
http://technet.microsoft.com/en-us/library/bb490926.aspxhttp://msdn.microsoft.com/en-us/library/aa934371.aspx
--- quote ---
The loading function of lodctr, LoadPerfCounterTextStrings, is declared in
Loadperf.h and exported from Loadperf.dll. You can call this function directly
from your install program.
The following example shows the syntax for this function.
LONG LoadPerfCounterTextStrings(
LPSTR lpCommandLine,
BOOL bQuietModeArg
);
The lpCommandLine parameter is the name of your .ini file.
The bQuietModeArg parameter is a Boolean value that specifies whether to
display output during the loading of the text strings for the counter.
--- quote ---
MSDN note suggests that this command line tool is only a thin wrapper which
simply calls LoadPerfCounterTextStrings() as workhorse, passing/forwarding the
command line as-is.
It should be easy to add this tool - even with LoadPerfCounterTextStringsA/W
being stubs - to silence installers which try to spawn it.
Typical installer logs:
--- snip ---
1: 0 2: C:\windows\system32\lodctr.exe
C:\windows\Microsoft.NET\Framework\v2.0.50727\_Networkingperfcounters.ini;18;C:\windows\system32\
3: 4: 5: 6: 7: 8: 9: 10:
Action 21:27:31: RunProcess. Installing Performance Counters for ".NET CLR
Networking"
...
--- snip ---
--- snip ---
...
1: 0 2: C:\windows\system32\lodctr.exe
"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\_TransactionBridgePerfCounters.ini";dummy;C:\windows\system32\ 3:
4: 5: 6: 7: 8: 9: 10:
1: C:\windows\system32\lodctr.exe
"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\_TransactionBridgePerfCounters.ini" 2:
1: 0 2: C:\windows\system32\lodctr.exe
"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\_TransactionBridgePerfCounters.ini";dummy;C:\windows\system32\ 3:
4: 5: 6: 7: 8: 9: 10:
1: 0 2: C:\windows\system32\lodctr.exe
"C:\windows\Microsoft.NET\Framework\v3.0\Windows Communication
Foundation\_TransactionBridgePerfCounters.ini";dummy;C:\windows\system32\ 3:
4: 5: 6: 7: 8: 9: 10:
...
--- snip ---
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=19741
Summary: Autodesk Revit 2010 (64bit) installation fails
Product: Wine
Version: 1.1.27
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: winehq(a)pi-xi.net
Created an attachment (id=23088)
--> (http://bugs.winehq.org/attachment.cgi?id=23088)
Wine console output during the installation
As with earlier versions of Revit, also 2010 installation fails.
Everything works up to the part where the installer begins copying files.
Unlike with the earlier versions, this time there's an unhandled exception.
--
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=16956
Summary: Lexware: Installation of .Net 2.0 SP 1 fails
Product: Wine
Version: 1.1.11
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: koesterreich(a)gmx.net
Created an attachment (id=18728)
--> (http://bugs.winehq.org/attachment.cgi?id=18728)
The error-message
I am trying to install Lexware financial office Pro 2009 [1]
I installed some stuff via winetricks-20081223:
winetricks msxml3 jet40 mdac28 dotnet20 winxp
The installation fails with
"An error occured during the installation of the component Microsoft .Net
Framework 2.0 - Service Pack 1.
Errorcode: 1603
Installation of 'Microsoft .Net Framework 2.0 - Service Pack 1' failed.
The setup will be cancelled." (Translated from German,, see appended
Screenshot)
[1] Lexware in AppDB:
http://appdb.winehq.org/objectManager.php?sClass=application&iId=5505
--
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=10376
Summary: recent winsock SO_REUSEADDR patch reveals parameter
handling problem in WS_setsockopt
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-net
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
seems recent winsock SO_REUSEADDR patch
--- snip ---
URL:
http://source.winehq.org/git/wine.git/?a=commit;h=58b030c270e68c4e130a7decb…
Author: Kai Blin <kai.blin <at> gmail.com>
Date: Sat Nov 3 08:45:12 2007 +0100
ws2_32: Map SO_REUSEADDR.
BSD socket SO_REUSEADDR is not a complete match, but features like
"allow binding to a port immediately after closing it" seem to be
compatible.
--- snip ---
triggers a code path in WS_setsockopt() which leads to crash.
The cause is an application bug.
EvenBalance PunkBuster "PnkBstrA" service which creates local communication
sockets accidentally passes the value instead of value address to
WS_setsockopt().
The services can be installed and tested with their "pbsvc.exe" tool from
http://www.evenbalance.com/downloads/pbsvc/pbsvc.exe
--- snip ---
..
0015:trace:winsock:WS_setsockopt socket: 005c, level 0xffff, name 0x4, ptr 0x1,
len 1
0015:trace:seh:raise_exception code=c0000005 flags=0 addr=0x76587df5
0015:trace:seh:raise_exception info[0]=00000000
0015:trace:seh:raise_exception info[1]=00000001
0015:trace:seh:raise_exception eax=00000001 ebx=7658e11c ecx=00000002
edx=00000004 esi=0000ffff edi=00000001
0015:trace:seh:raise_exception ebp=617c57a4 esp=617c574c cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00210293
0015:trace:seh:call_stack_handlers calling handler at 0x7bc38810 code=c0000005
flags=0
--- snip ---
Their source code snippet probably looks like this:
--- snip ---
if (setsockopt( sock, .., ..., (char*)value, value_len) != SOCKET_ERROR)
--- snip ---
Instead of this:
--- snip ---
if (setsockopt( sock, .., ..., (char*)&value, value_len) != SOCKET_ERROR)
--- snip ---
Micro$oft "fixes" such crappy^H^H^H^H^H^Hbuggy applications by using SEH to
catch invalid pointer dereferencing.
If you execute a hand-crafted WS_setsockopt() test case with invalid pointer
value in Windows you will see something like this:
--- snip ---
First-chance exception at 0x719b5280 (mswsock.dll) in test.exe: 0xC0000005:
Access violation reading location 0x00000001.
--- snip ---
Returned last error is WSAEFAULT (bad pointer value/address supplied).
Solution: either wrap the whole function within structured exception handler
(SEH) or use IsBadReadPtr() on passed pointer and return WSAEFAULT if fishy.
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12954
Summary: Autodesk Design Review - Not Installing
Product: Wine
Version: 0.9.59.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: chris(a)ncode.com.au
Created an attachment (id=12700)
--> (http://bugs.winehq.org/attachment.cgi?id=12700)
Wine command line output
This product is an industry standard for communication of CAD designs. It is
also freeware from Adobe and can be downloaded from here if needed for
debugging:
http://download.autodesk.com/esd/designreview/SetupDesignReview2009.exe
It does not install. After starting and all the installation questions have
been answered, the installer crashes (see output in attached file)
--
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=12999
Summary: 3d studio MAX 9 trial installer crash when starting up
RaySat service?
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://www.soft32.com/download_81704.html
OS/Version: other
Status: NEW
Keywords: download, Installer
Severity: normal
Priority: P2
Component: advapi32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
This seems to be the next problem after bug 12597:
rm -rf .wine
sh winetricks -q corefonts dotnet20 cc580 vcrun2003 vcrun6 wsh56
wine 3dsmax9Trial.exe
cd .wine/drive_c/3dsmax9Trial/
wine Setup.exe
aborts for me near the very end, saying
err:msi:ITERATE_StartService Failed to start service L"mi-raysat_3dsmax9_32"
err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned
1627
(even if you uncheck the "start raysat service" checkbox in the installer).
After that, starting wine, even with a bogus command, complains similarly:
$ wine-git/wine xyzzy
...
fixme:advapi:RegisterEventSourceA ((null),"RaySat_3dsmax9_32 Server"): stub
...
err:eventlog:ReportEventW L"(1458) RegisterServiceCtrlHandler: Service does not
exist (0x424)"
It seems that raysat_3dsmax9_32server.exe starts up, tries to do
trace:service:OpenServiceW 0x119d98 L"RaySat_3dsmax9_32Server" 32768
which fails, presumably because the service isn't up yet?
(Why isn't it doing CreateService? Perhaps it's probing
to make sure it's not already started up once. But if that's so, why
does it just exit without creating the service?)
--
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=12597
Summary: 3d studio MAX 9 trial installer crash
Product: Wine
Version: CVS/GIT
Platform: Other
URL: http://3dsmaxtrial.autodesk.com/3dsmax9trial/3dsmax9Tria
l.exe
OS/Version: other
Status: NEW
Keywords: download, Installer
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
The trial installer gets further now, but still crashes.
With today's wine from git, I did
rm -rf .wine
sh winetricks corefonts dotnet20 cc580 vcrun2003
wine 3dsmax9Trial.exe
cd .wine/drive_c/3dsmax9Trial/
wine Setup.exe
After about five minutes, it got to the dialog that asks
questions; after entering your name, etc, it crashed like this:
Unhandled exception: page fault on read access to 0x00000001 in 32-bit code
(0xb7e5f588).
Backtrace:
=>1 0xb7e5f588 vsnprintfW+0x458(str=0xb43a7a, len=0x64, format=0x7ec7c700,
valist=) [libs/wine/string.c:376] in libwine.so.1 (0x0033eb2c)
2 0x7ec4ec63 MSI_QueryGetRecord+0xa3(db=0x12e2f0, fmt=0x7ec7c700)
[dlls/msi/msiquery.c:224] in msi (0x0033eb6c)
3 0x7ec2c33e msi_dialog_seltree_handler+0x6e(dialog=0xac8e68,
control=0x3a30620, param=) [dlls/msi/dialog.c:2073] in msi (0x0033eb9c)
4 0x7ec2f09b MSIDialog_WndProc+0x1db(hwnd=0xa0042, msg=0x4e, wParam=0x0,
lParam=0x33ef2c) [dlls/msi/dialog.c:3362] in msi (0x0033ecbc)
...
376 while (*striter)
--
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=11420
Summary: service control manager API problem: name of named
objects might differ (client vs. service process)
Product: Wine
Version: 0.9.54.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: advapi32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Created an attachment (id=10552)
--> (http://bugs.winehq.org/attachment.cgi?id=10552)
patch which fixes client vs. service SCM API when using named objects
Hello,
there seems to be a misconception in usage of names for named objects in
service control manager API.
Some people might have experienced such situation: wine hangs for several
seconds on startup (when starting services).
I usually disabled autostart type services (except for builtin ones) and the
problems went away.
Lately while fixing Microsoft Visual Studio .NET installers (2002/2003/2005)
this problem became more and more annoying because the installers and VS.NET
depend on some services, namely "debug manager" (service has to be running).
Consider the following snippet with "service_get_event_handle" trace message
added by me to highlight the problem:
0x9: client (net.exe)
0x11: service process (mdm.exe)
0x12: dispatcher thread
--- snip trace ---
..
0009:trace:advapi:OpenSCManagerW ((null),(null),0x000f003f)
0009:trace:advapi:sc_handle_alloc sc_handle type=0 -> 0x121450
0009:trace:advapi:OpenSCManagerW returning 0x121450 (access : 0x000f003f)
0009:trace:advapi:OpenServiceA 0x121450 "mdm" 983103
0009:trace:advapi:OpenServiceW 0x121450 L"mdm" 983103
0009:trace:advapi:sc_handle_alloc sc_handle type=1 -> 0x121488
0009:trace:advapi:OpenServiceW returning 0x121488
0009:trace:advapi:GetServiceDisplayNameA 0x121450 "mdm" 0x34ee48 0x34fe48
0009:trace:advapi:GetServiceDisplayNameW 0x121450 L"mdm" 0x1214b8 0x34ee08
The Machine Debug Manager service is starting.
0009:trace:advapi:StartServiceA (0x121488,0,(nil))
0009:trace:advapi:StartServiceW 0x121488 0 (nil)
0009:trace:advapi:LockServiceDatabase 0x121450
0009:trace:advapi:LockServiceDatabase returning 0x3c
0009:trace:advapi:service_start_process service_get_event_handle(L"mdm"): 0x40
0011:trace:advapi:LookupPrivilegeValueW L"",L"SeDebugPrivilege",0x34fc80
0011:trace:advapi:LookupPrivilegeValueW L"" -> 00000000-00000014
0011:trace:advapi:AdjustTokenPrivileges
0011:trace:advapi:StartServiceCtrlDispatcherA 0x34fc9c
0011:trace:advapi:service_run_threads Starting 1 pipe listener threads.
Services running as process 16
0012:trace:advapi:service_control_dispatcher 0x121ea8 L"Machine Debug Manager"
0012:trace:advapi:service_control_dispatcher service_get_event_handle(L"Machine
Debug Manager"): 0x48
0009:trace:advapi:UnlockServiceDatabase 0x3c
0009:trace:advapi:StartServiceW returning 0
The Machine Debug Manager service failed to start.
0009:trace:advapi:CloseServiceHandle 0x121488
0009:trace:advapi:sc_handle_destroy_service destroying service 0x121488
0009:trace:advapi:CloseServiceHandle 0x121450
0009:trace:advapi:sc_handle_destroy_manager destroying SC Manager 0x121450
000d:trace:advapi:service_run_threads last user process exited, shutting down
0011:trace:advapi:service_run_threads last user process exited, shutting down
--- snip trace ---
When a service is started, named objects are created to internally communicate
data/events from the service process (dispatcher) to client side SCM API and
vice versa.
Unfortunately there exist service proccesses which pass service names to
dispatcher table (StartServiceCtrlDispatcher) not matching the service name on
the client side (registry "Services" key).
--- snip dlls/advapi32/service.c ---
static DWORD WINAPI service_control_dispatcher(LPVOID arg)
{
service_data *service = arg;
LPWSTR name;
HANDLE pipe, event;
TRACE("%p %s\n", service, debugstr_w(service->name));
/* create a pipe to talk to the rest of the world with */
name = service_get_pipe_name(service->name); <--------- *problem*!
pipe = CreateNamedPipeW(name, PIPE_ACCESS_DUPLEX,
PIPE_TYPE_BYTE|PIPE_WAIT, 1, 256, 256, 10000, NULL );
if (pipe==INVALID_HANDLE_VALUE)
ERR("failed to create pipe for %s, error = %d\n",
debugstr_w(service->name), GetLastError());
HeapFree(GetProcessHeap(), 0, name);
/* let the process who started us know we've tried to create a pipe */
event = service_get_event_handle(service->name); <--------- *problem*!
SetEvent(event);
CloseHandle(event);
..
--- snip dlls/advapi32/service.c ---
As result, different named objects are created and signaled so the client side
can't communicate with the service side using named pipe and events.
This leads to infamous timeout problem (30 sec) and service startup failing.
In case of Microsoft Debug Manager the service is called "mdm" (registry).
The service process itself passes "Microsoft Debug Manager" as name to dispatch
table (see first trace).
Problem: how can both sides communicate a "common" name for named objects?
The service dispatcher part on the service side has only dispatch table data
available which doesn't help much.
I thought about this problem and found a feasible solution ... well call it
"hack" whatever.
If the client side API passes the service name in one of the process startup
parameter members before process creation, the service process' dispatcher
routine is able to access this data and create the named objects used for
communication.
I (ab)used startupinfo "title" member because only wine itself make exclusive
use of most service process startup parameters.
If not considered safe, use reserved/undoc fields...
With that patch applied the services in question start fine and can be
controlled using "net" commands.
No more hangs ;-)
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=12079
Summary: VS.NET7.x/.NET SDK installers fail if re-executed due
to ACTION_StopServices being a stub
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msi
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
.NET Framework SDK, VS.NET 7.x. etc. install "helper" service(s) which get
automagically started.
The installers die if executed again (update/change config) because the running
service blocks file update.
--- snip ---
..
err:msi:ACTION_InstallFiles Failed to copy L"Z:\\mnt\\iso\\Program
Files\\Common Files\\Microsoft Shared\\VS7Debug\\msdbg2.dll" to L"c:\\Program
Files\\Common Files\\Microsoft Shared\\VS7Debug\\msdbg2.dll" (32)
err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned
1603
..
--- snip ---
James, if you find the time, please add "stop services" msi action
implementation (dlls/msi/action.c:ACTION_StopServices).
Although I have a patch, I constantly forget to apply it when tracking down
installer problems.
You could actually help to reduce my patch orgy :)
Thanks.
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=12390
Summary: err:service:service_control_dispatcher failed to create
pipe for L"C-Dilla_CdaC11BA", error = 231
Product: Wine
Version: 0.9.58.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: amaramrahul(a)gmail.com
"Longman Dictionary of Contemporary English" (ISBN 0 582 50673 5) gets
installed properly from CD-ROM using wine. However when I try to run it using
wine, I get the below error in console:
# wine "C:\Program Files\Longman\LDOCE\ldoce.exe"
err:service:service_control_dispatcher failed to create pipe for
L"C-Dilla_CdaC11BA", error = 231
err:service:service_control_dispatcher failed to create pipe for
L"C-Dilla_CdaC11BA", error = 231
Then a pop-up appears with the message:
"This machine must be re-booted before this product will run correctly. Reboot
now?".
Upon clicking "Yes"/"No", the program exits. I think this has to do something
with copyright. Not sure about this though.
--
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=14594
Summary: crypt32.CryptHashMessage needed for VS.NET 2005
(deployment project type creation)
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: crypt32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
using project wizard to create a "setup/deployment" project type (msi), it
bails due to unimpl crypt32.CryptHashMessage
--- snip ---
..
003f:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Microsoft Visual
Studio 8\\Common7\\Tools\\Deployment\\dpplg.dll" at 0x5d010000: native
003f:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Microsoft Visual
Studio 8\\Common7\\Tools\\Deployment\\1033\\dpplgui.dll" at 0x5d380000: native
003f:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Microsoft Visual
Studio 8\\Common7\\Tools\\Deployment\\dpedt.dll" at 0x5ce70000: native
003f:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Microsoft Visual
Studio 8\\VJ#\\bin\\vjsplg.dll" at 0x6ca90000: native
003f:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Microsoft Visual
Studio 8\\VJ#\\bin\\1033\\vjsplgui.dll" at 0x6cbc0000: native
003f:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b8432e0
003f:trace:seh:raise_exception info[0]=60b7f840
003f:trace:seh:raise_exception info[1]=60b7fa01
wine: Call from 0x7b8432e0 to unimplemented function
crypt32.dll.CryptHashMessage, aborting
003f:trace:seh:call_stack_handlers calling handler at 0x5cdea7c5 code=80000100
flags=1
003f:trace:seh:call_stack_handlers handler at 0x5cdea7c5 returned 1
003f:trace:seh:call_stack_handlers calling handler at 0x5cdf1732 code=80000100
flags=1
..
--- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/aa380203.aspx
--- stub test ---
031:Call
crypt32.CryptHashMessage(002fd208,00000001,00000001,002fd2e0,002fd2dc,002fd260,002fd248,002fd2f4,002fd2d8)
ret=5cdd6009
0031:fixme:crypt:CryptHashMessage (0x2fd208, 1, 1, 0x2fd2e0, 0x2fd2dc,
0x2fd260, 0x2fd248, 0x2fd2f4): stub
0031:Ret crypt32.CryptHashMessage() retval=00000000 ret=5cdd6009
--- stub test --
Simple stub seems to satisfy it.
For a better stub: MD5 is needed here, the supplied hash algorithm OID
(pHashPara.HashAlgorithm) is "1.2.840.113549.2.5"
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=14571
Summary: ole32.CoGetCallerTID needed for VS.NET 2005
Product: Wine
Version: CVS/GIT
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ole32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
keep the VS.NET 2005 IDE for ~10 secs open and it will crash due to this bug.
--- snip ---
0026:Call user32.InSendMessage() ret=500891c3
0026:Ret user32.InSendMessage() retval=00000000 ret=500891c3
0026:Call KERNEL32.RaiseException(80000100,00000001,00000002,0032f618)
ret=608a4d85
0026:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b8432e0
0026:trace:seh:raise_exception info[0]=608a4e20
0026:trace:seh:raise_exception info[1]=608a4e2a
wine: Call from 0x7b8432e0 to unimplemented function ole32.dll.CoGetCallerTID,
aborting
0026:trace:seh:call_stack_handlers calling handler at 0x506a8ab0 code=80000100
flags=1
--- snip ---
MSDN info here: http://msdn.microsoft.com/en-us/library/ms680683(VS.85).aspx
Implementation is straight forward (minus remote), all the info is there.
I've already verified with a patch.
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=18500
Summary: ntdll.NtQueryInformationProcess: provide simple
ProcessDebugObjectHandle info class handling,
returning "no debugger"
Product: Wine
Version: 1.1.21
Platform: Other
URL: http://www.exeinfo.go.pl/
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
this is a continuation of http://bugs.winehq.org/show_bug.cgi?id=12859#c7
The app queries for unimplemented "ProcessDebugObjectHandle" information class.
--- snip ---
...
0021:Call ntdll.NtSetInformationThread(fffffffe,00000011,00000000,00000000)
ret=004da0d5
0021:fixme:thread:NtSetInformationThread info class 17 not supported yet
0021:Ret ntdll.NtSetInformationThread() retval=c0000002 ret=004da0d5
0021:Call
0021:Call
ntdll.NtQueryInformationProcess(ffffffff,0000001e,c0000002,00000004,00000000)
ret=004da0e4
0021:fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented
information class: ProcessDebugObjectHandle
0021:Ret ntdll.NtQueryInformationProcess() retval=c0000003 ret=004da0e4
...
--- snip ---
Wine already fakes info for such kind of classes, returning "no debugger".
Have a look at dlls/ntdll/process.c:NtQueryInformationProcess, ProcessDebugPort
how it's done and provide simple patch.
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=12859
Summary: HideThreadFromDebugger in NtSetInformationThread
Product: Wine
Version: 0.9.60
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: readams(a)readams.net
Created an attachment (id=12555)
--> (http://bugs.winehq.org/attachment.cgi?id=12555)
Add HideThreadFromDebugger to winternl.h and to NtSetInformationThread
This API exists in the windows NtSetInformationThread for some reason.
The sensible thing to do in wine here seems to be to just ignore this call.
Patch attached is against 0.9.60.
--
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=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.
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=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
CoInitializeEx() on thread entry and the reason why this works for native is
the so called implicit MTA.
Basically another thread in the process called CoInitializeEx(0,
COINIT_MULTITHREADED), which means that the thread which forgot to call
CoInitializeEx() 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 CoInitializeEx 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.