Bug 763176 (GLUSTER-1444)

Summary: Crash when backend directories don't exist
Product: [Community] GlusterFS Reporter: Anush Shetty <anush>
Component: posixAssignee: shishir gowda <sgowda>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs, nsathyan, vijay
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: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anush Shetty 2010-08-26 07:50:41 UTC
Command used: 
1) gluster volume create aug26 replica 2 localhost:/tmp/export1 localhost:/tmp/export2

2) gluster volume start aug26

/tmp/export1 and /tmp/export2 don't exist.

[2010-08-26 13:13:31.474752] E [posix.c:4294:init] posix: Directory '/tmp/export1' doesn't exist, exiting.
[2010-08-26 13:13:31.474776] E [xlator.c:862:xlator_init] posix: Initialization of volume 'posix' failed, review your volfile again
[2010-08-26 13:13:31.474796] E [graph.c:310:glusterfs_graph_init] posix: initializing translator failed
[2010-08-26 13:13:33.451839] W [graph.c:253:gf_add_cmdline_options] server-/tmp/export1: adding option 'listen-port' for volume 'server-/tmp/export1' with value '6970'
[2010-08-26 13:13:33.452335] W [rpc-transport.c:566:validate_volume_options] tcp.server-/tmp/export1: option 'listen-port' is deprecated, preferred is 'transport.socket.listen-port', continuing with correction
[2010-08-26 13:13:33.452462] E [socket.c:318:__socket_server_bind] tcp.server-/tmp/export1: binding to  failed: Address already in use
[2010-08-26 13:13:33.452488] E [socket.c:321:__socket_server_bind] tcp.server-/tmp/export1: Port is already in use
pending frames:

patchset: git://git.sv.gnu.org/gluster.git
signal received: 6
time of crash: 2010-08-26 13:13:33
configuration details:
argp 1
backtrace 1
dlfcn 1
fdatasync 1
libpthread 1
llistxattr 1
setfsid 1
spinlock 1
epoll.h 1
xattr.h 1
st_atim.tv_nsec 1
package-string: glusterfs 3.1.0git
/lib/libc.so.6[0x7fae7972f530]
/lib/libc.so.6(gsignal+0x35)[0x7fae7972f4b5]
/lib/libc.so.6(abort+0x180)[0x7fae79732f50]
/lib/libc.so.6(__assert_fail+0xf1)[0x7fae79728481]
/usr/local/lib/libglusterfs.so.0(__gf_free+0xa3)[0x7fae7a2fba96]
/usr/local/lib/libgfrpc.so.0(rpcsvc_create_listeners+0x333)[0x7fae7a0b022c]
/usr/local/lib/glusterfs/3.1.0git/xlator/protocol/server.so(init+0x2b6)[0x7fae766129f9]
/usr/local/lib/libglusterfs.so.0[0x7fae7a2d77ab]
/usr/local/lib/libglusterfs.so.0(xlator_init+0xc9)[0x7fae7a2d788d]
/usr/local/lib/libglusterfs.so.0(glusterfs_graph_init+0x38)[0x7fae7a305a36]
/usr/local/lib/libglusterfs.so.0(glusterfs_graph_activate+0x40)[0x7fae7a305f4b]
/usr/local/sbin/glusterfs(glusterfs_process_volfp+0x107)[0x40598e]
/usr/local/sbin/glusterfs(mgmt_getspec_cbk+0x1e8)[0x4062e7]
/usr/local/lib/libgfrpc.so.0(rpc_clnt_handle_reply+0x18d)[0x7fae7a0b5c1f]
/usr/local/lib/libgfrpc.so.0(rpc_clnt_notify+0x26c)[0x7fae7a0b5f4f]
/usr/local/lib/libgfrpc.so.0(rpc_transport_notify+0xd2)[0x7fae7a0b39a7]
/usr/local/lib/glusterfs/3.1.0git/rpc-transport/socket.so(socket_event_poll_in+0x54)[0x7fae77d261cd]
/usr/local/lib/glusterfs/3.1.0git/rpc-transport/socket.so(socket_event_handler+0x106)[0x7fae77d26544]
/usr/local/lib/libglusterfs.so.0[0x7fae7a2facfe]
/usr/local/lib/libglusterfs.so.0[0x7fae7a2faef2]
/usr/local/lib/libglusterfs.so.0(event_dispatch+0x66)[0x7fae7a2fb1ce]
/usr/local/sbin/glusterfs(main+0xfb)[0x405b71]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fae7971aabd]
/usr/local/sbin/glusterfs[0x4030d9]
---------

Comment 1 shishir gowda 2010-08-30 03:30:03 UTC

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