Re: segmentation fault



Hi Dorota,

On Wed, 2002-12-11 at 14:10, Dorota Rall wrote:
> I have a big problem. I have compiled my application and all needed code 
> is generated but when I try to run my server it just says: "segmentation 
> fault".

	It's Christmas time right - so I guess you've been eating small
oranges, somehow one of the segments you ate was faulty ... the problem
will pass in a few days.

	OTOH - you might want to attach the debugger to the process; look up
man pages on 'gdb'; essentially you want

	export CFLAGS=-g (re-build everything with that)
	gdb ./app
	r
	bt

> What's the problem?

	Your code is broken.

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]