Hide Forgot
Was testing bug 764441. reconfigured brick port by killing the process & changing the port number. Started the process again. Causes a crash because stbuf is 0. Core was generated by `/usr/local/sbin/glusterfs --volfile-id=vol --volfile-server=dagobah anmount/'. Program terminated with signal 11, Segmentation fault. #0 0x00007f180310b5c0 in dht_create_cbk (frame=0x7f1807d1e5ac, cookie=0x7f1807d1ea60, this=0x1f99000, op_ret=-1, op_errno=107, fd=0x0, inode=0x0, stbuf=0x0, preparent=0x0, postparent=0x0) at ../../../../../xlators/cluster/dht/src/dht-common.c:2981 2981 DHT_STRIP_PHASE1_FLAGS (stbuf); (gdb) bt #0 0x00007f180310b5c0 in dht_create_cbk (frame=0x7f1807d1e5ac, cookie=0x7f1807d1ea60, this=0x1f99000, op_ret=-1, op_errno=107, fd=0x0, inode=0x0, stbuf=0x0, preparent=0x0, postparent=0x0) at ../../../../../xlators/cluster/dht/src/dht-common.c:2981 #1 0x00007f180334fbfb in client3_1_create (frame=0x7f1807d1ea60, this=0x1f972e0, data=0x7f17f9494610) at ../../../../../xlators/protocol/client/src/client3_1-fops.c:3390 #2 0x00007f1803338fc5 in client_create (frame=0x7f1807d1ea60, this=0x1f972e0, loc=0x7f1807a0159c, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/protocol/client/src/client.c:706 #3 0x00007f180310c49d in dht_create (frame=0x7f1807d1e5ac, this=0x1f99000, loc=0x7f1807a0159c, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/cluster/dht/src/dht-common.c:3060 #4 0x00007f1802eceb14 in quota_create_helper (frame=0x7f1807d1e500, this=0x1f9a570, loc=0x7f1807a0159c, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/features/quota/src/quota.c:1141 #5 0x00007f180944be9c in call_resume_wind (stub=0x7f1807a01564) at ../../../libglusterfs/src/call-stub.c:2114 #6 0x00007f1809452e48 in call_resume (stub=0x7f1807a01564) at ../../../libglusterfs/src/call-stub.c:3853 #7 0x00007f1802eceeaf in quota_create (frame=0x7f1807d1e500, this=0x1f9a570, loc=0x7f17f40008e8, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/features/quota/src/quota.c:1199 #8 0x00007f1802cbc37b in wb_create (frame=0x7f1807d1e250, this=0x1f9b9a0, loc=0x7f17f40008e8, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/performance/write-behind/src/write-behind.c:1487 #9 0x00007f1802aa94bb in ra_create (frame=0x7f1807d1e454, this=0x1f9cc40, loc=0x7f17f40008e8, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/performance/read-ahead/src/read-ahead.c:221 #10 0x00007f180289839e in ioc_create (frame=0x7f1807d1e3a8, this=0x1f9de80, loc=0x7f17f40008e8, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/performance/io-cache/src/io-cache.c:842 #11 0x00007f1809435e25 in default_create (frame=0x7f1807d1e2fc, this=0x1f9f000, loc=0x7f17f40008e8, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../libglusterfs/src/defaults.c:915 #12 0x00007f180246cbb8 in io_stats_create (frame=0x7f1807d1e04c, this=0x1fa0210, loc=0x7f17f40008e8, flags=32961, mode=33256, fd=0x7f17f949604c, params=0x7f17f4000df0) at ../../../../../xlators/debug/io-stats/src/io-stats.c:1966 #13 0x00007f18077ed9c0 in fuse_create_resume (state=0x7f17f40008d0) at ../../../../../xlators/mount/fuse/src/fuse-bridge.c:1608 #14 0x00007f18077e3edc in fuse_resolve_and_resume (state=0x7f17f40008d0, fn=0x7f18077ed443 <fuse_create_resume>) at ../../../../../xlators/mount/fuse/src/fuse-resolve.c:737 #15 0x00007f18077edc63 in fuse_create (this=0x1f72ac0, finh=0x7f17f4003920, msg=0x7f17f4003948) at ../../../../../xlators/mount/fuse/src/fuse-bridge.c:1655 #16 0x00007f18077f62e7 in fuse_thread_proc (data=0x1f72ac0) at ../../../../../xlators/mount/fuse/src/fuse-bridge.c:3224 #17 0x00007f1808bb99ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #18 0x00007f180891670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #19 0x0000000000000000 in ?? ()
CHANGE: http://review.gluster.com/472 (The macro to check & reset rebalance flags was accessing the iatt) merged in master by Vijay Bellur (vijay)