You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by Christian Grobmeier <gr...@gmail.com> on 2009/05/20 08:07:35 UTC

Segmentation Fault in LoggerLayoutHtmlTest

Hi all,

i wrote LoggerLayoutHtmlTest. If you look at it, I have the first
testcase x-ed out. The follow up testcase is quite the same, just with
another LogLevel. If i let both cases run together, a
SegmentationFault appears. I am confused why - I thought its cause of
the strange LoggerLevel impl and cleaned it up - but this didn't help.

If you have any ideas, let me know...

Cheers,
Christian

Re: Segmentation Fault in LoggerLayoutHtmlTest

Posted by Christian Grobmeier <gr...@gmail.com>.
Hi,
I found it. After the Layout has run, the LoggerNDC array is empty.
This leads on the one php version to "undefined index", on the other
to "segmentation fault". However, I'll commit a fix.
Christian

On Wed, May 20, 2009 at 8:07 AM, Christian Grobmeier
<gr...@gmail.com> wrote:
> Hi all,
>
> i wrote LoggerLayoutHtmlTest. If you look at it, I have the first
> testcase x-ed out. The follow up testcase is quite the same, just with
> another LogLevel. If i let both cases run together, a
> SegmentationFault appears. I am confused why - I thought its cause of
> the strange LoggerLevel impl and cleaned it up - but this didn't help.
>
> If you have any ideas, let me know...
>
> Cheers,
> Christian
>