• Login
Community
  • Login

Log startup of notepad

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 3.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Π
    Παύλος Γκέσος
    last edited by Aug 21, 2019, 12:14 PM

    I am trying to find where Notepad++ stores its log file.
    If no log file by default, how can I enable it.

    The reason is periodic hang of Notepad++ on startup.
    I double click on a text file and then only the window frame (not window content) appears.
    The only solution is to kill the process.
    I use Windows 7 x64.

    So, I want the log to understand where is the problem (probably a plugin?) and provide a better report to bug tracking system.

    A 1 Reply Last reply Aug 21, 2019, 12:19 PM Reply Quote 0
    • A
      Alan Kilborn @Παύλος Γκέσος
      last edited by Aug 21, 2019, 12:19 PM

      @Παύλος-Γκέσος said:

      where Notepad++ stores its log file

      I didn’t know there was such a log file.

      (probably a plugin?)

      Suggestion: Remove all plugins except maybe the ones that come with N++, then add them back in one at a time until you have a failure. Of course, it is possible you won’t get a failure from this.

      1 Reply Last reply Reply Quote 2
      • Π
        Παύλος Γκέσος
        last edited by Aug 21, 2019, 6:06 PM

        Seems that SysInternals Process Explorer does the trick.
        This is thread’s call stack:
        Clearly the DSpellCheck is the evil. I disable it and there is no hangs until now.

        ntoskrnl.exe!KiCpuId+0xaa
        ntoskrnl.exe!ExAcquireSpinLockExclusiveAtDpcLevel+0x2c2
        ntoskrnl.exe!KeWaitForSingleObject+0x1a3
        ntoskrnl.exe!ExReleaseResourceForThreadLite+0x60
        ntoskrnl.exe!KeInsertQueueApc+0x725
        ntoskrnl.exe!ExAcquireSpinLockExclusiveAtDpcLevel+0x4cd
        ntoskrnl.exe!KeWaitForMultipleObjects+0x272
        win32k.sys!memset+0x7c97
        win32k.sys!memset+0x7d59
        win32k.sys!EngFntCacheLookUp+0x1747b
        win32k.sys!memset+0x6c9e
        win32k.sys!EngFntCacheLookUp+0x60b0
        win32k.sys!W32pArgumentTable+0x3818a
        win32k.sys!EngSetLastError+0x7f
        win32k.sys!EngSetLastError+0xd836
        ntoskrnl.exe!longjmp+0x5b93
        USER32.dll!IsDialogMessageW+0x20a
        USER32.dll!UserHandleGrantAccess+0x4020
        DSpellCheck.dll!isUnicode+0x55ed2
        DSpellCheck.dll!isUnicode+0x3bae
        DSpellCheck.dll!isUnicode+0x35cb1
        DSpellCheck.dll+0x4a1d
        DSpellCheck.dll!beNotified+0x98
        Notepad++.exe+0xd7fe6
        Notepad++.exe+0xd7ede
        Notepad++.exe+0x8e94a
        Notepad++.exe+0x12fc4e
        Notepad++.exe+0x13e35f
        kernel32.dll!BaseThreadInitThunk+0xd
        ntdll.dll!RtlUserThreadStart+0x1d

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors