Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-15-2002, 04:36 PM   #1
chuddy
Member
 
Join Date: Oct 2002
Posts: 31
Default Dual deleting causing crash

Hi,

I'm experimenting Beta3.4.0 since 2 days and i maybe found a bug.
When 2 (and surely more) connected users are deleting dirs and files at the same moment in the same directory it causes crash of IOFTPD.

Crash doesn't happen shortly but after a few of content deleted.

I'm using Windows 2K SP2.

Anybody experimented this bug ?
chuddy is offline   Reply With Quote
Old 10-15-2002, 06:31 PM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Are both users trying to delete same file when it crashes? (try to get client logs from both). Are they administrators, or owners of files?
darkone is offline   Reply With Quote
Old 10-15-2002, 06:42 PM   #3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Is there any change that amount of deleted files exceed in bytes, amount they have uploaded? (there might be divide by zero bug :/)
darkone is offline   Reply With Quote
Old 10-15-2002, 07:04 PM   #4
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

I tested it with 'fixed' code and couldnt manage to get it crash (had three clients deleting from directory with 1300files). To be on sure side, I will start adding synchronisation more objects starting tomorrow.
darkone is offline   Reply With Quote
Old 10-16-2002, 02:03 AM   #5
chuddy
Member
 
Join Date: Oct 2002
Posts: 31
Default

1a - nope, first i deleted sames file but when the bug appears i found it too trivial so i tested with different files but always in the same dir.
So symptoms appears with same files and different files too.
I must comment that in my tests i delete subdirs and files (not only files as you did maybe ?)

1b - file i use in tests are owned different users ("ioFTPD" and "test" users who is basic test user). I did my tests my differents (ioFTPD/test) and same user (ioFTPD : to be the master). It alaways caused crashs.


2 - Good idea, it would be possible (zero divide) if this problem only affected basics ratio user with low credits but i got it as say above with "ioFTPD" user (master, no ratio).


I will try to make some more tries with an older version on a different desktop with my test protocol to see what happen.
chuddy is offline   Reply With Quote
Old 10-16-2002, 02:43 AM   #6
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

I could send you a 'fixed' version as well. Mail me your email address, and I'll give you url where to download it (there might be other issues in this release as I havent had time to test it through yet)
darkone is offline   Reply With Quote
Old 10-16-2002, 04:00 PM   #7
chuddy
Member
 
Join Date: Oct 2002
Posts: 31
Default

mail sent.


BUT i think i got it !

Here is how to make it crash so try to recreate it.


Let's say :

1 - i made a user "led" with "ioftpd" default group, this guy uploads a load of shit in \stock where he has permissions.

2 - i realize that this "led" guy has very weird sexual attractions cause he uploads me alot of zooporn ...so i decide to delete his account.

3 - i log into my ioftpd server with default account "ioFTPD" and files that "led" uploaded have now "Nobody" as owner, group still remain the same.
I presume"Nobody" is default owner when ioftpd cant find the user in user files and group is still "ioftpd" cause it still exists : all is OK for me.

4 - I decide to delete his stuff in \stock (subdirs and files) with my "ioftpd" user and here we go, it crashes !


Let me know if you got it or should i like zooporn ?

chuddy is offline   Reply With Quote
Old 10-17-2002, 05:50 PM   #8
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

I was too lazy to email it to you. Get the 3.4.1 and report, if it fixes the problem (atleast it fixes tons of others).
darkone is offline   Reply With Quote
Old 10-18-2002, 10:53 AM   #9
chuddy
Member
 
Join Date: Oct 2002
Posts: 31
Default 3.4.2 same problem

I got the same symptoms on 3.4.2 : i you delete files owned by a user that doesn't exist anymore it crashes.
chuddy is offline   Reply With Quote
Old 10-18-2002, 11:30 AM   #10
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Ok, it's now fixed.. =/
darkone is offline   Reply With Quote
Reply

Tags
bug, crash, deleting, ioftpd, shortly

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:52 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)