Enabling the RDF module over a fresh Drupal 6.20 base is causing the site to crash showing a WSOD.
(Please find the phpinfo() output in the attached PDF).
Apache's error.log is showing segmentation fault reports:
[Thu Dec 16 23:57:44 2010] [notice] child pid 1801 exit signal Segmentation fault (11)
Doing a basic binary breakup of the code, traced the problem to occur at the "return ..." statement (line no. 60)
File: rdf.api.inc
Lines: 44 to 61
Listing:
function rdf_define_vocabulary($class_name, $base_uri, array $properties) {
...
...
return eval(implode("\n", $code)); ---> commenting this line brings the site back online.
}
Could somebody please verify this?
Comments
Comment #1
zyxware commentedComment #2
zyxware commentedThe issue seems to be fixed
when
the code on line no. 60, in rdf.api.inc
was changed to
I have attached the patch file for this fix:
1000394-rdf.api_.inc-eval-segmentation-fault-fix.patch
Comment #3
alexander allen commentedSubscribing. Hasn't this patch been applied yet?
Comment #4
White-Buffalo commentedChanged:
return eval(implode("\n", $code));to:
...As-per instructions in:
http://drupal.org/files/issues/1000394-rdf.api_.inc-eval-segmentation-fault-fix.patch
Now I get the following error:
Any suggestions?
Comment #5
avpadernoI am closing this issue, which is for a not-supported Drupal version.