symfony/symfony — Issue #2479: Twig theming a textarea_widget causes segmentation fault
Author: mogoman
Created: 2011-10-26 11:46:02+00:00
State: open

SF version 2.0.4

After following the theming guide here:

http://symfony.com/doc/current/cookbook/form/form_customization.html

I have created a separate template to theme my form - as per the example:

{% block text_widget %}

{% set type = type|default('text') %}
{{ block('field_widget') }}

{% endblock %}

However when I try and theme a textarea, the page does not load and apache reports a segmentation fault:

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

Here is the code that causes the error:

{% block textarea_widget %}

{{ block('textarea_widget') }}

{% endblock %}