Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Notepad++ crashes, by opening more than x files at the same time

    Help wanted · · · – – – · · ·
    3
    5
    439
    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.
    • luca Cavandoli
      luca Cavandoli last edited by

      Hi!

      When I open several textfiles at the same time (select the files in windows explorer and press enter) it crashes. Not only the program crashes but windows freezes and i can’t do anything but restart the computer. Please help :)

      Notepad++ v8.3.2 (64-bit)
      Build time : Feb 27 2022 - 03:35:46
      Path : C:\Program Files\Notepad++\notepad++.exe
      Command Line : “C:\01 Projects\00_SCS-PFA\00_SVN\Trunk\Packages\R2.x.x\4_Tools\eData_v3.5\Templates\Param\MM_AP001_L_S1.scl”
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      OS Name : Windows 10 Enterprise (64-bit)
      OS Version : 2009
      OS Build : 19043.1526
      Current ANSI codepage : 1252
      Plugins : ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll

      Lycan Thrope PeterJones 2 Replies Last reply Reply Quote 1
      • Lycan Thrope
        Lycan Thrope @luca Cavandoli last edited by

        @luca-cavandoli ,

        Not an expert, but since you’re using the newer version, you should try starting NPP with -noPlugin in the command line to leave off the plugins and see if it stabilizes. If it does, then one or more of your plugins may not have been updated to work with the new version and you’ll need to download the newest version that has been made compatible with 8.3.2 to stop the behavior. Beyond that, maybe someone else has a better idea.

        1 Reply Last reply Reply Quote 0
        • PeterJones
          PeterJones @luca Cavandoli last edited by

          @luca-cavandoli ,

          Further to what @Lycan-Thrope said: three of the four plugins you list are the ones that come from the Notepad++ developer and ship with Notepad++; they are compatible. ComparePlugin is known to have a compatibility change. Since you are on v8.3.2 of Notepad++, close Notepad++, go to https://github.com/pnedev/compare-plugin/releases/tag/v2.0.2 and download the 64bit zipfile, and extract the DLL overtop of your old DLL : it needs to be saved as c:\program files\notepad++\plugins\ComparePlugin\ComparePlugin.dll . Then re-run Notepad++, and the plugin will stop crashing Notepad++.

          1 Reply Last reply Reply Quote 2
          • luca Cavandoli
            luca Cavandoli last edited by

            Thanks for your quick answers!

            How can I run the NPP with -noPlugin per default? I can run it with the CMD like that but my issue occurs when opening several files at the same time by selecting them and press enter. So How can I test this with -noPlugin?

            Anyway I temporarily deleted all the plugins in the plugin folder and it still crashes, so I don’t think it’s caused by any plugin. It crashes when opening more than 2 files btw, 2 files at the same time works fine. The total file size is 19KB.

            PeterJones 1 Reply Last reply Reply Quote 0
            • PeterJones
              PeterJones @luca Cavandoli last edited by

              @luca-cavandoli said in Notepad++ crashes, by opening more than x files at the same time:

              NPP with -noPlugin per default

              That’s not the right long-term solution. To be able to do that, you would have to edit one or more entries in your registry; since you’ve got definite problems, I would not recommend doing that, unless you know what you’re doing. (And, to be blunt, if you knew enough for it to be safe for you to edit your registry, you wouldn’t be asking how to run a program with a specific command line option by default.)

              The right long-term solution is to uninstall the plugin or plugins that are causing the problem, after which point Notepad++ will load properly.

              Anyway I temporarily deleted all the plugins in the plugin folder and it still crashes, so I don’t think it’s caused by any plugin.

              I am dubious. Are you sure you don’t have multiple copies of Notepad++ lying around, and you deleted the plugins from one but it’s actually a different one that’s trying to run? And are you sure you deleted/renamed the actual plugins (the folder(s) containing the DLLs, that is, C:\Program Files\Notepad++\plugins\), not just the %AppData%\Notepad++\Plugins directory (probably c:\users\username\AppData\Roaming\Notepad++\Plugins), which should only contain the configurations for plugins, not the plugin DLLs themselves?

              Could you show us the updated Debug Info after you are confident that the plugins are really out of the picture?

              It crashes when opening more than 2 files btw, 2 files at the same time works fine.

              I have never seen that happen. What is the exact sequence of events you are taking that leads to this?

              Command Line : “C:\01 Projects\00_SCS-PFA\00_SVN\Trunk\Packages\R2.x.x\4_Tools\eData_v3.5\Templates\Param\MM_AP001_L_S1.scl”

              Given the length of the filename on your command line, I wonder if when you are selecting 3 or more files, whether the total length of the command line is too long for Windows to deal with (Windows has some length limitations in the “verb action” interface). If you select each of the files one-at-a-time and open them with Notepad++, does it load those same files properly?

              1 Reply Last reply Reply Quote 3
              • First post
                Last post
              Copyright © 2014 NodeBB Forums | Contributors