New crash

orsonk
Posts: 22
Joined: Thu May 14, 2015 8:27 pm
Contact:

New crash

Postby orsonk » Tue Jun 16, 2015 9:23 pm

Boy, 2 in one day. I have never had Cinta crash before, so I am wondering if something changed in my OS or on my PC....

What OS? Win 7

What version of CintaNotes? Very latest version. 2.9

What window/pane has Focus? Open note in Personal section.

What key combination? I think I just pressed ESC to close... but not sure.

What program and version are you clipping from? Not clipping, just closing a note I was writing.

If you have screenshots, please do not hesitate to attach the files.
Attachments
cinta crash2 -.png
cinta crash2 -.png (18.55 KiB) Viewed 28534 times
cinta crash2 -- 2nd image-.png
cinta crash2 -- 2nd image-.png (5.92 KiB) Viewed 28534 times
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Wed Jun 17, 2015 11:02 am

Thanks for the report.
It is always crucial to be able to reproduce the error, otherwise it is improssible to debug it.

Does CN crash like this every time when you exit editing this note?

Could you please activate debug logging (Help/Debug) so that if the crash happens again,
we have some track record of what happened?

Here's the info about the logs:
1) Run CintaNotes and activate "Help/Debug/Debug Logging"
2) Try to repeat the problem
3) This will produce the file named "log.N.txt" (either in CN folder,
or in %APPDATA%\CintaNotes), where N is a number - please send the latest
file (it will be the one with the max N) to support@cintanotes.com

Please note that this file may contain some of your private data, such as tag
names (but no passwords). You may want to edit the file and remove this data
first.


Hope this is not too much to ask, thank you!
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Mon Jun 22, 2015 4:28 pm

Hi Alex,

as reported here http://cintanotes.com/forum/viewtopic.php?f=3&t=2013#p9974 i still have crashes with 2.9. One thing that comes to my mind is that i use a lot Delphi XE7 at present. Could the debugger conflict with CintaNotes' Enigma Protector?

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

Re: New crash

Postby CintaNotes Developer » Tue Jun 23, 2015 7:58 am

Thomas, thanks for the info. Any logs to show?

I highly doubt that Delphi's debugger could be the cause, unless you try to attach it to CintaNotes is some way..
Some AV software would be more probable here.

The original Orson's case is already resolved in 2.9.1 - the test case was like this:
1) open any note in editor
2) print it out using ctrl+p
3) close the editor => crash

This is now fixed in 2.9.1
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Tue Jun 23, 2015 6:33 pm

There is nothing special i do with CintaNotes, nor do i try to attach the debugger to its process. Cinta crashes without any warning in various circumstances.

Windows 8.1 deutsch (german)

Thomas
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Tue Jun 23, 2015 6:37 pm

There is one log file only. It is dated as of June 22 - 20:31. I had said, it relates to the reported shortcut problem with 2.9.1 beta 1. However, my report is back as of June 20.


