Bug ID 1002455
Summary Segfault during ceph-osd --flush-journal
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter jfunk@funktronics.ca
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 695364 [details]
Debug output

I have ceph-10.2.2+git.1472064878.6bc382e-1.6.x86_64 installed, from Leap 42.2.

If I run ceph-osd --flush-journal on an OSD with an external journal, I get a
segfault:

dx3:~ # gdb ceph-osd
GNU gdb (GDB; openSUSE Leap 42.2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ceph-osd...Reading symbols from
/usr/lib/debug/usr/bin/ceph-osd.debug...done.
done.
(gdb) run -i 1 --flush-journal
Starting program: /usr/bin/ceph-osd -i 1 --flush-journal
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff420e700 (LWP 15817)]
[New Thread 0x7ffff3289700 (LWP 15818)]
[New Thread 0x7ffff2a88700 (LWP 15819)]
[New Thread 0x7ffff2287700 (LWP 15820)]
[New Thread 0x7ffff125e700 (LWP 15821)]
[New Thread 0x7ffff0a5d700 (LWP 15822)]
Detaching after fork from child process 15823.
Detaching after fork from child process 15824.
[New Thread 0x7ffff025c700 (LWP 15825)]
[New Thread 0x7fffefa5b700 (LWP 15826)]
[New Thread 0x7fffef25a700 (LWP 15827)]
[New Thread 0x7fffeea59700 (LWP 15828)]
[New Thread 0x7fffee258700 (LWP 15829)]
[New Thread 0x7fffeda57700 (LWP 15830)]
[New Thread 0x7fffed256700 (LWP 15831)]
[New Thread 0x7fffeca55700 (LWP 15832)]
[Thread 0x7ffff0a5d700 (LWP 15822) exited]
[Thread 0x7ffff125e700 (LWP 15821) exited]
[Thread 0x7fffee258700 (LWP 15829) exited]
[Thread 0x7fffeea59700 (LWP 15828) exited]
[Thread 0x7fffef25a700 (LWP 15827) exited]
[Thread 0x7ffff025c700 (LWP 15825) exited]
[Thread 0x7fffefa5b700 (LWP 15826) exited]
[Thread 0x7fffeda57700 (LWP 15830) exited]
[Thread 0x7fffed256700 (LWP 15831) exited]

Thread 5 "ceph-osd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2287700 (LWP 15820)]
0x000055555fd20210 in ?? ()
(gdb) bt
#0  0x000055555fd20210 in ?? ()
#1  0x00007ffff7328b3d in leveldb::Log (info_log=<optimized out>,
format=format@entry=0x7ffff732d701 "compacted to: %s") at util/env.cc:31
#2  0x00007ffff7304fec in leveldb::DBImpl::DoCompactionWork
(this=this@entry=0x55555fe46580, compact=compact@entry=0x55555fdcab40) at
db/db_impl.cc:1012
#3  0x00007ffff7305a13 in leveldb::DBImpl::BackgroundCompaction
(this=this@entry=0x55555fe46580) at db/db_impl.cc:706
#4  0x00007ffff7306442 in leveldb::DBImpl::BackgroundCall (this=0x55555fe46580)
at db/db_impl.cc:644
#5  0x00007ffff73293cb in leveldb::(anonymous namespace)::PosixEnv::BGThread
(this=0x55555fdf2580) at util/env_posix.cc:568
#6  leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper
(arg=0x55555fdf2580) at util/env_posix.cc:507
#7  0x00007ffff6c8d734 in start_thread (arg=0x7ffff2287700) at
pthread_create.c:334
#8  0x00007ffff4d4cd3d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)


You are receiving this mail because: