Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional segfault with Joomla 3.4.6 #6793

Closed
ghost opened this issue Jan 30, 2016 · 7 comments
Closed

Occasional segfault with Joomla 3.4.6 #6793

ghost opened this issue Jan 30, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Jan 30, 2016

This is what i get in the stacktrace .log in tmp folder when it happens (I'm using latest hhvm on ubuntu apt repo):

PHP Stacktrace:

#0  JDate->__construct(now) called at [/omissis/libraries/joomla/log/entry.php:96]
#1  JLogEntry->__construct(JError::setErrorHandling() is deprecated., 16, deprecated, ) called at [/omissis/libraries/joomla/log/log.php:148]
#2  JLog::add(JError::setErrorHandling() is deprecated., 16, deprecated) called at [/omissis/libraries/legacy/error/error.php:350]
#3  JError::setErrorHandling(8, message) called at [/omissis/includes/framework.php:18]
#4  include(/omissis/includes/framework.php) called at [/omissis/index.php:36]

this is the JData constructor method signature:

/**
     * Constructor.
     *
     * @param   string  $date  String in a format accepted by strtotime(), defaults to "now".
     * @param   mixed   $tz    Time zone to be used for the date. Might be a string or a DateTimeZone object.
     *
     * @since   11.1
     */
    public function __construct($date = 'now', $tz = null)
    {

this is how is getting invoked at entry.php:96:

$this->date = new JDate($date ? $date : 'now');

Can I provide more data to help you debbugging it? let me know

@davidxdunn
Copy link

I've also had one of our servers report a similar issue with this (Wordpress however):

#0  DateTimeZone->__construct(Australia/Brisbane)
#1  timezone_open(Australia/Brisbane) called at [/sites/x.net/www/wp-includes/functions.php:4189]
#2  wp_timezone_override_offset() called at [/sites/x.net/www/wp-includes/plugin.php:235]
#3  apply_filters(pre_option_gmt_offset, , gmt_offset) called at [/sites/x.net/www/wp-includes/option.php:49]
#4  get_option(gmt_offset) called at [/sites/x.net/www/wp-includes/functions.php:64]
#5  current_time(mysql) called at [/sites/x.net/www/wp-content/plugins/google-analyticator/google-analytics-summary-widget.php:47]
#6  GoogleAnalyticsSummary->GoogleAnalyticsSummary() called at [/sites/x.net/www/wp-content/plugins/google-analyticator/google-analyticator.php:110]
#7  include(/sites/x.net/www/wp-content/plugins/google-analyticator/google-analyticator.php) called at [/sites/x.net/www/wp-settings.php:254]
#8  include(/sites/x.net/www/wp-settings.php) called at [/sites/x.net/www/wp-config.php:82]
#9  include(/sites/x.net/www/wp-config.php) called at [/sites/x.net/www/wp-load.php:37]
#10 include(/sites/x.net/www/wp-load.php) called at [/sites/x.net/www/wp-admin/admin-ajax.php:22]
HipHop VM 3.11.1 (rel)
Compiler: tags/HHVM-3.11.1-0-g64d37362bc0b6aee919492ad61cf65ce0a5d5e92
Repo schema: 8b80ba45250a6669cd610c189dbbb55b6218c2a3

Let me know if you would like me to try and replicate in a debug version in order to get a full backtrace?

  • David.

@fredemmott
Copy link
Contributor

Might be fixed with 47cff55

Can you reproduce with a nightly build?

@davidxdunn
Copy link

Tested using nightly debug and unable to replicate the crash :)

@fredemmott
Copy link
Contributor

leaving open for @CreativeProgramming to respond, will close in 2 weeks or at 3.12 if no response

@photodude
Copy link
Contributor

photodude commented Sep 19, 2016

@CreativeProgramming Are you still seeing the segfault with HHVM and Joomla? ( same as #5520 )

I've been working on and off at getting the php unit tests for Joomla working ( see joomla/joomla-cms#10220 ), right now we are faced with some HHVM issues like memory_get_peak_usage() causing a Fatal error: request has exceeded memory limit related to the HHVM implementation of ini_restore plus a few (fairly new) unrelated compiler bugs found by @aorenste ( see #7035 ) and running under hhvm's php 7 mode there is an issue with "type annotations on internal functions" ( see #7198 )

@paulbiss
Copy link
Contributor

Going to close this for now as there are more specific issues open for the known problems. If anyone gets a repro please let me know and I will reopen.

@photodude
Copy link
Contributor

@CreativeProgramming Joomla staging now passes unit tests on HHVM 3.15.3 and the pre-release 3.7.0 Alpha 1 should be testable for developer site preview with HHVM 3.15.3+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants