Crash when ToDoList is stored on NAS Topic is solved

Moderator: abstr

gchar
Posts: 13
Joined: Fri Apr 10, 2020 12:18 pm

Crash when ToDoList is stored on NAS

Post by gchar » Fri Apr 10, 2020 12:44 pm

Dear all,

I run the latest version of TDL to date (7.2.23.0 or 8.0 alpha) on the latest version of Windows 10 family edition (version 1909) and TDL quits unexpetedly after staying unused in the notification tray for some time.

I tried to run it with Windows' compatibility mode with Windows 8 : no change.

The steps are the following :
- Download TDL and unzip it on a NAS (Network Area Storage) (Note: I suspect it is the cause !)
- Launch TDL with Windows 10
- Open a tasklist (one of mines, didn't try Introduction.tdl yet for instance) on the NAS or W10 computer
- Don't use TDL and wait until it crashes (preferences file is not written), which always happens after some time (in particular after recovering from W10 standby ?)

Here is the TDL crash Windows event, a file
TDL crash on Windows 10.xml
exported from Windows event viewer; *original extension* : evtx
(68 KiB) Downloaded 82 times
is also attached :

Nom du journal :Application
Source : Application Error
Date : 08/04/2020 13:24:09
ID de l’événement :1000
Catégorie de la tâche :(100)
Niveau : Erreur
Mots clés : Classique
Utilisateur : N/A
Ordinateur : DESKTOP-TDHU4N5
Description :
Nom de l’application défaillante ToDoList.exe, version : 7.2.23.0, horodatage : 0x5e7fd83d
Nom du module défaillant : clr.dll, version : 4.8.4150.0, horodatage : 0x5e176ddd
Code d’exception : 0xc0000005
Décalage d’erreur : 0x004d4c2a
ID du processus défaillant : 0x1cf0
Heure de début de l’application défaillante : 0x01d60d892bfdbd4a
Chemin d’accès de l’application défaillante : Z:\sauvegardes\professionnel\portable société\Documents\moyens\logiciels sans installation\ToDoList\ToDoList.exe
Chemin d’accès du module défaillant: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
ID de rapport : e1a14757-edaa-4564-950b-dfa564b8ea1f
Nom complet du package défaillant :
ID de l’application relative au package défaillant :
XML de l’événement :
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-04-08T11:24:09.308298600Z" />
<EventRecordID>20769</EventRecordID>
<Channel>Application</Channel>
<Computer>DESKTOP-TDHU4N5</Computer>
<Security />
</System>
<EventData>
<Data>ToDoList.exe</Data>
<Data>7.2.23.0</Data>
<Data>5e7fd83d</Data>
<Data>clr.dll</Data>
<Data>4.8.4150.0</Data>
<Data>5e176ddd</Data>
<Data>c0000005</Data>
<Data>004d4c2a</Data>
<Data>1cf0</Data>
<Data>01d60d892bfdbd4a</Data>
<Data>Z:\sauvegardes\professionnel\portable société\Documents\moyens\logiciels sans installation\ToDoList\ToDoList.exe</Data>
<Data>C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll</Data>
<Data>e1a14757-edaa-4564-950b-dfa564b8ea1f</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

User avatar
abstr
Site Admin
Posts: 366
Joined: Sun Jul 28, 2019 12:22 pm

Re: ToDoList crash on Windows 10

Post by abstr » Sat Apr 11, 2020 7:47 am

Thanks for reposting, Grégory.

Can you also attach a copy of your preferences (ToDoList.ini) please?

ps. Do you use any of the following components: 'Week Planner', 'Mind Map' or 'Word Cloud'?

gchar
Posts: 13
Joined: Fri Apr 10, 2020 12:18 pm

Re: ToDoList crash on Windows 10

Post by gchar » Sat Apr 11, 2020 9:01 am

abstr wrote:
Sat Apr 11, 2020 7:47 am
Thanks for reposting, Grégory.
Can you also attach a copy of your preferences (ToDoList.ini) please?
Here it is :
ToDoList.ini
(184.76 KiB) Downloaded 81 times
ps. Do you use any of the following components: 'Week Planner', 'Mind Map' or 'Word Cloud'?
No...

By the way it seems the crash only happens when TDL is stored on the NAS (my intention is to store everything on my NAS, that's the purpose of a NAS...), whatever the location of the tasklist.

User avatar
abstr
Site Admin
Posts: 366
Joined: Sun Jul 28, 2019 12:22 pm

Re: ToDoList crash on Windows 10

Post by abstr » Sun Apr 12, 2020 7:18 am

>> By the way it seems the crash only happens when TDL is stored on the NAS

Yes, I know but that doesn't really help me if I can precisely replicate your setup that's why I need to ask questions even if you don't understand their significance.

Do you also store ToDoList.exe on the NAS?

>> didn't try Introduction.tdl yet

1. Can you enable 'Multi-Instance' (Tools > Preferences > General > Allow multiple instances of ToDoList) then close and restart TDL
2. Can you start a second instance and just load 'Introduction.tdl' which you have first copied to the NAS
3. See if it crashes too

>> in particular after recovering from W10 standby

1. Can you try disabling 'Standby' and see if it still crashes?
2. Can you shorten the time to go into 'Standby' and see if it crashes more quickly?

Also, how is the NAS configured for power-saving?

JuandeArriba
Posts: 23
Joined: Mon Jul 29, 2019 5:25 am

Re: ToDoList crash on Windows 10

Post by JuandeArriba » Tue Apr 14, 2020 11:49 am

I was with crash, probably caused by a portable installation in two locations, one on a memory stick and one on the hard drive. I test "Multiinstance" and now zero problems. Thanks!

One question: how to clean the hard disk for remove all residuals and avoid this type of problems?
Discipline is your best friend

gchar
Posts: 13
Joined: Fri Apr 10, 2020 12:18 pm

Re: ToDoList crash on Windows 10

Post by gchar » Tue Apr 14, 2020 3:24 pm

JuandeArriba wrote:
Tue Apr 14, 2020 11:49 am
I was with crash, probably caused by a portable installation in two locations, one on a memory stick and one on the hard drive. I test "Multiinstance" and now zero problems. Thanks!
This is a different bug as I have a single location portable installation and multi-instance leads to two crashes, one after the other.
One question: how to clean the hard disk for remove all residuals and avoid this type of problems?

gchar
Posts: 13
Joined: Fri Apr 10, 2020 12:18 pm

Re: ToDoList crash on Windows 10

Post by gchar » Thu Apr 16, 2020 3:40 pm

abstr wrote:
Sun Apr 12, 2020 7:18 am
>> By the way it seems the crash only happens when TDL is stored on the NAS

Yes, I know but that doesn't really help me if I can precisely replicate your setup that's why I need to ask questions even if you don't understand their significance.

Do you also store ToDoList.exe on the NAS?
Yes, "TDL is stored on the NAS" meant that the full ToDoList folder (executable file, preferences file, sample tasklists and so on) is on the NAS.
>> didn't try Introduction.tdl yet

1. Can you enable 'Multi-Instance' (Tools > Preferences > General > Allow multiple instances of ToDoList) then close and restart TDL
2. Can you start a second instance and just load 'Introduction.tdl' which you have first copied to the NAS
3. See if it crashes too
When srtarting two instances of TDL, one loaded with Introduction.tdl and the other one with another taskfile, both instances crash in the end, one after the other.
>> in particular after recovering from W10 standby

1. Can you try disabling 'Standby' and see if it still crashes?
2. Can you shorten the time to go into 'Standby' and see if it crashes more quickly?
I tried to disable Windows 10's standby mode, it still crashed. I then disabled long standby aka hibernate mode in addition, and it kept crashing also.
Also, how is the NAS configured for power-saving?
The NAS itself never shutdowns nor uses a standby mode, but the NAS' hard disk hibernates after a certain time of inactivity. I disabled this hibernatiion but TDL still crashed.

My conclusion is that TDL crashes after some time whenever it is stored on my NAS, regardless of the tasklist(s) opened or the various standby modes.

User avatar
abstr
Site Admin
Posts: 366
Joined: Sun Jul 28, 2019 12:22 pm

Re: ToDoList crash on Windows 10

Post by abstr » Mon Apr 20, 2020 7:30 am

Since we can't get proper crash reports (which is very strange) another thing we can try is to log all file activity using ProcMon.

1. Download and unzip the attached ToDoList.pmc configuration file
2. Start ProcMon
3. 'File > Import Configuration > ToDoList.pmc'
4. Make sure 'Capture' is enabled (The status bar will display multiplying excluded events)
5. Start 'ToDoList.exe'
6. Events should now start to appear in the main window
7. Leave it running until TDL crashes
8. 'File > Save > Events displayed using the current filter'
9. Zip-up and attach the PML file
Attachments
ToDoList.PMC.zip
(889 Bytes) Downloaded 79 times

gchar
Posts: 13
Joined: Fri Apr 10, 2020 12:18 pm

Re: ToDoList crash on Windows 10

Post by gchar » Mon Apr 20, 2020 8:52 am

OK I'll try but with the default configuration as I can't import any configuration file in ProcMon (no .PMC or .pmc file is ever listed in the import dialog box even if the file is present in the directory), it seems there is a bug 8-|

User avatar
abstr
Site Admin
Posts: 366
Joined: Sun Jul 28, 2019 12:22 pm

Re: ToDoList crash on Windows 10

Post by abstr » Mon Apr 20, 2020 9:55 am

The 'missing' pmc file could be because Windows is trying to protect you!

Before unzipping the file, right-click it in Explorer, selected 'Properties', tick the 'Unblock' checkbox bottom-right, and then OK.

Then unzip the file and try again...

Locked