Assignment (Advance grading -Rubric) /Upgrade to latest Moodle 3.0.2

Assignment (Advance grading -Rubric) /Upgrade to latest Moodle 3.0.2

by Francisco Nieto -
Number of replies: 3

We have upgraded our Moodle to the latest 3.x with centos 6.7 and php 7. When we try to click "Create a new grading form from a template" on the advance grading (rubric) from any assignment activity, we get the following error on the httpd error log file: "exit signal Segmentation fault (11)" . The browser only display "The connection was reset" message when we try to get to any rubric template.

I have also created a new moodle site on centos 7 with php 7, and I get the same issue

Is anyone experiencing the same?

Thanks

Average of ratings: -
In reply to Francisco Nieto

Re: Assignment (Advance grading -Rubric) /Upgrade to latest Moodle 3.0.2

by Ken Task -
Picture of Particularly helpful Moodlers

Well, you've reached the 'bleeding edge'! :\

This probably requires investigation at the command line level and is quite involved (from what I find via Googling the error).  That type of error is a memory error and there could be many causes ... one of which is PHP and a module it's loading.  However, think more info is needed ... 

Installing PHP7 on that version of CentOS requires use of 3rd party repo, doesn't it?   From where did you acquire PHP7?  Is is the most recent 7.0.2?

php -i (shows initialization)

php -m (shows modules loaded)

(or a phpinfo page)

And, related, is how you are running Apache ... as a mod or as fastcgi-bin?   That too is a factor (memory allocations in settings of apache, php-fpm [or whatever])

If one doesn't have the time nor the inclination, why not take PHP back down to a 'lesser' version? (then tinker on a test box from time to time).

'spirit of sharing', Ken

In reply to Ken Task

Re: Assignment (Advance grading -Rubric) /Upgrade to latest Moodle 3.0.2

by Francisco Nieto -

Thanks so much for your response. I did move the php version to 5.6 and it is working again. It is Sunday and it is a nice day to spend with family, so I will get back to it tomorrow and I will try to figure out what it is going on; either way, I will get back with a solution or requiring some help. Thanks again

In reply to Ken Task

Re: Assignment (Advance grading -Rubric) /Upgrade to latest Moodle 3.0.2

by Francisco Nieto -
Hi,

I have used gdb to get some more information of what it is going on with Centos 7, httpd and php 7.0.2-1.w7  (Webtatic via Yum) that it is creating the memory error when trying to get to the rubric templates on activities.  Here it is what I get when I replicate the error:

Reading symbols from /usr/sbin/httpd...Reading symbols from /usr/lib/debug/usr/sbin/httpd.debug...done.
done.
[New LWP 4335]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/httpd -DFOREGROUND'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f549bbe80f1 in zend_access_path (block=0x7f549bec8c38, ctx=0x7ffd94120890) at /usr/src/debug/php-7.0.2/ext/opcache/Optimizer/block_pass.c:502
502                     ADD_SOURCE(block, block->follow_to);

As soon as I remove the php70w-opcache, everything works fine....this go over my knowledge and I cannot find any information, any ideas?

Thanks