[Bugs] [Bug 1211576] New: Gluster CLI crashes when volume create command is incomplete

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 14 11:10:12 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1211576

            Bug ID: 1211576
           Summary: Gluster CLI crashes when volume create command is
                    incomplete
           Product: GlusterFS
           Version: mainline
         Component: cli
          Assignee: bugs at gluster.org
          Reporter: josferna at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

Gluster volume create command core dumps:

[root at josferna redhat]# gluster volume create test replica 2
Segmentation fault (core dumped)
[root at josferna redhat]# 


(gdb) 
(gdb) bt
#0  0x0000003533d3bff6 in __strcmp_ssse3 () from /lib64/libc.so.6
#1  0x0000000000430e0c in cli_cmd_volume_create_parse (state=0x7fff3a715090,
words=0x7fff3a715260, wordcount=5, options=0x7f06be06fe00) at
cli-cmd-parser.c:530
#2  0x000000000040e2b6 in cli_cmd_volume_create_cbk (state=0x7fff3a715090,
word=0x1f4c790, words=0x7fff3a715260, wordcount=5) at cli-cmd-volume.c:214
#3  0x000000000040c9ff in cli_cmd_process (state=0x7fff3a715090, argc=5,
argv=0x7fff3a715260) at cli-cmd.c:140
#4  0x000000000040c4eb in cli_batch (d=0x7fff3a715090) at input.c:34
#5  0x0000003534007ee5 in start_thread () from /lib64/libpthread.so.0
#6  0x0000003533cf4b8d in clone () from /lib64/libc.so.6
(gdb) 



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


How reproducible:

Just execute this incomplete command,

$> gluster volume create test replica 2

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list