TMPDIR env length bug in v19

Hi Team,

we found a issue on TMPDIR env in pbspro v19 version.

if a user setup TMPDIR with long path. the qsub would be stopped with seg fault.

user1@hostA:~ export TMPDIR=/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/cccccccccccccccccccccc user1@hostA:~ qsub -q batch – /bin/sleep 1
Segmentation fault

could you please help on fixing it ?


I believe this is already fixed in master branch at This fix is not a part of 19.1, but will be part of the next major release.

Thanks for the info.