Project

Profile

Help

Bug #6342

closed

Segmentation fault (core dumped) in compileFromAssociatedFile

Added by O'Neil Delpratt 11 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
PHP API
Start date:
2024-02-09
Due date:
% Done:

100%

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

Description

When the method compileFromAssociatedFile method is run (via the PHPUnit) test case we get the following seg error in gdb:

#0  0x00007ffff3188276 in zim_Xslt30Processor_compileFromAssociatedFile(_zend_execute_data*, _zval_struct*) () from /usr/lib/php/20220829/saxon.so
#1  0x00005555558c2f73 in execute_ex ()
#2  0x00005555558c3265 in zend_execute ()
#3  0x0000555555850e50 in zend_execute_scripts ()
#4  0x00005555557ea51a in php_execute_script ()
Actions #1

Updated by O'Neil Delpratt 10 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

The bug is compileFromAssociatedFile PHP method. It is using code that is deprecated.

Committed fix to the repository.

Actions #2

Updated by O'Neil Delpratt 6 months ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 12.5

Bug fix applied in the Saxon 12.5 Maintenance release.

Actions #3

Updated by Community Admin 6 months ago

  • Fix Committed on Branch 12 added

Please register to edit this issue

Also available in: Atom PDF