[Bug 39293] New: Notepad++ with NppExec plugin: Unhandled exception
https://bugs.winehq.org/show_bug.cgi?id=39293 Bug ID: 39293 Summary: Notepad++ with NppExec plugin: Unhandled exception Product: Wine Version: 1.6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: klasse(a)partyheld.de Distribution: --- Created attachment 52371 --> https://bugs.winehq.org/attachment.cgi?id=52371 Wine backtrace NppExec is a plugin for Notepad++ which can, e.g., execute an external tool (e.g. compiler) from within Notepad++, parse its output and, based on the file path and line number shown in the output, open the affected file and line number within Notepad++. The issue is that when NppExec opens the affected file and line, it appears correctly in Notepad++, but then immediately following Win32Exception pops up: An exception occured. Notepad++ cannot recover and must shut down. The exception details are as follows: Code: 0x80000101 Type: Unlisted exception Exception address: 0xF77DF430 Reproduction example: 1. Create a text file named "test.txt" and fill a it with a few lines of text. 2. Create a text file named "output.txt" with following content (replace brackets with path to the above "test.txt" according to its location): [path-to-file, either in Linux or in Windows format, doesn't matter]test.txt:2: whatever 3. Install the NppExec plugin (just copy its DLL into the /plugins directory of Notepad++ installation) 4. Open Notepad++ 5. Under the menu Plugins -> NppExec, click on "Console Output Filers", activate the first mask and enter following into it, before confirming with OK: %FILE%:%LINE%:* 6. Under the menu Plugins -> NppExec, click on "Show console dialog", to open the console at the bottom of the window 7. Enter following into the console and hit enter (replace brackets with file path): cmd /c type [windows-style path to file]output.txt 8. Double-click on the line which appeared in the console Expected results: 7. Content of the "output.txt" file (it's only one line here) appears in the console 8. The above "test.txt" file is opened (with line 2 as current line) in Notepad++. Actual results: 8. As in "expected results", but a "Win32Exception" also pops up requiring closure of Notepad++ Backtrace attached. Wine used in its pure state (no Gecko, etc.) as provided by Linux Mint 17.1. Configured as Windows 7. (Although WinXP and Win8 were also tried, with the same result - all with completely virgin Wine configurations (the $USER/.wine folder deleted before each test).) * Notepad++ 6.8.3: npp.6.8.3.bin.7z (http://notepad-plus-plus.org/download/, at the AppDB: http://appdb.winehq.org/objectManager.php?sClass=version&iId=25722). The installable variant npp.6.8.3.Installer.exe was tested with the same result. * NppExec 0.5.3: NppExec_053_dll_Unicode.zip (http://sourceforge.net/projects/npp-plugins/files/NppExec/, documentation provided within the plugin archive) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 --- Comment #1 from Marco <klasse(a)partyheld.de> --- Additional notes: - This issue does not occur under Windows (tested with WinXP Home, 32 bit) - NppExec is currently the sixth (out of 47) most-downloaded Notepad++ plugin on http://sourceforge.net/projects/npp-plugins/files/, with 6,609 downloads per week. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com --- Comment #2 from Vijay Kamuju <infyquest(a)gmail.com> --- Please update to latest development version. Wine 1.6.2 is quite an old version. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.6.2 |1.7.50 --- Comment #3 from Marco <klasse(a)partyheld.de> --- (In reply to Vijay Kamuju from comment #2)
Please update to latest development version. Wine 1.6.2 is quite an old version.
I updated to the latest 1.7.50 by adding Ubuntu's ppa:ubuntu-wine/ppa. The issue still appears with it. I'm attaching the backtrace of that and changing the affected version accordingly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 --- Comment #4 from Marco <klasse(a)partyheld.de> --- Created attachment 52394 --> https://bugs.winehq.org/attachment.cgi?id=52394 Wine 1.7.50 backtrace -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.50 |1.9.8 Component|-unknown |richedit --- Comment #5 from Marco <klasse(a)partyheld.de> --- The issue can be confirmed with current Wine 1.9.8 on Debian Jessie, 32 bit, 4.3 Kernel, current Notepad++ 6.9.1 and NppExec 0.5.3. Feedback from the developer of the NppExec plugin and further analysis can be found in https://sourceforge.net/p/npp-plugins/discussion/672146/thread/405041c6/#2b6... Following assertion failure in the "richedit" component seems to be related to the issue: an/.wine/dosdevices/c:/Program Files (x86)/Notepad++/notepad++.exe: caret.c:231: ME_GetCursorCoordinates: Assertion `~para->member.para.nFlags & 0x01' failed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- (In reply to Marco from comment #5)
The issue can be confirmed with current Wine 1.9.8 on Debian Jessie, 32 bit, 4.3 Kernel, current Notepad++ 6.9.1 and NppExec 0.5.3.
Feedback from the developer of the NppExec plugin and further analysis can be found in https://sourceforge.net/p/npp-plugins/discussion/672146/thread/405041c6/#2b6...
Following assertion failure in the "richedit" component seems to be related to the issue: an/.wine/dosdevices/c:/Program Files (x86)/Notepad++/notepad++.exe: caret.c:231: ME_GetCursorCoordinates: Assertion `~para->member.para.nFlags & 0x01' failed.
Does 'winetricks riched20' help? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 --- Comment #7 from Marco <klasse(a)partyheld.de> --- (In reply to Austin English from comment #6)
Does 'winetricks riched20' help?
Thanks for feedback! Yes, it helps indeed. The issue does not occur if that is used. ------------------------------------- Just as a note, following was tested: Debian Jessie 32 bit, kernel 4.3, with: - Wine 1.8 configured as WinXP and Win7 - Wine 1.9.8 configured as Win7 Winetricks (current Github master branch) downloads https://web.archive.org/web/http://download.microsoft.com/download/E/6/A/E6A... (first downloaded for Wine 1.8 configured as WinXP and then re-extracted on other tests) .../.wine/winetricks.log contains on all tests: msls31 riched20 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Notepad++ with NppExec |Notepad++ with NppExec |plugin: Unhandled exception |plugin: Unhandled exception | |(caret.c:231: | |ME_GetCursorCoordinates: | |Assertion | |`~para->member.para.nFlags | |& 0x01' failed) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Notepad++ with NppExec |Notepad++ with NppExec |plugin: Unhandled exception |plugin: Unhandled exception |(caret.c:231: |(caret.c:231: |ME_GetCursorCoordinates: |ME_GetCursorCoordinates: |Assertion |Assertion |`~para->member.para.nFlags |`~para->member.para.nFlags |& 0x01' failed) |& 0x01' failed in RichEdit) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=39342 URL| |https://sourceforge.net/p/n | |pp-plugins/discussion/67214 | |6/thread/405041c6/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52371|0 |1 is obsolete| | Attachment #52394|0 |1 is obsolete| | --- Comment #8 from Marco <klasse(a)partyheld.de> --- Created attachment 54432 --> https://bugs.winehq.org/attachment.cgi?id=54432 Wine 1.9.8 with NppExec backtrace with symbols Attaching the stack trace from https://sourceforge.net/p/npp-plugins/discussion/672146/thread/405041c6/#f76... here as well. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=29614 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 --- Comment #9 from Marco <klasse(a)partyheld.de> --- Created attachment 54433 --> https://bugs.winehq.org/attachment.cgi?id=54433 Wine 1.8 crash screenshot Attaching the screenshot from https://sourceforge.net/p/npp-plugins/discussion/672146/thread/405041c6/#0dc... here as well. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #10 from winetest(a)luukku.com --- bug 39342 sounds dupe. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #11 from Fabian Maurer <dark.shadow4(a)web.de> --- Is this still an issue? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Marco <klasse(a)partyheld.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED --- Comment #12 from Marco <klasse(a)partyheld.de> --- (In reply to Fabian Maurer from comment #11)
Is this still an issue?
No, it hasn't occurred for several Wine/Notepad++ versions already. Currently, no issue with version 5.0.3 packaged with Ubuntu 21.10, and Notepad++ v8.2 (64-bit). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39293 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla