Project

Profile

Help

Python program using saxonc 1.2.0 HE module with xquery_processor.run_query_to_value(query_text = '1 to 10') crashes

Added by Martin Honnen 10 months ago

On Windows 10 64bit I managed to compile the saxonc 1.2.0 HE module for Python 3.7 but I am having trouble to get some simple XQuery execution to run:

import saxonc

with saxonc.PySaxonProcessor(license=False) as proc:
    print(proc.version)
    
    xquery_processor = proc.new_xquery_processor()
    
    result = xquery_processor.run_query_to_value(query_text = '1 to 10')
    
    print(result.item_at(0))

Output:

Saxon/C 1.2.0 running with Saxon-HE 9.9.1.5J from Saxonica

JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: system exception at 0x0000000000428b82
Please, contact the vendor of the application.
Crash dump will be written to "C:\Program Files\Saxonica\SaxonHEC1.2.0\Saxon.C.API\python-saxon\jet_dump_28160.dmp"
Extra information about error is saved in the "jet_err_28160.txt" file.

I will attach the text file.


Replies (2)

RE: Python program using saxonc 1.2.0 HE module with xquery_processor.run_query_to_value(query_text = '1 to 10') crashes - Added by Martin Honnen 10 months ago

I have no idea whether the problems I have run with are caused by Windows specific build issues but I guess it can't hurt to add the output with several warnings that the `` gave:

