Page 1 of 1

Big surprise!

Posted: Sat Jul 02, 2005 1:45 pm
by Heavy
WHOOHOO!
I just caused PHP to segfault!
:D :D

Posted: Sat Jul 02, 2005 5:41 pm
by Syranide
Hahaha, that's your first time? :D
You will start doubting the sanity of PHP when you see it crashing on windows every other try when fiddeling with fairly undocumented stuff and behaviour.

Posted: Sat Jul 02, 2005 5:52 pm
by Heavy
I don't know exactly what I did wrong.
I would guess i was doing too deep recursion or ran out of memory or references in a way that PHP couldn't catch.
I am writing a flexible parser and made some serious data juggling, and it went completely silent.
The apache errlog said:
[Sat Jul 02 21:25:19 2005] [notice] child pid 1472 exit signal Segmentation fault (11)

I worked around it. But I would prefer a message before a crash really ;)