Make WordPress Core

Opened 21 months ago

Closed 7 weeks ago

#47022 closed defect (bug) (worksforme)

PHP segfaults when serving WP

Reported by: pguardiario Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.1.1
Component: Cache API Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

  • start server and request homepage results in segfault:
    User@owner-PC ~/wordpress: php -d xdebug.auto_trace=ON -d xdebug.trace_output_dir=mytracedir/ -S
    PHP 7.3.3 Development Server started at Tue Apr 23 22:41:36 2019
    Listening on
    Document root is C:\cygwin\home\User\wordpress
    Press Ctrl-C to quit.
    [Tue Apr 23 22:41:43 2019] [200]: /
    Segmentation fault
  • xdebug trace follows:
    User@owner-PC ~/wordpress: cat mytracedir/trace.1098458422.xt
    TRACE START [2019-04-24 02:41:45]
        3.0627   21699384   -> WP_Object_Cache->__destruct() C:\cygwin\home\User\wordpress\wp-includes\cache.php:0
        3.0630   20287800
    TRACE END   [2019-04-24 02:41:45]
  • php version info follows:
    User@owner-PC ~/wordpress: php -v
    PHP 7.3.3 (cli) (built: Mar  6 2019 21:53:23) ( ZTS MSVC15 (Visual C++ 2017) x64 )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies
        with Xdebug v2.7.0, Copyright (c) 2002-2019, by Derick Rethans

Change History (2)

#1 @SergeyBiryukov
21 months ago

  • Description modified (diff)

#2 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Cache API
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi there, welcome to WordPress Trac! Thanks for the report.

The WP_Object_Cache::__destruct() method was removed in [47107] / #21402, I think that should resolve the issue. Feel free to reopen if there's still a problem.

Note: See TracTickets for help on using tickets.