Re: Seg Fault Action!

2008-10-30 Thread Lowell Gilbert
Graham Bentley [EMAIL PROTECTED] writes: I have often wondered what to do if I compile a port and immediatly after trying to run it I get a seg fault. In the past I have just tried to find an alternative port that did the same job, but it has always felt as though I wasnt trying hard

Re: Seg Fault Action!

2008-10-30 Thread Graham Bentley
For one, make sure your ports are up-to-date with your installed ports tree before installing more ports. Yep, done that :) You can run the program under truss(1), which will help you figure out what kind of bad data is being passed to system calls (assuming that's where the failure is, but

Re: Seg Fault Action!

2008-10-30 Thread Lowell Gilbert
Graham Bentley [EMAIL PROTECTED] writes: You can generate a crash dump of the program, and (you or someone else) can use a debugger to see where it was when it failed -- usually a strong hint. Is that what a core dump is? I actually meant core dump. Crash dump slipped into my brain from a