segmentation faults running ica-atom-1.2.0 PHP Version 5.3.2-1ubuntu4.11

13 views
Skip to first unread message

django boonman

unread,
Jan 31, 2012, 5:50:19 AM1/31/12
to Qubit Toolkit Developers
Does anyone have problems with the latest ica-atom-1.2.0 running
ubuntu 64 bits with PHP Version 5.3.2-1ubuntu4.11? We see segmentation
faults like this:

Program terminated with signal 11, Segmentation fault.
#0 0x012573d5 in _zend_hash_add_or_update (ht=0x226d6e9c,
arKey=0x23e539f0 "REMOTE_ADDR", nKeyLength=<error type>,
pData=0xbfbed4c8, nDataSize=<error type>, pDest=0xbfbed4c4, flag=1)
at /build/buildd/php5-5.3.2/Zend/zend_hash.c:413
413 /build/buildd/php5-5.3.2/Zend/zend_hash.c: No such file or
directory.
in /build/buildd/php5-5.3.2/Zend/zend_hash.c

This server is protected with the Suhosin Patch 0.9.9.1, do not know
if it is possible to disable the suhosin patch as is mentioned on the
internet.

Anyone seen these errors? PHP5 is installed using the package manager.

Jesús García Crespo

unread,
Jan 31, 2012, 2:01:29 PM1/31/12
to qubi...@googlegroups.com
Hi Django,

Could you describe the way to reproduce that error, please? What command are you running? Or if you get the error while visiting the web application from your browser, would you be able to tell me where it happened? Please, give us some more details. We need very specific reports to troubleshoot these kind of problems. Could you do that, please?

Alternatively, I'd recommend you to compile the latest PHP code from the sources. The PHP core team did lately some important refactor of the Zend core and Felipe from the core team recommended us to check the new code. Hopefully, that solves your problem with PHP.



--
You received this message because you are subscribed to the Google Groups "Qubit Toolkit Developers" group.
To post to this group, send email to qubi...@googlegroups.com.
To unsubscribe from this group, send email to qubit-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/qubit-dev?hl=en.




--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056

django boonman

unread,
Feb 1, 2012, 3:04:43 AM2/1/12
to Qubit Toolkit Developers
Hi Jesús,

we get it randomly in the webapplication when reading back authority
or function records from the database (going to the isaar/indexSucces
or the isdf/indexSuccess). Sometimes a refresh of the page works,
sometimes not. Compiling the latest PHP is an option, but it would be
nice to know if Ubuntu is planning to releasse a newer PHP version
soon.

Django

On Jan 31, 8:01 pm, Jesús García Crespo <je...@artefactual.com> wrote:
> Hi Django,
>
> Could you describe the way to reproduce that error, please? What command
> are you running? Or if you get the error while visiting the web application
> from your browser, would you be able to tell me where it happened? Please,
> give us some more details. We need very specific reports to troubleshoot
> these kind of problems. Could you do that, please?
>
> Alternatively, I'd recommend you to compile the latest PHP code from the
> sources. The PHP core team did lately some important refactor of the Zend
> core and Felipe from the core team recommended
> us<https://bugs.php.net/bug.php?id=52518>to check the new code.

Jesús García Crespo

unread,
Feb 1, 2012, 1:37:07 PM2/1/12
to qubi...@googlegroups.com, Django Boonman
Hi Django,

Oh, that's a known issue when the magic method __toString() is called implicitly. We fixed that calling it explicitly but we believe this is a PHP bug.

The issue page:

The files that you are saying were already fixed r10370 (Dec 6 2011). Which revision are you using? I think you should keep your branch up to date with the latest trunk. Otherwise when you try to merge the changes it is going to be painful.

Regards,

On Wed, Feb 1, 2012 at 12:04 AM, django boonman <dja...@ejbdesignery.nl> wrote:
we get it randomly in the webapplication when reading back authority
or function records from the database (going to the isaar/indexSucces
or the isdf/indexSuccess). Sometimes a refresh of the page works,
sometimes not. Compiling the latest PHP is an option, but it would be
nice to know if Ubuntu is planning to releasse a newer PHP version
soon.

django boonman

unread,
Feb 2, 2012, 6:22:48 AM2/2/12
to Qubit Toolkit Developers
Thanks Jesús,

ok for now we use the __toString() workaround. Hopefully the newer PHP
version from Ubuntu fixes this issue.

Regards, Django
Reply all
Reply to author
Forward
0 new messages