Project

Profile

Help

Bug #6342

closed

Segmentation fault (core dumped) in compileFromAssociatedFile

Added by O'Neil Delpratt 3 months ago. Updated 3 months ago.

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

100%

Estimated time:
Found in version:
12.4.2
Fixed in version:
Platforms:

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 3 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.

Please register to edit this issue

Also available in: Atom PDF