New crash
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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!
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
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: New crash
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
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
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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!
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
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: New crash
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.
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.
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
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
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
Hi Thomas,
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..
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.
Now that's interesting. And you say you're not using passwords?
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?
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
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: New crash
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
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
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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!
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
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: New crash
CintaNotes Developer wrote:Please let me know if there are any crashes with watchdog turned off, thanks!
Day #5 - no crash at all.
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
Thanks for the info.
Seems this is indeed is the watchdog. But let's wait a couple more days though to be completely sure.
Seems this is indeed is the watchdog. But let's wait a couple more days though to be completely sure.
Alex
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: New crash
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
![Sad :(](./images/smilies/icon_e_sad.gif)
Thomas
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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
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
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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!
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
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: New crash
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
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: New crash
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