IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 18 years ago

Closed 18 years ago

#1135 closed defect (duplicate)

pclient hangs (hence pantasks, too) when launching commands of a certain length

Reported by: jester@… Owned by: eugene
Priority: high Milestone:
Component: PanTasks Version: 2.6
Severity: critical Keywords:
Cc:

Description

pclient hangs itself up when issuing the following command:

job detrend_resid_imfile.pl --det_id 1 --iteration 0 --exp_id 7 --exp_tag simtest.000.006.7 --class_id fpa --det_type BIAS --detrend file:///home/jester/detwork/SIMTEST.BIAS.1/SIMTEST.BIAS.norm.1.0.fits --input_uri file:///home/jester/detwork/SIMTEST.BIAS.1/simtest.000.006.7/simtest.000.006.7.detproc.1.fits --camera SIMTEST --mode master --outroot file:///home/jester/detwork/SIMTEST.BIAS.1/simtest.000.006.7/simtest.000.006.7.detresid.1.0 --verbose --dbname jester_simtest_aida7x --verbose --redirect-output

It seems to be only the total length in characters that matters, not the number of arguments; 510 characters total including the 'job' command - add or delete a character and it works as expected.

A command line of exactly double the length + 1 also hangs (i.e. the above command twice plus a single space in between). Same for adding more copies.

A command line of exactly double the length (repeat command *without* space in between) leads to the following error message:

ob: Command not found.

Triple the length says:

ambiguous command: b ( basename break )

That's all I tried...

Change History (2)

comment:1 by Paul Price, 18 years ago

Cc: price@… added

Please confirm that you are using the patched version of readline (other versions are known to have trouble with dropping characters). In the psconfig directory, do:

% pschecklibs -build -force libreadline
% psbuild -rebuild -clean -only Ohana

And then retry your test case.

comment:2 by jester@…, 18 years ago

Resolution: duplicate
Status: newclosed

OK, indeed, caused by readline bug. Bug 1132 is already asking for psconfig to check this, so this is a duplicate of sorts.

Note: See TracTickets for help on using tickets.