Timestamp Thread Forced Function Details
20:21:10.797726 7216 logging::Log::init Started logging
20:21:10.797726 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.105743 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.273753 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.390760 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.507766 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.637774 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.748780 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.858787 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:11.964793 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str(), 0x00000000L)Com error: Code=2, Facility=7, Severity=ERROR]
20:21:12.71799 7216 X tools::ensureComResult errMsg=[Postcondition failed:
tools::resolveShortcut
persistFile->Load(shortcutPath.c_str()
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: New crash

Postby CintaNotes Developer » Wed Jun 24, 2015 12:27 pm

Hmm, resolveShortcut is usually only called when you open links.
Does CN crash when you open links?
Do you have Distributed Link Tracking service disabled?
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Wed Jun 24, 2015 1:18 pm

CintaNotes Developer wrote:Hmm, resolveShortcut is usually only called when you open links. Does CN crash when you open links?

The crash happened on my Win7 PC, where i got only a few crashes. Many crashes i had, happened on a Win 8.1 i am using.

CintaNotes Developer wrote:Do you have Distributed Link Tracking service disabled?

What? Nothing i'd had disabled by myself.

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

Re: New crash

Postby CintaNotes Developer » Mon Jun 29, 2015 7:21 am

Thomas Lohrum wrote:The crash happened on my Win7 PC, where i got only a few crashes. Many crashes i had, happened on a Win 8.1 i am using.

I mean, what were you doing when the crash happened? Were you interacting with CN somehow, or it was in the background?

What? Nothing i'd had disabled by myself.

Please execute

Code: Select all

sc query "TrkWks"

on the command line and post the result, thanks!
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Mon Jun 29, 2015 3:31 pm

CintaNotes Developer wrote:I mean, what were you doing when the crash happened? Were you interacting with CN somehow, or it was in the background?

Several times it crashed when i pasted content into the editor which originated from Outlook. One time CN crashed when i used the shortcut to bring the main window to the front. Log1.txt is always empty.

CintaNotes Developer wrote:Please execute

Code: Select all

sc query "TrkWks"
on the command line and post the result, thanks!

The service is running (status 4).

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

Re: New crash

Postby CintaNotes Developer » Wed Jul 01, 2015 11:24 am

Thomas Lohrum wrote:Several times it crashed when i pasted content into the editor which originated from Outlook.

Did the pasted text contain any links, do you remember?

One time CN crashed when i used the shortcut to bring the main window to the front.

That's very strange. So far there's been no reports of similar crashes.

Please execute

Code: Select all

sc query "TrkWks"
on the command line and post the result, thanks!

Ok it was my fault. The error code 2 translates to "ERROR_FILE_NOT_FOUND".
This means that CN simply couldn't find the cached shortcut file, for example this happens when you click on a file link created in
old CN version. This is not an error is the strict sense and can be ignored.
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Wed Jul 01, 2015 5:45 pm

CintaNotes Developer wrote:
Thomas Lohrum wrote:Several times it crashed when i pasted content into the editor which originated from Outlook.
Did the pasted text contain any links, do you remember?

Yes. I pasted a file-path directly to the editor (Ctrl+V) - not using Alt+Shift+F !!! For example "Y:\Management\SomeWordFile.docx". The folder is located on a network drive. In that case the content was copied from Explorer.

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

Re: New crash

Postby CintaNotes Developer » Thu Jul 02, 2015 6:47 am

Tried to do the same, no crash.
(Sigh, I hate non-reproducible bugs)

Well the only hope then is to catch the bug with a debug log.
Sorry that we have to resort to this!
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Mon Jul 06, 2015 6:54 pm

CintaNotes Developer wrote:Tried to do the same, no crash. (Sigh, I hate non-reproducible bugs) Well the only hope then is to catch the bug with a debug log. Sorry that we have to resort to this!

The problem is that the debug.log is always empty on crashes. Also crashes appear, with or without containing links. Not only the crashes bother me, but file links which get lost, note links which get corrupted and bullet lists which get lost on copy & paste. Stability has become a negative issue to me. Not to mention the old bug, when deleting notes from the main window and not closing the related editor to it (which can result in another crash).

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

Re: New crash

Postby CintaNotes Developer » Tue Jul 07, 2015 4:36 pm

Thomas Lohrum wrote:The problem is that the debug.log is always empty on crashes. Also crashes appear, with or without containing links. Not only the crashes bother me, but file links which get lost, note links which get corrupted and bullet lists which get lost on copy & paste. Stability has become a negative issue to me. Not to mention the old bug, when deleting notes from the main window and not closing the related editor to it (which can result in another crash).


We'll definitely fix this old bug in the next update (2.9.3 or maybe it'll be called 2.9.5)

About empty logs - are they empty even when you have debug logging on?
I'm sorry for these problems, but you know the drill - it's not possible to fix what you cannot reproduce.
If it happens often enough, then there should be a way to reproduce.
I hoped that the watchdog would catch something, but so far it didn't.
I'll ask Denis to go over the code one more time.
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Wed Jul 08, 2015 4:29 pm

CintaNotes Developer wrote:About empty logs - are they empty even when you have debug logging on?

Debug.log usage affects performance and when i had crashes they were of little value most of the times.

CintaNotes Developer wrote:I'm sorry for these problems, but you know the drill - it's not possible to fix what you cannot reproduce.

I am not able to spend as much time as i did in the past trying to reproduce such nasty bugs.

CintaNotes Developer wrote:If it happens often enough, then there should be a way to reproduce.

The crashes hit me entirely unexpected. It's hard to recognize a pattern.

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

Re: New crash

Postby CintaNotes Developer » Thu Jul 09, 2015 11:25 am

Hi Thomas,

Thomas Lohrum wrote:Debug.log usage affects performance and when i had crashes they were of little value most of the times.

Maybe we'll be able to make debug logs less performance hungry (introduce fine-grained log control).
Is there anything what unifies all crashes? Did they all happen while editing a note, for example?

Thomas Lohrum wrote:I am not able to spend as much time as i did in the past trying to reproduce such nasty bugs.

Of course, I absolutely understand. My deepest thanks for the patience that you are showing!

The crashes hit me entirely unexpected. It's hard to recognize a pattern.

Ok then, let's try from the other end: which features you didn't use and we can safely exclude from the list of suspects?
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Thu Jul 09, 2015 7:12 pm

CintaNotes Developer wrote:Is there anything what unifies all crashes? Did they all happen while editing a note, for example?

Most of the times the editor is involved, as well as copy&paste. I use note links a lot also. I had one crash though, when i opened the main window only. Deleting to r-bin, maybe. Occasionally i use import/export and assigning tags (F4).

CintaNotes Developer wrote:Ok then, let's try from the other end: which features you didn't use and we can safely exclude from the list of suspects?

Printing, Syncing, database open/close.


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

Re: New crash

Postby CintaNotes Developer » Fri Jul 10, 2015 12:34 pm

Thomas,
thanks for the info.

I think I came up with a solution: we'll write and install a custom crash handler which would hopefully be able
to provide more info about the nature of any crash that happens.
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: New crash

Postby Thomas Lohrum » Mon Jul 13, 2015 6:37 pm

Two crashes i had today.

Here is what i did:

1.)

- change a note
- don't save it (not using Ctrl+S)
- press ESC
===> crash
===> the changes got lost!
===> log1.txt is empty


2.)

Activate Cintanotes by pressing Ctrl+Alt+F12
===> crash with event name "BEX"
===> the Main Screen with tabs is visible
===> the notelist is empty (white area)
===> log1.txt is empty


Thomas

Return to “Bug Reports”