Re: PHP 5.2.3 - Segmentation fault (core dumped)
| From: | T . Lensselink | Date: | Fri, 14 Sep 2007 10:42:49 +0000 |
| Subject: | Re: PHP 5.2.3 - Segmentation fault (core dumped) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262109@lists.php.net to get a copy of this message | ||
On Fri, 14 Sep 2007 12:00:19 +0200, Per Jessen <per@computer.org> wrote:
> T.Lensselink wrote:
>
>>>> Would love to see the code that caused this.
>>>
>>> http://jessen.ch/files/php-problem-sep2007.tar.gz
>>>
>>>
>>> /Per Jessen, Zürich
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>> It's the call to virtual() that causes the segfault on windows.
>
> Interesting - I know the problem is in the virtual() call, but it
> doesn't manifest itself till the problem stylesheet is loaded.
>
>
> /Per Jessen, Zürich
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
You are right. It segfaults only if the virtual() call comes before
creating the XSLTProcessor instance.