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

Re: core files



Hallo,

Christian Knoke wrote:

> Wie erreiche ich die Erzeugung von core dumps unter Debian Etch?
> 
> chris@karl:~$ ulimit -a
> core file size          (blocks, -c) unlimited

Die core file size muss auf einen 'richtigen' Wert gesetzt werden:

$ ulimit -a | grep core
core file size          (blocks, -c) 0
$ ./a.out 
Segmentation fault
$ ulimit -c 10000; ./a.out
Segmentation fault (core dumped)


hth,

Wolf

-- 
I can't cook. Who cares?
(Zugegeben, diese Signatur ist langweilig. Finde das Bild zu dem Spruch, dann 
wird sie interessant...)


Reply to: