Community
    • Login

    Notepad++ v8.5.5 Release

    Scheduled Pinned Locked Moved Announcements
    17 Posts 8 Posters 10.1k 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.
    • Alan KilbornA
      Alan Kilborn @Alan Kilborn
      last edited by

      1. Add change history navigation commands: Go to next/prev change & Clear change history.

      A little visual on this:

      3f4d2838-d94e-44cd-bca3-40d869944830-image.png

      1 Reply Last reply Reply Quote 2
      • PeterJonesP PeterJones referenced this topic on
      • Fruchtzwerg94F
        Fruchtzwerg94
        last edited by Fruchtzwerg94

        Hi @donho ,

        I am facing an interesting problem after upgrading Notepad++ to the latest version. It is related to the change of commit ‘Enable optimization flags & CET’.
        To break it down: Due to the change

        <CETCompat>true</CETCompat>
        

        plugins may cause a crash if they catch an exception internally. I am clearly able to reproduce this with my PlantUMLViewer plugin. During its initialization, it catches an IOEcxception. Due the CETCOMPAT feature enabled, Notepad++ detects this as a violation and stops without any further information.

        More details about the feature:

        • Developer Guidance for Hardware-enforced Stack Protection
        • /guard:ehcont (Enable EH Continuation Metadata)

        I was not able to find a better solution yet than disabling CETCOMPAT for the Notepad++ build. I assume other plugins could be affected as well here.
        Do you have an idea how to deal with this? Maybe its better to disable the feature again?

        Guido ThelenG 1 Reply Last reply Reply Quote 2
        • Guido ThelenG
          Guido Thelen @Fruchtzwerg94
          last edited by Guido Thelen

          @Fruchtzwerg94 Hello, With N++ 8.5.5 I have been facing also problems with my SQLinForm Plugin 64 bit version https://community.notepad-plus-plus.org/topic/24810/sqlinform-x64-crashes-with-n-8-5-5 . The plugin crashes without any specific error message. Could you please show me how I can find out if the SQLinForm Problem is also related to CETCOMPAT Flag. Can I myself change the CETCOMPAT Flag?

          Many thenks
          Guido

          rdipardoR 1 Reply Last reply Reply Quote 1
          • rdipardoR
            rdipardo @Guido Thelen
            last edited by

            @Guido-Thelen said in Notepad++ v8.5.5 Release:

            Can I myself change the CETCOMPAT Flag?

            If you’re running Windows 11, you can try this:

            • Start the Run dialog: ⊞ (Windows key) + R. Enter windowsdefender: and click “OK”
            • From the left-hand menu, click “App & browser control”
            • In the “Exploit protection” section, click Exploit protection settings
            • Select the “Program settings” tab
            • Click “+ Add program to customize” and choose an option, “program name” or “exact path”
            • Depending on your choice, enter Notepad++ in the input box, or navigate to the notepad++.exe file in the explorer
            • In the menu that appears, find “Validate exception chains (SEHOP)”, choose “Override system settings” and slide the radio button to “Off”

            win_defendx900.png

            You should do the same for “Control Flow Guard (CFG)” and “Validate heap integrity”, but I would apply all overrides one-by-one to pin down which is effective, if any.

            If @Fruchtzwerg94 is right and the issue really is Control Enhancement (CET), then Win 11 users are more likely to encounter it, as the comments on this related GitHub issue suggest. Exploit mitigation features like CET are enabled by default on Win 11, whereas Win 10 users have to manually activate them. Hardened security was, after all, the main selling point of the new OS.

            Guido ThelenG 1 Reply Last reply Reply Quote 3
            • Guido ThelenG
              Guido Thelen @rdipardo
              last edited by

              @rdipardo Many thanks for these instructions.

              I first was able to reproduce the crash from the 64bit SQLinForm Plugin together with N++ 8.5.5 , which has been reported by a plugin user, on my Desktop PC (Windows 11) in my office.

              Now I am in holiday with my Notebook (Windows 11) and can’t reproduce the error anymore.

              So, I think I first should be able to reproduce the crash on my Notebook and then in a seconde step try to make it working again using your instructions.

              donhoD 1 Reply Last reply Reply Quote 0
              • donhoD
                donho @Guido Thelen
                last edited by

                @Guido-Thelen @Fruchtzwerg94
                I can reproduce the crash of v8.5.5 with both SQLinForm & PlantUMLViewer. The crash seems to be remedy with <CETCompat>false</CETCompat>.

                I have just pushed a new commit which fixes plugin crash into master here:
                https://github.com/notepad-plus-plus/notepad-plus-plus/commit/c45d7aca75211434651745059647f4c29bac7ec6

                Please let me know if it fixes your problem.

                Fruchtzwerg94F Guido ThelenG 2 Replies Last reply Reply Quote 3
                • Fruchtzwerg94F
                  Fruchtzwerg94 @donho
                  last edited by

                  Hi @donho ,
                  I can confirm this fixes it for me.
                  Great to see that issues can be fixed so fast. Thanks @donho , @rdipardo and @Guido-Thelen for the great discussion and fix.
                  BR, Philipp

                  Guido ThelenG 1 Reply Last reply Reply Quote 4
                  • Guido ThelenG
                    Guido Thelen @Fruchtzwerg94
                    last edited by Guido Thelen

                    @Fruchtzwerg94 @donho ,
                    great that there is a fix!!

                    But I am in holiday for 2 weeks and took my Notebook with me and I am not able to reproduce the issue on my Notebook (Windows 11) . Therefore I can’t unfortunately confirm that the fix does the trick.

                    But once the new exe is available for download I can ask the SQLinForm Plugin User, who reported the issue, to inform me about the results.

                    When will the new exe be available for public download?

                    1 Reply Last reply Reply Quote 1
                    • shridhar singhS
                      shridhar singh
                      last edited by

                      Notepad++ v8.5.5 does not open at all for me. A terminal window flashes, but after that nothing and no new process running. I uninstalled v8.5.5 and reinstalled v8.5.4, and notepad++ runs just fine. Has anyone else experienced this?

                      Fruchtzwerg94F 1 Reply Last reply Reply Quote 0
                      • Fruchtzwerg94F
                        Fruchtzwerg94 @shridhar singh
                        last edited by

                        @shridhar-singh Yes, this is most propably related to the discussion above. You can try to remove some plugins to the one who is responsible for that or just wait for the next Notepad++ release which fixes it.

                        A Notepad++ UserA 1 Reply Last reply Reply Quote 1
                        • ShinobiWarriorS
                          ShinobiWarrior
                          last edited by ShinobiWarrior

                          Is this the right place to report on a possible application incompatibility after the Version 8.5.5 update?

                          I’ve done quite extensive debug testing and troubleshooting on an issue which arose after 8.5.5.

                          In short, Notepad++ simply won’t visibly open when being opened from another application which uses VFS (Virtual File System). I say “visibly” because when looking at debug logs, the program seems to open before closing or crashing right after.

                          Downgrading to 8.5.4 fixes the incompatibility issue.

                          Kindly let me know if you’d like me to share my more extensive troubleshooting, thanks!

                          1 Reply Last reply Reply Quote 0
                          • donhoD donho unpinned this topic on
                          • donhoD
                            donho @donho
                            last edited by

                            FYI, v8.5.6 is released:
                            https://community.notepad-plus-plus.org/topic/24825/notepad-v8-5-6-release

                            1 Reply Last reply Reply Quote 1
                            • Guido ThelenG
                              Guido Thelen @donho
                              last edited by

                              @donho @Fruchtzwerg94 I can confirm that the bug has been fixed in version 8.5.6!
                              Thx!

                              1 Reply Last reply Reply Quote 1
                              • ShinobiWarriorS
                                ShinobiWarrior
                                last edited by

                                I can confirm updating to 8.5.6 fixed my issue!

                                1 Reply Last reply Reply Quote 2
                                • A Notepad++ UserA
                                  A Notepad++ User @Fruchtzwerg94
                                  last edited by

                                  @Fruchtzwerg94 said in Notepad++ v8.5.5 :

                                  @shridhar-singh Yes, this is most propably related to the discussion above. You can try to remove some plugins to the one who is responsible for that or just wait for the next Notepad++ release which fixes it.

                                  in my windows 10, last version fixed this problem. you can upgrade to notepad.

                                  1 Reply Last reply Reply Quote -1
                                  • PeterJonesP PeterJones locked this topic on
                                  • First post
                                    Last post
                                  The Community of users of the Notepad++ text editor.
                                  Powered by NodeBB | Contributors