TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

Segmentation Fault on OpenTBS include

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Henrique Otavio HODES
Date: 2016-02-02
Time: 17:09

Segmentation Fault on OpenTBS include

Hello, I'm using OpenTBS.

My problem is happening when I include the "tbs_plugin_opentbs.php". The execution under apache2 > php halts when require the plugin script, given the segmentation fault error.

The problem only happens on production server, on my local machine everything works well.

Both machines match the dependencies of TBS 3.10 and OpenTBS 1.9.4.

I'm performing inclusion with require_once ....;

For now I'm not able to debug the code at production side. The problem happens inside, or uppon loading the OpenTBS plugin.

How can I deal with it ?

Thank you !

By: Skrol29
Date: 2016-02-03
Time: 01:32

Re: Segmentation Fault on OpenTBS include

Segmentation Fault is about memory error. It cannot be an OpenTBS or TBS bug even if it occurs by those library.

You can try by deactivating XCache or MemCache if any.
Or check the PHP versions to see if they are actually similar.
By: Henrique Otavio HODES
Date: 2016-02-03
Time: 15:43

Re: Segmentation Fault on OpenTBS include

Hello Skrol29, we removed XCache from server and it worked, no more segmentation faults.

The server is running PHP 5.5 and still have Zend OPcache, memcache and is working with TBS 3.10 and OpenTBS 1.9.4.

The problem was solved, thanks !