mainautogen - Support: sr #109234, corrupted output from race...


sr #109234: corrupted output from race condition

Submitter:  Bernhard M. <bmwiedemann>
Submitted:  Tue 24 Jan 2017 02:45:02 PM UTC
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

Tue 24 Jan 2017 02:45:02 PM UTC, original submission:  


we found that calling two autogen processes in parallel in the same directory (e.g. through make -j2) can cause the output to be silently corrupted
e.g. usually one of the outputs is missing and the remaining might contain the content of the other one.
In addition no error is returned by autogen in that case.

to reproduce with the attached tarball do

tar xf autogenracetest.tar.gz
cd autogenracetest/outdir/
# or
make clean ; make -j2 all

while this will always work fine:
make clean ; make all

The underlying problem is that both create a ""
temporary file stepping on each others toes
and not even notice

Bernhard M. <bmwiedemann>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #39548:  autogenracetest.tar.gz added by bmwiedemann (3KiB - application/x-gzip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bmwiedemann (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-24 bmwiedemann Attached File- Added autogen-catch-race-error.patch, #39547
        Attached File- Added autogenracetest.tar.gz, #39548

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code