Page 1 of 2

[BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 8:24 pm
by circcc
OS: windows 7 x86

I installed new Rainmeter 4.5.12.3616, and Rainmter is crashed in all skins that use the UsageMonitor plug-in . Previous versions do not have this problem. I test it with clean install.

sample:

Code: Select all

[MeasureTopRAMUsage1]
Measure=Plugin
Plugin=UsageMonitor
Alias=RAM
Index=1

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 8:30 pm
by jsmorley
circcc wrote: March 2nd, 2022, 8:24 pm OS: windows 7 x86

I installed new Rainmeter 4.5.12.3616, and Rainmter is crashed in all skins that use the UsageMonitor plug-in . Previous versions do not have this problem. I test it with clean install.

sample:

Code: Select all

[MeasureTopRAMUsage1]
Measure=Plugin
Plugin=UsageMonitor
Alias=RAM
Index=1
Try these:

https://forum.rainmeter.net/viewtopic.php?t=23156

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 8:41 pm
by SilverAzide
circcc wrote: March 2nd, 2022, 8:24 pm I installed new Rainmeter 4.5.12.3616, and Rainmter is crashed in all skins that use the UsageMonitor plug-in . Previous versions do not have this problem. I test it with clean install.
My skins use enormous numbers of UsageMonitor measures and they are all working fine with 4.5.12. I do not have a 32-bit Win 7 environment like yours to test with, but my guess is the problem is most likely on your end.

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 8:49 pm
by circcc
jsmorley wrote: March 2nd, 2022, 8:30 pm Try these:

https://forum.rainmeter.net/viewtopic.php?t=23156
It doesn't help.
Rainmeter 4.5.12.3616 with that test skin(UsageMonitor section) have the same problem.
It seems new Rainmeter bug, not my system.

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 8:52 pm
by circcc
SilverAzide wrote: March 2nd, 2022, 8:41 pm My skins use enormous numbers of UsageMonitor measures and they are all working fine with 4.5.12. I do not have a 32-bit Win 7 environment like yours to test with, but my guess is the problem is most likely on your end.
Then, I think It is only windows 7 x86 problem.

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 8:53 pm
by jsmorley
circcc wrote: March 2nd, 2022, 8:52 pm Then, I think It is only windows 7 x86 problem.
We are on it...

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 9:14 pm
by Brian
@circcc

I think I see the problem. Could you open the Rainmeter.exe.config (it's in Program Files\Rainmeter folder) in a text editor, and remove the sku= field?

So, after removing the sku, the file should look like this:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<startup useLegacyV2RuntimeActivationPolicy="true">
		<supportedRuntime version="v4.0" />
		<supportedRuntime version="v2.0.50727" />
	</startup>
</configuration>
Save the file, then restart Rainmeter.

Or you can try this test version:
https://builds.rainmeter.net/test_builds/Rainmeter-4.5.13.3617-prerelease.exe

-Brian

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 10:05 pm
by circcc
Brian wrote: March 2nd, 2022, 9:14 pm @circcc

I think I see the problem. Could you open the Rainmeter.exe.config (it's in Program Files\Rainmeter folder) in a text editor, and remove the sku= field?

So, after removing the sku, the file should look like this:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<startup useLegacyV2RuntimeActivationPolicy="true">
		<supportedRuntime version="v4.0" />
		<supportedRuntime version="v2.0.50727" />
	</startup>
</configuration>
Save the file, then restart Rainmeter.

Or you can try this test version:
https://builds.rainmeter.net/test_builds/Rainmeter-4.5.13.3617-prerelease.exe

-Brian
not working.
(FYI, .NETFramework 2.0,3.0,3.5 is installed, but, 4.x is not installed on my system)

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 10:26 pm
by Brian
EDIT:
I just saw your edit. Well, the answer is to install a newer version of .NET. See the link below.



Well, I have no idea unless you do not have any modern .NET version installed on your machine.

I can only replicate your issue on 32-bit Windows 7 (without the Rainmeter.exe.config changes). 64-bit Windows 7 seems to work fine.
After fixing the Rainmeter.exe.config file, the issue goes away for me.

Windows 7 Service Pack 1 is supposed to come with .NET 4.7 (I believe).

Current ISO downloads of Windows 7 32-bit come with the following .NET versions:

Code: Select all

2.0.50727.5420 Service Pack 2
3.0.30729.5420 Service Pack 2
3.5.30729.5420 Service Pack 1
4.0.0.0
4.7.02053
Current ISO downloads of Windows 7 64-bit come with the following .NET versions:

Code: Select all

2.0.50727.5420 Service Pack 2
3.0.30729.5420 Service Pack 2
3.5.30729.5420 Service Pack 1
4.0.0.0
4.7.03062
Versions retrieved using this tool: https://github.com/jmalarcon/DotNetVersions/releases

Slight various on the version number, but the .exe.config file should force the use of "older" versions.

I guess you could try downloading .NET 4.7.1 and see if that helps:
https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net471-web-installer

-Brian

Re: [BUG] Rainmeter 4.5.12.3616 crash with UsageMonitor Plugin skins

Posted: March 2nd, 2022, 11:04 pm
by circcc
I installed .NET 4.8.
Rainmeter 4.5.12.3616 is working now. Rainmeter.exe.config edit doesn't need.
Thanks.