[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apache mod_perl aborted a process within a eval block without completing it


On Dec 7, 2007 3:51 PM, Ronald Dai. <suppressed> wrote:
> Could someone help me to explain under what circumstances, the mod_perl or
> apache would abort a process within an eval block without letting the code
> complete the block?

A segfault or an exit().

Your perl is pretty old, so it's possible you're seeing some
long-ago-fixed bug here.  But eval can't catch segfaults or exit()
calls in any perl code.  You could also have a $SIG{__DIE__} handler
somewhere that is intercepting the error and not returning.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.