phiamo / MopaBootstrapBundle

Easy integration of twitters bootstrap into symfony2
http://bootstrap.mohrenweiserpartner.de
711 stars 348 forks source link

httpd/apache2 Segmentation fault #1116

Closed rpcjacobs closed 8 years ago

rpcjacobs commented 9 years ago

I'm running into problems on 2 systems.

Ubuntu 10.04

PHP 5.4.39-1+deb.sury.org~lucid+2 (cli) (built: Mar 24 2015 10:56:49) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.

Server version: Apache/2.2.14 (Ubuntu) Server built: Mar 5 2015 18:10:23

and

CentOS release 6.7 (Final).

PHP 5.4.45 (cli) (built: Sep 30 2015 15:56:06) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.

Server version: Apache/2.2.15 (Unix) Server built: Aug 24 2015 17:52:49

When i upgraded (from Beta 4) to the new bundle (either RC1 or RC2), immediately after i clear the cache en try to load a page, the thread dies. e.g.

[notice] child pid 22732 exit signal Segmentation fault (11)
[notice] child pid 22735 exit signal Segmentation fault (11)

The CentOS had XDebug installed, and i noticed that it showed

PHP Fatal error:  Maximum function nesting level of '256' reached, aborting! in Unknown on line 0

multiple times, and just kept loading. Nothing happened.

After i disabled Xdebug, it instantly generates a Segmentation fault, and thus stops loading, but doesn't show any output. This means also no debug toolbar/profiler and no logged profiler snapshots.

Since i reverted on the Ubuntu one, i can't show the packages there (maybe tomorrow). But here goes for the CentOS one;

behat/behat                             v3.0.15            Scenario-oriented BDD framework for PHP 5.3
behat/gherkin                           v4.4.0             Gherkin DSL parser for PHP 5.3
behat/symfony2-extension                v2.1.0             Symfony2 framework extension for Behat
behat/transliterator                    v1.1.0             String transliterator
bootstrap-plus/bootstrap-media-lightbox dev-master 465cc2b A lightweight and borderless media lightbox extension for bootstrap3. It supports single images, image galleries, videos and iframes.
craue/formflow-bundle                   2.1.8              Multi-step forms for your Symfony2 project.
doctrine/annotations                    v1.2.7             Docblock Annotations Parser
doctrine/cache                          v1.4.2             Caching library offering an object-oriented API for many cache backends
doctrine/collections                    v1.3.0             Collections Abstraction library
doctrine/common                         v2.5.1             Common Library for Doctrine projects
doctrine/dbal                           v2.5.2             Database Abstraction Layer
doctrine/doctrine-bundle                dev-master 5674222 Symfony DoctrineBundle
doctrine/doctrine-cache-bundle          v1.0.1             Symfony2 Bundle for Doctrine Cache
doctrine/inflector                      v1.0.1             Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                   1.0.5              A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                          v1.0.1             Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm                            v2.5.1             Object-Relational-Mapper for PHP
friendsofsymfony/user-bundle            dev-master d5b28c3 Symfony FOSUserBundle
gedmo/doctrine-extensions               v2.4.7             Doctrine2 behavioral extensions
imagine/imagine                         v0.6.3             Image processing for PHP 5.3
incenteev/composer-parameter-handler    v2.1.1             Composer script handling your ignored parameter file
jdorn/sql-formatter                     v1.2.17            a PHP SQL highlighting library
jms/metadata                            1.5.1              Class/method/property metadata management in PHP
knplabs/knp-components                  1.3.2              Knplabs component library
knplabs/knp-menu                        dev-master c6ad499 An object oriented menu library
knplabs/knp-menu-bundle                 dev-master f8c6b24 This bundle provides an integration of the KnpMenu library
knplabs/knp-paginator-bundle            dev-master 4a1daf5 Paginator bundle for Symfony2 to automate pagination and simplify sorting and other features
kriswallsmith/assetic                   v1.3.0             Asset Management for PHP
liip/imagine-bundle                     1.2.7              This Bundle assists in imagine manipulation using the imagine library
monolog/monolog                         1.17.1             Sends your logs to files, sockets, inboxes, databases and various web services
mopa/bootstrap-bundle                   v3.0.0-RC1         Easy integration of twitters bootstrap into symfony2
mopa/composer-bridge                    v1.5.0             Symfony2 Composer Bridge
presta/sitemap-bundle                   dev-master 579d43b A symfony 2 bundle that provides tools to build your application sitemap.
psr/log                                 1.0.0              Common interface for logging libraries
sensio/distribution-bundle              v2.3.22            The base bundle for the Symfony Distributions
sensio/framework-extra-bundle           v3.0.10            This bundle provides a way to configure your controllers with annotations
sensio/generator-bundle                 v2.5.3             This bundle generates code for you
stfalcon/tinymce-bundle                 dev-master 758c199 This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.
stof/doctrine-extensions-bundle         dev-master 7b31445 Integration of the gedmo/doctrine-extensions with Symfony2
swiftmailer/swiftmailer                 v5.4.1             Swiftmailer, free feature-rich PHP mailer
symfony/assetic-bundle                  v2.7.0             Integrates Assetic into Symfony2
symfony/monolog-bundle                  2.8.1              Symfony MonologBundle
symfony/swiftmailer-bundle              v2.3.8             Symfony SwiftmailerBundle
symfony/symfony                         v2.7.5             The Symfony PHP framework
twbs/bootstrap                          v3.3.5             The most popular front-end framework for developing responsive, mobile first projects on the web.
twig/extensions                         v1.3.0             Common additional features for Twig that do not directly belong in core
twig/twig                               v1.22.2            Twig, the flexible, fast, and secure template language for PHP
vich/uploader-bundle                    v0.14.0            Ease file uploads attached to entities

Hopefully this post is usefull. Is there any solution?

phiamo commented 8 years ago

hehe this is quite common: https://stackoverflow.com/questions/13213378/what-is-causing-a-maximum-function-nesting-level-error-in-symfony-2-1-and-twig/13213409#13213409