Error every time I change wine version (rundll32.exe)

Questions about Wine on Linux
Locked
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Error every time I change wine version (rundll32.exe)

Post by lcrndrrr »

I get an error every time I execute a program with another wine version, and it´s very annoying when using Lutris or some wine manager.
The error is related to the wine prefix, since with a new prefix it does not happen, but I can´t use another prefix because I have a lot of configurations in this profile, so I would like to solve the error instead of just using another prefix.
The error is not critical, it´s just a warning and wine works perfectly after closing the error message box, but it´s still annoying.

The error says: "rundll32.exe - This application could not be started." and I get this log before closing the error:

Code: Select all

002c:fixme:winediag:LdrInitializeThunk wine-staging 6.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"dgpservice" failed to start: 2
00c4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00c4:fixme:ntdll:NtQuerySystemInformation (0x00000007,0x10c978,0x00000018,0x31c5c0) stub
00c4:fixme:ntdll:NtQuerySystemInformation (0x00000050,0x10c978,0x000000a8,0x31c5c0) stub
00c4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_CACHE_INFORMATION
00c4:fixme:ntdll:NtQuerySystemInformation (0x00000021,0x10cb00,0x00000010,0x31c5c0) stub
00c4:fixme:ntdll:NtQuerySystemInformation (0x0000002d,0x10cb00,0x00000020,0x31c5c0) stub
00c4:fixme:ntdll:NtQuerySystemInformation (0x0000003d,0x10cb18,0x00000a58,0x31c5c0) stub
00c4:fixme:ntdll:NtQuerySystemInformation (0x00000012,0x10cb18,0x00000a58,0x31c5c0) stub
00c4:fixme:ntdll:NtQuerySystemInformation (0x0000002a,0x10cb30,0x00000a40,0x31c5c0) stub
00c4:fixme:ntdll:EtwEventRegister ({968f313b-097f-4e09-9cdd-bc62692d138b}, 000007FF7B4129DC, 000007FF7B56F918, 000007FF7B56F910) stub.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:reg:RegQueryInfoKeyW security argument not supported.
00c4:fixme:heap:RtlSetHeapInformation 0000000000E30000 0 000000000031CF20 4 stub
00c4:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 0000000180023270, 000000018009CA40, 000000018009CA60) stub.
00c4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001800725B7, 28) stub
and this after closing it:

Code: Select all

0120:err:module:process_init L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" not found
0050:fixme:service:delayed_autostart_callback Delayed auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 126
0128:err:module:process_init L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe" not found
0050:fixme:service:delayed_autostart_callback Delayed auto-start service L"clr_optimization_v4.0.30319_64" failed to start: 126
wine: Read access denied for device L"\\??\\O:\\", FS volume label and serial are not available.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
0130:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x13691e0, context 0x846f50, init_notify 0, handle 0x691fa60): stub
00c4:fixme:ntdll:EtwEventRegister ({f404b94e-27e0-4384-bfe8-1d8d390b0aa3}, 000007FF385DCE74, 000007FF3861F800, 000007FF3861F118) stub.
00c4:fixme:ntdll:EtwEventRegister ({bc97b970-d001-482f-8745-b8d7d5759f99}, 000007FF385DCE74, 000007FF3861F7D0, 000007FF3861F110) stub.
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:reg:RegDisableReflectionKey 000000000000025C: stub
00c4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00c4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00c4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
00c4:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
018c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
018c:fixme:ntdll:NtQuerySystemInformation (0x00000007,0x5057a8,0x00000018,0x72cc88) stub
018c:fixme:ntdll:NtQuerySystemInformation (0x00000050,0x5057a8,0x00000054,0x72cc88) stub
018c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_CACHE_INFORMATION
018c:fixme:ntdll:NtQuerySystemInformation (0x00000021,0x505910,0x00000010,0x72cc88) stub
018c:fixme:ntdll:NtQuerySystemInformation (0x0000002d,0x505910,0x00000020,0x72cc88) stub
018c:fixme:ntdll:NtQuerySystemInformation (0x0000003d,0x505928,0x00000a90,0x72cc88) stub
018c:fixme:ntdll:NtQuerySystemInformation (0x00000012,0x505928,0x00000a90,0x72cc88) stub
018c:fixme:ntdll:NtQuerySystemInformation (0x0000002a,0x505940,0x00000a78,0x72cc88) stub
018c:fixme:ntdll:EtwEventRegister ({968f313b-097f-4e09-9cdd-bc62692d138b}, 76014479, 76136520, 76136278) stub.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 1002A1A0, 10082460, 10082478) stub.
018c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 10003241, 28) stub
After that I get this:

