https://bugs.winehq.org/show_bug.cgi?id=46043
Bug ID: 46043 Summary: Notepad++ x86 Visual C++ Runtime error Product: Wine Version: 3.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hildogjr@gmail.com Distribution: ---
Notepad++ x86 cause a "Microsoft Visual C++ Runtime Library Error" when try to run a plugin. To reproduce: 1. Install Note++ x86 from https://notepad-plus-plus.org/; 2. Install the 'Plugins Manager' downloading the *UNI.zip package from https://github.com/bruderstein/nppPluginManager/releases 3. Place the folder/files in the installation program folders `plugins` and `update`. 4. Open a *.md file 5. Try to run the plugin: Plugins >> MarkdownViewer++ >> MarkdownViewer++ 6. Error and freeze.
https://bugs.winehq.org/show_bug.cgi?id=46043
--- Comment #1 from Hildo Guillardi Júnior hildogjr@gmail.com --- I forgot, between the steps 3 and for: 3. Place the folder/files in the installation program folders `plugins` and `update`. 3.1 Open the 'Plugin Manager': Plugins >> Plugins Manager >> Show Plugins Manager 3.2 Install the plugin 'MarkdownViewer++' 4. Open a *.md file
https://bugs.winehq.org/show_bug.cgi?id=46043
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Notepad++ x86 Visual C++ |Notepad++ v7.5.9 x86 |Runtime error |'MarkdownViewer++' v0.8.2 | |plugin (.NET 4.0 based) | |causes abnormal program | |termination with Wine-Mono | |4.7.3 Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1 URL| |https://notepad-plus-plus.o | |rg/repository/7.x/7.5.9/npp | |.7.5.9.Installer.exe Component|-unknown |mscoree
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. The 'MarkdownViewer++' plugin requires .NET Framework 4.0 to run.
https://nea.github.io/MarkdownViewerPlusPlus/
--- quote --- Compatibility
This plugin requires at least
Notepad++ 32-bit/64-bit Windows .NET Framework 4.0 or above
It has been tested under the following conditions
Notepad++ 7.5.6 32-bit and 64-bit Windows 10 Professional (64-bit)
--- quote ---
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Notepad++
$ WINE_MONO_VERBOSE=1 WINE_MONO_TRACE=x wine ./notepad++.exe ... Method bool Markdig.Parsers.Inlines.LiteralInlineParser:Match (Markdig.Parsers.InlineProcessor,Markdig.Helpers.StringSlice&) emitted at 061626D8 to 06162B55 (code length 1149) [mscorlib.dll] converting method int Markdig.Parsers.InlineProcessor:GetSourcePosition (int,int&,int&) Method int Markdig.Parsers.InlineProcessor:GetSourcePosition (int,int&,int&) emitted at 06162B88 to 06162D5A (code length 466) [mscorlib.dll] converting method Markdig.Helpers.StringLineGroup/LineOffset System.Collections.Generic.List`1<Markdig.Helpers.StringLineGroup/LineOffset>:get_Item (int) Method Markdig.Helpers.StringLineGroup/LineOffset System.Collections.Generic.List`1<Markdig.Helpers.StringLineGroup/LineOffset>:get_Item (int) emitted at 06162D68 to 06162DD4 (code length 108) [mscorlib.dll] converting gshared method int Markdig.Parsers.ParserList`2<Markdig.Parsers.InlineParser, Markdig.Parsers.InlineProcessor>:IndexOfOpeningCharacter (string,int,int) Method int Markdig.Parsers.ParserList`2<T_REF, TState_REF>:IndexOfOpeningCharacter (string,int,int) emitted at 06162DD8 to 06162E06 (code length 46) [mscorlib.dll] converting gshared method int Markdig.Helpers.CharacterMap`1<Markdig.Parsers.InlineParser[]>:IndexOfOpeningCharacter (string,int,int) * Assertion at /vagrant/mono/mono/mini/local-propagation.c:561, condition `ins->opcode > MONO_CEE_LAST' not met
abnormal program termination 0009:err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded. --- snip ---
Works fine with MS .NET Framework 4.0 installed ('winetricks -q dotnet40')
Problem also mentioned upstream here:
https://github.com/mono/mono/pull/6020
The fix is in upstream Mono-5.10.0.140+ here:
https://github.com/mono/mono/commit/3aeeae6230445e3544fde47221edf45f5230a316
--- snip --- $ git remote -v origin https://github.com/mono/mono.git (fetch) origin https://github.com/mono/mono.git (push)
$ git tag --contains 3aeeae6230445e3544fde47221edf45f5230a316 mono-5.10.0.140 mono-5.10.0.160 mono-5.10.0.179 mono-5.10.1.16 mono-5.10.1.38 mono-5.10.1.47 mono-5.10.1.57 mono-5.12.0.226 mono-5.12.0.260 mono-5.12.0.273 mono-5.12.0.311 mono-5.14.0.177 mono-5.16.0.179 mono-5.16.0.201 --- snip ---
Wine-Mono uses an own fork which lags behind.
$ sha1sum npp.7.5.9.Installer.exe afab0bdad945d4ece863a651a2a522d35a144d0b npp.7.5.9.Installer.exe
$ du -sh npp.7.5.9.Installer.exe 4.1M npp.7.5.9.Installer.exe
$ sha1sum PluginManager_v1.4.12_UNI.zip b517048c8baddcb06d3ae5ba5d40613d408cd208 PluginManager_v1.4.12_UNI.zip
$ du -sh PluginManager_v1.4.12_UNI.zip 416K PluginManager_v1.4.12_UNI.zip
$ wine --version wine-3.18-182-g82dbf75dc0
Regards
https://bugs.winehq.org/show_bug.cgi?id=46043
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- This works with wine-6.10 and wine-mono 6.2.0, marking FIXED.
https://bugs.winehq.org/show_bug.cgi?id=46043
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.11.