Bug 705437
Summary: | schedd crash on Windows due to bug in timed_queue<> | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Erik Erlandson <eerlands> |
Component: | condor | Assignee: | Erik Erlandson <eerlands> |
Status: | CLOSED ERRATA | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 2.0 | CC: | jneedle, matt, mkudlej, tstclair |
Target Milestone: | 2.0.1 | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Windows | ||
Whiteboard: | |||
Fixed In Version: | condor-7.6.2-0.1 | Doc Type: | Bug Fix |
Doc Text: |
The scheduler could have potentially suffered a memory access error due to a missing check for an empty queue. This check has been implemented, thus eliminating the chance of incurring a memory access error.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-07 16:44:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 723887 |
Description
Erik Erlandson
2011-05-17 16:52:28 UTC
pushed fix to: UPSTREAM-7.7.0-BZ705437-timed-queue-crash Not sure how to repro this. It didn't show up when I tested with MALLOC_PERTURB_, and upstream reported they couldn't see it with valgrind either. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: timed_queue<> data structure was missing a check for empty queue. Consequence: Left scheduler open to a potential memory access error. Fix: Proper check for empty queue was added to the data structure code. Result: The potential memory access error is now eliminated. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,11 +1 @@ -Cause: +The scheduler could have potentially suffered a memory access error due to a missing check for an empty queue. This check has been implemented, thus eliminating the chance of incurring a memory access error.-timed_queue<> data structure was missing a check for empty queue. - -Consequence: -Left scheduler open to a potential memory access error. - -Fix: -Proper check for empty queue was added to the data structure code. - -Result: -The potential memory access error is now eliminated. Code inspection made by me and ltoscano. -->VERIFIED An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1249.html |