Bug 457495 - condor_submit -dump segfaults with multiple jobs in cluster
condor_submit -dump segfaults with multiple jobs in cluster
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: grid (Show other bugs)
1.0
All Linux
low Severity low
: 1.2
: ---
Assigned To: Robert Rati
Martin Kudlej
:
Depends On:
Blocks: 527551
  Show dependency treegraph
 
Reported: 2008-07-31 21:39 EDT by Matthew Farrellee
Modified: 2009-12-03 04:19 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Grid bug fix C: Multiple jobs in cluster and a request to dump job ad to file C: condor_submit -dump segfaults F: Multiple jobs dumped to output file R: No longer segfaults When there were multiple jobs in a cluster, a request to dump a job ad to a file with condor_submit -dump would create a segfault. This was corrected and the segfault no longer occurs.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-12-03 04:19:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew Farrellee 2008-07-31 21:39:01 EDT
$ condor_version 
$CondorVersion: 7.0.4 Jul 30 2008 BuildID: RH-7.0.4-2.el4 $
$CondorPlatform: I386-LINUX_RH_UNKNOWN $


$ cat test1.job 
universe = vanilla
executable = /bin/sleep
queue 2

$ condor_submit -dump /dev/null test1.job 
Storing job ClassAd(s).ERROR "Assertion ERROR on (job->LookupString
(ATTR_JOB_CMD, buff))" at line 1974 in file submit.C
Segmentation fault


$ cat test2.job 
universe = vanilla
executable = /bin/sleep
queue
queue

$ condor_submit -dump /dev/null test2.job 
Storing job ClassAd(s).ERROR "Assertion ERROR on (job->LookupString
(ATTR_JOB_CMD, buff))" at line 1974 in file submit.C
Segmentation fault
Comment 1 Robert Rati 2009-09-25 15:36:22 EDT
Fixed in:
condor-7.4.0-0.6
Comment 3 Irina Boverman 2009-10-29 10:29:30 EDT
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
please see bug summary.
Comment 4 Lana Brindley 2009-11-03 21:35:31 EST
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1 +1,3 @@
+Grid bug fix
+
 please see bug summary.
Comment 5 Lana Brindley 2009-11-03 22:17:20 EST
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1,3 +1,8 @@
 Grid bug fix
 
-please see bug summary.+C: multiple jobs in cluster
+C: condor_submit -dump segfaults
+F:
+R:
+
+MORE INFORMATION REQUIRED TO COMPLETE RELNOTE
Comment 6 Matthew Farrellee 2009-11-03 22:34:39 EST
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1,8 +1,8 @@
 Grid bug fix
 
-C: multiple jobs in cluster
+C: Multiple jobs in cluster and a request to dump job ad to file
 C: condor_submit -dump segfaults
-F:
-R:
+F: Multiple jobs dumped to output file
+R: No longer segfaults
 
 MORE INFORMATION REQUIRED TO COMPLETE RELNOTE
Comment 7 Lana Brindley 2009-11-04 20:34:41 EST
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -5,4 +5,4 @@
 F: Multiple jobs dumped to output file
 R: No longer segfaults
 
-MORE INFORMATION REQUIRED TO COMPLETE RELNOTE+When there were multiple jobs in a cluster, a request to dump a job ad to a file with condor_submit -dump would create a segfault. This was corrected and the segfault no longer occurs.
Comment 8 Martin Kudlej 2009-11-11 04:09:11 EST
Tested on RHEL 4.8 i386 and RHEL 5.4 x86_64 with condor-7.2.2-0.9 and it doesn't work.
Tested on RHEL 4.8 i386 and RHEL 5.4 x86_64 with condor-7.4.1-0.5 and it works. -->VERIFIED
Comment 10 errata-xmlrpc 2009-12-03 04:19:40 EST
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/RHEA-2009-1633.html

Note You need to log in before you can comment on or make changes to this bug.