wlav / cppyy

Other
384 stars 38 forks source link

cppyy/test: make all build command fails #223

Open chococandy63 opened 3 months ago

chococandy63 commented 3 months ago

When trying to build the tests in cppyy/test directory following the guide. At make all step, I found an error.

Necessary Information:

Linux Distribution: Ubuntu 22.04.4 c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Ubuntu clang version 14.0.0-1ubuntu1.1 Python 3.10.12

Expected

Successful build.

Found

trinity@ukiyo-nitro:~/compres/cppyy/test$ make all
genreflex stltypes.h --selection=stltypes.xml --rootmap=stltypesDict.rootmap --rootmap-lib=stltypesDict.so
make: python: No such file or directory
g++ -pthread -std=c++20 -m64 -I/home/trinity/.local/lib/python3.10/site-packages/cppyy_backend/include -I/home/trinity/.local/lib/python3.10/site-packages/cppyy_backend/include -O3 -fPIC -I -Wno-register -shared -o stltypesDict.so stltypes_rflx.cpp stltypes.cxx
stltypes.cxx:18:59: error: ‘operator!=’ is not a template function
   18 |                         const std::vector<int>::iterator&);
      |                                                          ^

make: *** [Makefile:28: stltypesDict.so] Error 1
rm stltypes_rflx.cpp

What I did

I tried to run the python -m pytest -sv command and found the following output:

trinity@ukiyo-nitro:~/compres/cppyy/test$ python3 -m pytest -sv
======================= test session starts ========================
platform linux -- Python 3.10.12, pytest-8.1.1, pluggy-1.4.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /home/trinity/compres/cppyy
configfile: pyproject.toml
collected 521 items                                                

test_aclassloader.py::TestACLASSLOADER::test01_class_autoloading <built-in>:8:9: warning: '__CLING__GNUC__' macro redefined [-Wmacro-redefined]
#define __CLING__GNUC__ 11
        ^
<built-in>:459:9: note: previous definition is here
#define __CLING__GNUC__ 9
        ^
<built-in>:9:9: warning: '__CLING__GNUC_MINOR__' macro redefined [-Wmacro-redefined]
#define __CLING__GNUC_MINOR__ 4
        ^
<built-in>:460:9: note: previous definition is here
#define __CLING__GNUC_MINOR__ 3
        ^
PASSED
test_advancedcpp.py::TestADVANCEDCPP::test01_default_arguments PASSED
test_advancedcpp.py::TestADVANCEDCPP::test02_simple_inheritance PASSED
test_advancedcpp.py::TestADVANCEDCPP::test03_namespaces PASSED
test_advancedcpp.py::TestADVANCEDCPP::test03a_namespace_lookup_on_update PASSED
test_advancedcpp.py::TestADVANCEDCPP::test04_template_types PASSED
test_advancedcpp.py::TestADVANCEDCPP::test05_abstract_classes PASSED
test_advancedcpp.py::TestADVANCEDCPP::test06_datamembers PASSED
test_advancedcpp.py::TestADVANCEDCPP::test07_pass_by_reference PASSED
test_advancedcpp.py::TestADVANCEDCPP::test08_void_pointer_passing PASSED
test_advancedcpp.py::TestADVANCEDCPP::test09_opaque_pointer_passing PASSED
test_advancedcpp.py::TestADVANCEDCPP::test10_object_identity PASSED
test_advancedcpp.py::TestADVANCEDCPP::test11_multi_methods PASSED
test_advancedcpp.py::TestADVANCEDCPP::test12_actual_type PASSED
test_advancedcpp.py::TestADVANCEDCPP::test13_actual_type_virtual_multi PASSED
test_advancedcpp.py::TestADVANCEDCPP::test14_new_overloader PASSED
test_advancedcpp.py::TestADVANCEDCPP::test15_template_instantiation_with_vector_of_float PASSED
test_advancedcpp.py::TestADVANCEDCPP::test16_template_global_functions PASSED
test_advancedcpp.py::TestADVANCEDCPP::test17_assign_to_return_byref PASSED
test_advancedcpp.py::TestADVANCEDCPP::test18_math_converters PASSED
test_advancedcpp.py::TestADVANCEDCPP::test19_comparator PASSED
test_advancedcpp.py::TestADVANCEDCPP::test20_overload_order_with_proper_return PASSED
test_advancedcpp.py::TestADVANCEDCPP::test21_access_to_global_variables PASSED
test_advancedcpp.py::TestADVANCEDCPP::test22_exceptions PASSED
test_advancedcpp.py::TestADVANCEDCPP::test23_using PASSED
test_advancedcpp.py::TestADVANCEDCPP::test24_typedef_to_private_class PASSED
test_advancedcpp.py::TestADVANCEDCPP::test25_ostream_printing PASSED
test_advancedcpp.py::TestADVANCEDCPP::test26_using_directive PASSED
test_advancedcpp.py::TestADVANCEDCPP::test27_shadowed_typedef PASSED
test_advancedcpp.py::TestADVANCEDCPP::test28_extern_C_in_namespace PASSED
test_advancedcpp.py::TestADVANCEDCPP::test29_castcpp PASSED
test_api.py::TestAPI::test01_type_checking PASSED
test_api.py::TestAPI::test02_interpreter_access PASSED
test_api.py::TestAPI::test03_instance_conversion PASSED
test_api.py::TestAPI::test04_custom_converter PASSED
test_api.py::TestAPI::test05_custom_executor PASSED
test_boost.py::TestBOOSTANY::test01_any_class SKIPPED (b...)
test_boost.py::TestBOOSTANY::test02_any_usage SKIPPED (b...)
test_boost.py::TestBOOSTOPERATORS::test01_ordered SKIPPED
test_boost.py::TestBOOSTVARIANT::test01_variant_usage SKIPPED
test_boost.py::TestBOOSTERASURE::test01_erasure_usage SKIPPED
test_concurrent.py::TestCONCURRENT::test01_simple_threads PASSED
test_concurrent.py::TestCONCURRENT::test02_futures PASSED
test_concurrent.py::TestCONCURRENT::test03_timeout PASSED
test_concurrent.py::TestCONCURRENT::test04_cpp_threading_with_exceptions PASSED
test_concurrent.py::TestCONCURRENT::test05_float2d_callback PASSED
test_concurrent.py::TestCONCURRENT::test06_overload_reuse_in_threads PASSED
test_concurrent.py::TestCONCURRENT::test07_overload_reuse_in_threads_wo_gil PASSED
test_conversions.py::TestCONVERSIONS::test01_implicit_vector_conversions PASSED
test_conversions.py::TestCONVERSIONS::test02_memory_handling_of_temporaries PASSED
test_conversions.py::TestCONVERSIONS::test03_error_handling PASSED
test_conversions.py::TestCONVERSIONS::test04_implicit_conversion_from_tuple PASSED
test_conversions.py::TestCONVERSIONS::test05_bool_conversions PASSED
test_cpp11features.py::TestCPP11FEATURES::test01_smart_ptr PASSED
test_cpp11features.py::TestCPP11FEATURES::test02_smart_ptr_construction PASSED
test_cpp11features.py::TestCPP11FEATURES::test03_smart_ptr_memory_handling PASSED
test_cpp11features.py::TestCPP11FEATURES::test04_shared_ptr_passing PASSED
test_cpp11features.py::TestCPP11FEATURES::test05_unique_ptr_passing PASSED
test_cpp11features.py::TestCPP11FEATURES::test06_nullptr PASSED
test_cpp11features.py::TestCPP11FEATURES::test07_move PASSED
test_cpp11features.py::TestCPP11FEATURES::test08_initializer_list PASSED
test_cpp11features.py::TestCPP11FEATURES::test09_lambda_calls PASSED
test_cpp11features.py::TestCPP11FEATURES::test10_optional PASSED
test_cpp11features.py::TestCPP11FEATURES::test11_chrono PASSED
test_cpp11features.py::TestCPP11FEATURES::test12_stdfunction PASSED
test_cpp11features.py::TestCPP11FEATURES::test13_stdhash PASSED
test_cpp11features.py::TestCPP11FEATURES::test14_shared_ptr_passing PASSED
test_cpp11features.py::TestCPP11FEATURES::test15_unique_ptr_template_deduction PASSED
test_cpp11features.py::TestCPP11FEATURES::test16_unique_ptr_moves PASSED
test_cpp11features.py::TestCPP11FEATURES::test17_unique_ptr_data PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test01_override_function PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test02_constructor PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test03_override_function_abstract_base PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test04_arguments PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test05_override_overloads PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test06_const_methods PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test07_templated_base PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test08_error_handling PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test09_interface_checking PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test10_python_in_templates PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test11_python_in_make_shared PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test12a_counter_test PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test12_python_shared_ptr_memory PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test13_virtual_dtors_and_del PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test14_protected_access PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test15_object_returns PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test16_cctor_access_controlled PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test17_deep_hierarchy PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test18_abstract_hierarchy PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test19_cpp_side_multiple_inheritance PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test20_basic_multiple_inheritance PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test21_multiple_inheritance_with_constructors PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test22_multiple_inheritance_with_defaults PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test23_const_byvalue_return PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test24_non_copyable PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test25_default_ctor_and_multiple_inheritance PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test26_no_default_ctor PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test27_interfaces PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test28_cross_deep PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test29_cross_deep_multi PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test30_access_and_overload PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test31_object_rebind PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test32_by_value_arguments PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test33_direct_base_methods PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test34_no_ctors_in_base PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test35_deletion PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test36_custom_destruct PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test37_deep_tree PASSED
test_datatypes.py::TestDATATYPES::test01_instance_data_read_access PASSED
test_datatypes.py::TestDATATYPES::test02_instance_data_write_access PASSED
test_datatypes.py::TestDATATYPES::test03_array_passing PASSED
test_datatypes.py::TestDATATYPES::test04_class_read_access PASSED
test_datatypes.py::TestDATATYPES::test05_class_data_write_access PASSED
test_datatypes.py::TestDATATYPES::test06_range_access PASSED
test_datatypes.py::TestDATATYPES::test07_type_conversions PASSED
test_datatypes.py::TestDATATYPES::test08_global_builtin_type PASSED
test_datatypes.py::TestDATATYPES::test08a_global_object PASSED
test_datatypes.py::TestDATATYPES::test09_global_ptr PASSED
test_datatypes.py::TestDATATYPES::test10_enum PASSED
test_datatypes.py::TestDATATYPES::test11_typed_enums PASSED
test_datatypes.py::TestDATATYPES::test12_enum_scopes PASSED
test_datatypes.py::TestDATATYPES::test13_string_passing PASSED
test_datatypes.py::TestDATATYPES::test14_copy_constructor PASSED
test_datatypes.py::TestDATATYPES::test15_object_returns PASSED
test_datatypes.py::TestDATATYPES::test16_object_arguments PASSED
test_datatypes.py::TestDATATYPES::test17_nullptr_passing PASSED
test_datatypes.py::TestDATATYPES::test18_respect_privacy PASSED
test_datatypes.py::TestDATATYPES::test19_object_and_pointer_comparisons PASSED
test_datatypes.py::TestDATATYPES::test20_object_comparisons_with_cpp__eq__ PASSED
test_datatypes.py::TestDATATYPES::test21_object_validity PASSED
test_datatypes.py::TestDATATYPES::test22_buffer_shapes PASSED
test_datatypes.py::TestDATATYPES::test23_buffer_reshaping PASSED
test_datatypes.py::TestDATATYPES::test24_voidp PASSED
test_datatypes.py::TestDATATYPES::test25_byte_arrays PASSED
test_datatypes.py::TestDATATYPES::test26_function_pointers PASSED
test_datatypes.py::TestDATATYPES::test27_callable_passing PASSED
test_datatypes.py::TestDATATYPES::test28_callable_through_function_passing PASSED
test_datatypes.py::TestDATATYPES::test29_std_function_life_lines PASSED
test_datatypes.py::TestDATATYPES::test30_multi_dim_arrays_of_builtins PASSED
test_datatypes.py::TestDATATYPES::test31_anonymous_union PASSED
test_datatypes.py::TestDATATYPES::test32_anonymous_struct PASSED
test_datatypes.py::TestDATATYPES::test33_pointer_to_array PASSED
test_datatypes.py::TestDATATYPES::test34_object_pointers PASSED
test_datatypes.py::TestDATATYPES::test35_restrict PASSED
test_datatypes.py::TestDATATYPES::test36_legacy_matrix PASSED
test_datatypes.py::TestDATATYPES::test37_legacy_matrix_of_structs PASSED
test_datatypes.py::TestDATATYPES::test38_plain_old_data PASSED
test_datatypes.py::TestDATATYPES::test39_aggregates PASSED
test_datatypes.py::TestDATATYPES::test40_more_aggregates PASSED
test_datatypes.py::TestDATATYPES::test41_complex_numpy_arrays SKIPPED
test_datatypes.py::TestDATATYPES::test42_mixed_complex_arithmetic PASSED
test_datatypes.py::TestDATATYPES::test43_ccharp_memory_handling PASSED
test_datatypes.py::TestDATATYPES::test44_buffer_memory_handling SKIPPED
test_datatypes.py::TestDATATYPES::test45_const_ref_data PASSED
test_datatypes.py::TestDATATYPES::test46_small_int_enums PASSED
test_datatypes.py::TestDATATYPES::test47_hidden_name_enum PASSED
test_datatypes.py::TestDATATYPES::test48_bool_typemap PASSED
test_datatypes.py::TestDATATYPES::test49_addressof_method PASSED
test_datatypes.py::TestDATATYPES::test50_int8_uint8_global_arrays PASSED
test_doc_features.py::TestDOCFEATURES::test_abstract_class PASSED
test_doc_features.py::TestDOCFEATURES::test_array 1 2 3 4 
PASSED
test_doc_features.py::TestDOCFEATURES::test_builtin_data PASSED
test_doc_features.py::TestDOCFEATURES::test_casting PASSED
test_doc_features.py::TestDOCFEATURES::test_classes_and_structs PASSED
test_doc_features.py::TestDOCFEATURES::test_data_members PASSED
test_doc_features.py::TestDOCFEATURES::test_default_arguments PASSED
test_doc_features.py::TestDOCFEATURES::test_keyword_arguments PASSED
test_doc_features.py::TestDOCFEATURES::test_doc_strings PASSED
test_doc_features.py::TestDOCFEATURES::test_enums PASSED
test_doc_features.py::TestDOCFEATURES::test_functions PASSED
test_doc_features.py::TestDOCFEATURES::test_inheritance PASSED
test_doc_features.py::TestDOCFEATURES::test_memory PASSED
test_doc_features.py::TestDOCFEATURES::test_methods PASSED
test_doc_features.py::TestDOCFEATURES::test_namespaces PASSED
test_doc_features.py::TestDOCFEATURES::test_null PASSED
test_doc_features.py::TestDOCFEATURES::test_operator_conversions PASSED
test_doc_features.py::TestDOCFEATURES::test_operator_overloads PASSED
test_doc_features.py::TestDOCFEATURES::test_pointers PASSED
test_doc_features.py::TestDOCFEATURES::test_pyobject PASSED
test_doc_features.py::TestDOCFEATURES::test_ref PASSED
test_doc_features.py::TestDOCFEATURES::test_static_data_members PASSED
test_doc_features.py::TestDOCFEATURES::test_static_methods PASSED
test_doc_features.py::TestDOCFEATURES::test_strings PASSED
test_doc_features.py::TestDOCFEATURES::test_templated_classes PASSED
test_doc_features.py::TestDOCFEATURES::test_templated_functions PASSED
test_doc_features.py::TestDOCFEATURES::test_templated_methods PASSED
test_doc_features.py::TestDOCFEATURES::test_typedefs PASSED
test_doc_features.py::TestDOCFEATURES::test_unary_operators PASSED
test_doc_features.py::TestDOCFEATURES::test_x_inheritance PASSED
test_doc_features.py::TestDOCFEATURES::test_multi_x_inheritance PASSED
test_doc_features.py::TestDOCFEATURES::test_exceptions PASSED
test_doc_features.py::TestTUTORIALFEATURES::test01_class_existence PASSED
test_doc_features.py::TestTUTORIALFEATURES::test02_python_introspection PASSED
test_doc_features.py::TestTUTORIALFEATURES::test03_STL_containers PASSED
test_doc_features.py::TestTUTORIALFEATURES::test04_pretty_repr PASSED
test_doc_features.py::TestTUTORIALFEATURES::test05_pythonizer PASSED
test_doc_features.py::TestTUTORIALFEATURES::test06_add_operator PASSED
test_doc_features.py::TestTUTORIALFEATURES::test07_run_zoo PASSED
test_doc_features.py::TestTUTORIALFEATURES::test08_shared_ptr PASSED
test_doc_features.py::TestTUTORIALFEATURES::test09_templated_function PASSED
test_doc_features.py::TestTUTORIALFEATURES::test10_stl_algorithm PASSED
test_doc_features.py::TestADVERTISED::test01_reduction_of_overloads PASSED
test_doc_features.py::TestADVERTISED::test02_use_c_void_p PASSED
test_doc_features.py::TestADVERTISED::test03_use_of_ctypes_and_enum PASSED
test_doc_features.py::TestADVERTISED::test04_ptr_ptr_python_owns PASSED
test_doc_features.py::TestADVERTISED::test05_ptr_ptr_with_array PASSED
test_doc_features.py::TestADVERTISED::test06_c_char_p PASSED
test_doc_features.py::TestADVERTISED::test07_array_of_arrays PASSED
test_doc_features.py::TestADVERTISED::test08_voidptr_array PASSED
test_doc_features.py::TestADVERTISED::test09_custom_str PASSED
test_doc_features.py::TestADVERTISED::test10_llvm_blog PASSED
test_doc_features.py::TestTALKEXAMPLES::test_template_instantiation PASSED
test_doc_features.py::TestTALKEXAMPLES::test_cross_inheritance PASSED
test_doc_features.py::TestTALKEXAMPLES::test_cross_and_templates PASSED
test_doc_features.py::TestTALKEXAMPLES::test_fallbacks PASSED
test_doc_features.py::TestTALKEXAMPLES::test_callbacks PASSED
test_doc_features.py::TestTALKEXAMPLES::test_templated_callback PASSED
test_doc_features.py::TestTALKEXAMPLES::test_autocast_and_identiy PASSED
test_doc_features.py::TestTALKEXAMPLES::test_exceptions PASSED
test_doc_features.py::TestTALKEXAMPLES::test_unicode  *** Break *** segmentation violation
#0  0x00007ef1250ea42f in __GI___wait4 (pid=88531, stat_loc=stat_loc
entry=0x7ffe9d910308, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00007ef1250ea3ab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
entry=0x7ffe9d910308, options=options
entry=0) at ./posix/waitpid.c:38
#2  0x00007ef125050bdb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
#3  0x00007ef123f94334 in CppyyLegacy::TUnixSystem::Exec (shellcmd=<optimized out>, this=0x59cc66499240) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:1810
#4  CppyyLegacy::TUnixSystem::StackTrace (this=0x59cc66499240) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2100
#5  0x00007ef123d8dbb3 in (anonymous namespace)::do_trace (sig=1) at src/clingwrapper.cxx:249
#6  (anonymous namespace)::TExceptionHandlerImp::HandleException (this=<optimized out>, sig=1) at src/clingwrapper.cxx:262
#7  0x00007ef123f91929 in CppyyLegacy::TUnixSystem::DispatchSignals (this=0x59cc66499240, sig=CppyyLegacy::kSigSegmentationViolation) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2740
#8  <signal handler called>
#9  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:115
#10 0x000059cc64a42be9 in _Py_GetErrorHandler ()
#11 0x000059cc649213f9 in ?? ()
#12 0x00007ef11b21fb4b in (anonymous namespace)::STLStringDecode (self=<optimized out>, args=0x7ef11ad9e7a0, kwds=0x0) at /usr/include/c++/11/bits/basic_string.h:194
#13 0x000059cc6495e10e in ?? ()
#14 0x000059cc6496d42b in PyObject_Call ()
#15 0x00007ef11b1fb65b in CPyCppyy::im_call (meth=0x7ef119f4ac40, args=0x7ef11ad9e7a0, kw=<optimized out>) at src/CustomPyTypes.cxx:281
#16 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#17 0x000059cc6494d629 in _PyEval_EvalFrameDefault ()
#18 0x000059cc6496ca51 in ?? ()
#19 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#20 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#21 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#22 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#23 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#24 0x000059cc6496c7f1 in ?? ()
#25 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#26 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#27 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#28 0x000059cc6496986c in _PyObject_Call_Prepend ()
#29 0x000059cc64a84700 in ?? ()
#30 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#31 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#32 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#33 0x000059cc6494745c in _PyEval_EvalFrameDefault ()
#34 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#35 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#36 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#37 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#38 0x000059cc6496c7f1 in ?? ()
#39 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#40 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#41 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#42 0x000059cc6496986c in _PyObject_Call_Prepend ()
#43 0x000059cc64a84700 in ?? ()
#44 0x000059cc6496d42b in PyObject_Call ()
#45 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#46 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#47 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#48 0x000059cc6496c7f1 in ?? ()
#49 0x000059cc6494853c in _PyEval_EvalFrameDefault ()
#50 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#51 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#52 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#53 0x000059cc6494853c in _PyEval_EvalFrameDefault ()
#54 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#55 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#56 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#57 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#58 0x000059cc6496c7f1 in ?? ()
#59 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#60 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#61 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#62 0x000059cc6496986c in _PyObject_Call_Prepend ()
#63 0x000059cc64a84700 in ?? ()
#64 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#65 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#66 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#67 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#68 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#69 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#70 0x000059cc6496c7f1 in ?? ()
#71 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#72 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#73 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#74 0x000059cc6496986c in _PyObject_Call_Prepend ()
#75 0x000059cc64a84700 in ?? ()
#76 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#77 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#78 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#79 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#80 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#81 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#82 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#83 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#84 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#85 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#86 0x000059cc6496c7f1 in ?? ()
#87 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#88 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#89 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#90 0x000059cc6496986c in _PyObject_Call_Prepend ()
#91 0x000059cc64a84700 in ?? ()
#92 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#93 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#94 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#95 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#96 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#97 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#98 0x000059cc649439c6 in ?? ()
#99 0x000059cc64a39256 in PyEval_EvalCode ()
#100 0x000059cc64a3ee2d in ?? ()
#101 0x000059cc6495ec59 in ?? ()
#102 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#103 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#104 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#105 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#106 0x000059cc64a56c2d in ?? ()
#107 0x000059cc64a558c8 in Py_RunMain ()
#108 0x000059cc64a2c02d in Py_BytesMain ()
#109 0x00007ef125029d90 in __libc_start_call_main (main=main
entry=0x59cc64a2bff0, argc=argc
entry=4, argv=argv
entry=0x7ffe9d917c98) at ../sysdeps/nptl/libc_start_call_main.h:58
#110 0x00007ef125029e40 in __libc_start_main_impl (main=0x59cc64a2bff0, argc=4, argv=0x7ffe9d917c98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe9d917c88) at ../csu/libc-start.c:392
#111 0x000059cc64a2bf25 in _start ()
 *** Break *** segmentation violation
#0  0x00007ef1250ea42f in __GI___wait4 (pid=88971, stat_loc=stat_loc
entry=0x7ffe9d910308, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x00007ef1250ea3ab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
entry=0x7ffe9d910308, options=options
entry=0) at ./posix/waitpid.c:38
#2  0x00007ef125050bdb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
#3  0x00007ef123f94334 in CppyyLegacy::TUnixSystem::Exec (shellcmd=<optimized out>, this=0x59cc66499240) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:1810
#4  CppyyLegacy::TUnixSystem::StackTrace (this=0x59cc66499240) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2100
#5  0x00007ef123d8da37 in (anonymous namespace)::do_trace (sig=1) at src/clingwrapper.cxx:249
#6  (anonymous namespace)::TExceptionHandlerImp::HandleException (this=<optimized out>, sig=1) at src/clingwrapper.cxx:268
#7  0x00007ef123f91929 in CppyyLegacy::TUnixSystem::DispatchSignals (this=0x59cc66499240, sig=CppyyLegacy::kSigSegmentationViolation) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2740
#8  <signal handler called>
#9  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:115
#10 0x000059cc64a42be9 in _Py_GetErrorHandler ()
#11 0x000059cc649213f9 in ?? ()
#12 0x00007ef11b21fb4b in (anonymous namespace)::STLStringDecode (self=<optimized out>, args=0x7ef11ad9e7a0, kwds=0x0) at /usr/include/c++/11/bits/basic_string.h:194
#13 0x000059cc6495e10e in ?? ()
#14 0x000059cc6496d42b in PyObject_Call ()
#15 0x00007ef11b1fb65b in CPyCppyy::im_call (meth=0x7ef119f4ac40, args=0x7ef11ad9e7a0, kw=<optimized out>) at src/CustomPyTypes.cxx:281
#16 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#17 0x000059cc6494d629 in _PyEval_EvalFrameDefault ()
#18 0x000059cc6496ca51 in ?? ()
#19 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#20 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#21 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#22 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#23 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#24 0x000059cc6496c7f1 in ?? ()
#25 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#26 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#27 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#28 0x000059cc6496986c in _PyObject_Call_Prepend ()
#29 0x000059cc64a84700 in ?? ()
#30 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#31 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#32 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#33 0x000059cc6494745c in _PyEval_EvalFrameDefault ()
#34 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#35 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#36 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#37 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#38 0x000059cc6496c7f1 in ?? ()
#39 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#40 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#41 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#42 0x000059cc6496986c in _PyObject_Call_Prepend ()
#43 0x000059cc64a84700 in ?? ()
#44 0x000059cc6496d42b in PyObject_Call ()
#45 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#46 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#47 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#48 0x000059cc6496c7f1 in ?? ()
#49 0x000059cc6494853c in _PyEval_EvalFrameDefault ()
#50 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#51 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#52 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#53 0x000059cc6494853c in _PyEval_EvalFrameDefault ()
#54 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#55 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#56 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#57 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#58 0x000059cc6496c7f1 in ?? ()
#59 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#60 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#61 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#62 0x000059cc6496986c in _PyObject_Call_Prepend ()
#63 0x000059cc64a84700 in ?? ()
#64 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#65 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#66 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#67 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#68 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#69 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#70 0x000059cc6496c7f1 in ?? ()
#71 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#72 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#73 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#74 0x000059cc6496986c in _PyObject_Call_Prepend ()
#75 0x000059cc64a84700 in ?? ()
#76 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#77 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#78 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#79 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#80 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#81 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#82 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#83 0x000059cc649495d7 in _PyEval_EvalFrameDefault ()
#84 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#85 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#86 0x000059cc6496c7f1 in ?? ()
#87 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#88 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#89 0x000059cc64953cbd in _PyObject_FastCallDictTstate ()
#90 0x000059cc6496986c in _PyObject_Call_Prepend ()
#91 0x000059cc64a84700 in ?? ()
#92 0x000059cc64954a7b in _PyObject_MakeTpCall ()
#93 0x000059cc6494e150 in _PyEval_EvalFrameDefault ()
#94 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#95 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#96 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#97 0x000059cc6494ccfa in _PyEval_EvalFrameDefault ()
#98 0x000059cc649439c6 in ?? ()
#99 0x000059cc64a39256 in PyEval_EvalCode ()
#100 0x000059cc64a3ee2d in ?? ()
#101 0x000059cc6495ec59 in ?? ()
#102 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#103 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#104 0x000059cc6494726d in _PyEval_EvalFrameDefault ()
#105 0x000059cc6495e9fc in _PyFunction_Vectorcall ()
#106 0x000059cc64a56c2d in ?? ()
#107 0x000059cc64a558c8 in Py_RunMain ()
#108 0x000059cc64a2c02d in Py_BytesMain ()
#109 0x00007ef125029d90 in __libc_start_call_main (main=main
entry=0x59cc64a2bff0, argc=argc
entry=4, argv=argv
entry=0x7ffe9d917c98) at ../sysdeps/nptl/libc_start_call_main.h:58
#110 0x00007ef125029e40 in __libc_start_main_impl (main=0x59cc64a2bff0, argc=4, argv=0x7ffe9d917c98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe9d917c88) at ../csu/libc-start.c:392
#111 0x000059cc64a2bf25 in _start ()

Any idea what might be wrong? How do i resolve this build error ?

wlav commented 3 months ago

This is probably the reason:

test_aclassloader.py::TestACLASSLOADER::test01_class_autoloading <built-in>:8:9: warning: '__CLING__GNUC__' macro redefined [-Wmacro-redefined]
#define __CLING__GNUC__ 11
        ^
<built-in>:459:9: note: previous definition is here
#define __CLING__GNUC__ 9
        ^
<built-in>:9:9: warning: '__CLING__GNUC_MINOR__' macro redefined [-Wmacro-redefined]
#define __CLING__GNUC_MINOR__ 4
        ^
<built-in>:460:9: note: previous definition is here
#define __CLING__GNUC_MINOR__ 3
        ^

cppyy uses a pre-built header file (PCH). This will be build/installed on installation time and/or first use. It will have the standard headers baked in. It looks like you have a different C++ compiler in your current environment from the one used to install cppyy; or you have old local prebuilt modules/dictionaries in the test directory.

For the former, the easiest fix is probably to force recompiling the PCH by setting the CLING_REBUILD_PCH envar to 1. (And unset it, after the PCH has been rebuilt.)

For the latter, simply run make -k clean in the test directory.

chococandy63 commented 2 months ago

@wlav I followed both and now when I try to rebuild the test directory it is showing another error..

(env)trinity@trinity-Nitro:~/compres/cppyy/test$ make all
genreflex advancedcpp.h --selection=advancedcpp.xml --rootmap=advancedcppDict.rootmap --rootmap-lib=advancedcppDict.so
g++ -pthread -std=c++20 -m64 -I/home/trinity/compres/env/lib/python3.10/site-packages/cppyy_backend/include -I/home/trinity/compres/env/lib/python3.10/site-packages/cppyy_backend/include -O3 -fPIC -I/usr/include/python3.10 -Wno-register -shared -o advancedcppDict.so advancedcpp_rflx.cpp advancedcpp.cxx
In file included from advancedcpp.cxx:1:
advancedcpp.h:331:5: error: ‘intptr_t’ does not name a type
  331 |     intptr_t gime_address_ptr(void* obj) {
      |     ^~~~~~~~
advancedcpp.h:5:1: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    4 | #include <vector>
  +++ |+#include <cstdint>
    5 | 
advancedcpp.h:335:5: error: ‘intptr_t’ does not name a type
  335 |     intptr_t gime_address_ptr_ptr(void** obj) {
      |     ^~~~~~~~
advancedcpp.h:335:5: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
advancedcpp.h:339:5: error: ‘intptr_t’ does not name a type
  339 |     intptr_t gime_address_ptr_ref(void*& obj) {
      |     ^~~~~~~~
advancedcpp.h:339:5: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
advancedcpp.h:343:12: error: ‘intptr_t’ does not name a type
  343 |     static intptr_t set_address_ptr_ptr(void** obj) {
      |            ^~~~~~~~
advancedcpp.h:343:12: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
advancedcpp.h:348:12: error: ‘intptr_t’ does not name a type
  348 |     static intptr_t set_address_ptr_ref(void*& obj) {
      |            ^~~~~~~~
advancedcpp.h:348:12: note: ‘intptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
make: *** [Makefile:28: advancedcppDict.so] Error 1
rm advancedcpp_rflx.cpp

Running python -m pytest -sv shows:

(env)trinity@trinity-Nitro:~/compres/cppyy/test$ python -m pytest -sv
================ test session starts =================
platform linux -- Python 3.10.12, pytest-8.2.0, pluggy-1.5.0 -- /home/trinity/compres/env/bin/python
cachedir: .pytest_cache
rootdir: /home/trinity/compres/cppyy
configfile: pyproject.toml
collected 525 items                                  

test_aclassloader.py::TestACLASSLOADER::test01_class_autoloading <built-in>:8:9: warning: '__CLING__GNUC__' macro redefined [-Wmacro-redefined]
#define __CLING__GNUC__ 11
        ^
<built-in>:459:9: note: previous definition is here
#define __CLING__GNUC__ 9
        ^
<built-in>:9:9: warning: '__CLING__GNUC_MINOR__' macro redefined [-Wmacro-redefined]
#define __CLING__GNUC_MINOR__ 4
        ^
<built-in>:460:9: note: previous definition is here
#define __CLING__GNUC_MINOR__ 3
        ^
PASSED
test_advancedcpp.py::TestADVANCEDCPP::test01_default_arguments ERROR
test_advancedcpp.py::TestADVANCEDCPP::test02_simple_inheritance ERROR
test_advancedcpp.py::TestADVANCEDCPP::test03_namespaces ERROR
test_advancedcpp.py::TestADVANCEDCPP::test03a_namespace_lookup_on_update ERROR
test_advancedcpp.py::TestADVANCEDCPP::test04_template_types ERROR
test_advancedcpp.py::TestADVANCEDCPP::test05_abstract_classes ERROR
test_advancedcpp.py::TestADVANCEDCPP::test06_datamembers ERROR
test_advancedcpp.py::TestADVANCEDCPP::test07_pass_by_reference ERROR
test_advancedcpp.py::TestADVANCEDCPP::test08_void_pointer_passing ERROR
test_advancedcpp.py::TestADVANCEDCPP::test09_opaque_pointer_passing ERROR
test_advancedcpp.py::TestADVANCEDCPP::test10_object_identity ERROR
test_advancedcpp.py::TestADVANCEDCPP::test11_multi_methods ERROR
test_advancedcpp.py::TestADVANCEDCPP::test12_actual_type ERROR
test_advancedcpp.py::TestADVANCEDCPP::test13_actual_type_virtual_multi ERROR
test_advancedcpp.py::TestADVANCEDCPP::test14_new_overloader ERROR
test_advancedcpp.py::TestADVANCEDCPP::test15_template_instantiation_with_vector_of_float ERROR
test_advancedcpp.py::TestADVANCEDCPP::test16_template_global_functions ERROR
test_advancedcpp.py::TestADVANCEDCPP::test17_assign_to_return_byref ERROR
test_advancedcpp.py::TestADVANCEDCPP::test18_math_converters ERROR
test_advancedcpp.py::TestADVANCEDCPP::test19_comparator ERROR
test_advancedcpp.py::TestADVANCEDCPP::test20_overload_order_with_proper_return ERROR
test_advancedcpp.py::TestADVANCEDCPP::test21_access_to_global_variables ERROR
test_advancedcpp.py::TestADVANCEDCPP::test22_exceptions ERROR
test_advancedcpp.py::TestADVANCEDCPP::test23_using ERROR
test_advancedcpp.py::TestADVANCEDCPP::test24_typedef_to_private_class ERROR
test_advancedcpp.py::TestADVANCEDCPP::test25_ostream_printing ERROR
test_advancedcpp.py::TestADVANCEDCPP::test26_using_directive ERROR
test_advancedcpp.py::TestADVANCEDCPP::test27_shadowed_typedef ERROR
test_advancedcpp.py::TestADVANCEDCPP::test28_extern_C_in_namespace ERROR
test_advancedcpp.py::TestADVANCEDCPP::test29_castcpp ERROR
test_api.py::TestAPI::test01_type_checking PASSED
test_api.py::TestAPI::test02_interpreter_access PASSED
test_api.py::TestAPI::test03_instance_conversion PASSED
test_api.py::TestAPI::test04_custom_converter PASSED
test_api.py::TestAPI::test05_custom_executor PASSED
test_api.py::TestAPI::test06_custom_executor PASSED
test_boost.py::TestBOOSTANY::test01_any_class SKIPPED
test_boost.py::TestBOOSTANY::test02_any_usage SKIPPED
test_boost.py::TestBOOSTOPERATORS::test01_ordered SKIPPED
test_boost.py::TestBOOSTVARIANT::test01_variant_usage SKIPPED
test_boost.py::TestBOOSTERASURE::test01_erasure_usage SKIPPED
test_concurrent.py::TestCONCURRENT::test01_simple_threads PASSED
test_concurrent.py::TestCONCURRENT::test02_futures PASSED
test_concurrent.py::TestCONCURRENT::test03_timeout PASSED
test_concurrent.py::TestCONCURRENT::test04_cpp_threading_with_exceptions PASSED
test_concurrent.py::TestCONCURRENT::test05_float2d_callback PASSED
test_concurrent.py::TestCONCURRENT::test06_overload_reuse_in_threads PASSED
test_concurrent.py::TestCONCURRENT::test07_overload_reuse_in_threads_wo_gil PASSED
test_conversions.py::TestCONVERSIONS::test01_implicit_vector_conversions PASSED
test_conversions.py::TestCONVERSIONS::test02_memory_handling_of_temporaries PASSED
test_conversions.py::TestCONVERSIONS::test03_error_handling PASSED
test_conversions.py::TestCONVERSIONS::test04_implicit_conversion_from_tuple PASSED
test_conversions.py::TestCONVERSIONS::test05_bool_conversions PASSED
test_cpp11features.py::TestCPP11FEATURES::test01_smart_ptr PASSED
test_cpp11features.py::TestCPP11FEATURES::test02_smart_ptr_construction PASSED
test_cpp11features.py::TestCPP11FEATURES::test03_smart_ptr_memory_handling PASSED
test_cpp11features.py::TestCPP11FEATURES::test04_shared_ptr_passing PASSED
test_cpp11features.py::TestCPP11FEATURES::test05_unique_ptr_passing PASSED
test_cpp11features.py::TestCPP11FEATURES::test06_nullptr PASSED
test_cpp11features.py::TestCPP11FEATURES::test07_move PASSED
test_cpp11features.py::TestCPP11FEATURES::test08_initializer_list PASSED
test_cpp11features.py::TestCPP11FEATURES::test09_lambda_calls PASSED
test_cpp11features.py::TestCPP11FEATURES::test10_optional PASSED
test_cpp11features.py::TestCPP11FEATURES::test11_chrono PASSED
test_cpp11features.py::TestCPP11FEATURES::test12_stdfunction PASSED
test_cpp11features.py::TestCPP11FEATURES::test13_stdhash PASSED
test_cpp11features.py::TestCPP11FEATURES::test14_shared_ptr_passing PASSED
test_cpp11features.py::TestCPP11FEATURES::test15_unique_ptr_template_deduction PASSED
test_cpp11features.py::TestCPP11FEATURES::test16_unique_ptr_moves PASSED
test_cpp11features.py::TestCPP11FEATURES::test17_unique_ptr_data PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test01_override_function PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test02_constructor PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test03_override_function_abstract_base PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test04_arguments PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test05_override_overloads PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test06_const_methods PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test07_templated_base PASSED
test_crossinheritance.py::TestCROSSINHEPASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test09_interface_checking PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test10_python_in_templates PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test11_python_in_make_shared PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test12a_counter_test PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test12_python_shared_ptr_memory PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test13_virtual_dtors_and_del PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test14_protected_access PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test15_object_returns PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test16_cctor_access_controlled PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test17_deep_hierarchy PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test18_abstract_hierarchy PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test19_cpp_side_multiple_inheritance PASSED
test_crossinheritance.py::TestCROSSINHER              ITANCE::test20_basic_multiple_inheritanc              e PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test21_multiple_inheritance_with_constructors PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test22_multiple_inheritance_with_defaults PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test23_const_byvalue_return PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test24_non_copyable PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test25_default_ctor_and_multiple_inheritance PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test26_no_default_ctor PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test27_interfaces PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test28_cross_deep PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test29_cross_deep_multi PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test30_access_and_overload PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test31_object_rebind PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test32_by_value_arguments PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test33_direct_base_methods PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test34_no_ctors_in_base PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test35_deletion PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test36_custom_destruct PASSED
test_crossinheritance.py::TestCROSSINHERITANCE::test37_deep_tree PASSED
test_datatypes.py::TestDATATYPES::test01_instance_data_read_access PASSED
test_datatypes.py::TestDATATYPES::test02_instance_data_write_access PASSED
test_datatypes.py::TestDATATYPES::test03_array_passing PASSED
test_datatypes.py::TestDATATYPES::test04_class_read_access PASSED
test_datatypes.py::TestDATATYPES::test05_class_data_write_access PASSED
test_datatypes.py::TestDATATYPES::test06_range_access PASSED
test_datatypes.py::TestDATATYPES::test07_type_conversions PASSED
test_datatypes.py::TestDATATYPES::test08_global_builtin_type PASSED
test_datatypes.py::TestDATATYPES::test08a_global_object PASSED
test_datatypes.py::TestDATATYPES::test09_global_ptr PASSED
test_datatypes.py::TestDATATYPES::test10_enum PASSED
test_datatypes.py::TestDATATYPES::test11_typed_enums PASSED
test_datatypes.py::TestDATATYPES::test12_enum_scopes PASSED
test_datatypes.py::TestDATATYPES::test13_string_passing PASSED
test_datatypes.py::TestDATATYPES::test14_copy_constructor PASSED
test_datatypes.py::TestDATATYPES::test15_object_returns PASSED
test_datatypes.py::TestDATATYPES::test16_object_arguments PASSED
test_datatypes.py::TestDATATYPES::test17_nullptr_passing PASSED
test_datatypes.py::TestDATATYPES::test18_respect_privacy PASSED
test_datatypes.py::TestDATATYPES::test19_object_and_pointer_comparisons PASSED
test_datatypes.py::TestDATATYPES::test20_object_comparisons_with_cpp__eq__ PASSED
test_datatypes.py::TestDATATYPES::test21_object_validity PASSED
test_datatypes.py::TestDATATYPES::test22_buffer_shapes PASSED
test_datatypes.py::TestDATATYPES::test23_buffer_reshaping PASSED
test_datatypes.py::TestDATATYPES::test24_voidp PASSED
test_datatypes.py::TestDATATYPES::test25_byte_arrays PASSED
test_datatypes.py::TestDATATYPES::test26_function_pointers PASSED
test_datatypes.py::TestDATATYPES::test27_callable_passing PASSED
test_datatypes.py::TestDATATYPES::test28_callable_through_function_passing PASSED
test_datatypes.py::TestDATATYPES::test29_std_function_life_lines PASSED
test_datatypes.py::TestDATATYPES::test30_multi_dim_arrays_of_builtins PASSED
test_datatypes.py::TestDATATYPES::test31_anonymous_union PASSED
test_datatypes.py::TestDATATYPES::test32_anonymous_struct PASSED
test_datatypes.py::TestDATATYPES::test33_pointer_to_array PASSED
test_datatypes.py::TestDATATYPES::test34_object_pointers PASSED
test_datatypes.py::TestDATATYPES::test35_restrict PASSED
test_datatypes.py::TestDATATYPES::test36_legacy_matrix PASSED
test_datatypes.py::TestDATATYPES::test37_legacy_matrix_of_structs PASSED
test_datatypes.py::TestDATATYPES::test38_plain_old_data PASSED
test_datatypes.py::TestDATATYPES::test39_aggregates PASSED
test_datatypes.py::TestDATATYPES::test40_more_aggregates PASSED
test_datatypes.py::TestDATATYPES::test41_complex_numpy_arrays PASSED
test_datatypes.py::TestDATATYPES::test42_mixed_complex_arithmetic PASSED
test_datatypes.py::TestDATATYPES::test43_ccharp_memory_handling PASSED
test_datatypes.py::TestDATATYPES::test44_buffer_memory_handling PASSED
test_datatypes.py::TestDATATYPES::test45_const_ref_data PASSED
test_datatypes.py::TestDATATYPES::test46_small_int_enums PASSED
test_datatypes.py::TestDATATYPES::test47_hidden_name_enum PASSED
test_datatypes.py::TestDATATYPES::test48_bool_typemap PASSED
test_datatypes.py::TestDATATYPES::test49_addressof_method PASSED
test_datatypes.py::TestDATATYPES::test50_int8_uint8_global_arrays PASSED
test_doc_features.py::TestDOCFEATURES::test_abstract_class PASSED
test_doc_features.py::TestDOCFEATURES::test_array 1 2 3 4 
PASSED
test_doc_features.py::TestDOCFEATURES::test_builtin_data PASSED
test_doc_features.py::TestDOCFEATURES::test_casting PASSED
test_doc_features.py::TestDOCFEATURES::test_classes_and_structs PASSED
test_doc_features.py::TestDOCFEATURES::test_data_members PASSED
test_doc_features.py::TestDOCFEATURES::test_default_arguments PASSED
test_doc_features.py::TestDOCFEATURES::test_keyword_arguments PASSED
test_doc_features.py::TestDOCFEATURES::test_doc_strings PASSED
test_doc_features.py::TestDOCFEATURES::test_enums PASSED
test_doc_features.py::TestDOCFEATURES::test_functions PASSED
test_doc_features.py::TestDOCFEATURES::test_inheritance PASSED
test_doc_features.py::TestDOCFEATURES::test_memory PASSED
test_doc_features.py::TestDOCFEATURES::test_methods PASSED
test_doc_features.py::TestDOCFEATURES::test_namespaces PASSED
test_doc_features.py::TestDOCFEATURES::test_null PASSED
test_doc_features.py::TestDOCFEATURES::test_operator_conversions PASSED
test_doc_features.py::TestDOCFEATURES::test_operator_overloads PASSED
test_doc_features.py::TestDOCFEATURES::test_pointers PASSED
test_doc_features.py::TestDOCFEATURES::test_pyobject PASSED
test_doc_features.py::TestDOCFEATURES::test_ref PASSED
test_doc_features.py::TestDOCFEATURES::test_static_data_members PASSED
test_doc_features.py::TestDOCFEATURES::test_static_methods PASSED
test_doc_features.py::TestDOCFEATURES::test_strings PASSED
test_doc_features.py::TestDOCFEATURES::test_templated_classes PASSED
test_doc_features.py::TestDOCFEATURES::test_templated_functions PASSED
test_doc_features.py::TestDOCFEATURES::test_templated_methods PASSED
test_doc_features.py::TestDOCFEATURES::test_typedefs PASSED
test_doc_features.py::TestDOCFEATURES::test_unary_operators PASSED
test_doc_features.py::TestDOCFEATURES::test_x_inheritance PASSED
test_doc_features.py::TestDOCFEATURES::test_multi_x_inheritance PASSED
test_doc_features.py::TestDOCFEATURES::test_exceptions PASSED
test_doc_features.py::TestTUTORIALFEATURES::test01_class_existence PASSED
test_doc_features.py::TestTUTORIALFEATURES::test02_python_introspection PASSED
test_doc_features.py::TestTUTORIALFEATURES::test03_STL_containers PASSED
test_doc_features.py::TestTUTORIALFEATURES::test04_pretty_repr PASSED
test_doc_features.py::TestTUTORIALFEATURES::test05_pythonizer PASSED
test_doc_features.py::TestTUTORIALFEATURES::test06_add_operator PASSED
test_doc_features.py::TestTUTORIALFEATURES::test07_run_zoo PASSED
test_doc_features.py::TestTUTORIALFEATURES::test08_shared_ptr PASSED
test_doc_features.py::TestTUTORIALFEATURES::test09_templated_function PASSED
test_doc_features.py::TestTUTORIALFEATURES::test10_stl_algorithm PASSED
test_doc_features.py::TestADVERTISED::test01_reduction_of_overloads PASSED
test_doc_features.py::TestADVERTISED::test02_use_c_void_p PASSED
test_doc_features.py::TestADVERTISED::test03_use_of_ctypes_and_enum PASSED
test_doc_features.py::TestADVERTISED::test04_ptr_ptr_python_owns PASSED
test_doc_features.py::TestADVERTISED::test05_ptr_ptr_with_array PASSED
test_doc_features.py::TestADVERTISED::test06_c_char_p PASSED
test_doc_features.py::TestADVERTISED::test07_array_of_arrays PASSED
test_doc_features.py::TestADVERTISED::test08_voidptr_array PASSED
test_doc_features.py::TestADVERTISED::test09_custom_str PASSED
test_doc_features.py::TestADVERTISED::test10_llvm_blog PASSED
test_doc_features.py::TestTALKEXAMPLES::test_template_instantiation PASSED
test_doc_features.py::TestTALKEXAMPLES::test_cross_inheritance PASSED
test_doc_features.py::TestTALKEXAMPLES::test_cross_and_templates PASSED
test_doc_features.py::TestTALKEXAMPLES::test_fallbacks PASSED
test_doc_features.py::TestTALKEXAMPLES::test_callbacks PASSED
test_doc_features.py::TestTALKEXAMPLES::test_templated_callback PASSED
test_doc_features.py::TestTALKEXAMPLES::test_autocast_and_identiy PASSED
test_doc_features.py::TestTALKEXAMPLES::test_exceptions PASSED
test_doc_features.py::TestTALKEXAMPLES::test_unicode  *** Break *** segmentation violation

Thread 12 (Thread 0x79d940df5640 (LWP 75197) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb2e0 <thread_status+1376>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb2e0 <thread_status+1376>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb2e0 <thread_status+1376>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb290 <thread_status+1296>, cond=0x79d95a7cb2b8 <thread_status+1336>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb2b8 <thread_status+1336>, mutex=0x79d95a7cb290 <thread_status+1296>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x79d9435f6640 (LWP 75196) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb260 <thread_status+1248>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb260 <thread_status+1248>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb260 <thread_status+1248>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb210 <thread_status+1168>, cond=0x79d95a7cb238 <thread_status+1208>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb238 <thread_status+1208>, mutex=0x79d95a7cb210 <thread_status+1168>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x79d945df7640 (LWP 75195) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb1e0 <thread_status+1120>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb1e0 <thread_status+1120>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb1e0 <thread_status+1120>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb190 <thread_status+1040>, cond=0x79d95a7cb1b8 <thread_status+1080>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb1b8 <thread_status+1080>, mutex=0x79d95a7cb190 <thread_status+1040>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x79d9485f8640 (LWP 75194) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb160 <thread_status+992>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb160 <thread_status+992>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb160 <thread_status+992>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb110 <thread_status+912>, cond=0x79d95a7cb138 <thread_status+952>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb138 <thread_status+952>, mutex=0x79d95a7cb110 <thread_status+912>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x79d94edf9640 (LWP 75193) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb0e0 <thread_status+864>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb0e0 <thread_status+864>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb0e0 <thread_status+864>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb090 <thread_status+784>, cond=0x79d95a7cb0b8 <thread_status+824>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb0b8 <thread_status+824>, mutex=0x79d95a7cb090 <thread_status+784>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x79d9535fa640 (LWP 75192) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb060 <thread_status+736>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb060 <thread_status+736>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb060 <thread_status+736>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb010 <thread_status+656>, cond=0x79d95a7cb038 <thread_status+696>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb038 <thread_status+696>, mutex=0x79d95a7cb010 <thread_status+656>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x79d953dfb640 (LWP 75191) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cafe0 <thread_status+608>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cafe0 <thread_status+608>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cafe0 <thread_status+608>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7caf90 <thread_status+528>, cond=0x79d95a7cafb8 <thread_status+568>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cafb8 <thread_status+568>, mutex=0x79d95a7caf90 <thread_status+528>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x79d9565fc640 (LWP 75190) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7caf60 <thread_status+480>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7caf60 <thread_status+480>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7caf60 <thread_status+480>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7caf10 <thread_status+400>, cond=0x79d95a7caf38 <thread_status+440>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7caf38 <thread_status+440>, mutex=0x79d95a7caf10 <thread_status+400>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x79d956dfd640 (LWP 75189) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7caee0 <thread_status+352>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7caee0 <thread_status+352>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7caee0 <thread_status+352>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cae90 <thread_status+272>, cond=0x79d95a7caeb8 <thread_status+312>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7caeb8 <thread_status+312>, mutex=0x79d95a7cae90 <thread_status+272>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x79d9575fe640 (LWP 75188) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cae60 <thread_status+224>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cae60 <thread_status+224>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cae60 <thread_status+224>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cae10 <thread_status+144>, cond=0x79d95a7cae38 <thread_status+184>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cae38 <thread_status+184>, mutex=0x79d95a7cae10 <thread_status+144>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x79d957dff640 (LWP 75187) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cade0 <thread_status+96>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cade0 <thread_status+96>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cade0 <thread_status+96>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cad90 <thread_status+16>, cond=0x79d95a7cadb8 <thread_status+56>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cadb8 <thread_status+56>, mutex=0x79d95a7cad90 <thread_status+16>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x79d95c47f000 (LWP 75186) "python"):
#0  0x000079d95c2ea42f in __GI___wait4 (pid=77043, stat_loc=stat_loc
entry=0x7ffdb6cb4588, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x000079d95c2ea3ab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
entry=0x7ffdb6cb4588, options=options
entry=0) at ./posix/waitpid.c:38
#2  0x000079d95c250bdb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
#3  0x000079d934794334 in CppyyLegacy::TUnixSystem::Exec (shellcmd=<optimized out>, this=0x5fbb92424f50) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:1810
#4  CppyyLegacy::TUnixSystem::StackTrace (this=0x5fbb92424f50) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2100
#5  0x000079d93548dbb3 in (anonymous namespace)::do_trace (sig=1) at src/clingwrapper.cxx:249
#6  (anonymous namespace)::TExceptionHandlerImp::HandleException (this=<optimized out>, sig=1) at src/clingwrapper.cxx:262
#7  0x000079d934791929 in CppyyLegacy::TUnixSystem::DispatchSignals (this=0x5fbb92424f50, sig=CppyyLegacy::kSigSegmentationViolation) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2740
#8  <signal handler called>
#9  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:115
#10 0x00005fbb8fe6cbe9 in _Py_GetErrorHandler ()
#11 0x00005fbb8fd4b3f9 in ?? ()
#12 0x000079d92be3283b in (anonymous namespace)::STLStringDecode (self=<optimized out>, args=0x79d92b83c760, kwds=0x0) at /usr/include/c++/11/bits/basic_string.h:194
#13 0x00005fbb8fd8810e in ?? ()
#14 0x00005fbb8fd9742b in PyObject_Call ()
#15 0x000079d92be0e34b in CPyCppyy::im_call (meth=0x79d92b4ea0c0, args=0x79d92b83c760, kw=<optimized out>) at src/CustomPyTypes.cxx:281
#16 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#17 0x00005fbb8fd77629 in _PyEval_EvalFrameDefault ()
#18 0x00005fbb8fd96a51 in ?? ()
#19 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#20 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#21 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#22 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#23 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#24 0x00005fbb8fd967f1 in ?? ()
#25 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#26 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#27 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#28 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#29 0x00005fbb8feae700 in ?? ()
#30 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#31 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#32 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#33 0x00005fbb8fd7145c in _PyEval_EvalFrameDefault ()
#34 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#35 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#36 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#37 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#38 0x00005fbb8fd967f1 in ?? ()
#39 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#40 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#41 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#42 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#43 0x00005fbb8feae700 in ?? ()
#44 0x00005fbb8fd9742b in PyObject_Call ()
#45 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#46 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#47 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#48 0x00005fbb8fd967f1 in ?? ()
#49 0x00005fbb8fd7253c in _PyEval_EvalFrameDefault ()
#50 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#51 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#52 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#53 0x00005fbb8fd7253c in _PyEval_EvalFrameDefault ()
#54 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#55 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#56 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#57 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#58 0x00005fbb8fd967f1 in ?? ()
#59 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#60 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#61 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#62 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#63 0x00005fbb8feae700 in ?? ()
#64 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#65 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#66 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#67 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#68 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#69 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#70 0x00005fbb8fd967f1 in ?? ()
#71 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#72 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#73 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#74 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#75 0x00005fbb8feae700 in ?? ()
#76 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#77 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#78 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#79 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#80 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#81 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#82 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#83 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#84 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#85 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#86 0x00005fbb8fd967f1 in ?? ()
#87 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#88 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#89 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#90 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#91 0x00005fbb8feae700 in ?? ()
#92 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#93 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#94 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#95 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#96 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#97 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#98 0x00005fbb8fd6d9c6 in ?? ()
#99 0x00005fbb8fe63256 in PyEval_EvalCode ()
#100 0x00005fbb8fe68e2d in ?? ()
#101 0x00005fbb8fd88c59 in ?? ()
#102 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#103 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#104 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#105 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#106 0x00005fbb8fe80c2d in ?? ()
#107 0x00005fbb8fe7f8c8 in Py_RunMain ()
#108 0x00005fbb8fe5602d in Py_BytesMain ()
#109 0x000079d95c229d90 in __libc_start_call_main (main=main
entry=0x5fbb8fe55ff0, argc=argc
entry=4, argv=argv
entry=0x7ffdb6cbbf38) at ../sysdeps/nptl/libc_start_call_main.h:58
#110 0x000079d95c229e40 in __libc_start_main_impl (main=0x5fbb8fe55ff0, argc=4, argv=0x7ffdb6cbbf38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb6cbbf28) at ../csu/libc-start.c:392
#111 0x00005fbb8fe55f25 in _start ()
 *** Break *** segmentation violation

Thread 12 (Thread 0x79d940df5640 (LWP 75197) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb2e0 <thread_status+1376>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb2e0 <thread_status+1376>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb2e0 <thread_status+1376>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb290 <thread_status+1296>, cond=0x79d95a7cb2b8 <thread_status+1336>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb2b8 <thread_status+1336>, mutex=0x79d95a7cb290 <thread_status+1296>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x79d9435f6640 (LWP 75196) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb260 <thread_status+1248>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb260 <thread_status+1248>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb260 <thread_status+1248>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb210 <thread_status+1168>, cond=0x79d95a7cb238 <thread_status+1208>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb238 <thread_status+1208>, mutex=0x79d95a7cb210 <thread_status+1168>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x79d945df7640 (LWP 75195) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb1e0 <thread_status+1120>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb1e0 <thread_status+1120>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb1e0 <thread_status+1120>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb190 <thread_status+1040>, cond=0x79d95a7cb1b8 <thread_status+1080>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb1b8 <thread_status+1080>, mutex=0x79d95a7cb190 <thread_status+1040>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x79d9485f8640 (LWP 75194) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb160 <thread_status+992>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb160 <thread_status+992>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb160 <thread_status+992>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb110 <thread_status+912>, cond=0x79d95a7cb138 <thread_status+952>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb138 <thread_status+952>, mutex=0x79d95a7cb110 <thread_status+912>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x79d94edf9640 (LWP 75193) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb0e0 <thread_status+864>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb0e0 <thread_status+864>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb0e0 <thread_status+864>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb090 <thread_status+784>, cond=0x79d95a7cb0b8 <thread_status+824>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb0b8 <thread_status+824>, mutex=0x79d95a7cb090 <thread_status+784>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x79d9535fa640 (LWP 75192) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cb060 <thread_status+736>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cb060 <thread_status+736>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cb060 <thread_status+736>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cb010 <thread_status+656>, cond=0x79d95a7cb038 <thread_status+696>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cb038 <thread_status+696>, mutex=0x79d95a7cb010 <thread_status+656>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x79d953dfb640 (LWP 75191) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cafe0 <thread_status+608>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cafe0 <thread_status+608>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cafe0 <thread_status+608>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7caf90 <thread_status+528>, cond=0x79d95a7cafb8 <thread_status+568>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cafb8 <thread_status+568>, mutex=0x79d95a7caf90 <thread_status+528>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x79d9565fc640 (LWP 75190) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7caf60 <thread_status+480>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7caf60 <thread_status+480>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7caf60 <thread_status+480>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7caf10 <thread_status+400>, cond=0x79d95a7caf38 <thread_status+440>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7caf38 <thread_status+440>, mutex=0x79d95a7caf10 <thread_status+400>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x79d956dfd640 (LWP 75189) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7caee0 <thread_status+352>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7caee0 <thread_status+352>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7caee0 <thread_status+352>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cae90 <thread_status+272>, cond=0x79d95a7caeb8 <thread_status+312>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7caeb8 <thread_status+312>, mutex=0x79d95a7cae90 <thread_status+272>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x79d9575fe640 (LWP 75188) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cae60 <thread_status+224>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cae60 <thread_status+224>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cae60 <thread_status+224>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cae10 <thread_status+144>, cond=0x79d95a7cae38 <thread_status+184>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cae38 <thread_status+184>, mutex=0x79d95a7cae10 <thread_status+144>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x79d957dff640 (LWP 75187) "python"):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x79d95a7cade0 <thread_status+96>) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x79d95a7cade0 <thread_status+96>) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word
entry=0x79d95a7cade0 <thread_status+96>, expected=expected
entry=0, clockid=clockid
entry=0, abstime=abstime
entry=0x0, private=private
entry=0) at ./nptl/futex-internal.c:139
#3  0x000079d95c293a41 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x79d95a7cad90 <thread_status+16>, cond=0x79d95a7cadb8 <thread_status+56>) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x79d95a7cadb8 <thread_status+56>, mutex=0x79d95a7cad90 <thread_status+16>) at ./nptl/pthread_cond_wait.c:627
#5  0x000079d958b506fb in blas_thread_server () from /home/trinity/compres/env/lib/python3.10/site-packages/numpy/core/../../numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so
#6  0x000079d95c294ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x000079d95c326850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x79d95c47f000 (LWP 75186) "python"):
#0  0x000079d95c2ea42f in __GI___wait4 (pid=77992, stat_loc=stat_loc
entry=0x7ffdb6cb4588, options=options
entry=0, usage=usage
entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x000079d95c2ea3ab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc
entry=0x7ffdb6cb4588, options=options
entry=0) at ./posix/waitpid.c:38
#2  0x000079d95c250bdb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:171
#3  0x000079d934794334 in CppyyLegacy::TUnixSystem::Exec (shellcmd=<optimized out>, this=0x5fbb92424f50) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:1810
#4  CppyyLegacy::TUnixSystem::StackTrace (this=0x5fbb92424f50) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2100
#5  0x000079d93548da37 in (anonymous namespace)::do_trace (sig=1) at src/clingwrapper.cxx:249
#6  (anonymous namespace)::TExceptionHandlerImp::HandleException (this=<optimized out>, sig=1) at src/clingwrapper.cxx:268
#7  0x000079d934791929 in CppyyLegacy::TUnixSystem::DispatchSignals (this=0x5fbb92424f50, sig=CppyyLegacy::kSigSegmentationViolation) at /home/trinity/compres/cppyy-backend/cling/src/core/unix/src/TUnixSystem.cxx:2740
#8  <signal handler called>
#9  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:115
#10 0x00005fbb8fe6cbe9 in _Py_GetErrorHandler ()
#11 0x00005fbb8fd4b3f9 in ?? ()
#12 0x000079d92be3283b in (anonymous namespace)::STLStringDecode (self=<optimized out>, args=0x79d92b83c760, kwds=0x0) at /usr/include/c++/11/bits/basic_string.h:194
#13 0x00005fbb8fd8810e in ?? ()
#14 0x00005fbb8fd9742b in PyObject_Call ()
#15 0x000079d92be0e34b in CPyCppyy::im_call (meth=0x79d92b4ea0c0, args=0x79d92b83c760, kw=<optimized out>) at src/CustomPyTypes.cxx:281
#16 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#17 0x00005fbb8fd77629 in _PyEval_EvalFrameDefault ()
#18 0x00005fbb8fd96a51 in ?? ()
#19 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#20 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#21 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#22 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#23 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#24 0x00005fbb8fd967f1 in ?? ()
#25 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#26 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#27 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#28 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#29 0x00005fbb8feae700 in ?? ()
#30 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#31 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#32 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#33 0x00005fbb8fd7145c in _PyEval_EvalFrameDefault ()
#34 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#35 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#36 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#37 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#38 0x00005fbb8fd967f1 in ?? ()
#39 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#40 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#41 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#42 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#43 0x00005fbb8feae700 in ?? ()
#44 0x00005fbb8fd9742b in PyObject_Call ()
#45 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#46 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#47 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#48 0x00005fbb8fd967f1 in ?? ()
#49 0x00005fbb8fd7253c in _PyEval_EvalFrameDefault ()
#50 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#51 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#52 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#53 0x00005fbb8fd7253c in _PyEval_EvalFrameDefault ()
#54 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#55 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#56 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#57 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#58 0x00005fbb8fd967f1 in ?? ()
#59 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#60 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#61 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#62 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#63 0x00005fbb8feae700 in ?? ()
#64 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#65 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#66 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#67 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#68 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#69 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#70 0x00005fbb8fd967f1 in ?? ()
#71 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#72 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#73 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#74 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#75 0x00005fbb8feae700 in ?? ()
#76 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#77 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#78 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#79 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#80 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#81 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#82 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#83 0x00005fbb8fd735d7 in _PyEval_EvalFrameDefault ()
#84 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#85 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#86 0x00005fbb8fd967f1 in ?? ()
#87 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#88 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#89 0x00005fbb8fd7dcbd in _PyObject_FastCallDictTstate ()
#90 0x00005fbb8fd9386c in _PyObject_Call_Prepend ()
#91 0x00005fbb8feae700 in ?? ()
#92 0x00005fbb8fd7ea7b in _PyObject_MakeTpCall ()
#93 0x00005fbb8fd78150 in _PyEval_EvalFrameDefault ()
#94 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#95 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#96 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#97 0x00005fbb8fd76cfa in _PyEval_EvalFrameDefault ()
#98 0x00005fbb8fd6d9c6 in ?? ()
#99 0x00005fbb8fe63256 in PyEval_EvalCode ()
#100 0x00005fbb8fe68e2d in ?? ()
#101 0x00005fbb8fd88c59 in ?? ()
#102 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#103 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#104 0x00005fbb8fd7126d in _PyEval_EvalFrameDefault ()
#105 0x00005fbb8fd889fc in _PyFunction_Vectorcall ()
#106 0x00005fbb8fe80c2d in ?? ()
#107 0x00005fbb8fe7f8c8 in Py_RunMain ()
#108 0x00005fbb8fe5602d in Py_BytesMain ()
#109 0x000079d95c229d90 in __libc_start_call_main (main=main
entry=0x5fbb8fe55ff0, argc=argc
entry=4, argv=argv
entry=0x7ffdb6cbbf38) at ../sysdeps/nptl/libc_start_call_main.h:58
#110 0x000079d95c229e40 in __libc_start_main_impl (main=0x5fbb8fe55ff0, argc=4, argv=0x7ffdb6cbbf38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb6cbbf28) at ../csu/libc-start.c:392
#111 0x00005fbb8fe55f25 in _start ()
wlav commented 1 month ago

Both still suggest an issue with the PCH (a mix of g++11 and g++9 standard headers). For the first, you could add:

#include <stdint.h>

at the top of advancedcpp.h.

For the second, set the envar CLING_REBUILD_PCH to 1. When you run the command python -m pytest -sv, it should then state that it's rebuilding the PCH.

chococandy63 commented 1 month ago

@wlav I tried adding this on my system and it solves this error but shows up the previous error

stltypes.cxx:18:59: error: ‘operator!=’ is not a template function
   18 |                         const std::vector<int>::iterator&);
      |                                                          ^

make: *** [Makefile:28: stltypesDict.so] Error 1

Should I create a PR to add #include <stdint.h> to advancedcpp.h ?

Yes, it states that it's rebuilding the PCH but still the error showing up.

wlav commented 1 month ago

The explicit instantiations of the comparison operators was for some CINT stuff; ancient and long gone at this point, so I simply removed them.

For the redefines, it remains that there is a mix of two different standard headers, one from gcc11 and one from gcc9. What is the out put of: LC_ALL=C c++ -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.*include/,${' -e '/^ \/.*++/p' -e '}'? And does it differ from LC_ALL=C g++ -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.*include/,${' -e '/^ \/.*++/p' -e '}' As well does either command give a different answer when inside or outside the pip environment?

chococandy63 commented 1 month ago

@wlav Now, I am on fedora 40 machine(Python 3.12.3, g++ (GCC) 14.0.1, GNU Make 4.4.1 ), and running the above commands gives:

(venv) trinity@fedora:~/compres/cppyy/test$ LC_ALL=C c++  -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.*include/,${' -e '/^ \/.*++/p' -e '}'

 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14
 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/x86_64-redhat-linux
 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/backward
(venv) trinity@fedora:~/compres/cppyy/test$ LC_ALL=C g++  -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.*include/,${' -e '/^ \/.*++/p' -e '}'
 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14
 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/x86_64-redhat-linux
 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/backward

They are giving the same answers outside as well as inside the pip env.