Project

General

Profile

Bug #9445

deadlock in log code

Added by Sage Weil over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
common
Target version:
-
% Done:

100%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

(gdb) bt
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000000013670e1 in ceph::log::Log::submit_entry (this=0x4f9ff70, e=0x7fe58c04b120) at log/Log.cc:147
#2  0x000000000133fbdb in handle_fatal_signal (signum=6) at global/signal_handler.cc:101
#3  <signal handler called>
#4  0x00007fe5927e0425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#5  0x00007fe5927e3b8b in __GI_abort () at abort.c:91
#6  0x00007fe59281e39e in __libc_message (do_abort=2, fmt=0x7fe592928748 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#7  0x00007fe592828b96 in malloc_printerr (action=3, str=0x7fe59292506b "invalid fastbin entry (free)", ptr=<optimized out>) at malloc.c:5039
#8  0x00007fe59311b91a in std::string::reserve(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007fe59311bc10 in std::string::append(char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00000000014587ef in PrebufferedStreambuf::get_str (this=0x7fe5580046b0) at common/PrebufferedStreambuf.cc:56
#11 0x000000000136820b in ceph::log::Entry::get_str (this=0x7fe558004640) at log/Entry.h:49
#12 0x00000000013674e1 in ceph::log::Log::_flush (this=0x4f9ff70, t=0x7fe591d6cdb0, requeue=0x4fa0068, crash=false) at log/Log.cc:211
#13 0x0000000001367255 in ceph::log::Log::flush (this=0x4f9ff70) at log/Log.cc:179
#14 0x0000000001367e7b in ceph::log::Log::entry (this=0x4f9ff70) at log/Log.cc:319
#15 0x000000000146bcdb in Thread::entry_wrapper (this=0x4f9ff70) at common/Thread.cc:60
#16 0x000000000146bc58 in Thread::_entry_func (arg=0x4f9ff70) at common/Thread.cc:45
#17 0x00007fe593ce9e9a in start_thread (arg=0x7fe591d6d700) at pthread_create.c:308
#18 0x00007fe59289e3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

running ceph-mds process on burnupi21, pid 43846

History

#1 Updated by Sage Weil over 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil

#2 Updated by Sage Weil over 9 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by Loïc Dachary over 9 years ago

  • Category set to common
  • Status changed from Fix Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF