New crash

User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Tue Jul 14, 2015 3:47 pm

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 and
that's it. The unprotected exe works even tiny bit faster than the protected one..)
Please see your mail for the link.
Thanks in advance!
Alex
Thomas Lohrum
Posts: 1309
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Wed Jul 15, 2015 5:37 pm

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
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Thu Jul 16, 2015 8:41 am

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 happened
while no editor was open?

And of course the log file would be invaluable!
Alex
Thomas Lohrum
Posts: 1309
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Fri Jul 17, 2015 8:06 pm

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
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Mon Jul 20, 2015 11:16 am

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?
Alex
Thomas Lohrum
Posts: 1309
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Mon Jul 20, 2015 5:28 pm

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
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Tue Jul 21, 2015 12:52 pm

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!
Alex
Thomas Lohrum
Posts: 1309
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Tue Jul 21, 2015 5:43 pm

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

Day #5 - no crash at all.
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Wed Jul 22, 2015 7:29 am

Thanks for the info.
Seems this is indeed is the watchdog. But let's wait a couple more days though to be completely sure.
Alex
Thomas Lohrum
Posts: 1309
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Sat Aug 01, 2015 8:23 am

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
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Mon Aug 03, 2015 6:47 am

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
Alex
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Tue Aug 04, 2015 12:23 pm

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 cause
CN 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!
Alex
Thomas Lohrum
Posts: 1309
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Tue Aug 04, 2015 6:41 pm

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
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Wed Aug 05, 2015 4:32 am

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.
Alex
User avatar
CintaNotes Developer
Site Admin
Posts: 4689
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Wed Aug 05, 2015 4:33 am

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?
Alex

Return to “Bug Reports”