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:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating 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:

in
https://bugzilla.opensuse.org/show_bug.cgi?id=1021353

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/
../test.sh
# or
make clean ; make -j2 all

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

The underlying problem is that both create a "args.man"
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:
   
   
Comment:
   

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)
  •  

    Do you think this task is very important?
    If so, you can 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
    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.3