Skip to content

Assertion Failure #1145

@TheNitesWhoSay

Description

@TheNitesWhoSay

Assertion failed.

Git:
git clone -b mrdoc-failure https://github.com/TheNitesWhoSay/Antora-Test.git

Powershell:

PS C:\misc\source\Antora-Test> mrdocs doc/mrdocs.yml
Extracting declarations
Finalizing corpus
assertion failed: has_value() on line 846 in include\mrdocs/ADT/Optional.hpp
PLEASE submit a bug report to https://github.com/cppalliance/mrdocs/issues/ and include the crash backtrace.
Exception Code: 0x80000003
 #0 0x00007ff79def5e4b (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x185e4b)
 #1 0x00007ff79df5360a (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x1e360a)
 #2 0x00007ff79df4df6b (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x1ddf6b)
 #3 0x00007ff79df47e61 (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x1d7e61)
 #4 0x00007ff79debd360 (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x14d360)
 #5 0x00007ff79debb4d4 (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x14b4d4)
 #6 0x00007ff79de6ce87 (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0xfce87)
 #7 0x00007ff79de76198 (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x106198)
 #8 0x00007ff7a1237400 (C:\Program Files\MrDocs 0.8.0\bin\mrdocs.exe+0x34c7400)
 #9 0x00007fffc8e0e8d7 (C:\Windows\System32\KERNEL32.DLL+0x2e8d7)
#10 0x00007fffc9cec53c (C:\Windows\SYSTEM32\ntdll.dll+0x8c53c)

PS C:\misc\source\Antora-Test> clang --version
clang version 19.1.1
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
Image

--

Note that separately I was able to generate a very simple example with mrdoc: https://theniteswhosay.github.io/Antora-Test/project-name/reference.html

But the code I'm trying it on now is much more complicated & very meta-programming heavy so a failure is unsurprising; I'll see if I can isolate the issue further or work around them but thought I'd report this issue as-is to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions