[Gluster-devel] IPC test is failing due to Segmentation Fault

Vaibhav Vaingankar vaibhavv at us.ibm.com
Tue Nov 14 06:57:42 UTC 2017


Hi

I am building GlusterFS from source on s390x, while testing it is seen
features/ipc.t is failing cause of segmentation fault. here is the bt log:
Please let me know if the issue is caused by bug in the source or bug in
one of the dependent program.
waiting for positive response.

(gdb) bt
#0  0x000003fffd8a1904 in pub_glfs_set_volfile_server (fs=0x33efc0,
transport=0x3fffdc20dc4 "tcp", host=0x3fffdc10524 "73da538ef028",
port=<optimized out>) at glfs.c:422
#1  0x000003fffdbe47e8 in ffi_call_SYSV ()
at /root/Python-2.7.13/Modules/_ctypes/libffi/src/s390/sysv.S:299
#2  0x000003fffdbe4e74 in ffi_call (cif=<optimized out>, fn=<optimized
out>, rvalue=<optimized out>, avalue=<optimized out>)
    at /root/Python-2.7.13/Modules/_ctypes/libffi/src/s390/ffi.c:525
#3  0x000003fffdbdbde0 in _call_function_pointer (argcount=0,
resmem=0x3ffffffe508, restype=0x3fffdc25e58, atypes=0x3ffffffe4b8,
avalues=0x3ffffffe4e0,
    pProc=0x3fffd8a18a8 <pub_glfs_set_volfile_server>, flags=-5792)
at /root/Python-2.7.13/Modules/_ctypes/callproc.c:841
#4  _ctypes_callproc (pProc=0x3fffd8a18a8 <pub_glfs_set_volfile_server>,
argtuple=<optimized out>, flags=<optimized out>, argtypes=<optimized out>,
restype=0x2aa00314978,
    checker=0x0) at /root/Python-2.7.13/Modules/_ctypes/callproc.c:1184
#5  0x000003fffdbd09d2 in PyCFuncPtr_call (self=<optimized out>,
inargs=<optimized out>, kwds=0x0)
at /root/Python-2.7.13/Modules/_ctypes/_ctypes.c:3979
#6  0x000002aa0004a2f4 in PyObject_Call (func=0x3fffdb8d348,
arg=0x3fffdc5c098, kw=0x0) at Objects/abstract.c:2547
#7  0x000002aa000f065e in do_call (nk=0, na=<optimized out>,
pp_stack=0x3ffffffe928, func=0x3fffdb8d348) at Python/ceval.c:4569
#8  call_function (oparg=<optimized out>, pp_stack=0x3ffffffe928) at
Python/ceval.c:4374
#9  PyEval_EvalFrameEx (f=f at entry=0x3fffdade048,
throwflag=throwflag at entry=0) at Python/ceval.c:2989
#10 0x000002aa000f7de4 in PyEval_EvalCodeEx (co=0x3fffdc57930,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=<optimized out>, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3584
#11 0x000002aa0017fd74 in function_call (func=0x3fffdadc2e8,
arg=0x3fffdbf2d48, kw=<optimized out>) at Objects/funcobject.c:523
#12 0x000002aa0004a2f4 in PyObject_Call (func=0x3fffdadc2e8,
arg=0x3fffdbf2d48, kw=0x0) at Objects/abstract.c:2547
#13 0x000002aa000ec7e8 in PyEval_CallObjectWithKeywords
(func=0x3fffdadc2e8, arg=0x3fffdbf2d48, kw=0x0) at Python/ceval.c:4221
#14 0x000002aa000e9d86 in builtin_apply (self=<optimized out>,
args=<optimized out>) at Python/bltinmodule.c:201
#15 0x000002aa000f608c in call_function (oparg=<optimized out>,
pp_stack=0x3ffffffef08) at Python/ceval.c:4352
#16 PyEval_EvalFrameEx (f=f at entry=0x3fffdc58ac8,
throwflag=throwflag at entry=0) at Python/ceval.c:2989
#17 0x000002aa000f7de4 in PyEval_EvalCodeEx (co=0x3fffdc57d30,
globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
argcount=<optimized out>, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3584
#18 0x000002aa000f7e60 in PyEval_EvalCode (co=<optimized out>,
globals=<optimized out>, locals=<optimized out>) at Python/ceval.c:669
#19 0x000002aa00125a74 in run_mod (arena=0x2aa00290790,
flags=0x3fffffff434, locals=0x3fffdcf5158, globals=0x3fffdcf5158,
filename=0x3fffffff90e "./tests/features/ipctest.py",
    mod=0x2aa0028e180) at Python/pythonrun.c:1376
#20 PyRun_FileExFlags (fp=0x2aa00273410, filename=0x3fffffff90e
"./tests/features/ipctest.py", start=<optimized out>,
globals=0x3fffdcf5158, locals=0x3fffdcf5158, closeit=1,
    flags=0x3fffffff434) at Python/pythonrun.c:1362
#21 0x000002aa00127990 in PyRun_SimpleFileExFlags (fp=0x2aa00273410,
filename=0x3fffffff90e "./tests/features/ipctest.py", closeit=<optimized
out>, flags=0x3fffffff434)
    at Python/pythonrun.c:948
#22 0x000002aa0003b574 in Py_Main (argc=<optimized out>, argv=<optimized
out>) at Modules/main.c:640
#23 0x000003fffdd87ece in __libc_start_main (main=0x2aa0003a428 <main>,
argc=<optimized out>, argv=0x3fffffff708, init=<optimized out>,
fini=0x2aa001a0858 <__libc_csu_fini>,
    rtld_fini=0x3fffdfea1c8 <_dl_fini>, stack_end=0x3fffffff650) at
libc-start.c:291
#24 0x000002aa0003a474 in _start ()
(gdb)

Regards,
Vaibhav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20171114/07023b82/attachment-0001.html>


More information about the Gluster-devel mailing list