[TYPO3] apache segmentation fault

Stano Paška stano.paska at gmail.com
Wed Nov 15 18:44:32 CET 2006


Hi,

I have php 5.2.0 and typo3 4.0.2, tt_news 2.4.0

In BE, when I edit existing tt_news plugin in content area, I had
segmentation fault in apache logs.

I found that this happen in generating flexform for tt_news plugin.
typo3/alt_doc.php ...
t3lib/..transferdata.php function fetchRecord, renderRecord, renderRecordRaw
t3lib/..flexformtools.php function flexArray2xml and finally
t3lib_div::array2xml

it gets array, processes it and in deepest recursion (for my case 5)
returns first output and segfault.

Where can be problem?

Thanks.

Stano.

P.S. I attach debug listing, I echo *** recursion *** at beginning of
array2xml and last line of debug is before return $output at the end
of function array2xml.
-------------- next part --------------
# first call of array2xml, $array parameter
array(1) {
  ["data"]=>
  array(4) {
    ["sDEF"]=>
    array(1) {
      ["lDEF"]=>
      array(8) {
        ["what_to_display"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["listOrderBy"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["ascDesc"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["categoryMode"]=>
        array(1) {
          ["vDEF"]=>
          string(1) "0"
        }
        ["categorySelection"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["archive"]=>
        array(1) {
          ["vDEF"]=>
          string(1) "0"
        }
        ["pages"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["recursive"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
      }
    }
    ["s_template"]=>
    array(1) {
      ["lDEF"]=>
      array(5) {
        ["template_file"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["imageMaxWidth"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["imageMaxHeight"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["alternatingLayouts"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["croppingLenght"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
      }
    }
    ["s_category"]=>
    array(1) {
      ["lDEF"]=>
      array(6) {
        ["catImageMode"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["catImageMaxWidth"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["catImageMaxHeight"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["maxCatImages"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["catTextMode"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["maxCatTexts"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
      }
    }
    ["s_misc"]=>
    array(1) {
      ["lDEF"]=>
      array(7) {
        ["PIDitemDisplay"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["backPid"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["firstImageIsPreview"]=>
        array(1) {
          ["vDEF"]=>
          string(1) "0"
        }
        ["listStartId"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["listLimit"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
        ["noPageBrowser"]=>
        array(1) {
          ["vDEF"]=>
          string(1) "0"
        }
        ["maxWordsInSingleView"]=>
        array(1) {
          ["vDEF"]=>
          string(0) ""
        }
      }
    }
  }
}
# first call of array2xml, $options parameter
array(2) {
  ["parentTagMap"]=>
  array(8) {
    ["data"]=>
    string(5) "sheet"
    ["sheet"]=>
    string(8) "language"
    ["language"]=>
    string(5) "field"
    ["el"]=>
    string(5) "field"
    ["field"]=>
    string(5) "value"
    ["field:el"]=>
    string(2) "el"
    ["el:_IS_NUM"]=>
    string(7) "section"
    ["section"]=>
    string(8) "itemType"
  }
  ["disableTypeAttrib"]=>
  int(2)
}
--------------

*** recursive ***<br>



*** recursive ***<br>



*** recursive ***<br>



*** recursive ***<br>



*** recursive ***<br>

string(49) "                    <value index="vDEF"></value>
"


More information about the TYPO3-english mailing list