Thread 1 "testXQuery" received signal SIGSEGV, Segmentation fault
Reported here: https://saxonica.plan.io/boards/4/topics/8447
The C API for testXQuery sample crashes with following error:
Saxon version: 11.1 JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: system exception at 0x00005562de1f2da2 Please, contact the vendor of the application. Core dump will be written to "/home/mh/libsaxon-HEC-11.1/samples/cTests/core" Extra information about error is saved in the "jet_err_21584.txt" file. Aborted (core dumped)
Within the debugger tool gdb we see the underlying issue:
Thread 1 "testXQuery" received signal SIGSEGV, Segmentation fault. 0x0000555555555d42 in checkForException ()
Updated by O'Neil Delpratt over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
The underlying cause of the failure is the
cat.xml file was missing from the directory. I have changed the test to pick up the file from the data directory.
However, I discovered that the checkForException function was muddled with the argument given as the
sxn_environ pointer but in the function it was expecting Jet
env reference. I have committed a fix for this across all functions and test programs in the C API.
Please register to edit this issue