View Ticket
Not logged in
2020-04-21
08:33 Verified ticket [c3c733e21f]: Notepad++ crashes after calling of Decode JS functionality plus 4 other changes artifact: e01c6b445c user: anonymous
2019-11-11
01:15 Review ticket [c3c733e21f]. artifact: a6af940048 user: anonymous
2019-09-11
18:27 Deferred ticket [c3c733e21f]. artifact: a836f8e909 user: tinus
17:53
Preparing for bugfix of [c3c733e21f7af25e]. New Delphi version. Minor code optimizations. Leaf check-in: 2ece7cf9fd user: tinus tags: bugfix/c3c733e21f7af25e
05:58 Ticket [c3c733e21f] Notepad++ crashes after calling of Decode JS functionality status still Verified with 3 other changes artifact: 709817b62a user: tinus
05:57 Verified ticket [c3c733e21f]. artifact: 40e05f60e6 user: tinus
2019-07-09
07:36 New ticket [c3c733e21f]. artifact: 277006a863 user: anonymous

Ticket Hash: c3c733e21f7af25e4e7da3c0eaef4d43809608f7
Title: Notepad++ crashes after calling of Decode JS functionality
Status: Verified Type: Incident
Severity: Critical Priority: High
Subsystem: JS en-/decoding Resolution: Open
Last Modified: 2020-04-21 08:33:51
Version Found In: v1.1.0 (64-bits)
User Comments:
anonymous added on 2019-07-09 07:36:58:
Problem description:
Notepad++ is always crashing after calling functionality of Decode JS provided by the plugin. This is probably problem of latest version because this functionality was heavily used before without any problem.

Example text:
U\u017Eivatel m\u00e1 zablokovan\u00fd \u00fa\u010det.


HTMLTag plugin version:
1.1.0.0 (64-bit)

Notepad++ version:
7.7.1 (64-bit)

tinus added on 2019-09-11 05:57:23:
That's always worked correctly; I presume it’s a problem with the 64-bits version of the plugin. I’ll see what I can find.

tinus added on 2019-09-11 18:27:04:
Hm... It's not crashing here, with the exact same text. What other plugins have you got installed?

anonymous added on 2019-11-11 01:15:31:
@tinus The bug only happens in Notepad 7.7 onwards. Notepad 7.6.x works fine.
The bug is pretty serious, using the JS Decode option will increase RAM usage exponentially (many gigabytes) in a few seconds (checked with task manager).

Testcase
- In an blank document, type the following string: \u0048\u0065\u006c\u006c\u006f!
- Use the JS Decode option.
- If using version 7.6.x it'll decode to "Hello!". 
- If using version 7.7/7.8 Notepad++ will hang and it'll eat all the RAM until the computer also hangs.

Using Windows 10 LTSC x64, Notepad++ x64 as well. No other plugins other than default.

anonymous added on 2020-04-21 08:33:51:
Can confirm. 

HTMLTag plugin 1.1 (64-bit)

Windows 10 64b
Notepad++ version: 7.8.2 (64-bit)

Same behaviour as above: 
Sample text: S\u00f8rskagvegen
Click on "Decode JS", RAM is used up and Notepad becomes unresponsive and quits.