[buddypress-trac] [BuddyPress Trac] #5803: Query activity items by date

buddypress-trac noreply at wordpress.org
Mon Aug 11 20:38:45 UTC 2014

#5803: Query activity items by date
 Reporter:  r-a-y        |       Owner:  r-a-y
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  2.1
Component:  Activity     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
Changes (by DJPaul):

 * status:  closed => reopened
 * resolution:  fixed =>


 So after some investigation leading to r8795, the deconstructor was
 causing these tests to fail. At a PHP level, one of two error messages
 were observed by me in a local PHP 5.2 dev environment, running WordPress

 * zend_mm_heap corrupted
 * ALERT - linked list corrupt on efree() - heap corruption detected
 (attacker 'REMOTE_ADDR not set', file '/vagrant/wordpress/src/wp-
 includes/plugin.php', line 281)

 Rolling back to older *recent* versions of WordPress trunk didn't fix the
 problem, but the fact that it's *not* happening on the 3.7/3.8/3.9
 branches of WordPress suggest something has changed in 4.0/trunk regarding
 the management of actions/filters, that only reveals itself when in a PHP
 5.2 environment. I have not diff'd the 3.9 branch against trunk to see if
 there are any obvious changes.

 During debugging on WordPress trunk in the unit tests introduced by R-a-y
 for this change, I observed that I was unable to put any kind of logging
 in the `__deconstruct` method, otherwise the PHP crashed with a segfault.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5803#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list