I was trying to install the opencv with TBB in a new virtual environment. So I have two virtual environments and a base environment. Before this compiling, the base environment was working well, with my code (uses opencv, numpy, scipy, signal processing code running on video) ran fine. After installing opencv TBB, I get a segmentation fault running outside of the virtual environment (should be regular opencv installed) most of the time i run most of the python programs I have on the Raspberry Pi.
With gdb, the output I get when it segfaults is:
tbb::internal::generic_scheduler::allocate_task (this=0x1bff000, number_of_bytes=<optimized out>, parent=0x63f015a0, context=0x647fd230) at ../../src/tbb/scheduler.cpp:315 315 my_free_list = t->prefix().next;
What is the reason for this? could this mean my python is corrupted?