PS C:\Program Files\Saxonica\SaxonHEC1.2.0\Saxon.C.API\python-saxon> py saxon-setup.py build_ext -if
Compiling saxonc.pyx because it changed.
[1/1] Cythonizing saxonc.pyx
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Program Files\Saxonica\SaxonHEC1.2.0\Saxon.C.API\python-saxon\saxonc.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
running build_ext
building 'saxonc' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tpsaxonc.cpp /Fobuild\temp.win-amd64-3.7\Release\saxonc.obj
saxonc.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
saxonc.cpp(18595): warning C4244: "=": Konvertierung von "Py_ssize_t" in "int", möglicher Datenverlust
saxonc.cpp(18778): warning C4244: "Argument": Konvertierung von "Py_ssize_t" in "int", möglicher Datenverlust
saxonc.cpp(19512): warning C4244: "=": Konvertierung von "Py_ssize_t" in "int", möglicher Datenverlust
saxonc.cpp(19685): warning C4244: "Argument": Konvertierung von "Py_ssize_t" in "int", möglicher Datenverlust
saxonc.cpp(20351): warning C4244: "=": Konvertierung von "Py_ssize_t" in "int", möglicher Datenverlust
saxonc.cpp(20524): warning C4244: "Argument": Konvertierung von "Py_ssize_t" in "int", möglicher Datenverlust
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../SaxonProcessor.cpp /Fobuild\temp.win-amd64-3.7\Release\../SaxonProcessor.obj
SaxonProcessor.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonProcessor.cpp(280): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonProcessor.cpp(356): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonProcessor.cpp(477): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonProcessor.cpp(499): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tc../SaxonCGlue.c /Fobuild\temp.win-amd64-3.7\Release\../SaxonCGlue.obj
SaxonCGlue.c
../SaxonCGlue.c(42): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdlib.h(1191): note: Siehe Deklaration von "getenv"
../SaxonCGlue.c(48): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonCGlue.c(49): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonCGlue.c(65): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonCGlue.c(66): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonCGlue.c(504): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonCGlue.c(506): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SaxonCGlue.c(535): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tc../SaxonCXPath.c /Fobuild\temp.win-amd64-3.7\Release\../SaxonCXPath.obj
SaxonCXPath.c
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XdmValue.cpp /Fobuild\temp.win-amd64-3.7\Release\../XdmValue.obj
XdmValue.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XdmValue.cpp(180): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XdmItem.cpp /Fobuild\temp.win-amd64-3.7\Release\../XdmItem.obj
XdmItem.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XdmNode.cpp /Fobuild\temp.win-amd64-3.7\Release\../XdmNode.obj
XdmNode.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XdmNode.cpp(265): warning C4244: "Initialisierung": Konvertierung von "jlong" in "jint", möglicher Datenverlust
../XdmNode.cpp(284): warning C4244: "Initialisierung": Konvertierung von "jlong" in "jint", möglicher Datenverlust
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XdmAtomicValue.cpp /Fobuild\temp.win-amd64-3.7\Release\../XdmAtomicValue.obj
XdmAtomicValue.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XsltProcessor.cpp /Fobuild\temp.win-amd64-3.7\Release\../XsltProcessor.obj
XsltProcessor.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XsltProcessor.cpp(378): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XsltProcessor.cpp(461): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XsltProcessor.cpp(594): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../Xslt30Processor.cpp /Fobuild\temp.win-amd64-3.7\Release\../Xslt30Processor.obj
Xslt30Processor.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../Xslt30Processor.cpp(1291): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XQueryProcessor.cpp /Fobuild\temp.win-amd64-3.7\Release\../XQueryProcessor.obj
XQueryProcessor.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XQueryProcessor.cpp(201): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XQueryProcessor.cpp(256): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XQueryProcessor.cpp(331): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../XPathProcessor.cpp /Fobuild\temp.win-amd64-3.7\Release\../XPathProcessor.obj
XPathProcessor.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XPathProcessor.cpp(62): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XPathProcessor.cpp(151): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../XPathProcessor.cpp(301): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I. -I../jni -I../jni/unix "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tp../SchemaValidator.cpp /Fobuild\temp.win-amd64-3.7\Release\../SchemaValidator.obj
SchemaValidator.cpp
c:\program files\saxonica\saxonhec1.2.0\saxon.c.api\SaxonProcessor.h(258): warning C4267: "Argument": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SchemaValidator.cpp(90): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SchemaValidator.cpp(167): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SchemaValidator.cpp(244): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
../SchemaValidator.cpp(330): warning C4267: "Initialisierung": Konvertierung von "size_t" nach "int", Datenverlust möglich
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\libs" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\PCbuild\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" /EXPORT:PyInit_saxonc build\temp.win-amd64-3.7\Release\saxonc.obj build\temp.win-amd64-3.7\Release\../SaxonProcessor.obj build\temp.win-amd64-3.7\Release\../SaxonCGlue.obj build\temp.win-amd64-3.7\Release\../SaxonCXPath.obj build\temp.win-amd64-3.7\Release\../XdmValue.obj build\temp.win-amd64-3.7\Release\../XdmItem.obj build\temp.win-amd64-3.7\Release\../XdmNode.obj build\temp.win-amd64-3.7\Release\../XdmAtomicValue.obj build\temp.win-amd64-3.7\Release\../XsltProcessor.obj build\temp.win-amd64-3.7\Release\../Xslt30Processor.obj build\temp.win-amd64-3.7\Release\../XQueryProcessor.obj build\temp.win-amd64-3.7\Release\../XPathProcessor.obj build\temp.win-amd64-3.7\Release\../SchemaValidator.obj "/OUT:C:\Program Files\Saxonica\SaxonHEC1.2.0\Saxon.C.API\python-saxon\saxonc.cp37-win_amd64.pyd" /IMPLIB:build\temp.win-amd64-3.7\Release\saxonc.cp37-win_amd64.lib
   Bibliothek "build\temp.win-amd64-3.7\Release\saxonc.cp37-win_amd64.lib" und Objekt "build\temp.win-amd64-3.7\Release\saxonc.cp37-win_amd64.exp" werden erstellt.
Code wird generiert.
Codegenerierung ist abgeschlossen.

RE: Python program using saxonc 1.2.0 HE module with xquery_processor.run_query_to_value(query_text = '1 to 10') crashes - Added by O'Neil Delpratt 10 months ago

Hi Martin,

Thanks for reporting the issue you are having with the windows release, which is probably the least tested out all the builds. I will investigate the issue but this might not happen until early next week.

    (1-2/2)

    Please register to reply