Article delegate-en/100 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A99@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: FTP problem
22 Sep 1998 10:09:17 GMT ysato@etl.go.jp (Yutaka Sato 佐藤豊)


In message <_A99@delegate-en.ML_> on 09/22/98(09:18:41) I wrote:
 | |09/21 19:20:56.27 [648] 1+0/8: E-A: ABORT: caught SIGSEGV [11]

I found another certain source of SIGSEGV by FTP-DeleGate on Linux.
In the function relay_data() in "ftp.c", after calling cache_done()
in cache.c, FILE *cachefp is duplicatedly closed, to cause SIGSEGV:
    ...
        cache_done(OK,cachefp,cachepath,xcachepath);
        sv1log("FTP-CACHE: written=%d %d bytes [%s]\n",OK,xc,cachepath);
-       fclose(cachefp);
    }
     ...

The above line of "fclose(cachefp);" must be removed.

Cheers,
Yutaka
--
Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V