Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271094

Bug#1121061: libreoffice: undocumented limit of 249 arguments

From Rene Engelhard <rene@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121061: libreoffice: undocumented limit of 249 arguments
Date 2025-11-21 22:40 +0100
Message-ID <LTH1f-eIIK-7@gated-at.bofh.it> (permalink)
References <LTbXr-enqj-1@gated-at.bofh.it> <LTGRz-eIES-3@gated-at.bofh.it> <LTbXr-enqj-1@gated-at.bofh.it> <LTGRz-eIES-3@gated-at.bofh.it>
Organization Debian Project

Show all headers | View raw


Hi again,

Am 21.11.25 um 22:27 schrieb Rene Engelhard:
> Am 20.11.25 um 13:20 schrieb Francesco Potortì:
>> When libreoffice is called from the command line for batch processing with --convert-to it apparently forces a limit on the number of arguments without telling.
>>
>> In my case, when giving the names of 371 files on the command line, it starts working and printing two lines for each processed file until 249 files are processed, then it hangs.
>>
>> If I give it 249 file arguments, it works without problems.  The command line is:
>>
>> /usr/lib/libreoffice/program/oosplash --convert-to csv:Text - txt - csv (StarCalc):44,,,,,,,,,,,3 --outdir ./tmp.GYzB1YV6z1 [ 42-char file names]
> 
> I can't even reproduce this
> 
> - created 250 files, each with 42char file names
> 
> - ran --convert-to pdf
> 
> Works:
> 
> rene@frodo:~/test$ echo -n "000000000000000000000000000000000000000001" | wc -c && for i in `seq -w 0000000000000000000000000000000000000000001 0000000000000000000000000000000000000000251`; do touch echo $i > $i; done && ls -1 0* | wc -l; libreoffice --convert-to pdf * && ls -1 *.pdf | wc -l

forgot to remove the touch here after initial experiments, but even with correct echo $i > $i (-> with a non-empty file..) etc it works.

Regards,
  
Rene

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1121061: libreoffice: undocumented limit of 249 arguments Rene Engelhard <rene@debian.org> - 2025-11-21 22:40 +0100
  Bug#1121061: libreoffice: undocumented limit of 249 arguments Francesco Potortì <Potorti@isti.cnr.it> - 2025-11-22 02:40 +0100

csiph-web