[Bugs] [Bug 1266079] tiering: rename of file causes brick process crash

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 29 09:01:48 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1266079



--- Comment #3 from Saravanakumar <sarumuga at redhat.com> ---
Hi Dan,
Observed another instance where a *promoted* file when RENAMED causes crash. 

Attaching the core file as well.
As per the core, loc->inode is NULL.
Please check.


[root at gfvm3 glusterfs]# gdb /usr/local/sbin/glusterfsd /core.17252 
GNU gdb (GDB) Fedora 7.8.1-30.fc21
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-redhat-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 "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/sbin/glusterfsd...done.
[New LWP 18096]
[New LWP 17270]
[New LWP 17269]
[New LWP 17268]
[New LWP 17259]
[New LWP 17267]
[New LWP 17252]
[New LWP 17258]
[New LWP 17261]
[New LWP 17265]
[New LWP 19028]
[New LWP 17260]
[New LWP 17256]
[New LWP 17255]
[New LWP 17254]
[New LWP 17264]
[New LWP 17253]
[New LWP 17262]
[New LWP 17257]
[New LWP 17266]
[New LWP 17263]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/local/sbin/glusterfsd -s gfvm3 --volfile-id
tiervol.gfvm3.opt-volume_test-'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fcbc2f5415e in ctr_setxattr (frame=0x7fcb9400131c, 
    this=0x7fcbbc00bb70, loc=0x7fcbac008a8c, xattr=0x7fcbac00509c, flags=0, 
    xdata=0x0) at changetimerecorder.c:1043
1043            FILL_CTR_INODE_CONTEXT(_inode_cx, loc->inode->ia_type,
Missing separate debuginfos, use: debuginfo-install glibc-2.20-8.fc21.x86_64
keyutils-libs-1.5.9-4.fc21.x86_64 krb5-libs-1.12.2-9.fc21.x86_64
libacl-2.2.52-7.fc21.x86_64 libaio-0.3.110-4.fc21.x86_64
libattr-2.4.47-9.fc21.x86_64 libcom_err-1.42.11-4.fc21.x86_64
libgcc-4.9.2-1.fc21.x86_64 libselinux-2.3-5.fc21.x86_64
libuuid-2.25.2-2.fc21.x86_64 openssl-libs-1.0.1k-1.fc21.x86_64
pcre-8.35-8.fc21.x86_64 sqlite-3.8.8.3-1.fc21.x86_64
sssd-client-1.12.2-2.fc21.x86_64 xz-libs-5.1.2-14alpha.fc21.x86_64
zlib-1.2.8-7.fc21.x86_64
(gdb) bt
#0  0x00007fcbc2f5415e in ctr_setxattr (frame=0x7fcb9400131c, 
    this=0x7fcbbc00bb70, loc=0x7fcbac008a8c, xattr=0x7fcbac00509c, flags=0, 
    xdata=0x0) at changetimerecorder.c:1043
#1  0x00007fcbc285d9f8 in changelog_setxattr (frame=0x7fcb94000fdc, 
    this=0x7fcbbc00f220, loc=0x7fcbac008a8c, dict=0x7fcbac00509c, flags=0, 
    xdata=0x0) at changelog.c:1491
#2  0x00007fcbc2645700 in br_stub_setxattr (frame=0x7fcb94000fdc, 
    this=0x7fcbbc011010, loc=0x7fcbac008a8c, dict=0x7fcbac00509c, flags=0, 
    xdata=0x0) at bit-rot-stub.c:1191
#3  0x00007fcbc2438f0f in posix_acl_setxattr (frame=0x7fcb94001aec, 
    this=0x7fcbbc0125f0, loc=0x7fcbac008a8c, xattr=0x7fcbac00509c, flags=0, 
    xdata=0x0) at posix-acl.c:2026
#4  0x00007fcbd0ca1959 in default_setxattr (frame=0x7fcb94001aec, 
    this=0x7fcbbc013b50, loc=0x7fcbac008a8c, dict=0x7fcbac00509c, flags=0, 
    xdata=0x0) at defaults.c:1772
#5  0x00007fcbd0ca1959 in default_setxattr (frame=0x7fcb94001aec, 
    this=0x7fcbbc014f70, loc=0x7fcbac008a8c, dict=0x7fcbac00509c, flags=0, 
    xdata=0x0) at defaults.c:1772
#6  0x00007fcbd0c9c3b5 in default_setxattr_resume (frame=0x7fcbac00165c, 
    this=0x7fcbbc016570, loc=0x7fcbac008a8c, dict=0x7fcbac00509c, flags=0, 
    xdata=0x0) at defaults.c:1329
#7  0x00007fcbd0cbf779 in call_resume_wind (stub=0x7fcbac008a4c)
    at call-stub.c:2139
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) p loc
$1 = (loc_t *) 0x7fcbac008a8c
(gdb) p *loc
$2 = {path = 0x7fcbac007450 "/file999", name = 0x7fcbac007451 "file999", 
  inode = 0x0, parent = 0x7fcbbc07ef8c, 
  gfid = "\030\365\355[\202\aJ⻥\355\217\360Q\327w", 
  pargfid = '\000' <repeats 15 times>, "\001"}
(gdb) p _inode_ctx
No symbol "_inode_ctx" in current context.
(gdb) p _inode_cx
$3 = (gf_ctr_inode_context_t *) 0x7fcbaa7ebb30
(gdb) p (loc->inode)
$4 = (inode_t *) 0x0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.


More information about the Bugs mailing list