Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000273 | mercury | Bug | public | 2013-01-06 10:42 | 2013-11-19 12:50 |
| Reporter | ony | ||||
|---|---|---|---|---|---|
| Assigned To | pbone | ||||
| Priority | low | Severity | minor | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0000273: race condition in Mmakefiles of deep_profiler and slice | ||||
| Description | During build with -j9 from master branch I wasn't able to succeed few times because of permission deny for copying in $(MDBCOMP_MODULES). | ||||
| Steps To Reproduce | At master branch bootstrap from existing compiler and use multiple jobs make PARALLEL=-j9 | ||||
| Additional Information | Looks like the reason for that is race condition from rule that fired twice in parallel for same files and thus had scenario: 1. [thread1] chmod a+w feedback.m 2. [thread1] cp ../mdbcomp/feedback.m . 3. [thread2] chmod a+w feedback.m 4. [thread1] chmod a-w feedback.m 5. [thread2] cp ../mdbcomp/feedback.m . # fails on permission deny Refactoring process of pulling in modules from $(MDBCOMP_DIR) should solve this issue. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://bugs.mercurylang.org/file_download.php?file_id=170&type=bug | ||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2013-01-06 10:42 | ony | New Issue | |||
| 2013-01-06 13:10 | ony | File Added: mercury-scm-fix-bug273-race-cond.-in-slice-and-deep_profile.patch | |||
| 2013-01-07 11:43 | juliensf | Note Added: 0000491 | |||
| 2013-11-19 12:49 | pbone | Note Added: 0000582 | |||
| 2013-11-19 12:50 | pbone | Status | new => closed | ||
| 2013-11-19 12:50 | pbone | Assigned To | => pbone | ||
| 2013-11-19 12:50 | pbone | Resolution | open => fixed | ||