Keep running into these sporatically in the logs, thought I'd mention this incase someone knows what's up:

Warning: assert(): Assertion failed in _HWLDF_WordAccumulator->addWords()
(line 1003 of diff/DiffEngine.php).

Comments

joelpittet created an issue. See original summary.

alan d.’s picture

Priority: Normal » Minor

Append this to the start of that line

USE_ASSERTS && 

i.e. change to this

 USE_ASSERTS && assert(!strstr($word, "\n"));

It is an internal debugging line that should be disabled. http://php.net/manual/en/function.assert.php

There are actually 3 lines in that file that need this.

joelpittet’s picture

This may be due to an older version of PHP as we are using 5.3.3 or something that comes with RH 6.8.

  • Alan D. committed 3a36401 on 7.x-3.x
    git commit -m 'Issue #2860650 by joelpittet, Alan D.: Assertion failed...
alan d.’s picture

Status: Active » Fixed

pushed the changes to dev, about the only change of any meaning since the tagged release

cheers

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.