View Ticket
Not logged in
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.