[Top][All Lists]

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

Re: cvs rdiff -t consistently crashes with SEGV when processing files

From: Derek Robert Price
Subject: Re: cvs rdiff -t consistently crashes with SEGV when processing files
Date: Thu, 27 Mar 2003 16:56:24 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02

Larry Jones wrote:

Derek Robert Price writes:
Also, anyone know why CVS isn't leaving core files around anymore? We don't seem to be catching SIGSEGV. Does catching one of the other signals avoid the core? SIGABRT perhaps? I seem to remember reading something about stopping a core dump via signals before but I can't find it now. I remember a function to throw a core too but I can't find the man page for that either.

It's still creating core dumps on my system.  The signal(2) man page
usually lists all of the signals along with the default action if
they're not caught or ignored.  Catching (or ignoring) one signal has no
effect on other signals.  The core(5) man page usually enumerates the
conditions under which core files are and are not generated.  The
abort(3) function usually generates a core file (unless SIGABRT is being
caught or ignored); I don't know of any other common function to do so.

Thanks Larry. I'd tried all that, plus `man -k core', and hadn't found anything, but you prompted me to search for RedHat Linux specific info. Turns out the fix was `ulimit -c <big number>'. Apparently ulimit can limit the size of generated core files and it has a default limit of 0 on my system. This might be an artifact of Bash 2, or at least RH's distribution of Bash 2.

Incidentally, core(5) is completely missing on my system. I think core(5) used to be shipped with RH. I'm not sure which version it disappeared in. Also, the signal(7) man page has the list of my available signals and what they are caused by and do.

Thanks again,



Email: address@hidden

Get CVS support at <http://ximbiot.com>!
HAMLET  Ha, ha!  Are you honest?
OPHELIA  My lord?
HAMLET  Are you fair?
OPHELIA  What means your lordship?
HAMLET  That if you be honest and fair, you honesty
 should admit no discourse to your beauty.

    - Hamlet, Act III, Scene 1, Lines 103-108

reply via email to

[Prev in Thread] Current Thread [Next in Thread]