Bug 795682 - gluster client crashed while running automation test suite.
Summary: gluster client crashed while running automation test suite.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: stat-prefetch
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
: 795695 (view as bug list)
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-02-21 09:45 UTC by Shwetha Panduranga
Modified: 2013-07-24 17:27 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:27:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Shwetha Panduranga 2012-02-21 09:45:42 UTC
Description of problem:
Program terminated with signal 6, Aborted.
#0  0x000000368d232905 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6_1.3.x86_64 libgcc-4.4.6-3.el6.x86_64
(gdb) bt
#0  0x000000368d232905 in raise () from /lib64/libc.so.6
#1  0x000000368d2340e5 in abort () from /lib64/libc.so.6
#2  0x000000368d22b9be in __assert_fail_base () from /lib64/libc.so.6
#3  0x000000368d22ba80 in __assert_fail () from /lib64/libc.so.6
#4  0x00007f741761e94b in __gf_free (free_ptr=0x7f7404003750) at mem-pool.c:273
#5  0x00007f74109ea715 in mdc_local_wipe (this=0xfd27a0, local=0x7f7404003650) at md-cache.c:232
#6  0x00007f74109ee5b5 in mdc_symlink_cbk (frame=0x7f741621aa60, cookie=0x7f741621a704, this=0xfd27a0, op_ret=0, op_errno=0, inode=0x7f74104fe174, 
    buf=0x7f7404002e48, preparent=0x7f7404002ec0, postparent=0x7f7404002f30) at md-cache.c:1043
#7  0x00007f74175ef527 in default_symlink_cbk (frame=0x7f741621a704, cookie=0x7f741621a04c, this=0xfd1510, op_ret=0, op_errno=0, inode=0x7f74104fe174, 
    buf=0x7f7404002e48, preparent=0x7f7404002ec0, postparent=0x7f7404002f30) at defaults.c:147
#8  0x00007f74175ef527 in default_symlink_cbk (frame=0x7f741621a04c, cookie=0x7f741621a908, this=0xfd02e0, op_ret=0, op_errno=0, inode=0x7f74104fe174, 
    buf=0x7f7404002e48, preparent=0x7f7404002ec0, postparent=0x7f7404002f30) at defaults.c:147
#9  0x00007f74175ef527 in default_symlink_cbk (frame=0x7f741621a908, cookie=0x7f741621a9b4, this=0xfcf0b0, op_ret=0, op_errno=0, inode=0x7f74104fe174, 
    buf=0x7f7404002e48, preparent=0x7f7404002ec0, postparent=0x7f7404002f30) at defaults.c:147
#10 0x00007f74175ef527 in default_symlink_cbk (frame=0x7f741621a9b4, cookie=0x7f741621ab0c, this=0xfcdde0, op_ret=0, op_errno=0, inode=0x7f74104fe174, 
    buf=0x7f7404002e48, preparent=0x7f7404002ec0, postparent=0x7f7404002f30) at defaults.c:147
#11 0x00007f741145be73 in afr_symlink_unwind (frame=0x7f74151d3028, this=0xfccba0) at afr-dir-write.c:1026
#12 0x00007f741145c2bc in afr_symlink_wind_cbk (frame=0x7f74151d3028, cookie=0x1, this=0xfccba0, op_ret=0, op_errno=0, inode=0x7f74104fe174, buf=0x7fff70c2be30, 
    preparent=0x7fff70c2bdc0, postparent=0x7fff70c2bd50) at afr-dir-write.c:1089
#13 0x00007f74116e2c76 in client3_1_symlink_cbk (req=0x7f740b7441c4, iov=0x7f740b744204, count=1, myframe=0x7f741621a250) at client3_1-fops.c:179
#14 0x00007f74173c77b4 in rpc_clnt_handle_reply (clnt=0xfdd090, pollin=0xfc5940) at rpc-clnt.c:790
#15 0x00007f74173c7b3b in rpc_clnt_notify (trans=0xfdd3d0, mydata=0xfdd0c0, event=RPC_TRANSPORT_MSG_RECEIVED, data=0xfc5940) at rpc-clnt.c:908
#16 0x00007f74173c3d18 in rpc_transport_notify (this=0xfdd3d0, event=RPC_TRANSPORT_MSG_RECEIVED, data=0xfc5940) at rpc-transport.c:498
#17 0x00007f7412530270 in socket_event_poll_in (this=0xfdd3d0) at socket.c:1686
#18 0x00007f74125307f4 in socket_event_handler (fd=9, idx=2, data=0xfdd3d0, poll_in=1, poll_out=0, poll_err=0) at socket.c:1801
#19 0x00007f741761d8b8 in event_dispatch_epoll_handler (event_pool=0xfbbc20, events=0xfc4b10, i=0) at event.c:794
#20 0x00007f741761dadb in event_dispatch_epoll (event_pool=0xfbbc20) at event.c:856
#21 0x00007f741761de66 in event_dispatch (event_pool=0xfbbc20) at event.c:956
#22 0x0000000000407c6e in main (argc=4, argv=0x7fff70c2c578) at glusterfsd.c:1601
(gdb) f 4
#4  0x00007f741761e94b in __gf_free (free_ptr=0x7f7404003750) at mem-pool.c:273
273	                GF_ASSERT (0);
(gdb) l
268	
269	        ptr = (char *)free_ptr - 8 - 4;
270	
271	        if (GF_MEM_HEADER_MAGIC != *(uint32_t *)ptr) {
272	                //Possible corruption, assert here
273	                GF_ASSERT (0);
274	        }
275	
276	        *(uint32_t *)ptr = 0;
277	
(gdb) f 5
#5  0x00007f74109ea715 in mdc_local_wipe (this=0xfd27a0, local=0x7f7404003650) at md-cache.c:232
232	                GF_FREE (local->linkname);
(gdb) l 
227	
228	        if (local->fd)
229	                fd_unref (local->fd);
230	
231	        if (local->linkname)
232	                GF_FREE (local->linkname);
233	
234	        if (local->xattr)
235	                dict_unref (local->xattr);
236	

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

How reproducible:
often

Comment 1 Anand Avati 2012-02-21 10:28:59 UTC
CHANGE: http://review.gluster.com/2783 (features/md-cache: Change strdup to gf_strdup) merged in master by Vijay Bellur (vijay)

Comment 2 Vijay Bellur 2012-02-21 10:32:12 UTC
*** Bug 795695 has been marked as a duplicate of this bug. ***

Comment 3 Shwetha Panduranga 2012-05-04 06:58:45 UTC
Bug is fixed . verified on 3.3.0qa39


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