We had three different process-control jobs trigger failmail at different times last night. One resulted in a timeout, and the other two resulted in a bus error. They all contained error log entries relating to smarty template files:
2022-12-30 07:02:26,557 ERROR include(/srv/org.wikimedia.civicrm-files/civicrm/templates_c/en_US//%%CC/CCD/CCD559CC%%string%3A%7Beval+var%3D%24smartySingleUseString%7Csmarty%3Anodefaults%7D.php): [warning] 2022-12-30 07:02:26,557 ERROR failed to open stream: No such file or directory 2022-12-30 07:02:26,557 ERROR Smarty.class.php:1273 2022-12-30 07:02:26,557 ERROR include(): Failed opening [warning] 2022-12-30 07:02:26,557 ERROR '/srv/org.wikimedia.civicrm-files/civicrm/templates_c/en_US//%%CC/CCD/CCD559CC%%string%3A%7Beval+var%3D%24smartySingleUseString%7Csmarty%3Anodefaults%7D.php'
The contents of this file is PHP code which seems to be valid:
<?php /* Smarty version 2.6.31, created on 2022-12-30 02:33:58 compiled from string:%7Beval+var%3D%24smartySingleUseString%7Csmarty:nodefaults%7D */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'string:{eval var=$smartySingleUseString|smarty:nodefaults}', 1, false),array('function', 'eval', 'string:{eval var=$smartySingleUseSt ring|smarty:nodefaults}', 1, false),)), $this); ?> <?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block _repeat) { ob_start(); ?><?php echo smarty_function_eval(array('var' => $this->_tpl_vars['smartySingleUseString']), $this);?> <?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop( $this->_tag_stack); ?>
Job files:
omnimail_recipient_process_unsubscribes-20221230-090501.log
dedupe_civicrm_contacts-20221230-065001.log
omnimail_groupmember_load-20221230-070001.log