Code: Select all

018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:reg:RegQueryInfoKeyW security argument not supported.
018c:fixme:ntdll:EtwEventRegister ({319dc449-ada5-50f7-428e-957db6791668}, 1002A1A0, 10082460, 10082478) stub.
018c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 10003241, 28) stub
0194:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x1439460, context 0xb08898, init_notify 0, handle 0x75bfde0): stub
018c:fixme:ntdll:EtwEventRegister ({f404b94e-27e0-4384-bfe8-1d8d390b0aa3}, 0FDD4DF9, 0FDFDBD0, 0FDFDBC8) stub.
018c:fixme:ntdll:EtwEventRegister ({bc97b970-d001-482f-8745-b8d7d5759f99}, 0FDD4DF9, 0FDFDCB0, 0FDFDCA8) stub.
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:reg:RegDisableReflectionKey 0000025C: stub
018c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
018c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
018c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
018c:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
wine: configuration in L"/home/ruben/.wine" has been updated.
Any advise? what should I try? I already tried replacing the file rundll32.exe with other file from a new prefix and the same with the .reg files, but it didn´t work.
fargodwe

Re: Error every time I change wine version (rundll32.exe)

Post by fargodwe »

Is it a 32-bit or 64-bit prefix?
What version of .NET did you install?
What is the Windows version set to?
What is the program?
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Error every time I change wine version (rundll32.exe)

Post by spoon0042 »

Possibly there is some service or something failing, you can try running with WINEDEBUG=+rundll32 which may give a hint as to which.

There is also https://bugs.winehq.org/show_bug.cgi?id=41727 but since you didn't mention .net that probably isn't it. Anyway situations like this are why it's suggested to use separate wineprefixes. :)
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Re: Error every time I change wine version (rundll32.exe)

Post by lcrndrrr »

Is it a 32-bit or 64-bit prefix?
64-bit
What version of .NET did you install?
About .NET I have this installed:
Image
What is the Windows version set to?
Windows version is set to W10, but it also happens with other versions.
What is the program?
As I said, it happens every time I change wine version, with any program that I run after that, it could be winecfg for example. I run winecfg, then change to other wine version and run winecfg from that version and then the error appears after the message that says that the wine folder is being updated.
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Re: Error every time I change wine version (rundll32.exe)

Post by lcrndrrr »

spoon0042 wrote: Thu Jan 21, 2021 1:49 am Possibly there is some service or something failing, you can try running with WINEDEBUG=+rundll32 which may give a hint as to which.

There is also https://bugs.winehq.org/show_bug.cgi?id=41727 but since you didn't mention .net that probably isn't it. Anyway situations like this are why it's suggested to use separate wineprefixes. :)
I do have .NET installed, should I uninstall it? The problem in the link is not exactly the same but could be related.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Error every time I change wine version (rundll32.exe)

Post by spoon0042 »

Removing or reinstalling .net isn't recommended really. I think. Testing it just now it seems there's still some issue causing one or more popups on a version change.

You can try either or both of adding the relevant registry key or also installing dotnet20 with winetricks it looks like. Assuming .net is the issue anyway.
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Re: Error every time I change wine version (rundll32.exe)

Post by lcrndrrr »

You can try either or both of adding the relevant registry key or also installing dotnet20 with winetricks it looks like. Assuming .net is the issue anyway.
Why installing dotnet20 would be a solution if .NET is the problem?
And if I make a backup of the whole .wine folder I should be fine right? or should I backup something else before trying this?.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Error every time I change wine version (rundll32.exe)

Post by spoon0042 »

It's something to do with how different .net versions interact. Or something like that, the bug report has more detail but the popup only happens if you have some 4.x version installed without an earlier version as well.

You can certainly backup .wine if you're worried about messing things up, yes. With the exception that by default things like 'My Documents' link to ~/Documents but that isn't likely to cause problems.
lcrndrrr
Level 2
Level 2
Posts: 31
Joined: Thu Jun 13, 2019 10:54 am

Re: Error every time I change wine version (rundll32.exe)

Post by lcrndrrr »

wow that was easy, it´s solved by installing dotnet20, thank you so much!.
Locked