Skip to contentSkip to conversation

ppc Linux-2.4.2 not generating core dump for SIGSEGV and abort()

DISCUSSION [email protected] 4 participants 4 messages Jul 18, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,
I am using Suse-linux-7.1 with default linux -ppc kernel on apple G4
machine.
SIGSEGV is never generating the core dump. though this signal is being caught by the user process.
I also tried with "abort" call which should generate the core dump, but this is also not working. The same program with abort call is generating core dumps on other linux/unix platforms.
Can anybody tell me where is the problem?

Daljeet.

#1 lore raw
Quoted 9 lines · On Wed, Jul 18, 2001 at 06:31:25PM +0530, [email protected] wrote:

Hi all,
I am using Suse-linux-7.1 with default linux -ppc kernel on apple G4
machine.
SIGSEGV is never generating the core dump. though this signal is being caught by the user process.
I also tried with "abort" call which should generate the core dump, but this is also not working. The same program with abort call is generating core dumps on other linux/unix platforms.
Can anybody tell me where is the problem?

Core dumps are disabled by default for a SuSE install.

If you're using bash:
ulimit -c unlimited

or csh:
unlimit coredumpsize

-Jeff

Signature · 3 lines
Jeff Mahoney
[email protected]
[email protected]
#2 lore raw
In reply to [email protected]
Quoted 11 lines · On Wed, Jul 18, 2001 at 06:31:25PM +0530, [email protected] wrote:

Hi all,
I am using Suse-linux-7.1 with default linux -ppc kernel on apple G4
machine.
SIGSEGV is never generating the core dump. though this signal is being caught by the user process.
I also tried with "abort" call which should generate the core dump, but this is also not working. The same program with abort call is generating core dumps on other linux/unix platforms.
Can anybody tell me where is the problem?

Daljeet.

What does 'ulimit -a' print ?

Signature · 2 lines
Andrey Panin            | Embedded systems software engineer
[email protected]        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
#3 lore raw
In reply to [email protected]

Hi,

you should probably check your limits. Try

ulimit -a

you'll probably have a coresize of 0 (SuSE's default I believe) change it with

ulimit -c unlimited

(or some number, see also man ulimit).

This might help.

Ronald

Quoted 18 lines · [email protected] wrote:

Hi all,
I am using Suse-linux-7.1 with default linux -ppc kernel on apple G4
machine.
SIGSEGV is never generating the core dump. though this signal is being caught by the user process.
I also tried with "abort" call which should generate the core dump, but this is also not working. The same program with abort call is generating core dumps on other linux/unix platforms.
Can anybody tell me where is the problem?

Daljeet.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/