GithubHelp home page GithubHelp logo

Comments (14)

milo avatar milo commented on May 18, 2024

I cannot reproduce it with self compiled PHP 5.5.7 nor 5.5.9, CLI nor CGI. Could you send us a compile time options?

from tester.

milo avatar milo commented on May 18, 2024

@Majkl578 Or send me a distro name and package version + list of loaded extensions if any, I'll try to find it.

from tester.

Majkl578 avatar Majkl578 commented on May 18, 2024

@milo: I currently have self-compiled 5.5.9 with the following configure line:

--prefix=$PREFIX_VERSION --with-layout=GNU --with-config-file-path=$CONFIG_PATH --with-config-file-scan-dir=$CONFIG_PATH/conf.d --enable-shared --with-pear --enable-cli --enable-cgi --enable-fpm --disable-short-tags --enable-bcmath --enable-calendar --enable-exif --enable-ftp --enable-gd-native-ttf --enable-json --enable-mbstring --enable-soap --enable-sockets --enable-xml --enable-zip --with-bz2 --with-curl --with-enchant --with-gd=shared --with-gettext --with-gmp --with-iconv --with-imap --with-imap-ssl --with-mcrypt --with-mhash --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-mhash --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-openssl --with-pcre-regex --enable-pdo --with-pdo-mysql=mysqlnd --with-pdo-pgsql --with-pdo-sqlite --with-pgsql --with-pspell --with-readline --with-sqlite3 --with-tidy --with-xmlrpc --with-xsl --with-zlib --without-db2 --without-db3 --with-kerberos --with-jpeg-dir=/usr/lib

Using Debian with apt preference on stable < testing < unstable < experimental.

I may be able to debug it further, not now though.

from tester.

milo avatar milo commented on May 18, 2024

@Majkl578 I recompiled PHP in the same way as you and I still cannot reproduce it. Do you use any php.ini?

from tester.

Majkl578 avatar Majkl578 commented on May 18, 2024

After some debugging, I traced it up to calling stream_get_contents in Tester\Runner\Job::isRunning. It appears to be caused by xdebug, when it is off, it passes ok. Just wtf.

from tester.

milo avatar milo commented on May 18, 2024

And which version od xdebug do you use? I tried 2.2.3 and it pass. Could you post xdebug setting too, please?

from tester.

Majkl578 avatar Majkl578 commented on May 18, 2024

PHP 5.5.9 NTS + XDebug 2.3.0dev (derickr/xdebug#72b087).

from tester.

milo avatar milo commented on May 18, 2024

Still cannot reproduce it. Could you send me php -i | grep xdebug?

from tester.

Majkl578 avatar Majkl578 commented on May 18, 2024
r$ php -i | grep -i xdebug
/usr/local/php/conf/5.5.9/conf.d/xdebug.ini,
    with Xdebug v2.3.0dev, Copyright (c) 2002-2013, by Derick Rethans
xdebug
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.coverage_enable => On => On
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.file_link_format => no value => no value
xdebug.force_display_errors => Off => Off
xdebug.force_error_reporting => 0 => 0
xdebug.halt_level => 0 => 0
xdebug.idekey => no value => no value
xdebug.max_nesting_level => 250 => 250
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => Off => Off
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => On => On
xdebug.remote_connect_back => Off => Off
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => On => On
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => /tmp/xdebug.log => /tmp/xdebug.log
xdebug.remote_mode => req => req
xdebug.remote_port => 9009 => 9009
xdebug.scream => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_enable_trigger => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3

This problem is just... weird. :)

from tester.

milo avatar milo commented on May 18, 2024

I see xdebug.remote_autostart. Does any application listen on port 9009? If so, try to close it or disable autostart. Mainly if tests run in paralel debug clients may be confused.

I still cannot reproduce it, but I guess it is an issue of remote debugging, because if I somehow catch the 9009 port and I don't send a response, test get stuck.

from tester.

Majkl578 avatar Majkl578 commented on May 18, 2024

It's because of PhpStorm debugger, but it listens only when I ask him to do so. It was disabled while running tests. Maybe I will try tommorow to combine some config.

from tester.

milo avatar milo commented on May 18, 2024

@Majkl578 Could you try it with last master?

from tester.

milo avatar milo commented on May 18, 2024

@Majkl578 Could you try it again?

from tester.

dg avatar dg commented on May 18, 2024

Human timeout

from tester.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.