Menu

#4 Unix delete User thread error

open
nobody
None
5
2010-02-21
2010-02-21
Anonymous
No

Hi,

I use you code for FTP server for a project made for apple iPhone. So it runs on a iPhone OS.
I just saw that the 4.3 version (last think) have some problems on deleting a user.
The problem shows when try to delete a user till it have a client connected. Mean if deconect the client application first the user can be delete ok.

But if I delete it till it have a active client connected I get a soket read error in the shell thread.
This is the stack error place....

/*
#0 0x005f792e in __darwin_fd_isset at _structs.h:193
#1 0x005f9ea6 in CFtpServer::CClientEntry::ReceiveLine at FtpServer.cpp:1665
#2 0x005fc1c4 in CFtpServer::CClientEntry::Shell at FtpServer.cpp:826
#3 0x32482930 in _pthread_body
*/

I try to use the server in different ways, static allocation, dinamic, etc ..... but the error is the same.
Hope yould find where is the problem and will also help me with that.

Kind Regards,
Costy

Discussion


Log in to post a comment.