[Xitami] Xitami crashing after FTP

Thomas J. Hruska xitami@lists.xitami.org
Tue, 09 Jul 2002 09:05:19 -0400


At 12:12 AM 7/9/2002 -0400, WhiteShepherd writeth:
>Ok ran a netstat -s to check.  FTPD is only using 21 and Xitami is
listening to 80 and 81.  
>Here is a common error befor a crash: 
>
>No such file or directory

Xitami could not find the file or directory to load.  Sounds like the FTP
server is doing some sort of caching it shouldn't...or Windows could be
corrupted or Xitami is corrupted or something is not right.

>Broken pipe

Possibly a further result of the file not opening.  My guess here is that
Xitami is attempting to use a file or socket anyway.  At this point there
is trouble later on whatever the case is.

>Socket operation on non-socket

The client socket has been closed or we are accessing memory we don't own...

>Clean-memory assertion failed - xitami.c (208)

This is (strangely) located at the end of Xitami's execution in main().
I'm surprised the program got that far.  However, it is due to Xitami
attempting to use or access memory it doesn't own or no longer owns.
Xitami appears to be on its way out the door to avoid that great core dump
in the skies whatever the case is.

>Abnormal program termination

It looks like the program exited but then the CPU took over and realized a
memory fault took place during the clean-memory scan.

>core dumped

Hence, the core dump.  So much for avoiding it...

>Any of this make sense?

Nope.  Just extrapolating on what seems to be taking place.

>On 8 Jul 2002 at 16:30, Gunnar Swan wrote:
>> I would check out a port sniffer. 
>> Turn the OTHER FTP server completely off ... at the service panel.
>> Then see what is listening on the ports.
>> I would think that there are two apps fighting for the same port.

There should be no problem here.  Any Windows sockets provider worth its
salt will only allow one program to own a single port on one IP at one
time.  So, if there are two server programs contending for the same port,
only one gets it.

>> Unless two programs are fighting for the same memory or communication
channel, 
>> they should co-exist.

This could be, but with Windows you never know what the OS will decide to
do next :)  (I'm not an advocate of any OS...I just haven't found any that
I really like).

Hope this helps!


          Thomas J. Hruska -- shinelight@shininglightpro.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
                  http://www.shininglightpro.com/