NYCPHP Meetup

NYPHP.org

[nycphp-talk] segmentation fault

Faber Fedor faber at linuxnj.com
Fri Mar 5 23:17:47 EST 2004


On Fri, Mar 05, 2004 at 06:56:56PM -0500, Carlos A Hoyos wrote:
> 
> Has anyone encountered a segmentation fault before? Any hints on how to
> debug?

Remember, strace is your friend.  It looks pretty daunting when you
first run it, but if you have some programming background, e.g. this
isn't your first program (or programming language) you can sort of
figure out what the program was trying to do at the time.

There's alot of stuff in the strace output that is Very Scary but ignore
it.

Something like this might help:

strace -f -o /tmp/output_file /path/to/your/executable.php

-- 
 
Regards,
 
Faber                     

Linux New Jersey: Open Source Solutions for New Jersey
http://www.linuxnj.com






More information about the talk mailing list