Project

General

Profile

Actions

Bug #5303

closed

OSD segfaults on SIGINT

Added by Jérôme Poulin almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This is not the first time but interrupting the OSD with SIGINT (CTRL+C) causes a segmentation fault.

Cuttlefish 0.61.3

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeeffd700 (LWP 4205)]
0x00000000006fb348 in exists (osd=4, this=0x0) at ./osd/OSDMap.h:301
301        return osd >= 0 && osd < max_osd && (osd_state[osd] & CEPH_OSD_EXISTS);
(gdb) bt
#0  0x00000000006fb348 in exists (osd=4, this=0x0) at ./osd/OSDMap.h:301
#1  is_up (osd=4, this=0x0) at ./osd/OSDMap.h:305
#2  OSDMap::get_inst (this=0x0, osd=4) at ./osd/OSDMap.h:351
#3  0x00000000006b238b in OSDService::prepare_to_stop (this=this@entry=0x14d57b8) at osd/OSD.cc:4087
#4  0x00000000006b83b8 in OSD::shutdown (this=this@entry=0x14d41e0) at osd/OSD.cc:1307
#5  0x00000000006b9d4b in OSD::handle_signal (this=0x14d41e0, signum=<optimized out>) at osd/OSD.cc:952
#6  0x0000000000842438 in SignalHandler::entry (this=0x14d6760) at global/signal_handler.cc:224
#7  0x00007ffff79c2f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007ffff5ee2e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) 

Actions

Also available in: Atom PDF