Rainlendar freezes, then closes after about a day

Hi.

Since v2.19.1 (b173), Rainlendar has started to freeze then unexpectedly quit after every 24-48 hours. When it runs, all is fine, but then after this timeframe the system tray icon is replaced with a blank space (see screen grab). When I right click on the tray icon, the menu that appears is blank. Then the application crashes.

I’ve attached the log file here:
https://pastebin.com/8gT2ta7J

You can see that all is normal until about line 2037, when there are lots of 'ASSERT’s.

My PC is running Windows 11 64 bit. I tried uninstalling completely and removing all data files, then reinstalling, but no change. Also installed on a different laptop (Win 10 64 bit) - same issue.

Any ideas?

Thanks,
Steve

Clipboard 1

1 Like

That’s a weird issue. Seems that all the images get invalidated for some reasons. Unfortunately I have no idea what could be causing this. I have not seen such myself or heard that anyone else has a similar problem (if someone has, please tell here).

Hmm. The other thing I should mention is that it seems to happen after the PC has been in hibernate mode. This may be a coincidence as I hibernate my computer at night and if it crashes after 24 hours or more, then it may have happened anyway (whether hibernated or not). Also, it doesn’t happen straight after waking up, but sometimes hours later.

OK - nothing to do with hibernate - it’s just done it again. This time it’s only been about 6 hours and the computer has been switched on the whole time.

Clipboard 2

I find that installing Rainlendar (or any other open source program) in a different directory (I created and use C:\Programs_OS) makes a lot of permission problems go away.

I’m having the same problem as the OP but on Windows 10 64bit. After a couple of days (approximately) the program will either close or when I right-click on the calendar, to create a new event, there is a white rectangle where the menu should be. Within a minute the program then crashes and closes.

I’ve been experiencing this behavior for many months. Prior to that the program was very stable.

I’m also running it on an older computer, running Windows 10, and have no problems at all.

Yeah - I have tried everything. And still I have the same issue, with the same ASSERT log entries.

I have tried:

  • completely uninstalling Rainlendar, including data files, registry entries, etc and re-installing
  • installing on another laptop from scratch
  • installing in a folder in my C:\Users… profile as suggested earlier
  • deleting my ini files and recreating them within a fresh installation using the settings
  • removing all my Google calendar accounts and re-adding them + reauthenticating

I’m pretty sure it’s to do with the Shadow4 skin, but can’t get any more than that.

This is the most common log entry once it starts to go wrong:
“invalid bitmap in wxInvertMask”

smd100, I’m using the Chromophore v1.7 skin so maybe the problem lies elsewhere.

Do you have the same ASSERT errors in the log (the link to mine is in my first post)?

Can you post the relevant section of the logfile?

Had to wait for it to crash again. Hope this helps:

10:23:20 PM: [79:19:27.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:24:21 PM: [79:20:28.935] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:25:22 PM: [79:21:29.936] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:26:23 PM: [79:22:30.935] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:27:24 PM: [79:23:31.939] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:28:25 PM: [79:24:32.942] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:29:26 PM: [79:25:33.939] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:30:27 PM: [79:26:34.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:31:28 PM: [79:27:35.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:32:29 PM: [79:28:36.937] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:33:30 PM: [79:29:37.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:34:31 PM: [79:30:38.938] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:35:32 PM: [79:31:39.937] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:36:33 PM: [79:32:40.943] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:37:34 PM: [79:33:41.934] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:38:35 PM: [79:34:42.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:39:36 PM: [79:35:43.938] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:40:37 PM: [79:36:44.937] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:41:38 PM: [79:37:45.938] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:42:39 PM: [79:38:46.946] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:43:40 PM: [79:39:47.939] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:44:41 PM: [79:40:48.942] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:45:42 PM: [79:41:49.943] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:46:43 PM: [79:42:50.943] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:47:44 PM: [79:43:51.937] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:48:45 PM: [79:44:52.939] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:49:46 PM: [79:45:53.942] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:50:47 PM: [79:46:54.938] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:51:48 PM: [79:47:55.938] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:52:49 PM: [79:48:56.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:53:50 PM: [79:49:57.940] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:54:51 PM: [79:50:58.941] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:55:52 PM: [79:51:59.946] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:56:53 PM: [79:53:00.954] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:57:54 PM: [79:54:01.952] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:58:55 PM: [79:55:02.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
10:59:56 PM: [79:56:03.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:00:57 PM: [79:57:04.957] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:01:58 PM: [79:58:05.952] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:02:59 PM: [79:59:06.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:06:02 PM: [80:02:09.951] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:07:03 PM: [80:03:10.952] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:08:04 PM: [80:04:11.955] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:09:05 PM: [80:05:12.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:10:06 PM: [80:06:13.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:11:07 PM: [80:07:14.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:12:08 PM: [80:08:15.952] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:13:09 PM: [80:09:16.955] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:14:10 PM: [80:10:17.952] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:15:11 PM: [80:11:18.952] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:16:12 PM: [80:12:19.955] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:17:13 PM: [80:13:20.959] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:18:14 PM: [80:14:21.957] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:19:15 PM: [80:15:22.954] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:20:16 PM: [80:16:23.954] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:21:17 PM: [80:17:24.957] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:22:18 PM: [80:18:25.959] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:23:19 PM: [80:19:26.956] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:24:20 PM: [80:20:27.958] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:25:21 PM: [80:21:28.955] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:26:22 PM: [80:22:29.956] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:27:23 PM: [80:23:30.953] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:28:24 PM: [80:24:31.955] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:29:25 PM: [80:25:32.955] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:30:26 PM: [80:26:33.961] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:31:27 PM: [80:27:34.973] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:32:28 PM: [80:28:35.969] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:33:29 PM: [80:29:36.988] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:34:30 PM: [80:30:37.988] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:35:31 PM: [80:31:38.987] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:36:32 PM: [80:32:39.987] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:37:33 PM: [80:33:40.986] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:38:34 PM: [80:34:41.986] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:39:35 PM: [80:35:42.989] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:40:36 PM: [80:36:43.988] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:41:37 PM: [80:37:44.991] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:42:38 PM: [80:38:45.985] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:43:39 PM: [80:39:46.985] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:44:40 PM: [80:40:47.994] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:45:41 PM: [80:41:48.984] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:46:42 PM: [80:42:49.987] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:47:43 PM: [80:43:50.987] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:48:44 PM: [80:44:51.988] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:49:45 PM: [80:45:52.988] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:50:46 PM: [80:46:53.990] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:51:47 PM: [80:47:54.986] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:52:48 PM: [80:48:55.986] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:53:49 PM: [80:49:56.990] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:54:50 PM: [80:50:57.990] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:55:51 PM: [80:51:58.983] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:56:52 PM: [80:52:59.994] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:57:53 PM: [80:54:00.985] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:58:54 PM: [80:55:01.988] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
11:59:55 PM: [80:56:02.986] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask
12:00:00 AM: [80:56:07.990] WARNING: ASSERT: …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”
invalid bitmap in wxInvertMask

@Rainy - any ideas on this one yet? Thank you!

I checked from the framework library’s source code and the warning text seems to be related to the mouse cursor. So, I wonder if it’s somehow related to the resize or click cursors.

If you move the mouse to the edge of the calendar do you get the resize cursor and will that add the asserts to the log? How about if you hover the mouse over a button on the calendar?

I have the option selected to lock the windows in place and don’t have resize because of that. Just deselected the option and only have one resize cursor available to extend the lower edge of the calendar. The width isn’t resizable. I’m only using two windows, calendar and events. Even when I deselect the fixed window position option there’re no resize cursors available for the events window.

I’m using a Shadow4 skin with 4 windows: Event List, Todo List, Month View and Grid Calendar.

I get both H and V resize cursors at the edge of the Month View. I only get the H resize cursor for the Event List and Todo List. I don’t get any resize cursors for the Grid Calendar.

The ASSERT log messages don’t appear when I get a resize cursor or hover over any calendar buttons. In fact they generally only appear after Rainlendar has been running for several hours (usually about a day).

I’ve attached a screenshot showing all my skin settings.

I don’t think this has anything to do with any setting that you can set from the options. It could be some resource leak somewhere if the problem starts to happen only after a while. However I usually run Rainlendar continuously from several weeks to a month and haven’t noticed any such behaviour so I’m not really sure what the issue could be.

I too have been seeing this issue, but didn’t want to say anything until I was able to successfully gather a log file. It’s (unfortunately) quite large. From a cursory glance, it looks like (near the end), some content from an ICS was being applied as a component? Afterward, a large amount of debug statements about “The existing component was replaced with the new one.”

There were a handful of warning/asserts made about …\src\msw\bitmap.cpp:1943 wxInvertMask “hbmpMask”, though I don’t think they are a cause for concern.

Realistically though, the log, aside from being quite large, doesn’t seem to diagnostically pin point any particular thing at the end which might’ve caused a calamitous end of processing.

I am running Windows 10 Pro x64, Rainlendar v2.19.2 (b174 64-bit). Would it be at all useful to share my config (as opposed to the log file) via ermail? In case it’s relevant, I am using a dual monitor setup. 3440x1400 + 1920x1080.

I’m running dual monitors too:

  1. 2560 x 1080

  2. 3840 x 2160

Rainlendar Pro is only using screen number 1.

I use DisplayFusion Pro to manage the desktops. One of its functions is to place a title bar button on each window, to enable moving the window to the other monitor. I’ve noticed it doesn’t display a button on either of the Rainlendar windows I use, calendar and events list. Maybe there’s an incompatibility.??

I’m running multiple monitors on one of my computers, but I am also running Rainlendar on my single monitor laptop and the same issue happens. So I don’t think that’s the reason I’m afraid.

1 Like

Not working ! it s worse : Freeze and stop again and again

The last 2.20.1 is the more instable version
Each day i need to re-open rainlendar to use it
Also in the same network (lan)
One monitor and windows 10 pro

I suspect this won’t be too helpful, but since the debug logs don’t seem to catch anything at the time of crash… Now that I know Windows Error reporting is catching it, I can provide any crash dump files (if they’re at all helpful - I personally never learned how to read these).

image