Segmentation fault for client library "python-keystoneclient" on Linux Alpine (docker and vagrant image)

Bug #1537397 reported by Sofiane Imadali
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Invalid
Undecided
Unassigned

Bug Description

Hello everyone,

I am currently experiencing a repeated bug with the python-keystoneclient module specifically on *Alpine linux*. Having already tried keystoneclient on debian, ubuntu and other red Hat based flavors, I never had these problems before.

In order to reproduce the bug, follow the steps:
1- Get an alpine linux either on Docker or Vagrant. Please find the detailed steps here: https://bugs.alpinelinux.org/issues/5038
2- On your python shell, after installing the needed dependencies, do something as simple as: "from keystoneclient import client", "from keystoneclient.v2_0 import client", or "from keystoneclient.v3 import client". All three of these tests should result in a segmentation fault.
3- You can get some limited additional info from gdb.

Thanks to anyone who would help.

- Update: Confirmed and reproducible, here is a complete description and first memory core dump https://bugs.alpinelinux.org/issues/5038. Thanks to Natanael Copa, here is an additional longer backtrace from gdb:

       >>>>>>>>>>>>>>>>>>> START <<<<<<<<<<<<<<<<<<<<<<<<
#0 0x00006453b6c2d7b9 in __vdsosym (vername=0x6453b6c94b8f "LINUX_2.6",
    name=0x6453b6c94b7a "__vdso_clock_gettime") at src/internal/vdso.c:45
#1 0x00006453b6c64e5e in __clock_gettime (clk=1, ts=0x6453b79c1be0)
    at src/time/clock_gettime.c:31
#2 0x00006453b6edf37e in ffi_call_unix64 () from /usr/lib/libffi.so.6
#3 0x00006453b6edef48 in ffi_call () from /usr/lib/libffi.so.6
#4 0x00006453b70f0e67 in _ctypes_callproc ()
   from /env/lib/python2.7/lib-dynload/_ctypes.so
#5 0x00006453b70ebce4 in ?? () from /env/lib/python2.7/lib-dynload/_ctypes.so
#6 0x00006453bb4e8654 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#7 0x00006453bb560257 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#8 0x00006453bb55edbd in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#9 0x00006453bb560aae in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#10 0x00006453bb560b15 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#11 0x00006453bb56d6d0 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
#12 0x00006453bb56dade in ?? () from /usr/lib/libpython2.7.so.1.0
#13 0x00006453bb56e2f9 in ?? () from /usr/lib/libpython2.7.so.1.0
#14 0x00006453bb56e513 in ?? () from /usr/lib/libpython2.7.so.1.0
#15 0x00006453bb56ef93 in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#16 0x00006453bb557530 in ?? () from /usr/lib/libpython2.7.so.1.0
#17 0x00006453bb4e8654 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#18 0x00006453bb558bc5 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#19 0x00006453bb55da75 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#20 0x00006453bb560aae in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#21 0x00006453bb560b15 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#22 0x00006453bb56d6d0 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
#23 0x00006453bb56dade in ?? () from /usr/lib/libpython2.7.so.1.0
#24 0x00006453bb56e2f9 in ?? () from /usr/lib/libpython2.7.so.1.0
#25 0x00006453bb56e739 in ?? () from /usr/lib/libpython2.7.so.1.0
#26 0x00006453bb56f099 in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#27 0x00006453bb557530 in ?? () from /usr/lib/libpython2.7.so.1.0
#28 0x00006453bb4e8654 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#29 0x00006453bb558bc5 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#30 0x00006453bb55da75 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#31 0x00006453bb560aae in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#32 0x00006453bb560b15 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#33 0x00006453bb56d6d0 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
#34 0x00006453bb56dade in ?? () from /usr/lib/libpython2.7.so.1.0
#35 0x00006453bb56e2f9 in ?? () from /usr/lib/libpython2.7.so.1.0
#36 0x00006453bb56e739 in ?? () from /usr/lib/libpython2.7.so.1.0
#37 0x00006453bb56f099 in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#38 0x00006453bb557530 in ?? () from /usr/lib/libpython2.7.so.1.0
#39 0x00006453bb4e8654 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#40 0x00006453bb558bc5 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
#41 0x00006453bb55da75 in PyEval_EvalFrameEx ()
   from /usr/lib/libpython2.7.so.1.0
#42 0x00006453bb560aae in PyEval_EvalCodeEx ()
   from /usr/lib/libpython2.7.so.1.0
#43 0x00006453bb560b15 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#44 0x00006453bb56d6d0 in PyImport_ExecCodeModuleEx ()
   from /usr/lib/libpython2.7.so.1.0
#45 0x00006453bb56dade in ?? () from /usr/lib/libpython2.7.so.1.0
#46 0x00006453bb56e2f9 in ?? () from /usr/lib/libpython2.7.so.1.0
#47 0x00006453bb56e739 in ?? () from /usr/lib/libpython2.7.so.1.0
#48 0x00006453bb56f099 in PyImport_ImportModuleLevel ()
   from /usr/lib/libpython2.7.so.1.0
#49 0x00006453bb557530 in ?? () from /usr/lib/libpython2.7.so.1.0
#50 0x00006453bb4e8654 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#51 0x00006453bb558bc5 in PyEval_CallObjectWithKeywords ()
   from /usr/lib/libpython2.7.so.1.0
       >>>>>>>>>>>>>>>>>>> END <<<<<<<<<<<<<<<<<<<<<<<<

Revision history for this message
Boris Bobrov (bbobrov) wrote :

Looks like this was already resolved in the bugreport you mentioned.

I am closing this as "invalid" because it's unlikely we can do anything about it and it was already fixed on the distro side.

Changed in python-keystoneclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.