It is currently December 13th, 2018, 2:35 pm

Rainmeter crash 4.1 Final Release

Report bugs with the Rainmeter application and suggest features.
User avatar
TrueSalt
Posts: 5
Joined: November 7th, 2017, 7:47 am

Rainmeter crash 4.1 Final Release

TrueSalt » November 7th, 2017, 7:58 am

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.
You do not have the required permissions to view the files attached to this post.
User avatar
Brian
Developer
Posts: 1793
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter crash 4.1 Final Release

Brian » November 7th, 2017, 8:29 am

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
TrueSalt
Posts: 5
Joined: November 7th, 2017, 7:47 am

Re: Rainmeter crash 4.1 Final Release

TrueSalt » November 7th, 2017, 9:07 am

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
Brian
Developer
Posts: 1793
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Rainmeter crash 4.1 Final Release

Brian » November 7th, 2017, 2:53 pm

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
jsmorley
Developer
Posts: 18491
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Rainmeter crash 4.1 Final Release

jsmorley » November 7th, 2017, 2:56 pm

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
TrueSalt
Posts: 5
Joined: November 7th, 2017, 7:47 am

Re: Rainmeter crash 4.1 Final Release

TrueSalt » November 8th, 2017, 12:00 pm

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.
dheatherly
Posts: 2
Joined: December 1st, 2017, 1:42 am

Re: Rainmeter crash 4.1 Final Release

dheatherly » December 1st, 2017, 1:47 am

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
tjhrulz
Developer
Posts: 223
Joined: October 13th, 2016, 1:28 am
Location: Earth

Re: Rainmeter crash 4.1 Final Release

tjhrulz » December 1st, 2017, 3:22 am

It is a bug we fixed in 4.2, download that instead.
webbo
Posts: 3
Joined: December 21st, 2017, 9:24 am

Re: Rainmeter crash 4.1 Final Release

webbo » December 21st, 2017, 9:38 am

Hi there, I'm from Italy
I'm following this reply to ask you help about the crash in my windows 7 pro
the crash occurs as soon as you start rainmeter, if I close the error window and restart it, the crash repeats it
I also tried to install 4.2 beta but I get the same negative result

do you have any idea ?

i'm attaching the DMP file
https://mega.nz/#!97BXiCiQ

sorry for my bad english
thank you
User avatar
dvo
Posts: 538
Joined: February 7th, 2016, 6:08 am

Re: Rainmeter crash 4.1 Final Release

dvo » December 21st, 2017, 11:22 am

without a code we can't download it sorry :17what