#4864 Runtime error on ctrl+double-click

Non-Specific
open
nobody
5
2014-07-26
2014-06-10
bajas
No

Run-time error crash when Ctrl+Mouse double click on Windows. This has affected so many versions for me and so obvious that I suspect that it's related to very few persons or something that is at least known.

Affects version 6.6.3 (UNICODE) and some earlier 6.x.x versions
Windows 8 64-bit
All plugins disabled. Session blanked out.

Steps to reproduce:
1. Starting from a blank session, go to Preferences - Delimiter and set both the delimiters to a single quote or a single space, or anything really.
2. Ctrl+Double-click an empty document, a document with no delimiters or a word with unaligned delimiters (e.g. "foo'bar'" and you ctrl+double-click foo with delimiters being a quote).
3. Observe Notepad++ crashing with error message:


Microsoft Visual C++ Runtime Library

Runtime Error!

Program: C:\Program Files (x86)\Notepad++\notepad++.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


OK

Notepad++ must then be ended by the means of task manager, as it becomes unresponsive. All session data since the last backup is then lost.

Discussion

  • The two delimiters have to be the same character for this bug to surface. I suspect most people leave them as the default (left and right parentheses). This is fixed in https://sourceforge.net/p/notepad-plus/patches/588/

     
  • Don HO
    Don HO
    2014-07-26

    I cannot absolutely reproduce the crash with your steps.
    Am I missing somethings?
    Don