Bug #14991
closedrgw core dump with ceph::log::Log::is_inside_log_lock
0%
Description
i used ceph 0.94.5 for rgw with mutil regions,but when i restart my radosgw service,it will core dump,the core dump file is appear at /core.radosgw.cld-radosgw1-14.i.xxx.net.69834(size = 173M),and i used gdb debug with it,got this :
gdb /usr/bin/radosgw /core.radosgw.cld-radosgw1-14.i.xxx.net.69834
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
---Type <return> to continue, or q <return> to quit---
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/radosgw...(no debugging symbols found)...done.
[New LWP 69834]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/radosgw -n client.radosgw.cn-zone1'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000000007163c9 in ceph::log::Log::is_inside_log_lock() ()
(gdb) quit
ceph.conf :
[client.radosgw.cn-zone1]
rgw dns name = s3.i.xxx.net
#rgw frontends = fastcgi
rgw frontends = fastcgi socket_port=9000 socket_host=127.0.0.1
host = cld-radosgw1-14
rgw region = cn
rgw region root pool = .cn.rgw.root
rgw zone = cn-zone1
rgw zone root pool = .cn-zone1.rgw.root
keyring = /etc/ceph/ceph.client.radosgw.keyring
rgw socket path = /home/ceph/var/run/ceph-client.radosgw.cn-zone1.sock
log file = /home/ceph/log/radosgw.cn-zone1.log
rgw print continue = false
rgw content length compat = true
rgw ops log rados = false
rgw enable usage log = true
rgw_thread_pool_size = 2000
radosgw-admin regions list --name client.radosgw.cn-zone1
{
"default_info": {
"default_region": "cn"
},
"regions": [
"cn"
]
}
radosgw-admin region get --name client.radosgw.cn-zone1
{
"name": "cn",
"api_name": "cn",
"is_master": "true",
"endpoints": [
"http:\/\/cld-radosgw1-14.i.xxx.net:80\/"
],
"hostnames": [],
"master_zone": "cn-zone1",
"zones": [
{
"name": "cn-zone1",
"endpoints": [
"http:\/\/cld-radosgw1-14.i.xxx.net:80\/"
],
"log_meta": "true",
"log_data": "true",
"bucket_index_max_shards": 8
},
{
"name": "us-zone1",
"endpoints": [
"http:\/\/cld-radosgw3-14.i.xxx.net:80\/"
],
"log_meta": "true",
"log_data": "true",
"bucket_index_max_shards": 8
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement"
}
radosgw-admin zone get --name client.radosgw.cn-zone1
{
"domain_root": ".cn-zone1.rgw.domain",
"control_pool": ".cn-zone1.rgw.control",
"gc_pool": ".cn-zone1.rgw.gc",
"log_pool": ".cn-zone1.log",
"intent_log_pool": ".cn-zone1.intent-log",
"usage_log_pool": ".cn-zone1.usage",
"user_keys_pool": ".cn-zone1.users",
"user_email_pool": ".cn-zone1.users.email",
"user_swift_pool": ".cn-zone1.users.swift",
"user_uid_pool": ".cn-zone1.users.uid",
"system_key": {
"access_key": "xxx",
"secret_key": "xxx"
},
"placement_pools": [
{
"key": "default-placement",
"val": {
"index_pool": ".cn-zone1.rgw.buckets.index",
"data_pool": ".cn-zone1.rgw.buckets",
"data_extra_pool": ".cn-zone1.rgw.buckets.extra"
}
}
]
}
radosgw-admin zone list --name client.radosgw.cn-zone1
{
"zones": [
"cn-zone1"
]
}
ceph version 0.94.5 (9764da52395923e0b32908d83a9f7304401fee43)
uname -a
Linux cld-radosgw1-14.i.xxx.net 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux
rados lspools
.cn.rgw.root
.cn-zone1.rgw.root
.cn-zone1.rgw.control
.cn-zone1.rgw.domain
.cn-zone1.rgw.buckets.extra
.cn-zone1.intent-log
.cn-zone1.usage
.cn-zone1.users
.cn-zone1.log
.cn-zone1.users.email
.cn-zone1.users.swift
.cn-zone1.users.uid
.cn-zone1.rgw.buckets
.cn-zone1.rgw.buckets.index
.cn-zone1.rgw.gc
.rgw.root
.rgw.control
.rgw
.rgw.gc
Updated by Greg Farnum almost 7 years ago
- Project changed from Ceph to rgw
- Category deleted (
22)
Updated by Orit Wasserman almost 7 years ago
Is this still re-producible on the newest hammer version?
Updated by Casey Bodley almost 2 years ago
- Status changed from New to Won't Fix - EOL