Bug 797742 - [glusterfs-3.3.0qa24]: glusterfs client crash due to stack overflow
[glusterfs-3.3.0qa24]: glusterfs client crash due to stack overflow
Status: CLOSED DUPLICATE of bug 765473
Product: GlusterFS
Classification: Community
Component: write-behind (Show other bugs)
mainline
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Raghavendra G
Anush Shetty
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-27 02:50 EST by Raghavendra Bhat
Modified: 2012-10-11 06:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-11 06:10:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Raghavendra Bhat 2012-02-27 02:50:37 EST
Description of problem:
2x2 distributed replicate volume. 1 fuse client and 1 nfs client. Fuse client was executing ping_pong and nfs client executing performance script (i.e. creation of small files, large files, directory crawl etc). 

Fuse client crashed due t stack overflow.

Core was generated by `/usr/local/sbin/glusterfs --volfile-id=mirror --volfile-server=10.1.11.130 /cli'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fddc8ad96f4 in rpc_clnt_record_build_record (clnt=) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:1220
1220    {
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6_1.3.x86_64 libgcc-4.4.5-6.el6.x86_64
(gdb) p clnt
(gdb) f 37567
#37567 0x0000000000407dcc in main (argc=4, argv=0x7fffc699b7b8) at ../../../glusterfsd/src/glusterfsd.c:1612
1612            ret = event_dispatch (ctx->event_pool);
(gdb) down
#37566 0x00007fddc8d2f60a in event_dispatch (event_pool=0x1bfbc20) at ../../../libglusterfs/src/event.c:956
956             ret = event_pool->ops->event_dispatch (event_pool);
(gdb) down
#37565 0x00007fddc8d2f27f in event_dispatch_epoll (event_pool=0x1bfbc20) at ../../../libglusterfs/src/event.c:856
856                             ret = event_dispatch_epoll_handler (event_pool,
(gdb) down
#37564 0x00007fddc8d2f05c in event_dispatch_epoll_handler (event_pool=0x1bfbc20, events=0x1c09e50, i=0)
    at ../../../libglusterfs/src/event.c:794
794                     ret = handler (event_data->fd, event_data->idx, data,
(gdb) down
#37563 0x00007fddc55bc880 in socket_event_handler (fd=9, idx=2, data=0x1ca44f0, poll_in=1, poll_out=0, poll_err=0)
    at ../../../../../rpc/rpc-transport/socket/src/socket.c:1808
1808                    socket_event_poll_err (this);
(gdb) down
#37562 0x00007fddc55b81c7 in socket_event_poll_err (this=0x1ca44f0) at ../../../../../rpc/rpc-transport/socket/src/socket.c:694
694             rpc_transport_notify (this, RPC_TRANSPORT_DISCONNECT, this);
(gdb) down
#37561 0x00007fddc8ad4da8 in rpc_transport_notify (this=0x1ca44f0, event=RPC_TRANSPORT_DISCONNECT, data=0x1ca44f0)
    at ../../../../rpc/rpc-lib/src/rpc-transport.c:498
498                     ret = this->notify (this, this->mydata, event, data);
(gdb) down
#37560 0x00007fddc8ad8b1f in rpc_clnt_notify (trans=0x1ca44f0, mydata=0x1c94a00, event=RPC_TRANSPORT_DISCONNECT, data=0x1ca44f0)
    at ../../../../rpc/rpc-lib/src/rpc-clnt.c:869
869                     rpc_clnt_connection_cleanup (conn);
(gdb) down
#37559 0x00007fddc8ad803e in rpc_clnt_connection_cleanup (conn=0x1c94a00) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:566
566             saved_frames_destroy (saved_frames);
(gdb) down
#37558 0x00007fddc8ad7a84 in saved_frames_destroy (frames=0x1cc9b00) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:404
404             saved_frames_unwind (frames);
(gdb) down
#37557 0x00007fddc8ad79d5 in saved_frames_unwind (saved_frames=0x1cc9b00) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:386
386                     trav->rpcreq->cbkfn (trav->rpcreq, &iov, 1, trav->frame);
(gdb) down
#37556 0x00007fddc4775127 in client3_1_finodelk_cbk (req=0x7fddbd3493f0, iov=0x7fffc699b140, count=1, myframe=0x7fddc7b542c8)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:1268
1268            STACK_UNWIND_STRICT (finodelk, frame, rsp.op_ret,
(gdb) down
#37555 0x00007fddc4528f61 in afr_nonblocking_inodelk_cbk (frame=0x7fddc795753c, cookie=0x1, this=0x1c13ef0, op_ret=-1, op_errno=107)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1395
1395                            afr_unlock(frame, this);
(gdb) down
#37554 0x00007fddc452a438 in afr_unlock (frame=0x7fddc795753c, this=0x1c13ef0) at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1733
1733                            afr_unlock_inodelk (frame, this);
(gdb) down
#37553 0x00007fddc4525294 in afr_unlock_inodelk (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:617
617                     int_lock->lock_cbk (frame, this);
(gdb) down
#37552 0x00007fddc4507532 in afr_post_nonblocking_inodelk_cbk (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-transaction.c:1004
1004                    afr_blocking_lock (frame, this);
(gdb) down
#37551 0x00007fddc4527e49 in afr_blocking_lock (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1140
1140            afr_lock_blocking (frame, this, 0);
(gdb) down
#37550 0x00007fddc4526ff2 in afr_lock_blocking (frame=0x7fddc795753c, this=0x1c13ef0, child_index=1)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1031
1031                            STACK_WIND_COOKIE (frame, afr_blocking_inodelk_cbk,
(gdb) down
#37549 0x00007fddc476a850 in client_finodelk (frame=0x7fddc7b744c4, this=0x1c111f0, volume=0x1c139f0 "mirror-replicate-0", fd=0x1cd08e4, 
    cmd=7, lock=0x7fffc699a590) at ../../../../../xlators/protocol/client/src/client.c:1628
1628                    ret = proc->fn (frame, this, &args);
(gdb) down
#37548 0x00007fddc47846db in client3_1_finodelk (frame=0x7fddc7b744c4, this=0x1c111f0, data=0x7fffc699a430)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:4722
4722            ret = client_submit_request (this, &req, frame, conf->fops,
(gdb) down
#37547 0x00007fddc47639ad in client_submit_request (this=0x1c111f0, req=0x7fffc699a320, frame=0x7fddc7b744c4, prog=0x7fddc4998f40,
    procnum=30, cbk=0x7fddc4774e64 <client3_1_finodelk_cbk>, iobref=0x0, rsphdr=0x0, rsphdr_count=0, rsp_payload=0x0, rsp_payload_count=0, 
    rsp_iobref=0x0, xdrproc=0x7fddc88b69d7 <xdr_gfs3_finodelk_req>) at ../../../../../xlators/protocol/client/src/client.c:202
202             ret = rpc_clnt_submit (conf->rpc, prog, procnum, cbk, &iov, count, NULL,
(gdb) down
#37546 0x00007fddc8ada4c7 in rpc_clnt_submit (rpc=0x1c949d0, prog=0x7fddc4998f40, procnum=30, cbkfn=0x7fddc4774e64 <client3_1_finodelk_cbk>, 
    proghdr=0x7fffc699a260, proghdrcount=1, progpayload=0x0, progpayloadcount=0, iobref=0xa38dee0, frame=0x7fddc7b744c4, rsphdr=0x0, 
    rsphdr_count=0, rsp_payload=0x0, rsp_payload_count=0, rsp_iobref=0x0) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:1541
1541                            cbkfn (rpcreq, NULL, 0, frame);
(gdb) 
#37545 0x00007fddc4775127 in client3_1_finodelk_cbk (req=0x7fddbd3456cc, iov=0x0, count=0, myframe=0x7fddc7b744c4)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:1268
1268            STACK_UNWIND_STRICT (finodelk, frame, rsp.op_ret,
(gdb) 
#37544 0x00007fddc45261b2 in afr_blocking_inodelk_cbk (frame=0x7fddc795753c, cookie=0x1, this=0x1c13ef0, op_ret=-1, op_errno=107)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:815
815             afr_lock_cbk (frame, cookie, this, op_ret, op_errno);
(gdb) 
#37543 0x00007fddc452613f in afr_lock_cbk (frame=0x7fddc795753c, cookie=0x1, this=0x1c13ef0, op_ret=-1, op_errno=107)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:801
801                     afr_lock_blocking (frame, this, child_index + 1);
(gdb) 
#37542 0x00007fddc4526b84 in afr_lock_blocking (frame=0x7fddc795753c, this=0x1c13ef0, child_index=2)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1001
1001                    afr_unlock(frame, this);
(gdb) 
#37541 0x00007fddc452a438 in afr_unlock (frame=0x7fddc795753c, this=0x1c13ef0) at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1733
1733                            afr_unlock_inodelk (frame, this);
(gdb) 
#37540 0x00007fddc4525294 in afr_unlock_inodelk (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:617
617                     int_lock->lock_cbk (frame, this);
(gdb) 
#37539 0x00007fddc4507409 in afr_post_blocking_inodelk_cbk (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-transaction.c:978
978                     local->transaction.done (frame, this);
(gdb) 
#37538 0x00007fddc44f602c in afr_writev_done (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:182
182             local->transaction.unwind (frame, this);
(gdb) 
#37537 0x00007fddc44f57f9 in afr_writev_unwind (frame=0x7fddc795753c, this=0x1c13ef0)
   at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:182
182             local->transaction.unwind (frame, this);
(gdb) 
#37537 0x00007fddc44f57f9 in afr_writev_unwind (frame=0x7fddc795753c, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:70
70                      AFR_STACK_UNWIND (writev, main_frame,
(gdb) 
#37536 0x00007fddc42b37bd in dht_writev_cbk (frame=0x7fddc7b50db4, cookie=0x7fddc7b3bc6c, this=0x1c15e10, op_ret=-1, op_errno=107, 
    prebuf=0x7fddbd6ac524, postbuf=0x7fddbd6ac594) at ../../../../../xlators/cluster/dht/src/dht-inode-write.c:88
88              DHT_STACK_UNWIND (writev, frame, op_ret, op_errno, prebuf, postbuf);
(gdb) 
#37535 0x00007fddc406492e in wb_sync_cbk (frame=0x7fddc79b46f8, cookie=0x7fddc7b50db4, this=0x1c170f0, op_ret=-1, op_errno=107, 
    prebuf=0x7fddbd6ac524, postbuf=0x7fddbd6ac594) at ../../../../../xlators/performance/write-behind/src/write-behind.c:405
405             ret = wb_process_queue (frame, file);
(gdb) 
#37534 0x00007fddc406c291 in wb_process_queue (frame=0x7fddc79b46f8, file=0x8ced510)
    at ../../../../../xlators/performance/write-behind/src/write-behind.c:2078
2078            ret = wb_do_ops (frame, file, &winds, &unwinds, &other_requests);
(gdb) 
#37533 0x00007fddc406ba1d in wb_do_ops (frame=0x7fddc79b46f8, file=0x8ced510, winds=0x7fffc69992e0, unwinds=0x7fffc69992d0, 
    other_requests=0x7fffc69992c0) at ../../../../../xlators/performance/write-behind/src/write-behind.c:1888
1888            ret = wb_sync (frame, file, winds);
(gdb) 
#37532 0x00007fddc4065238 in wb_sync (frame=0x7fddc79b46f8, file=0x8ced510, winds=0x7fffc69992e0)
    at ../../../../../xlators/performance/write-behind/src/write-behind.c:547
547                             STACK_WIND (sync_frame, wb_sync_cbk,
(gdb) 
#37531 0x00007fddc42b3fe0 in dht_writev (frame=0x7fddc7b73d60, this=0x1c15e10, fd=0x1cd08e4, vector=0xebf08c0, count=1, off=13, flags=32770, 
    iobref=0x97bc500) at ../../../../../xlators/cluster/dht/src/dht-inode-write.c:157
157             STACK_WIND (frame, dht_writev_cbk,
(gdb) 
#37530 0x00007fddc44f710e in afr_writev (frame=0x7fddc7b3dcac, this=0x1c13ef0, fd=0x1cd08e4, vector=0xebf08c0, count=1, offset=13, 
    flags=32770, iobref=0x97bc500) at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:476
476             ret = afr_open_fd_fix (frame, this, _gf_true);
(gdb) 
#37529 0x00007fddc44f6d4c in afr_open_fd_fix (frame=0x7fddc7b3dcac, this=0x1c13ef0, pause_fop=_gf_true)
    at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:438
438                     local->fop_call_continue (frame, this);
(gdb) 
#37528 0x00007fddc44f6202 in afr_do_writev (frame=0x7fddc7b3dcac, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:227
227             afr_transaction (transaction_frame, this, AFR_DATA_TRANSACTION);
(gdb) 
#37527 0x00007fddc4507e72 in afr_transaction (frame=0x7fddc7a69908, this=0x1c13ef0, type=AFR_DATA_TRANSACTION)
    at ../../../../../xlators/cluster/afr/src/afr-transaction.c:1266
1266                    afr_lock (frame, this);
(gdb) 
#37526 0x00007fddc4507bae in afr_lock (frame=0x7fddc7a69908, this=0x1c13ef0) at ../../../../../xlators/cluster/afr/src/afr-transaction.c:1175
1175            return afr_lock_rec (frame, this);
(gdb) 
#37525 0x00007fddc4507a85 in afr_lock_rec (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-transaction.c:1139
1139                    afr_nonblocking_inodelk (frame, this);
(gdb) 
#37524 0x00007fddc45296bc in afr_nonblocking_inodelk (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1494
1494                            STACK_WIND_COOKIE (frame, afr_nonblocking_inodelk_cbk,
(gdb) 
#37523 0x00007fddc476a850 in client_finodelk (frame=0x7fddc7b76504, this=0x1c111f0, volume=0x1c139f0 "mirror-replicate-0", fd=0x1cd08e4, 
    cmd=6, lock=0x7fffc69989a0) at ../../../../../xlators/protocol/client/src/client.c:1628
1628                    ret = proc->fn (frame, this, &args);
(gdb) 
#37522 0x00007fddc47846db in client3_1_finodelk (frame=0x7fddc7b76504, this=0x1c111f0, data=0x7fffc6998430)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:4722
4722            ret = client_submit_request (this, &req, frame, conf->fops,
(gdb) 
#37521 0x00007fddc47639ad in client_submit_request (this=0x1c111f0, req=0x7fffc6998320, frame=0x7fddc7b76504, prog=0x7fddc4998f40, 
    procnum=30, cbk=0x7fddc4774e64 <client3_1_finodelk_cbk>, iobref=0x0, rsphdr=0x0, rsphdr_count=0, rsp_payload=0x0, rsp_payload_count=0, 
    rsp_iobref=0x0, xdrproc=0x7fddc88b69d7 <xdr_gfs3_finodelk_req>) at ../../../../../xlators/protocol/client/src/client.c:202
202             ret = rpc_clnt_submit (conf->rpc, prog, procnum, cbk, &iov, count, NULL,
(gdb) 
#37520 0x00007fddc8ada4c7 in rpc_clnt_submit (rpc=0x1c949d0, prog=0x7fddc4998f40, procnum=30, cbkfn=0x7fddc4774e64 <client3_1_finodelk_cbk>, 
    proghdr=0x7fffc6998260, proghdrcount=1, progpayload=0x0, progpayloadcount=0, iobref=0x98f8ec0, frame=0x7fddc7b76504, rsphdr=0x0, 
    rsphdr_count=0, rsp_payload=0x0, rsp_payload_count=0, rsp_iobref=0x0) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:1541
1541                            cbkfn (rpcreq, NULL, 0, frame);
(gdb) 
#37519 0x00007fddc4775127 in client3_1_finodelk_cbk (req=0x7fddbd31befc, iov=0x0, count=0, myframe=0x7fddc7b76504)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:1268
1268            STACK_UNWIND_STRICT (finodelk, frame, rsp.op_ret,
(gdb) 
#37518 0x00007fddc4528f61 in afr_nonblocking_inodelk_cbk (frame=0x7fddc7a69908, cookie=0x1, this=0x1c13ef0, op_ret=-1, op_errno=107)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1395
1395                            afr_unlock(frame, this);
(gdb) 
#37517 0x00007fddc452a438 in afr_unlock (frame=0x7fddc7a69908, this=0x1c13ef0) at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1733
1733                            afr_unlock_inodelk (frame, this);
(gdb) 
#37516 0x00007fddc4525294 in afr_unlock_inodelk (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:617
617                     int_lock->lock_cbk (frame, this);
(gdb) 
#37515 0x00007fddc4507532 in afr_post_nonblocking_inodelk_cbk (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-transaction.c:1004
1004                    afr_blocking_lock (frame, this);
(gdb) 
#37514 0x00007fddc4527e49 in afr_blocking_lock (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1140
1140            afr_lock_blocking (frame, this, 0);
(gdb) 
#37513 0x00007fddc4526ff2 in afr_lock_blocking (frame=0x7fddc7a69908, this=0x1c13ef0, child_index=1)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1031
1031                            STACK_WIND_COOKIE (frame, afr_blocking_inodelk_cbk,
(gdb) 
#37512 0x00007fddc476a850 in client_finodelk (frame=0x7fddc7b3895c, this=0x1c111f0, volume=0x1c139f0 "mirror-replicate-0", fd=0x1cd08e4, 
    cmd=7, lock=0x7fffc6997530) at ../../../../../xlators/protocol/client/src/client.c:1628
1628                    ret = proc->fn (frame, this, &args);
(gdb) 
#37511 0x00007fddc47846db in client3_1_finodelk (frame=0x7fddc7b3895c, this=0x1c111f0, data=0x7fffc69973d0)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:4722
4722            ret = client_submit_request (this, &req, frame, conf->fops,
(gdb) 
#37510 0x00007fddc47639ad in client_submit_request (this=0x1c111f0, req=0x7fffc69972c0, frame=0x7fddc7b3895c, prog=0x7fddc4998f40, 
    procnum=30, cbk=0x7fddc4774e64 <client3_1_finodelk_cbk>, iobref=0x0, rsphdr=0x0, rsphdr_count=0, rsp_payload=0x0, rsp_payload_count=0, 
    rsp_iobref=0x0, xdrproc=0x7fddc88b69d7 <xdr_gfs3_finodelk_req>) at ../../../../../xlators/protocol/client/src/client.c:202
202             ret = rpc_clnt_submit (conf->rpc, prog, procnum, cbk, &iov, count, NULL,
(gdb) 
#37509 0x00007fddc8ada4c7 in rpc_clnt_submit (rpc=0x1c949d0, prog=0x7fddc4998f40, procnum=30, cbkfn=0x7fddc4774e64 <client3_1_finodelk_cbk>, 
    proghdr=0x7fffc6997200, proghdrcount=1, progpayload=0x0, progpayloadcount=0, iobref=0xeb73420, frame=0x7fddc7b3895c, rsphdr=0x0, 
    rsphdr_count=0, rsp_payload=0x0, rsp_payload_count=0, rsp_iobref=0x0) at ../../../../rpc/rpc-lib/src/rpc-clnt.c:1541
1541                            cbkfn (rpcreq, NULL, 0, frame);
(gdb) 
#37508 0x00007fddc4775127 in client3_1_finodelk_cbk (req=0x7fddbd32c504, iov=0x0, count=0, myframe=0x7fddc7b3895c)
    at ../../../../../xlators/protocol/client/src/client3_1-fops.c:1268
1268            STACK_UNWIND_STRICT (finodelk, frame, rsp.op_ret,
(gdb) 
#37507 0x00007fddc45261b2 in afr_blocking_inodelk_cbk (frame=0x7fddc7a69908, cookie=0x1, this=0x1c13ef0, op_ret=-1, op_errno=107)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:815
815             afr_lock_cbk (frame, cookie, this, op_ret, op_errno);
(gdb) 
#37506 0x00007fddc452613f in afr_lock_cbk (frame=0x7fddc7a69908, cookie=0x1, this=0x1c13ef0, op_ret=-1, op_errno=107)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:801
801                     afr_lock_blocking (frame, this, child_index + 1);
(gdb) 
#37505 0x00007fddc4526b84 in afr_lock_blocking (frame=0x7fddc7a69908, this=0x1c13ef0, child_index=2)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1001
1001                    afr_unlock(frame, this);
(gdb) 
#37504 0x00007fddc452a438 in afr_unlock (frame=0x7fddc7a69908, this=0x1c13ef0) at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:1733
1733                            afr_unlock_inodelk (frame, this);
(gdb) 
#37503 0x00007fddc4525294 in afr_unlock_inodelk (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-lk-common.c:617
617                     int_lock->lock_cbk (frame, this);
(gdb) 
#37502 0x00007fddc4507409 in afr_post_blocking_inodelk_cbk (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-transaction.c:978
978                     local->transaction.done (frame, this);
(gdb) 
#37501 0x00007fddc44f602c in afr_writev_done (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:182
182             local->transaction.unwind (frame, this);
(gdb) 
#37500 0x00007fddc44f57f9 in afr_writev_unwind (frame=0x7fddc7a69908, this=0x1c13ef0)
    at ../../../../../xlators/cluster/afr/src/afr-inode-write.c:70
70                      AFR_STACK_UNWIND (writev, main_frame,
(gdb) 
#37499 0x00007fddc42b37bd in dht_writev_cbk (frame=0x7fddc7b73d60, cookie=0x7fddc7b3dcac, this=0x1c15e10, op_ret=-1, op_errno=107, 
    prebuf=0x7fddbd6dfbf4, postbuf=0x7fddbd6dfc64) at ../../../../../xlators/cluster/dht/src/dht-inode-write.c:88
88              DHT_STACK_UNWIND (writev, frame, op_ret, op_errno, prebuf, postbuf);
(gdb) 
#37498 0x00007fddc406492e in wb_sync_cbk (frame=0x7fddc79cbd70, cookie=0x7fddc7b73d60, this=0x1c170f0, op_ret=-1, op_errno=107, 
    prebuf=0x7fddbd6dfbf4, postbuf=0x7fddbd6dfc64) at ../../../../../xlators/performance/write-behind/src/write-behind.c:405
405             ret = wb_process_queue (frame, file);
(gdb) 
#37497 0x00007fddc406c291 in wb_process_queue (frame=0x7fddc79cbd70, file=0x8ced510)
    at ../../../../../xlators/performance/write-behind/src/write-behind.c:2078
2078            ret = wb_do_ops (frame, file, &winds, &unwinds, &other_requests);
(gdb) 
#37496 0x00007fddc406ba1d in wb_do_ops (frame=0x7fddc79cbd70, file=0x8ced510, winds=0x7fffc6996280, unwinds=0x7fffc6996270, 
    other_requests=0x7fffc6996260) at ../../../../../xlators/performance/write-behind/src/write-behind.c:1888
1888            ret = wb_sync (frame, file, winds);
(gdb) 
#37495 0x00007fddc4065238 in wb_sync (frame=0x7fddc79cbd70, file=0x8ced510, winds=0x7fffc6996280)
    at ../../../../../xlators/performance/write-behind/src/write-behind.c:547
547                             STACK_WIND (sync_frame, wb_sync_cbk,
(gdb) 
#37494 0x00007fddc42b3fe0 in dht_writev (frame=0x7fddc7b40a5c, this=0x1c15e10, fd=0x1cd08e4, vector=0xcf066d0, count=1, off=18, flags=32770, 
    iobref=0xa531880) at ../../../../../xlators/cluster/dht/src/dht-inode-write.c:157
157             STACK_WIND (frame, dht_writev_cbk,
(gdb) quit


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:

glusterfs client crashed due to stack overflow

Expected results:

glusterfs client should not crash


Additional info:
Comment 1 Amar Tumballi 2012-02-27 22:31:22 EST
Need to fix this issue... may be one of the layers in the stack is not handling the failures properly. Need fixing, please work with Pranith too to see if it can fasten the process.
Comment 2 Amar Tumballi 2012-10-11 06:10:08 EDT
http://review.gluster.org/3874 should help to fix this... need a rebase..

*** This bug has been marked as a duplicate of bug 765473 ***

Note You need to log in before you can comment on or make changes to this bug.