Segfaults during plugin installation

Segfaults during plugin installation

by Krzysztof Młynarczyk -
Number of replies: 0
Dear Moodle Developers,

I've been writing a custom local plugin. Unfortunately installation of any plugin, including my own, results in apache segfault:

[Sat Dec 06 01:06:04 2014] [notice] child pid 6517 exit signal Segmentation fault (11)

Attaching gdb resulted in a stack trace found in the attached file. Looks like php's got a problem with admin/index.php file.

It happens both with Moodle 2.6 and 2.7 combined with php 5.5 or 5.6. I'm guessing it might be a php configuration problem.

This segfault may have something in common with writing capabilities to the database since quite often (but not always!) one of two capabilities provided by the package turns out to be absent in the database when the server "comes to its senses" later on. Note: the package does not install any database tables, it uses an external database.

Please help me if yoh have any guess or were successful in getting rid of the same problem yourself.

Average of ratings: -