View | Details | Raw Unified | Return to ticket 6837 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/slurmctld/step_mgr.c (+4 lines)
Lines 2102-2107 static void _step_dealloc_lps(struct step_record *step_ptr) Link Here
2102
	if (step_ptr->step_layout == NULL)	/* batch step */
2102
	if (step_ptr->step_layout == NULL)	/* batch step */
2103
		return;
2103
		return;
2104
2104
2105
	if (!job_resrcs_ptr) {
2106
		error("%s: XXXBUG6837XXX: job_resrcs_ptr is NULL but shouldn't be. Avoid segfault by returning.", __func__);
2107
		return;
2108
	}
2105
	i_first = bit_ffs(job_resrcs_ptr->node_bitmap);
2109
	i_first = bit_ffs(job_resrcs_ptr->node_bitmap);
2106
	i_last  = bit_fls(job_resrcs_ptr->node_bitmap);
2110
	i_last  = bit_fls(job_resrcs_ptr->node_bitmap);
2107
	if (i_first == -1)	/* empty bitmap */
2111
	if (i_first == -1)	/* empty bitmap */

Return to ticket 6837