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@winehq.org Reporter: klasse@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)