ard225 / nppqcp

Automatically exported from code.google.com/p/nppqcp
0 stars 0 forks source link

Crashed Notepad++ #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. if i enable a color picker plugin in notepad++, and i want to complete color 
for css element i write #el_name{ color:#00 <- in this moment notepad has 
crashed with exception.

p.s: sorry, my english is bad))

What is the expected output? What do you see instead?
see a footer message

What version of the product are you using? On what operating system?

Windows XP SP3

Please provide any additional information below.
Crash report
---------------------------
Win32Exception
---------------------------
An exception occured. Notepad++ cannot recover and must be shut down.

The exception details are as follows:

Code:   0xC0000005

Type:   Access violation

Exception address: 0x42000000
---------------------------
ОК   
---------------------------

Original issue reported on code.google.com by osip_61...@mail.ru on 4 Nov 2013 at 11:49

GoogleCodeExporter commented 8 years ago
I have experienced the same problem. This is when i type with jquery selectors. 
Typing " $('#ad " causes the program to crash with the same error. Here is a 
dump file created after the crash. This did not happen before the last update.

Currently Running : v6.5.1
OS : Windows 7 Professional 64bit.

Original comment by srihare...@gmail.com on 15 Nov 2013 at 10:20

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am having the same issue. notepad++ version 6.5.1, any CSS text just crashes 
the application.
Windows 7, 64 bit.

Original comment by k.dron...@gmail.com on 26 Nov 2013 at 12:53

Attachments:

GoogleCodeExporter commented 8 years ago
Can you post your installed plugin list here?
This might be a conflict with other plugin.

Original comment by nulled...@gmail.com on 27 Nov 2013 at 12:49

GoogleCodeExporter commented 8 years ago
This is the list of my installed plugins.

Original comment by srihare...@gmail.com on 27 Nov 2013 at 1:16

Attachments:

GoogleCodeExporter commented 8 years ago
I've checked the dump file in the attachment.
And the crash happened in the SciLexer.dll, not in the plugin.
Since I don't have a rigth version of SciLexer.pdb, I can't look deep into it.

And I've updated the Npp Plugins to match your plugin list, but can't reproduce 
the problem.
Sorry.

Does this happen on every file or just a specific file? 

Original comment by nulled...@gmail.com on 27 Nov 2013 at 8:45

GoogleCodeExporter commented 8 years ago
Reproduced the problem in a Win XP virtual Machine with typing "$('#aaa" fast.
And the crash happens in SciLexer.dll's "void 
Document::NotifyModified(DocModification mh)" function line 
"it->watcher->NotifyModified(this, mh, it->userData);"

Original comment by nulled...@gmail.com on 27 Nov 2013 at 9:23

GoogleCodeExporter commented 8 years ago
I'm having the same issue. It seems to happen in some files and not others. 
There was one instance I renamed a file and the problem no longer occurred.

Steps to reproduce:
Create empty file in explorer called blah.css
Open in Notepad++
Type a hex color followed by a non-hex character, then any another character.
Crash

Original comment by keys...@gmail.com on 3 Dec 2013 at 6:31

GoogleCodeExporter commented 8 years ago
I have experienced same issue many times. From the discussion above I see the 
problem is not related to the QCP solely (although Notepad++ is always stable 
with the QCP disabled). However, I report my observations here, they may be 
valuable to someone fixing this bug:

- usually, the crash happens when editing a HEX color value, never a literal 
name (like 'black' or 'white')
- pasting a HEX color from clipboard also may cause crash
- very rare, it crashes when editing something else, like 'border-r' <- crash
- I remember that crashes have happened when there were no more characters on 
the line right from the caret, but this may be misleading memories.
- not every HEX color editing cause a crash, it is quite seldom, but may happen 
few times a day.
- if the Notepad++ crashed, and I launched it again, opened same file, did same 
changes in the same way, it crashed again.
- I can reproduce the crash reported in the comment #8
- I have many other plugins. Removing them and reproducing the crash as 
described #8 resulted in a crash again.

OS: Win7 64 bits
Notepad++ v6.5.2

P.S. This is a handy tool, now hav e to disable it due to the high risk to 
loose the code

Original comment by oleg.spa...@gmail.com on 14 Jan 2014 at 12:10

GoogleCodeExporter commented 8 years ago
Issue 10 has been merged into this issue.

Original comment by nulled...@gmail.com on 22 Feb 2014 at 6:47

GoogleCodeExporter commented 8 years ago
Will be fixed in next release. (Workaround)

Original comment by nulled...@gmail.com on 22 Feb 2014 at 6:49