-
Notifications
You must be signed in to change notification settings - Fork 15
Error: duplicate keys found #29
Description
I'm getting the following error with a large application I'm running. I'd be happy to send repro instructions privately, but so far I'm just not even sure where to even look for problems. Has anyone ever seen anything like this?
Fatal Error: duplicate keys found for _ZN6scitbx2af12boost_python12flex_wrapperIdN5boost6python19return_value_policyINS4_24copy_non_const_referenceENS4_21default_call_policiesEEEE10getitem_1dERNS0_5versaIdNS0_9flex_gridINS0_5smallIlLm10EEEEEEEl _ZN5boost6python6detail12caller_arityILj2EE4implIPFRdRN6scitbx2af5versaIdNS7_9flex_gridINS7_5smallIlLm10EEEEEEElENS0_19return_value_policyINS0_24copy_non_const_referenceENS0_21default_call_policiesEEENS_3mpl7vector3IS5_SE_lEEEclEP7_objectSQ_ _ZN5boost6python7objects23caller_py_function_implINS0_6detail6callerIPFRdRN6scitbx2af5versaIdNS7_9flex_gridINS7_5smallIlLm10EEEEEEElENS0_19return_value_policyINS0_24copy_non_const_referenceENS0_21default_call_policiesEEENS_3mpl7vector3IS5_SE_lEEEEEclEP7_objectSR_
(...and it continues for several pages...)
I thought the problem might be related to my use of shared libraries, and I suspected that there might be duplicate symbols included in multiple shared libraries all being loaded into the same execution. But I've tried that scenario in a smaller reproducer, and it works fine. So at the moment I don't have any ideas for what could be causing this.
For background, the application is running in Python, and Python has not been compiled with Byfl. Python loads one or more shared libraries---of which, if I'm doing things right, one and only one has been compiled with Byfl---and then runs some functions in those shared libraries. I've tested a similar scenario in my reproducer (main compiled with the system compiler, libraries compiled with Byfl) and haven't been able to get it to show any problems.
I'm on Ubuntu 16.04 with LLVM 6.0 (with the appropriate Byfl branch). I can provide repro instructions privately if desired.
Thanks.