Skip to content

NPP crashes on opening a session file #11325

@Yaron10

Description

@Yaron10

STR:
Create two files: C:\T1.txt and C:\T2.txt.
Create a session file containing the following lines:

<NotepadPlus>
    <Session activeView="0">
        <mainView activeIndex="0">
            <File firstVisibleLine="0" xOffset="0" scrollWidth="514" startPos="0" endPos="0" selMode="0" lang="None (Normal Text)" encoding="-1" filename="C:\T1.txt" backupFilePath="" originalFileLastModifTimestamp="1462017716" />
        </mainView>
        <subView activeIndex="0">
            <File firstVisibleLine="0" xOffset="0" scrollWidth="514" startPos="0" endPos="0" selMode="0" lang="None (Normal Text)" encoding="-1" filename="C:\T2.txt" backupFilePath="" originalFileLastModifTimestamp="1461982719" />
        </subView>
    </Session>
</NotepadPlus>

Open that session file (i.e. double-click on it or drag it into NPP).

Result:
NPP crashes.

Caused by ca8c302.


Notepad++ v8.3.2 (64-bit)
Build time : Feb 27 2022 - 16:11:01
Path : C:---\Notepad++ Original.exe
Command Line :
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19042.985
Current ANSI codepage : 1255
Plugins : ComparePlus.dll HTMLTag.dll MenuIcons.dll PythonScript.dll _CustomizeToolbar.dll

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions