| Summary: | Crash due to distribute and write-behind both pointing to same replicate subvolume | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Shehjar Tikoo <shehjart> | ||||
| Component: | core | Assignee: | Anand Avati <aavati> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 2.0.2 | CC: | chrisw, gluster-bugs, gowda | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | RTP | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
a patch has been submitted at http://patches.gluster.com/patch/673/ which fixes the bug. this bug report can be resolved once the patch is accepted. -- Gowda commid ID - 41027a22054af821caeb2b47a7b93ff028ecaedf -- Gowda |
Heres the whole shebang: [root@client03 shehjart]# /data/shehjart/glusterfsd/sbin/glusterfs -f /data/shehjart/dist-repl.vol -l /data/shehjart/client.log -L DEBUG --volume repl1-wb --no-daemon /data/shehjart/mount Segmentation fault (core dumped) [root@client03 shehjart]# gdb /data/shehjart/glusterfsd/sbin/glusterfs core.17920 GNU gdb Red Hat Linux (6.5-37.el5rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1". Reading symbols from /data/shehjart/glusterfsd/lib/libglusterfs.so.0...done. Loaded symbols for /data/shehjart/glusterfsd//lib/libglusterfs.so.0 Reading symbols from /lib64/libdl.so.2...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libpthread.so.0...done. Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libc.so.6...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/protocol/client.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/protocol/client.so Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/cluster/replicate.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/cluster/replicate.so Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/performance/write-behind.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/performance/write-behind.so Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/cluster/distribute.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/cluster/distribute.so Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/performance/io-threads.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/performance/io-threads.so Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/performance/read-ahead.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/performance/read-ahead.so Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/xlator/mount/fuse.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/xlator/mount/fuse.so Reading symbols from /usr/lib64/libfuse.so.2...Reading symbols from /usr/lib/debug/usr/lib64/libfuse.so.2.7.4.debug...done. done. Loaded symbols for /usr/lib64/libfuse.so.2 Reading symbols from /lib64/librt.so.1...done. Loaded symbols for /lib64/librt.so.1 Reading symbols from /data/shehjart/glusterfsd/lib/glusterfs/2.0.0git/transport/socket.so...done. Loaded symbols for /data/shehjart/glusterfsd//lib/glusterfs/2.0.0git/transport/socket.so Reading symbols from /lib64/libnss_files.so.2...done. Loaded symbols for /lib64/libnss_files.so.2 Reading symbols from /lib64/libgcc_s.so.1...done. Loaded symbols for /lib64/libgcc_s.so.1 Core was generated by `/data/shehjart/glusterfsd/sbin/glusterfs -f /data/shehjart/dist-repl.vol -l /da'. Program terminated with signal 11, Segmentation fault. #0 0x00002b1db2c87c6f in dht_notify (this=0x1852bc00, event=5, data=0x1852a790) at dht-common.c:3638 3638 conf->gen++; (gdb) bt #0 0x00002b1db2c87c6f in dht_notify (this=0x1852bc00, event=5, data=0x1852a790) at dht-common.c:3638 #1 0x00002b1db2c87f5c in notify (this=0x1852bc00, event=5, data=0x1852a790) at dht.c:44 #2 0x00002b1db1b49044 in default_notify (this=0x1852a790, event=5, data=0x18528e60) at defaults.c:1479 #3 0x00002b1db282d88c in notify (this=0x1852a790, event=5, data=0x18528e60) at afr.c:2201 #4 0x00002b1db2614945 in client_setvolume_cbk (frame=0x18537390, hdr=0x18537430, hdrlen=155, iobuf=0x0) at client-protocol.c:5561 #5 0x00002b1db2615151 in protocol_client_interpret (this=0x18528e60, trans=0x185303e0, hdr_p=0x18537430 "", hdrlen=155, iobuf=0x0) at client-protocol.c:5883 #6 0x00002b1db2615d28 in protocol_client_pollin (this=0x18528e60, trans=0x185303e0) at client-protocol.c:6165 #7 0x00002b1db2615ebc in notify (this=0x18528e60, event=2, data=0x185303e0) at client-protocol.c:6209 #8 0x00002aaaaaaaecde in socket_event_poll_in (this=0x185303e0) at socket.c:713 #9 0x00002aaaaaaaefdc in socket_event_handler (fd=8, idx=1, data=0x185303e0, poll_in=1, poll_out=0, poll_err=0) at socket.c:813 #10 0x00002b1db1b60219 in event_dispatch_epoll_handler (event_pool=0x18524690, events=0x185359e0, i=0) at event.c:804 #11 0x00002b1db1b603ee in event_dispatch_epoll (event_pool=0x18524690) at event.c:867 #12 0x00002b1db1b60704 in event_dispatch (event_pool=0x18524690) at event.c:975 #13 0x000000000040543d in main (argc=11, argv=0x7ffff8f7b858) at glusterfsd.c:1209 (gdb) p conf $1 = (dht_conf_t *) 0x0 (gdb) =================== I think this it is crashing because the repl1 volume is a subvolume for both dist-repl volume and repl1-wb volume.