Untypical ghost WU, probably name too long

Message boards : Number crunching : Untypical ghost WU, probably name too long

To post messages, you must log in.

AuthorMessage
Ananas

Send message
Joined: 1 Jan 06
Posts: 232
Credit: 752,471
RAC: 0
Message 76540 - Posted: 22 Mar 2014, 9:05:00 UTC
Last modified: 22 Mar 2014, 9:32:02 UTC

A_31_AGBBA_B_18_AGBBA_6h_3l_i4_blue_1.82_10.22_93.74_66.67_0.00.Loop.Res.SurMod.inQQ..REsiSemi.ciL__fold_SAVE_ALL_OUT_149002_483

128 characters for the WU name, 2 x "no reply" already and I didn't receive it either - I guess you violated a max. filename limit there.

p.s.: my BOINC path is rather short ( D:BOINCprojectsboinc.bakerlab.org_rosetta for Rosetta), so it should not be a problem typical for my installation. The BOINC database allows 254 characters so that's not the limit either. Maybe some string in the BOINC sources that transports the result name or the base path on server side is too long for such a filename - or Apache doesn't handle that.


p.p.s.: I just saw a similar error report here, the problems are probably caused by the same thing
ID: 76540 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Link
Avatar

Send message
Joined: 4 May 07
Posts: 356
Credit: 382,349
RAC: 0
Message 76542 - Posted: 22 Mar 2014, 22:33:31 UTC
Last modified: 22 Mar 2014, 22:35:46 UTC

Yep, got one of those too. Here what was in the log:

22/03/2014 09:54:13	rosetta@home	Sending scheduler request: To fetch work.
22/03/2014 09:54:13	rosetta@home	Requesting new tasks for CPU
22/03/2014 09:54:18	rosetta@home	[error] Can't parse file info in scheduler reply: file name is empty or has '..'
22/03/2014 09:54:18	rosetta@home	[error] Can't parse file info in scheduler reply: file name is empty or has '..'
22/03/2014 09:54:18	rosetta@home	Scheduler request completed: got 1 new tasks
22/03/2014 09:54:18	rosetta@home	[error] State file error: missing file A_31_AGBBA_B_11_AGBBBA_6h_3l_i4_blue_1.82_10.30_94.44_66.67_0.00_1.09.Loop.SurMod..SurREstaples.Yfull__data.zip
22/03/2014 09:54:18	rosetta@home	[error] State file error: missing input file A_31_AGBBA_B_11_AGBBBA_6h_3l_i4_blue_1.82_10.30_94.44_66.67_0.00_1.09.Loop.SurMod..SurREstaples.Yfull__data.zip
22/03/2014 09:54:18	rosetta@home	[error] Can't handle task A_31_AGBBA_B_11_AGBBBA_6h_3l_i4_blue_1.82_10.30_94.44_66.67_0.00_1.09.Loop.SurMod..SurREstaples.Yfull__fold_SAVE_ALL_OUT_148997_837 in scheduler reply
22/03/2014 09:54:18	rosetta@home	[error] State file error: missing task A_31_AGBBA_B_11_AGBBBA_6h_3l_i4_blue_1.82_10.30_94.44_66.67_0.00_1.09.Loop.SurMod..SurREstaples.Yfull__fold_SAVE_ALL_OUT_148997_837
22/03/2014 09:54:18	rosetta@home	[error] Can't handle task A_31_AGBBA_B_11_AGBBBA_6h_3l_i4_blue_1.82_10.30_94.44_66.67_0.00_1.09.Loop.SurMod..SurREstaples.Yfull__fold_SAVE_ALL_OUT_148997_837_2 in scheduler reply

Unfortunately BOINC didn't report it back as error, so it will have to time out.
.
ID: 76542 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4018
Credit: 0
RAC: 0
Message 76546 - Posted: 23 Mar 2014, 17:30:40 UTC

Thank you for spotting this and reporting the details. I've EMailed the Project Team to ensure they address the issue.
Rosetta Moderator: Mod.Sense
ID: 76546 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Ananas

Send message
Joined: 1 Jan 06
Posts: 232
Credit: 752,471
RAC: 0
Message 76549 - Posted: 24 Mar 2014, 2:26:49 UTC
Last modified: 24 Mar 2014, 2:44:16 UTC

It is not (or not only?) the name length, in Link's report can be seen that it complains about the two dots. Two consecutive dots might be seen as a security risk (but from my understanding that would only be the case next to a slash).

p.s.: Here we have it (client_types.cpp) :

        if (match_tag(buf, "</file_info>")) {
            if (!strlen(name)) return ERR_BAD_FILENAME;
            if (strstr(name, "..")) return ERR_BAD_FILENAME; <======
            if (strstr(name, "%")) return ERR_BAD_FILENAME;
            return 0;
        }

The core client doesn't like that.

A too long filename is a risk too though, especially since BOINC switched the default data directory on Windows to reside in the profile area. Drive letter + path + filename are limited to 256.
ID: 76549 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Link
Avatar

Send message
Joined: 4 May 07
Posts: 356
Credit: 382,349
RAC: 0
Message 76550 - Posted: 24 Mar 2014, 10:55:25 UTC - in response to Message 76549.  

A too long filename is a risk too though, especially since BOINC switched the default data directory on Windows to reside in the profile area. Drive letter + path + filename are limited to 256.

No, filenames are limited to 255, full path to 32,767. See NTFS, chapter "Internals". The filename from my example is just 111 characters long, that's not even near the limit. So it must be the "..".
.
ID: 76550 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Untypical ghost WU, probably name too long



©2024 University of Washington
https://www.bakerlab.org