mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
ToHtml causes "access violation" #172
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WernerMairl on GitHub (Dec 5, 2017).
Hi
I have a md file (attached) that causes a full stop (=catch not working, runtime stops execution) on dotnet core for a Stackoverflow/Access violation (tested with markdig 0.14.7)
The md file should be attached to this issue!
here the code snippet that i use to convert that file:
expected behavior: working convert, OR if there is some problem inside the md a meaningful exception.
I hope the error can be reproduced immediately on your side
regards
Werner
dotnet --info
.NET Command Line Tools (2.1.1-preview-007165)
Product Information:
Version: 2.1.1-preview-007165
Commit SHA-1 hash: a4d1a8e0bb
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.1-preview-007165\
Microsoft .NET Core Shared Framework Host
Version : 2.0.3
Build : a9190d4a75f4a982ae4b4fa8d1a24526566c69df
event_groupby_attendee.md.txt
@xoofx commented on GitHub (Dec 5, 2017):
In debug I got a StackOverflow error that should be fixed by commit
bd4ea56(0.14.8+)Let me know if it is fixing your issue on your side.
@WernerMairl commented on GitHub (Dec 5, 2017):
I can confirm that the exception is solved it works - THANK YOU!
Issue can be closed!
Feedback after executing the convert:
The execution is slow...
8(!) Seconds to convert this 236KB markdown into a 1600KB Html
Other markdowns with 70-80 KB are converted in a few milliseconds so i can only suggest to evaluate this usecase for performance tests....
@xoofx commented on GitHub (Dec 5, 2017):
indeed, that's a pathological case with a pipe array of this size