Linux Commands Examples

A great documentation place for Linux commands

catchsegv

Catch segmentation faults in programs

Synopsis

catchsegv program [args]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
cp "$src" "$ROOTFS"/usr/bin/
fi
}
PACKAGES+=" catchsegv"
hset catchsegv url "none"
hset catchsegv dir "."
hset catchsegv phases "deploy"
hset catchsegv phases "deploy"
hset catchsegv depends "busybox"
deploy-catchsegv() {
local src="$CROSS_BASE/$TARGET_FULL_ARCH"/sysroot/usr/bin/catchsegv
0
source
            
fi
}
PACKAGES+=" catchsegv"
hset catchsegv url "none"
hset catchsegv dir "."
hset catchsegv phases "deploy"
hset catchsegv phases "deploy"
hset catchsegv depends "busybox"
deploy-catchsegv() {
local src="$CROSS_BASE/$TARGET_FULL_ARCH"/sysroot/usr/bin/catchsegv
0
source
            
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib64/openmpi/lib/:/usr/libexec/dropbox/
catchsegv ../giga_server > /tmp/server.log 2>&1 &

description

Used to debug segmentation faults in programs. The output is the content of registers, plus a backtrace. Basically you call your program and its arguments as the arguments to catchsegv.


author

catchsegv was written by Ulrich Drepper for the GNU C Library

This man page was written by Ben Collins <bcollins[:at:]debian[:dot:]org> for the Debian GNU/Linux system.

How can this site be more helpful to YOU ?


give  feedback