We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Segfault in phalcon.so

Guys,

I am getting the following error in my syslog:

kernel: [ 8652.459743] php-fpm[5902]: segfault at 2d0150790 ip 00007f0fc61cc147 sp 00007ffffa32a680 error 4 in phalcon.so[7f0fc6185000+2a1000]

The line of code that's causing it:

if (!strlen($labelHtmlAttrib = trim($element->getUserOption(self::OPT_LABEL_HTML_ATTRIB)))) {

I realise that it is of very little use. So, what can I do to provide with more information?

Thanks!



51.4k

Hmm.. It looks like Phalcon\Forms\Element::getUserOption() is consistently crashing.