[Bug 46043] Notepad++ v7.5.9 x86 'MarkdownViewer++' v0.8.2 plugin ( .NET 4.0 based) causes abnormal program termination with Wine-Mono 4.7.3

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 24 17:05:22 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=46043

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at 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

-- 
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.



More information about the wine-bugs mailing list