Project

Profile

Help

Bug #5456

closed

testValidator.exe core dumps on Windows in testValidator5

Added by Martin Honnen over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Samples
Start date:
2022-04-15
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
11.3
Fixed in version:
11.4
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

Testing the suggested fix of https://saxonica.plan.io/issues/5455 I compiled and run testValidator.cpp of the SaxonC EE 11.3 release and found that running it gives an error

JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: system exception at 0x00007ff6e3f62cd1
Please, contact the vendor of the application.

Exception 0xC0000005 (EXCEPTION_ACCESS_VIOLATION) at 0x00007ff6e3f62cd1 (C:\Program Files\Saxonica\SaxonC EE 11.3\samples\cppTests\testValidator.exe+0x42cd1)
Failed to read memory at 0x0000000000000000

Based on the output before the core dump the error occurs in testValidator5 when trying to execute cout<<endl<<node->size()<<"Validation Report"<<node->getStringValue()<<endl; on the call to node->getStringValue().

There doesn't seem to be any other use of val->getValidationReport() (which creates that node with XdmNode * node = val->getValidationReport()) so I suspect this method needs to be looked at.


Files

testValidator.cpp (9 KB) testValidator.cpp O'Neil Delpratt, 2022-05-18 09:22

Related issues

Related to SaxonC - Bug #5551: C++ Schema tests need restructuringClosedO'Neil Delpratt2022-05-30

Actions

Please register to edit this issue

Also available in: Atom PDF