Crash when ToDoList is stored on NAS Topic is solved

Moderator: abstr

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

Re: ToDoList crash on Windows 10

Post by gchar » Wed Apr 22, 2020 12:19 pm

The log file, even compressed, is too large once again.
I kept the same filter (no "SUCCESS").

https://send.firefox.com/download/84184 ... 1IRBoV-ByA

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

Re: ToDoList crash on Windows 10

Post by gchar » Wed Apr 22, 2020 1:51 pm

For your information I never used portable programs extracted on a NAS before the current confinement period, and won't probably after the end of the period when switching back to more normal working conditions.

Currently I use two of them, ToDoList and Joplin (https://joplinapp.org/) and I just figured out that Joplin also has trouble after unlocking my laptop (at that time the network connections may not be up ?), even if it doesn't crash. I guess I was a little bit optimistic in thinking that portable applications may be run from everywhere, they seem to be mainly designed to be run from a USB stick or permanent hard drive ! So I am installing Joplin on my laptop and will maybe do the same with ToDoList, as fixing seems rather hard.

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

Re: ToDoList crash on Windows 10

Post by abstr » Thu Apr 23, 2020 12:26 am

I think that's a reasonable workaround under the circumstances.

FWIW I think this is what is happening:

1. When Windows runs an executable it does not load all the code into memory but instead creates what's called a memory-map of the exe on disk so that it can be treated as if it was loaded into memory.
2. Then when it accesses parts of the code not currently in RAM, the storage drivers transparently deliver the required bits of the code.
3. In the case of your NAS (possibly complicated by hibernation) the code (TDL's) required by Windows seems not to be 'arriving' within the required timeout period and the application crashes.
4. Why Joplin does not crash is a mystery but perhaps it's because TDL is a much older application that has to work harder to take advantage of more modern Windows features...

Thanks for your efforts to help us get this far :)

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

Re: Crash when ToDoList is stored on NAS

Post by JuandeArriba » Thu Apr 23, 2020 8:37 am

Then is better in this cases not run the software in portable mode?
Discipline is your best friend

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

Re: Crash when ToDoList is stored on NAS

Post by gchar » Thu Apr 23, 2020 9:10 am

You can run it in portable mode (after putting it on a USB key, on your hard drive...), but avoid network drives (a NAS for instance) if the connection with your computer is not permanent. Locking your Windows session when away for instance (which happens when you close a laptop) seems to close the network connections and hence cause problems with TDL.

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

Re: Crash when ToDoList is stored on NAS

Post by JuandeArriba » Thu Apr 23, 2020 9:15 am

Ok, thanks for your explanation
Discipline is your best friend

Locked