[Solar-talk] Solar_Markdown_Plugin_Html crashes apache
Paul M Jones
pmjones at solarphp.com
Mon Oct 16 07:25:22 PDT 2006
Hi Andrew -- did we ever resolve this? If not, can you enter a
ticket at <http://solarphp.com/trac> for me?
On Sep 18, 2006, at 9:04 PM, Andrew Shell wrote:
> I first narrowed it down by switching the logging in the test suite to
> the file instead of echo. That told me the last test that succeeded.
> Then I looked up what test should have happened next by dumping
> $this->_test in Solar_Suite. This led me to
> test_Markdown_Documentation_Syntax. Then I tracked it down by
> moving a
> die variable through the code seeing how far through the code
> execution
> I could get it to go without crashing. Since all the tests in
> Test_Solar_Markdown go through _output I just set a global variable
> before running _output in the test and unset it afterwards. Then
> throughout the code when I wanted to have the code break I put the die
> inside of an if statement testing for that global variable. That was
> most of it. Inside of loops I'd create a static variable $i = 0 and
> then each time through the loop I'd increment it and die on a
> particular
> $i value. So first it would die on $i == 0 then $i == 1 and I'd keep
> stepping through the code until it crashed then I'd know which loop
> killed it.
>
> Hope that helps.
>
> Andrew Shell
>
> Rodrigo Moraes wrote:
>> On 9/18/06, Andrew Shell wrote:
>>
>>> I'm on windows/apache with php 5.1.6 and during the test
>>> Test_Solar_Markdown::test_Markdown_Documentation_Syntax apache
>>> crashes.
>>>
>>
>> This happened to me too (windows/apache and php 5.1.4). Yes, the
>> crash
>> occurs on test_Markdown_Documentation_Syntax; I discovered this
>> logging the test suite and couldn't discover anything else. I'm
>> curious to know how you've tracked it (editing the
>> Markdown_Documentation class and adding more logs?).
>>
>> rodrigo
>> _______________________________________________
>> solar-talk mailing list
>> solar-talk at lists.solarphp.com
>> http://mail.killersoft.com/mailman/listinfo/solar-talk
>>
>
>
> --
> Andrew Shell
> andrew at andrewshell.org
>
> _______________________________________________
> solar-talk mailing list
> solar-talk at lists.solarphp.com
> http://mail.killersoft.com/mailman/listinfo/solar-talk
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list