Kolab 2.2RC1 PHP segfaults reading email with Horde

Troy Carpenter troy at carpenter.cx
Mon Mar 3 15:28:08 CET 2008


On Monday 03 March 2008 03:49:58 am Gunnar Wrobel wrote:
> Troy Carpenter <troy at carpenter.cx> writes:
> > I have now tried a reinstall from scratch of Kolab 2.2RC1, and I am
> > getting the same results as before with php segfaults while reading some
> > emails.
> >
> > This is from a clean source install of the openpkg version of Kolab.  My
> > machine is a 64bit Ubuntu Gutsy server.  There are no modified PHP/Apache
> > packages on the system.
> >
> > As before, when reading certain emails, firefox pops up a window wanting
> > to download a .php file.  Apache error log shows messages like this:
> >
> > [Thu Feb 28 01:33:47 2008] [notice] child pid 11230 exit signal
> > Segmentation fault (11)
> > zend_mm_heap corrupted
> >
> > I don't know if it is something in the emails that is causing the
> > problem, whether that would be the character set or the email structure.
>
> I guess this is a general PHP problem. A segmentation fault and the
> zend_mm_heap message basically means that PHP itself crashed. This is
> something that should not happen and very likely a "simple" bug in the
> C-code of PHP.
>
> Since I could not reproduce the problem so far we'd definitely need to
> pinpoint the code section causing the error. But I know from
> experience that this is not trivial with a PHP segmentation fault.
>
> What you could try if you know PHP a bit is to add some horde log
> message in the viewer code of IMP to further pinpoint the error
> location.
>
> The other option is probably to wait for the next PHP version but I
> don't know if thats an option.
>

I opened an issue #2504 a few days ago on this problem.  Since it is easy to 
reproduce, I will attach a strace printout on the php process to the bug 
report when this happens.  Maybe that will help in the meantime.  Look for it 
later today.

Troy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20080303/3ba648cd/attachment.sig>


More information about the users mailing list