Closed Fravadona closed 2 years ago
What does the debug version say? Or compiled with -g -gl
? Or when it is run through gdb (after the error use commands disassemble
and backtrace
to get more information)?
I do not have a Mac to investigate this
I didn't find the debug version, compiling Xidel with -g -gl
doesn't yield anything more than the previous crash message, and getting gdb
to work on macOS is so convoluted... But here's the log:
Looks like that issue I encountered last month when updating fpc: https://github.com/BeRo1985/flre/issues/85
Try compiling it with the patched flre
Hi,
The patch fixes the macOS issue
Thank you
Given the followings XML:
Here's what I get when I run
xidel --xpath 'matches( /a/text(), "a|b" )' input.xml
:Xidel 0.9.9 (20220605.git87483a690c50ef2a60fbebf83055ce46f9c2b6ac) FPC3.2.2 x86_64-Darwin
Xidel 0.9.9 (20220424.8389.2d2ee7befb8a) FPC3.2.2 x86_64-Darwin
Xidel 0.9.9 (20220424.8389.2d2ee7befb8a) FPC3.2.2 x86_64-Linux
Xidel 0.9.9 (20220424.8389.2d2ee7befb8a) FPC3.0.4a x86_64-Darwin
I attached the build logs of Xidel using FPC 3.2.2 on Linux and macOS so that you can see the several new warnings that appear on macOS.
xidel_build_linux.log xidel_build_macos.log