Skip to content

Segfault with Wordpress 4.4.1 #6786

@zaro

Description

@zaro

$hhvm --version

HipHop VM 3.11.0 (rel)
Compiler: tags/HHVM-3.11.0-0-g3dd564a8cde23e3205a29720d3435c771274085e
Repo schema: 52047bdda550f21c2ec2fcc295e0e6d02407be51

Running over FastCGI with nginx :

/usr/bin/hhvm --mode server --user nginx -c /etc/hhvm/php.ini -vServer.Type=fastcgi -vServer.Port=9000 -vServer.FileSocket=/srv/home/run/hhvm_socket

cat /etc/hhvm/php.ini

; php options
session.save_handler = files
session.save_path = /srv/home/spool/sessions
session.gc_maxlifetime = 1440

error_log = /srv/home/log/error.log


upload_max_filesize = 1024M
post_max_size = 1024M
upload_tmp_dir = /srv/home/tmp

; hhvm specific
pid = /var/run/hhvm/pid

hhvm.server.port = 9000
hhvm.server.type = fastcgi
hhvm.server.default_document = index.php
hhvm.log.use_log_file = true
hhvm.log.file = /srv/home/log/hhvm.log
hhvm.log.level = Info
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
hhvm.mysql.typed_results = false
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc

;
cgi.fix_pathinfo = 0

Running Wordpress 4.4.1. When I try to create a page with the title in Cyrillic, hhvm SEGFAULTS with the following stacktrace:

Core dumped: Segmentation fault
Stack trace in /tmp/stacktrace.10.log

cat /tmp/stacktrace.10.log

PHP Stacktrace:

#0  remove_accents(Моите курсове) called at [/srv/home/www/wp-includes/formatting.php:1524]
#1  sanitize_title(Моите курсове, 26) called at [/srv/home/www/wp-admin/includes/post.php:1221]
#2  get_sample_permalink(26, Моите курсове, ) called at [/srv/home/www/wp-admin/includes/post.php:1290]
#3  get_sample_permalink_html(26, Моите курсове, ) called at [/srv/home/www/wp-admin/includes/ajax-actions.php:1578]
#4  wp_ajax_sample_permalink() called at [/srv/home/www/wp-includes/plugin.php:525]
#5  do_action(wp_ajax_sample-permalink) called at [/srv/home/www/wp-admin/admin-ajax.php:89]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions