• Login
Community
  • Login

SQLinForm x64 crashes with N++ 8.5.5

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
10 Posts 3 Posters 1.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.
  • G
    Guido Thelen
    last edited by Aug 11, 2023, 10:41 PM

    Hello,
    my SQLinForm Plugin (64bit) crashes with N++ 8.5.5 (64bit).
    SQLinForm Plugin (64bit) works fine with N++ 8.5.4 (64bit)
    SQLinForm Plugin (32bit) works fine with N++ 8.5.5 (32bit)

    The Plugin is written in C# using the NppPluginNET

    Any idea what could be the reason for the crash in N++ 8.5.5 (64bit) and where I could start identifying the reason for the crash?

    REgards
    GuidoMarcel

    R 1 Reply Last reply Aug 12, 2023, 9:08 PM Reply Quote 0
    • R
      rdipardo @Guido Thelen
      last edited by Aug 12, 2023, 9:08 PM

      Without access to the source code, the only reply anybody can make will be a shot in the dark.

      The most I can say is that it’s not reproducible in the following environment:

      Notepad++ v8.5.5   (64-bit)
      Build time : Aug  7 2023 - 18:44:22
      Path : C:\Users\Public\Downloads\npp.8.5.5.portable.x64\notepad++.exe
      Command Line :
      Admin mode : OFF
      Local Conf mode : ON
      Cloud Config : OFF
      OS Name : Windows 10 Pro (64-bit)
      OS Version : 22H2
      OS Build : 19045.3324
      Current ANSI codepage : 65001
      Plugins :
          mimeTools (2.9)
          NppConverter (4.5)
          NppExport (0.4)
          SQLinFormNpp64 (6.23.3.24)
      
      G 1 Reply Last reply Aug 13, 2023, 8:35 AM Reply Quote 2
      • G
        Guido Thelen @rdipardo
        last edited by Aug 13, 2023, 8:35 AM

        @rdipardo Many thanks for your answer. Indeed I can’t reproduce the error anymore myself. The error was reported by one of the plugin users and Friday I was able to reproduce the error. But now, after re-installing N++ 8.5.5 again from fresh the error seems to have disappeared. Maybe there was a new version of N++ 8.5.5 published in the meantime.

        Regards
        Guido

        A 1 Reply Last reply Aug 13, 2023, 11:12 AM Reply Quote 0
        • A
          Alan Kilborn @Guido Thelen
          last edited by Aug 13, 2023, 11:12 AM

          @Guido-Thelen said in SQLinForm x64 crashes with N++ 8.5.5:

          Maybe there was a new version of N++ 8.5.5 published in the meantime.

          There actually can be different versions of 8.5.5. What makes a notepad++.exe unique is its Build time. So if you are really suspecting something like what you mentioned, have a look at that in your and your user’s debug info.

          G A 2 Replies Last reply Aug 13, 2023, 8:26 PM Reply Quote 2
          • G
            Guido Thelen @Alan Kilborn
            last edited by Aug 13, 2023, 8:26 PM

            @Alan-Kilborn , thanks for this hint. The Build Time of N++ did not change in-between. Then this proves that a miracle happened ;-)
            I will need probably more info from other plugin-users to identify the real issue.

            R 1 Reply Last reply Aug 14, 2023, 2:22 AM Reply Quote 0
            • A
              Alan Kilborn @Alan Kilborn
              last edited by Aug 13, 2023, 8:29 PM

              @Alan-Kilborn said in SQLinForm x64 crashes with N++ 8.5.5:

              There actually can be different versions of 8.5.5. What makes a notepad++.exe unique is its Build time.

              BTW, this would only actually happen because of the “release candidate” versions of Notepad++. Each RC for a specific version has the “real” version number on it (in case it is proven out and actually becomes the release).

              1 Reply Last reply Reply Quote 1
              • R
                rdipardo @Guido Thelen
                last edited by Aug 14, 2023, 2:22 AM

                @Guido-Thelen said in SQLinForm x64 crashes with N++ 8.5.5:

                I will need probably more info from other plugin-users to identify the real issue.

                Have a look at https://community.notepad-plus-plus.org/post/88577.

                R G 2 Replies Last reply Aug 14, 2023, 3:51 AM Reply Quote 1
                • R
                  rdipardo @rdipardo
                  last edited by Aug 14, 2023, 3:51 AM

                  Have a look at https://community.notepad-plus-plus.org/post/88577.

                  One more thing to note: the commit that @Fruchtzwerg94 mentioned also enabled large address awareness for x64 builds of N++. There’s a classic post on Stack Overflow explaining how that can pull the rug out from under third-party DLLs, which suddenly have to cope with 64-bit pointers.

                  It should be irrelevant if the only faulting DLL is 64-bit, which obviously addresses memory with “large” ordinals all the time. In fact the new build option is supposed to be enabled by default for 64-bit targets .

                  But then there’s the whole .NET Framework to think about. The C# plugin template is basically a 32-bit module , with some “support” for x64 bolted on rather recently.

                  G 1 Reply Last reply Aug 14, 2023, 7:19 PM Reply Quote 4
                  • G
                    Guido Thelen @rdipardo
                    last edited by Aug 14, 2023, 5:42 AM

                    @rdipardo thanks! This sounds as it could be related to my issue. Just wondering how I could change this CETCOMPAT Flag myself.

                    Guido

                    1 Reply Last reply Reply Quote 0
                    • G Guido Thelen referenced this topic on Aug 14, 2023, 5:45 AM
                    • G
                      Guido Thelen @rdipardo
                      last edited by Aug 14, 2023, 7:19 PM

                      @rdipardo @Alan-Kilborn it looks like there is a fix now available. https://community.notepad-plus-plus.org/post/88610

                      Thanks for all your feedback!

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