Problem/Motivation

LocaleUpdateTest fails intermittently with a segfault. Backtrace is attached, it's in the PHP serializer.
https://dispatcher.drupalci.org/job/drupal_patches/6643/

InstallUninstallTest also fails with a segfault, this is via container compilation but the memory allocation is the same line
https://www.drupal.org/pift-ci-job/648320

 zend_mm_alloc_small (size=56, bin_num=6, heap=0x7fa1ee200040)
10:06:03     at /usr/src/php/Zend/zend_alloc.c:1261
10:06:03 1261			heap->free_slot[bin_num] = p->next_free_slot;
10:06:04 #0  zend_mm_alloc_small (size=56, bin_num=6, heap=0x7fa1ee200040)
10:06:04     at /usr/src/php/Zend/zend_alloc.c:1261
10:06:04 #1  _emalloc_56 () at /usr/src/php/Zend/zend_alloc.c:2336

More examples of the test failure:

https://www.drupal.org/pift-ci-job/648320
https://www.drupal.org/pift-ci-job/648306
https://www.drupal.org/pift-ci-job/639879
https://www.drupal.org/pift-ci-job/639836
https://www.drupal.org/pift-ci-job/634064
https://www.drupal.org/pift-ci-job/633940
https://www.drupal.org/pift-ci-job/633407
https://www.drupal.org/pift-ci-job/605914
https://www.drupal.org/pift-ci-job/605018
https://www.drupal.org/pift-ci-job/604164
https://www.drupal.org/pift-ci-job/603345

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 dump2.txt3.41 KBcatch
dump.txt7.56 KBcatch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch created an issue. See original summary.

catch’s picture

Title: Intermittent segfault on PHP7 in LocaleUpdateTest » Intermittent segfaults on PHP 7.1
Issue summary: View changes
Related issues: +#2859704: Intermittent segfaults on DrupalCI (some "did not complete due to a fatal error" with no additional info)
FileSize
3.41 KB
tacituseu’s picture

Squinted a bit at them, most happen right after *_SPEC_*_HANDLER of some sort in zend_alloc.c,
possibly https://bugs.php.net/bug.php?id=73667.
Can't acces 605914 and older:

Problem accessing /job/php-7.1.x-apache_mysql5.5/65. Reason:

Not Found

tacituseu’s picture

There's also fresh segfault in InstallUninstallTest on PHP 5.5 (https://www.drupal.org/pift-ci-job/667730), apache-error.log contains:

[Tue May 09 00:55:30.667686 2017] [core:notice] [pid 1] AH00051: child pid 15528 exit signal Segmentation fault (11), possible coredump in /etc/apache2

but there is no backtrace, looks like they aren't generated for 5.5 environment.

Wim Leers’s picture

This doesn't seem to have been happening anymore for at least 50 days. See https://www.drupal.org/pift-ci-job/703538 and https://www.drupal.org/pift-ci-job/709172.

cilefen’s picture

FWIW I think CI went to 7.1.4 in this timeframe.

Wim Leers’s picture

Status: Active » Closed (outdated)

#7 thanks!

The last failure was on May 16. I think it's safe to downgrade this. And in fact, considering #7, this is likely no longer relevant. Closing.

xjm’s picture