On Wed, Dec 10, 2003 at 01:25:01PM +0200, Konstantin Nikonenko wrote:
> 
> Hello oops-users,
> 
> Wednesday, December 10, 2003, 12:48:43 PM, you wrote:
> >> What gdb is answer on where in core? How many memory oops use? mb
> LEK> No, it just dies without core dumped.
> You need set some sysctl parameters, for get coredump... i don't know
> they names in linux ;)

okay, I got it.  Use "ulimit -c unlimited" to enable this.

[EMAIL PROTECTED] [~oopscache/oops] (21:24) d core.*
-rw-------    1 oopscach oopscach 2146447360 Dec 10 21:20 core.11475

This core is quite *fat*... It seems like some kind of memory leak.

[EMAIL PROTECTED] [/home/oopscache/oops] (21:21) sudo gdb oops core.11475
[...]
#0  attach_data (
    src=0x707fefec "150-Accepted data connection\r\n150 318400.0 kbytes to 
download\r\n number 23 of 200 allowed.\r\n220-Local time is now 21:20. Server port: 
21.\r\n220-Only anonymous FTP is allowed here\r\n220-IPv6 connections a"..., size=63, 
buff=0x0) at lib.h:58
58          if ( !buff->data ) {
(gdb) bt
#0  attach_data (
    src=0x707fefec "150-Accepted data connection\r\n150 318400.0 kbytes to 
download\r\n number 23 of 200 allowed.\r\n220-Local time is now 21:20. Server port: 
21.\r\n220-Only anonymous FTP is allowed here\r\n220-IPv6 connections a"..., size=63, 
buff=0x0) at lib.h:58
#1  0x0000004f in ?? ()
#2  0x0806c679 in try_retr (ftp_r=0x0) at ftp_utils.c:1594
#3  0x08067e31 in ftp_fill_mem_obj (so=1646, rq=0x707ff95c,
    headers=0x1485b5be "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; 
.NET CLR 1.1.4322)\r\nHost: openbsd.csie.nctu.edu.tw:21\r\nCache-Control: 
max-stale=0\r\n\r\n", obj=0x148e9580) at ftp_utils.c:254
#4  0x080566dc in run_client (arg=0x148f62b0) at run_client.c:520
#5  0x0807e7f5 in worker (arg=0x3f) at worker.c:34
#6  0x08081c07 in workq_server (arg=0x707ff95c) at workq.c:177
#7  0x4001d0ba in pthread_start_thread () from /lib/libpthread.so.0
(gdb) p
The history is empty.
(gdb) p buff
$1 = (struct buff *) 0x0
(gdb)

-- 
* Gea-Suan Lin  (public key: http://ccreader.nctu.edu.tw/~gslin/key.txt)
* If you cannot convince them, confuse them.           -- Harry S Truman
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://lists.paco.net/oops-rus/

Дати відповідь електронним листом