Message153245
| Author |
meador.inge |
| Recipients |
dgoulet, meador.inge |
| Date |
2012年02月13日.03:46:09 |
| SpamBayes Score |
2.5804704e-06 |
| Marked as misclassified |
No |
| Message-id |
<1329104771.05.0.125900934837.issue13979@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
'find_library' itself actually loads no libraries. I suspect what happened was that the following code in the 'uuid' module coupled with the 'find_library' bug caused 'liblttng-ust-libc.so' to be loaded:
for libname in ['uuid', 'c']:
try:
lib = ctypes.CDLL(ctypes.util.find_library(libname))
except:
continue
if hasattr(lib, 'uuid_generate_random'):
_uuid_generate_random = lib.uuid_generate_random
if hasattr(lib, 'uuid_generate_time'):
_uuid_generate_time = lib.uuid_generate_time
This issue was fixed in 3.3 as a part of the optimization done in issue11258. I can still reproduce the problem in 2.7 and 3.2.
I am just going to backport the 3.3 regex to 2.7 and 3.2. This is not an issue for the '_findLib_gcc' regex because the GCC output has a different format. '_findLib_ldconfig' is never actually called so I removed it. Patch attached. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年02月13日 03:46:11 | meador.inge | set | recipients:
+ meador.inge, dgoulet |
| 2012年02月13日 03:46:11 | meador.inge | set | messageid: <1329104771.05.0.125900934837.issue13979@psf.upfronthosting.co.za> |
| 2012年02月13日 03:46:10 | meador.inge | link | issue13979 messages |
| 2012年02月13日 03:46:10 | meador.inge | create |
|