summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/statedump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/statedump.c b/libglusterfs/src/statedump.c
index 0fd4013ff..0665f9e1b 100644
--- a/libglusterfs/src/statedump.c
+++ b/libglusterfs/src/statedump.c
@@ -432,7 +432,8 @@ gf_proc_dump_info (int signum)
iobuf_stats_dump (ctx->iobuf_pool);
if (GF_PROC_DUMP_IS_OPTION_ENABLED (callpool))
gf_proc_dump_pending_frames (ctx->pool);
- gf_proc_dump_xlator_info (ctx->active->top);
+ if (ctx->active)
+ gf_proc_dump_xlator_info (ctx->active->top);
}