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


sr #109234: corrupted output from race condition

Submitted by:  Bernhard M. <bmwiedemann>
Submitted on:  Tue 24 Jan 2017 02:45:02 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 File(s):

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
  • -unavailable- added by bmwiedemann (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Jan 2017 02:45:02 PM UTCbmwiedemannAttached File-=>Added autogen-catch-race-error.patch, #39547
      Attached File-=>Added autogenracetest.tar.gz, #39548

    Back to the top

    Powered by Savane 3.1-cleanup1