-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pandoc 2.0.6+ crashes on Windows 7 when a Lua Filter is used. #4293
Comments
Wondering whether this is still the case with pandoc 2.1.1 ? |
I'm having the same issue, running Windows 7 and pandoc 2.1.2 test.lua:
Running from command line: Please let me know if more info is needed for fault finding. |
@mb21 Freshly downloaded 2.1.2 crashes as described above. |
Can you post the exact output? and exact windows version? Maybe you could also try the commands listed in #4283 and see whether they crash (and if so with what output/exit code)? |
Here are some more details.
System Info Running the same command as before again. It produces no output, and I get a "Pandoc.exe has stopped working" dialogue from windows, almost immediately. The pandoc -h command produces the help text below and then crashes with the same dialogue. |
There is no output of different, I'm afraid.
Crashes after printing the complete help text, curiously
Does convert a simple test file (like the one above) just fine (prints the HTML to the stdout). Adding a Lua filter (even an empty Lua file) does crash the command (prints nothing). Running Pandoc from the Windows CMD simply gives the "has stopped working" dialog, running it from Bash (Git Bash) gives a "Segmentation fault" and exit code 139. I'm not sure what else I can tell you. Windows version is "Windows 7 6.1.7601 Service Pack 1 Build 7601". |
Yeah, maybe let's focus on #4283 first... seems easier to figure out why |
Compiled pandoc from source on Windows 7, and it resolved also this issue! So I suppose the problem is only related to the distributed exe file. See #4283 for details. |
Duplicate of #4283 |
Pandoc 2.0.6/2.1+ are crashing on Windows 7 when a Lua Filter is used.
As test case is used the following:
pandoc.exe --from=markdown --to=html --lua-filter=filter.lua test.markdown
test.markdown
:filter.lua
:When invoked with the above command, Pandoc crashes and Windows reports that Pandoc has stopped working. When the Lua filter is ommitted:
Pandoc does not crash.
I could reproduce this on another Windows 7 machine, however, it works correctly on Windows 10. Pandoc 2.0.5 does not crash when used with Lua filters. The ZIP packaged version (from the releases page) has been used for all tests.
This has been reported on the mailing list.
The text was updated successfully, but these errors were encountered: