[GE issues] [Issue 3296] New - Pseudo variable ~ and ~user for qsub -o/-e will crash the execd

reuti reuti at staff.uni-marburg.de
Fri Dec 10 17:14:50 GMT 2010


    [ The following text is in the "utf-8" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some characters may be displayed incorrectly. ]

http://gridengine.sunsource.net/issues/show_bug.cgi?id=3296
                 Issue #|3296
                 Summary|Pseudo variable ~ and ~user for qsub -o/-e will crash 
                        |the execd
               Component|gridengine
                 Version|6.2u5
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|clients
             Assigned to|roland
             Reported by|reuti






------- Additional comments from reuti at sunsource.net Fri Dec 10 09:14:50 -0800 2010 -------
According to the man page of `qsub`, it's valid to use ~ and ~user for the -o and -e switches. I.e. for the location of the output and error
files. Putting this into a job script using either:

#$ -o ~
#$ -o ~reuti

will crash the execd. According to the messages file it's getting a wrong cryptic username:

12/10/2010 18:06:26|  main|pc15370|E|invalid user name "/gH)ESC^H^\e^]^H250377364337350267 at 361?373h233363277yq?@361?373`341^]^H260
233363277300233<U+FF21B>363277

Specifying a file instead of a directory:

#$ -o ~/myoutput

will also not work, as it puts the job in error state, but the execd won't be killed in this case.

Same is happening when used on the command line while using quotes to avoid expansion by the shell of these shortcuts.

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=36&dsMessageId=304006

To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list