Actions
Bug #6023
closedThread 1 "python3" received signal SIGSEGV, Segmentation fault
Start date:
2023-05-08
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.2
Fixed in version:
12.3
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
In the development stage of a XSLT30 test suite driver for SaxonC python the program crashes as follows:
Thread 1 "python3" received signal SIGSEGV, Segmentation fault
Using the gdb debugger we get the following stack trace:
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff7408a03 in __pyx_pf_8saxoncee_9PyXdmNode_2__dealloc__ (__pyx_v_self=0x7ffff7559110) at python_saxon/saxonc.cpp:44512
#2 __pyx_pw_8saxoncee_9PyXdmNode_3__dealloc__ (__pyx_v_self=0x7ffff7559110) at python_saxon/saxonc.cpp:44463
#3 __pyx_tp_dealloc_8saxoncee_PyXdmNode (o=0x7ffff7559110) at python_saxon/saxonc.cpp:56149
#4 0x000000000053cb98 in ?? ()
#5 0x0000000000626e45 in _PyFunction_Vectorcall ()
#6 0x00000000005a71fb in _PyEval_EvalFrameDefault ()
#7 0x0000000000626e10 in _PyFunction_Vectorcall ()
#8 0x00000000005a71fb in _PyEval_EvalFrameDefault ()
#9 0x0000000000626e10 in _PyFunction_Vectorcall ()
#10 0x00000000005a71fb in _PyEval_EvalFrameDefault ()
#11 0x0000000000626e10 in _PyFunction_Vectorcall ()
#12 0x00000000005a71fb in _PyEval_EvalFrameDefault ()
#13 0x00000000005a61d1 in ?? ()
#14 0x00000000006d56ef in PyEval_EvalCode ()
#15 0x00000000006b967b in ?? ()
#16 0x00000000006b9704 in ?? ()
#17 0x00000000006b989a in ?? ()
#18 0x00000000006beba4 in _PyRun_SimpleFileObject ()
#19 0x00000000006bec77 in _PyRun_AnyFileObject ()
#20 0x00000000007026cd in Py_RunMain ()
#21 0x00000000007028ad in Py_BytesMain ()
#22 0x00007ffff7dabd90 in __libc_start_call_main (main=main@entry=0x515bf0, argc=argc@entry=3, argv=argv@entry=0x7fffffffe138)
at ../sysdeps/nptl/libc_start_call_main.h:58
#23 0x00007ffff7dabe40 in __libc_start_main_impl (main=0x515bf0, argc=3, argv=0x7fffffffe138, init=<optimised out>, fini=<optimised out>,
rtld_fini=<optimised out>, stack_end=0x7fffffffe128) at ../csu/libc-start.c:392
#24 0x000000000062c0de in _start ()
Updated by O'Neil Delpratt over 1 year ago
- Status changed from New to In Progress
The PyXdmItem.get_node_value() method needed a incrementRefCount() call on the XdmNode object.
Testing fix.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Testing completed.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from Resolved to Closed
- Fixed in version set to 12.3
Bug fix applied in the SaxonC 12.3 maintenance release.
Please register to edit this issue
Actions