CintaNotes Forum

New crash

Re: New crash

Posted: Tue Jul 14, 2015 3:47 pm

by CintaNotes Developer

Hi Thomas,

Thanks for new reports.

Let's do the following.I want to either proove or disproove that the crashes are connection with protection.I'll send you a link to an *unprotected* executable (which of course I'd kindly ask not to share:)If the crashes continue to happen, then we can cross the protection out. If the crashes stop,then we can tweak the protection options.Note that this won't require a lot of extra effort on your side. Simply replace cintanotes.exe andthat's it. The unprotected exe works even tiny bit faster than the protected one..)Please see your mail for the link. Thanks in advance!

Re: New crash

Posted: Wed Jul 15, 2015 5:37 pm

by Thomas Lohrum

Hi Alex,

as suggested i installed and used the unprotected exe. However CN still crashed. Though only one time today. The crash happened when i created a new note and pasted some content that was copied from Excel. I had debug.log enabled, but forgot to check whether some content was created. I can check for it tomorrow.

Thomas

Re: New crash

Posted: Thu Jul 16, 2015 8:41 am

by CintaNotes Developer

Well at least we learned something about the crash and this is good. Thanks Thomas.So far it seems that the editor is involved. Can you remember any crash that happenedwhile no editor was open?

And of course the log file would be invaluable!

Re: New crash

Posted: Fri Jul 17, 2015 8:06 pm

by Thomas Lohrum

Hi Alex,

today i did not have a single crash. I was wondering all the time, why it's me to only have this problem. This made me aware of the watchdog. I turned it off now. Though it needs more experience with the setting turned off, it's quite likely to be the cause of all the trouble. Unfortunately the watchdog caused trouble only, so far.

Also i changed my workflow to always press Ctrl+S to save any changes prior to closing the editor. I no longer rely on ESC to save and close, as i had experienced data loss, because of these crashes.

CintaNotes Developer wrote:Can you remember any crash that happened while no editor was open?

CN also crashed when i pressed Ctrl+Alt+F12 to open the main window. However, i can not tell, whether any editor window was opened at that time.

CintaNotes Developer wrote:And of course the log file would be invaluable!

I did send an extract via private mail. Sorry, since the log contains sensitive data, i won't be able to provide all of it.

Thomas

Re: New crash

Posted: Mon Jul 20, 2015 11:16 am

by CintaNotes Developer

Hi Thomas,

Thomas Lohrum wrote:today i did not have a single crash. I was wondering all the time, why it's me to only have this problem. This made me aware of the watchdog. I turned it off now. Though it needs more experience with the setting turned off, it's quite likely to be the cause of all the trouble. Unfortunately the watchdog caused trouble only, so far.

Indeed. I wonder if it is indeed the watchdog causing this. Please let me know how the app will behave with WD turned off.This all makes me wish we got rid of Richedit somehow. Probably something Webkit-based. But this will make CN's size grow like hell..

Also i changed my workflow to always press Ctrl+S to save any changes prior to closing the editor. I no longer rely on ESC to save and close, as i had experienced data loss, because of these crashes.

That's a wise thing to do, at least while we're still hunting not even for the bug - for the reliable way to reproduce it.

CN also crashed when i pressed Ctrl+Alt+F12 to open the main window. However, i can not tell, whether any editor window was opened at that time.

Now that's interesting. And you say you're not using passwords?

I did send an extract via private mail. Sorry, since the log contains sensitive data, i won't be able to provide all of it.

Huge thanks for the log. It tells me that the crash could be somehow connected with clipboard. Did you maybe notice any correlation between clipboard usage and crashes?

Re: New crash

Posted: Mon Jul 20, 2015 5:28 pm

by Thomas Lohrum

Alex,

in four consecutive days i had not a single crash. The possibility that the watchdog is the cause is really high. Also i remember, that Denis changed the code lately, because of a false alarm. Also, it's me the only user affected.

Yes, clipboard functionality was involved in approximately in 60% of the cases.

No, i don't use passwords.

Thomas

Re: New crash

Posted: Tue Jul 21, 2015 12:52 pm

by CintaNotes Developer

Thanks for the info, Thomas!I'll ask Denis to doublecheck the watchdog code, and will review the code again myself.

Please let me know if there are any crashes with watchdog turned off, thanks!

Re: New crash

Posted: Tue Jul 21, 2015 5:43 pm

by Thomas Lohrum

CintaNotes Developer wrote:Please let me know if there are any crashes with watchdog turned off, thanks!

Day #5 - no crash at all.

Re: New crash

Posted: Wed Jul 22, 2015 7:29 am

by CintaNotes Developer

Thanks for the info. Seems this is indeed is the watchdog. But let's wait a couple more days though to be completely sure.

Re: New crash

Posted: Sat Aug 01, 2015 8:23 am

by Thomas Lohrum

After working for more than ten days without a single crash i had one two days ago. The watchdog was disabled. Seems like there is more involved. Again i was using the clipboard a lot and also worked with bullets a lot (turning them on/off using Ctrl+L). Maybe the bug has a greater impact, when the watchdog is enabled or the watchdog indeed has a different bug.

Thomas

Re: New crash

Posted: Mon Aug 03, 2015 6:47 am

by CintaNotes Developer

Thomas, thanks for the extra info.This bug is truly insideous.. but I'm sure that we'll catch the prick sooner or later.

BTW could it be possible that the DB file got corrupted? Could you please run an integrity check on it?Thanks

Re: New crash

Posted: Tue Aug 04, 2015 12:23 pm

by CintaNotes Developer

I have another idea: the crashes may be related to the notebook disconnection feature.It actually fits: both saving a note from the editor, and pressing Ctrl+Alt+F12 to display main window will causeCN to reconnect to the database.Could you please try disabling the disconnection (notebook.disconnect.enabled) and see if the crashes stop?On the other hand, if you reduce the disconnect timeout from 30s to 1s, the crashes must occur much more often.Thank in advance!

Re: New crash

Posted: Tue Aug 04, 2015 6:41 pm

by Thomas Lohrum

CintaNotes Developer wrote:On the other hand, if you reduce the disconnect timeout from 30s to 1s, the crashes must occur much more often.

I did set the setting to one second. So far i used it for one hour only. I'll keep you posted.

Thomas

Re: New crash

Posted: Wed Aug 05, 2015 4:32 am

by CintaNotes Developer

Huge thanks for going through all the trouble. This bug will most probably be trivial to fix, the main difficulty is to find out when exactly it happens.. and anything that can increase the frequency of the crash can help.

Re: New crash

Posted: Wed Aug 05, 2015 4:33 am

by CintaNotes Developer

BTW - would you say that the crashes happened only after a period of user inactivity (30s+)? Or can you remember a crash during active work?