Rainmeter crash 4.1 Final Release

Report bugs with the Rainmeter application and suggest features.
User avatar

Rainmeter crash 4.1 Final Release

November 7th, 2017, 7:58 am
TrueSalt
   [5 posts]

Rainmeter seems to crash when trying to run my skin. It has never done this until I installed the current 4.1 update. Now upon trying to use my skin, which in all honesty isn't even fully done yet, it crashes. Even just the hover events cause it to crash. I don't know if maybe it is because of an outdated method of doing these things or if it is due to some problem in the latest build. If anyone would be willing to look over the code and see if it maybe just something that I have done wrong, that would be great. Also, everything in the skin still does what it is supposed to, it just crashes after a short span of time... Like within seconds of use.
Attachments
Custom.zip
The skin that keeps on crashing.
(457.53 KiB) Downloaded 8 times
User avatar

Re: Rainmeter crash 4.1 Final Release

November 7th, 2017, 8:29 am
Brian
Developer   [1591 posts]

Thanks for reporting. This issue has been fixed for the next beta (or possible release).

This seems to be caused when referencing a non-existent variable as bang sequence in a action. In your case, the FileSystem meter uses a variable as a bang sequence MouseLeaveAction=#BtnLeave#, however, #BtnLeave# is not defined. This caused an endless loop which eventually crashed Rainmeter.

-Brian
User avatar

Re: Rainmeter crash 4.1 Final Release

November 7th, 2017, 9:07 am
TrueSalt
   [5 posts]

Brian wrote:Thanks for reporting. This issue has been fixed for the next beta (or possible release).

This seems to be caused when referencing a non-existent variable as bang sequence in a action. In your case, the FileSystem meter uses a variable as a bang sequence MouseLeaveAction=#BtnLeave#, however, #BtnLeave# is not defined. This caused an endless loop which eventually crashed Rainmeter.

-Brian

So is this something that can be fixed without breaking the system that I am using? The way this works is it closes the FileSystem section that is opened upon clicking on the folder when the user clicks off of it. It has been a while since I have done that, so I can't quite remember how I got that to work or where I found the info for it. You are right that removing it fixes the crash, but it also breaks that key mechanic. If there is a more stable way to do that, I would very much like to know. Thanks for the fast reply!
User avatar

Re: Rainmeter crash 4.1 Final Release

November 7th, 2017, 2:53 pm
Brian
Developer   [1591 posts]

TrueSalt wrote:but it also breaks that key mechanic.
I am not following. The variable #BtnLeave# is not defined anywhere, so how can removing that line "break" anything with your skin?


You can certainly leave that code in there and just define the variable #BtnLeave#, and it should work just fine.

Code: Select all

[Variables]
BtnLeave=!Log "You left me!"
Obviously you want to use your own bang.

-Brian
User avatar

Re: Rainmeter crash 4.1 Final Release

November 7th, 2017, 2:56 pm
jsmorley
Developer   [16405 posts]

Brian wrote:I am not following. The variable #BtnLeave# is not defined anywhere, so how can removing that line "break" anything with your skin?


You can certainly leave that code in there and just define the variable #BtnLeave#, and it should work just fine.

Code: Select all

[Variables]
BtnLeave=!Log "You left me!"
Obviously you want to use your own bang.

-Brian


Or you can define it as a null action initially, I assume you are going to be setting it to something else dynamically elsewhere in the skin, or why have it at all?

Code: Select all

[Variables]
BtnLeave=[]
User avatar

Re: Rainmeter crash 4.1 Final Release

November 8th, 2017, 12:00 pm
TrueSalt
   [5 posts]

jsmorley wrote:Or you can define it as a null action initially, I assume you are going to be setting it to something else dynamically elsewhere in the skin, or why have it at all?

Code: Select all

[Variables]
BtnLeave=[]

That worked flawlessly. I can't remember if this is how it worked exactly, but I was using the empty variable of BtnLeave to test for if the user click off of a specific area on the skin. If they did, then it would close that little popup menu, if not then it would stay open and continue to function as normal. The skin is being made to replicate that of an extension to the windows task bar. Everything from style to functionality. Though I have thrown my own touches in.

Re: Rainmeter crash 4.1 Final Release

December 1st, 2017, 1:47 am
dheatherly
   [2 posts]

Rainmeter has simply stopped working. It locked up my computer and after the reboot it crashes immediately on boot simply telling me it has stopped working. I uninstalled it and redid a base install with just the final version. Runs for about 5 minutes and then crashes. Then back to the crash on boot again. Running Wind 10 with all the latest patches installed.

Any thoughts?
User avatar

Re: Rainmeter crash 4.1 Final Release

December 1st, 2017, 3:22 am
tjhrulz
Developer   [95 posts]

It is a bug we fixed in 4.2, download that instead.

Return to “Bugs & Feature Suggestions”



Who is online

Users browsing this forum: No registered users and 2 guests