Code Monkey home page Code Monkey logo

Comments (9)

iMattPro avatar iMattPro commented on June 12, 2024

This stuff is too techie for me, but here is some stuff I found that may make sense to you.

I have seen this popup:
Turn off PHP's garbage collector with zend.enable_gc=0.

Also: travis-ci/travis-ci#764

https://code.google.com/p/sabredav/source/browse/.travis.yml?r=54831d71780c23433daf1d71a2afab528a2a8327#12

symfony/symfony@3f8665a

from boardrules.

EXreaction avatar EXreaction commented on June 12, 2024

If you are interested, please give fixing it a try by following what they did in submitting a PR here (once we find something that works, we'll try to get the fix into the test framework itself).

from boardrules.

iMattPro avatar iMattPro commented on June 12, 2024

@EXreaction So, I switched over the no's acme-demo testing framework, which as you can see in the tests, takes about 30 seconds to test and only 40MB, as opposed to 5 minutes and 400MB with the prior framework.

Unfortunately, the segfaults still randomly occur for this extension.

https://travis-ci.org/VSEphpbb/boardrules/builds/23729638

from boardrules.

Pico avatar Pico commented on June 12, 2024

http://lickmychip.com/2012/10/18/debug-your-php-segmentation-fault-on-travis-ci/

from boardrules.

iMattPro avatar iMattPro commented on June 12, 2024

Yeah, I've seen that. No idea what to do with it though.

from boardrules.

EXreaction avatar EXreaction commented on June 12, 2024

So I got gdb working and the results of several tests...
https://dl.dropboxusercontent.com/u/68326338/segfault%20logs.zip

Fails at different points all the time (3, 4, 5 were all on the same build), but after the tests are completed and their tearDown functions were called.

from boardrules.

iMattPro avatar iMattPro commented on June 12, 2024

Well it's all gibberish to me, but I do see zend stuff around the seg fault.

Still, the exceptions test has something to do with this too, so I recommend skipping that test for now, until it can be replaced or fixed.

from boardrules.

iMattPro avatar iMattPro commented on June 12, 2024

So, from some more experiences with this, it looks like the seg faults only happen when using the data sets in the data provider that have arrays for the $message in the test_exceptions test function.

Those would be:
array('EXCEPTION_OUT_OF_BOUNDS', '{foo}'),
array('{foo}', 'FIELD_MISSING'),
array('{foo}', 'TOO_LONG'),

of course, I don't understand why these are causing them, but anytime I have these removed from the dataprovider, I don't get segfaults anymore.

from boardrules.

iMattPro avatar iMattPro commented on June 12, 2024

Solved PR #98

from boardrules.

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.