[SMARTY] Re: crash

[email protected] (Michiel van der Blonk)
Newsgroups gmane.comp.php.smarty.general
Organization PHP Maniacs
Message-ID <[email protected]>
Note to self (and everyone else):
This bug is now fixed. It was not even PEAR related. After solving the 
PEAR bug, the symptoms were gone on our local version, yet online the bug 
kept re-appearing for a long time, until...
we finally upgraded the server, and PRESTO: the bug was gone.

Using PEAR+Smarty+Zend on a small scale server with a huge load is a 
really bad idea.

anyone who has an inexplicable emalloc or malloc or other core dump on 
apache should simply upgrade!

Michiel

Michiel van der Blonk wrote:

> Hi

> This problem does not seem to be Smarty related, although it did occur when
> Smarty tried to read from memory. I found out it is PEAR and/or sendmail
> related, and since PEAR handles the previous step, Smarty is not to blaim.
> It's just the messenger.

> Michiel
> *****************************
> Michiel van der Blonk
> CaribMedia Marketing & Consultancy N.V.
> Oranjestad, Aruba
> Tel: (297) 583-4144 Fax: (297) 582-6102
> http://www.caribmedia.com
> ---------------------------------------------------- 
> Website Design, Web Application Development,
> Web Hosting, Internet Marketing
> ---------------------------------------------------- 
> Operators of:
> Visit Aruba - http://www.VisitAruba.com
> Aruba Links - http://www.ArubaLinks.com
> Aruba Business Directory - http://www.visitaruba.com/business/
> Aruba Real Estate Locator - http://www.arubarealestate.com
> Aruba Bulletin Board - http://bb.visitaruba.com/
> Aruba Trip Reports - http://tripreports.visitaruba.com
> Aruba Chat - http://chat.visitaruba.com
> The VisitAruba Plus SAVINGS CARD - http://www.visitaruba.com/plus/
> Contents of this communication are confidential and legally privileged. This
> document is intended solely for use of the individual(s) or entity/entities
> to whom it is addr
> "Michiel van der Blonk" <[email protected]> wrote in message
> news:[email protected]...
>> Hi
>>
>> Apache crashes right after I send mail and then try to show a page having
>> Smarty variables. When I delete the sendmail line everything is fine. When
> I
>> delete the Smarty variables from the template, also everything is fine.
>>
>> As soon as I put one variable in the 'confirmation'-template that is shown
>> after sending mail, the problem occurs.
>>
>> Result: Apache error messages:
>> emalloc: cannot allocate ... bytes
>> and also
>> erealloc: cannot allocate ... bytes
>>
>> I just upgraded to php 4.3.10 on FreeBSD.
>>
>> any ideas?
>>
>> Michiel
>> -- 
>>
>>
>> Kind regards,
>> Michiel
>> *****************************
>> Michiel van der Blonk
>> CaribMedia Marketing & Consultancy N.V.
>> Oranjestad, Aruba
>> Tel: (297) 583-4144 Fax: (297) 582-6102
>> http://www.caribmedia.com
>> ---------------------------------------------------- 
>> Website Design, Web Application Development,
>> Web Hosting, Internet Marketing
>> ---------------------------------------------------- 
>> Operators of:
>> Visit Aruba - http://www.VisitAruba.com
>> Aruba Links - http://www.ArubaLinks.com
>> Aruba Business Directory - http://www.visitaruba.com/business/
>> Aruba Real Estate Locator - http://www.arubarealestate.com
>> Aruba Bulletin Board - http://bb.visitaruba.com/
>> Aruba Trip Reports - http://tripreports.visitaruba.com
>> Aruba Chat - http://chat.visitaruba.com
>> The VisitAruba Plus SAVINGS CARD - http://www.visitaruba.com/plus/
>> Contents of this communication are confidential and legally privileged.
> This
>> document is intended solely for use of the individual(s) or
> entity/entities
>> to whom it is addr
>>
>> -- 
>>
>>
>> Kind regards,
>> Michiel
>> *****************************
>> Michiel van der Blonk
>> CaribMedia Marketing & Consultancy N.V.
>> Oranjestad, Aruba
>> Tel: (297) 583-4144 Fax: (297) 582-6102
>> http://www.caribmedia.com
>> ---------------------------------------------------- 
>> Website Design, Web Application Development,
>> Web Hosting, Internet Marketing
>> ---------------------------------------------------- 
>> Operators of:
>> Visit Aruba - http://www.VisitAruba.com
>> Aruba Links - http://www.ArubaLinks.com
>> Aruba Business Directory - http://www.visitaruba.com/business/
>> Aruba Real Estate Locator - http://www.arubarealestate.com
>> Aruba Bulletin Board - http://bb.visitaruba.com/
>> Aruba Trip Reports - http://tripreports.visitaruba.com
>> Aruba Chat - http://chat.visitaruba.com
>> The VisitAruba Plus SAVINGS CARD - http://www.visitaruba.com/plus/
>> Contents of this communication are confidential and legally privileged.
> This
>> document is intended solely for use of the individual(s) or
> entity/entities
>> to whom it is addr

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.