Vikram Hosakote (vhosakot) vhosakot at
Thu Jan 8 06:00:45 UTC 2015


I am running RHEL 7 and using the ‘select' Python package from
/usr/lib64/python2.7/lib-dynload/ that is part of the
python-libs-2.7.5-16.el7.x86_64 RPM.

>>> import select
>>> select
<module 'select' from '/usr/lib64/python2.7/lib-dynload/'>

# rpm -ql python-libs-2.7.5-16.el7.x86_64 | grep select

In this ‘select’ package, I see that one of the functions blocks/hangs
unexpectedly and does not return. Since this package is in the binary
file /usr/lib64/python2.7/lib-dynload/, I am not able to
view its code or debug the issue.

Could you please let me know the way to debug this binary file
/usr/lib64/python2.7/lib-dynload/ of the RPM
python-libs-2.7.5-16.el7.x86_64 when I see a function block/hang  in the
‘select’ package.

I am able to load the binary using gdb.

[root at controller python2.7(keystone_admin)]# gdb /usr/lib64/python2.7/lib-dynload/
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-51.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/lib64/python2.7/lib-dynload/…
Reading symbols from /usr/lib/debug/usr/lib64/python2.7/lib-dynload/

Thanks a lot.

Vikram Hosakote
OpenStack Software Engineer    |    vhosakot at
Cloud and Virtualization Group  |    Cisco Systems
Boxborough MA                            |    Work : 978-936-8799
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Rpm-list mailing list