Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notepad++ hangs at startup with HexEditor plugin enabled #1

Open
daooze opened this issue Sep 25, 2017 · 8 comments
Open

Notepad++ hangs at startup with HexEditor plugin enabled #1

daooze opened this issue Sep 25, 2017 · 8 comments
Labels
Milestone

Comments

@daooze
Copy link

daooze commented Sep 25, 2017

When a user starts Notepad++ for the first time, "%APPDATA%\Notepad++\plugins\Config"-folder is usually not be available. The HexEditor plugin somehow relies on it but does not create it automatically.

The following behaviour has been observed:

"%APPDATA%\Notepad++\plugins" not available:
Notepad++ hangs with high CPU usage and an increasing amount of used memory.

"%APPDATA%\Notepad++\plugins\config" not available:
Notepad++ just crashes.

Creating the folder manually resolves this issue.

@chcg chcg added the bug label Feb 6, 2018
@chcg
Copy link
Owner

chcg commented Feb 6, 2018

@daooze Which version are you using? An official one from http://sourceforge.net/projects/npp-plugins/files/Hex%20Editor/ or a "private" testbuild from my github project? Which OS and N++ version?

@chcg chcg added this to the 0.9.5.2X milestone Feb 12, 2018
chcg added a commit that referenced this issue Feb 13, 2018
"%APPDATA%\Notepad++\plugins\config" not available:
Notepad++ just crashes.

and maybe also:

"%APPDATA%\Notepad++\plugins" not available:
Notepad++ hangs with high CPU usage and an increasing amount of used memory.
@mcgoober
Copy link

Startup hang seen with Windows 10 (1709), Notepad++ 7.3.2 (64bit), NPP_HexEdit 0.9.5.19 (64bit)
Notepad++ UI never appears, Notepad++ process is seen under Background processes in Task Manager and sits at ~15% CPU.
Removal of HexEditor.dll fixes the startup hang and Notepad++ starts normally.

@mcgoober
Copy link

Latest build from here... https://ci.appveyor.com/project/chcg/npp-hexedit/build/0.9.5.25
hasn't fixed the issue. Same result as above.

@danielsokolowski
Copy link

Confirmed issue here as well, created both folders as per bug report issue goes away.

@lordprize
Copy link

Can confirm as well. Creating both folders helped.

@lmstearn
Copy link

lmstearn commented Jan 22, 2019

Related: 7.5.9 (32 bit) didn't crash with the X86 plugin on startup with it enabled here, but hangs whenever we touch the file dropdown menu with a hex edited file opened. 'Tis still the bug of ye olden times. Same symptoms when the hex edited file is then unselected for hex editing.
Didn't hang when the Settings menu was invoked, but did with the View menu dropdown. Haven't tested the others.
Sounds like the same underlying cause, but a new issue can be raised if you like. Thanks.

@chcg
Copy link
Owner

chcg commented Feb 14, 2019

@lmstearn Could you create a new issue for the problem you described. That seems to be a different one from the one here. Could you state which version of HexEditor you use. If it is still the one from https://sourceforge.net/projects/npp-plugins/files/Hex%20Editor/Hex%20Editor%20Plugin%20v0.9.5/? You should first try out the one from https://github.com/chcg/NPP_HexEdit/releases/tag/0.9.5.19 if this is the case.
I tried to reproduce your issue and it seems not to happen for me. Could you describe the steps to reproduce in more detail please. I used a text file, changed to hex mode and did open the various available menus without a delay.
Could you also please also provide the N++ debug infos to see which other plugins might be involved. If possible a test with the portable version of N++ with just the HexEditor plugins would be also helpful to see if it is caused just by this plugin.

@lmstearn
Copy link

@chcg : Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants