opencv / opencv-python

Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
https://pypi.org/project/opencv-python/
MIT License
4.54k stars 850 forks source link

Segmentation fault happens on imshow #890

Closed XavierBuhot closed 1 year ago

XavierBuhot commented 1 year ago

Expected behaviour

I use cv2.imshow to display an image

Actual behaviour

I get a sgmentation fault error.

Write here what went wrong.

            patch = json.loads(patch_str)
            image_patch_decoded = base64.b64decode(patch["data"])
            jpg_as_np = np.frombuffer(image_patch_decoded, dtype=np.uint8)
            image = jpg_as_np.reshape([patch["height"], patch["width"], 3])
            image_copy =  copy.deepcopy(image)
            cv2.imshow(interaction_element, image_copy)  ## segmentation fault
            # cv2.imwrite("ffff.png", image_copy)
            cv2.waitKey(10)

Steps to reproduce

I use opencv-python 4.5.5.64 on python 3.8. I am working on Ubuntu 20.04.

My program is composed of a self compiled c++ library and a python wrapper which use that library. The c++ library use ros/opencv/Qt and OpenGL

Here is the trace I have:


gdb) thread apply  all bt

Thread 48 (Thread 0x7fff2614d700 (LWP 153402)):
#0  0x00007ffff7cdb99f in __GI___poll (fds=0x67b6f00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffb83e036e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffb83e04a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffb83e04f1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffb8409ae1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 47 (Thread 0x7fff27fff700 (LWP 153401)):
#0  0x00007ffff7cdb99f in __GI___poll (fds=0x7fff27ffed68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffb7b62c1a in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffb7b6490a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fff3433e298 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fff381699d2 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 46 (Thread 0x7fff26ffd700 (LWP 153398)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fff18001720) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x7fff18001720, abstime=0x0, clockid=0) at sem_waitcommon.c:112
#2  0x00007ffff7f73548 in __new_sem_wait_slow (sem=sem@entry=0x7fff18001720, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x00007ffff7f735c1 in __new_sem_wait (sem=sem@entry=0x7fff18001720) at sem_wait.c:42
#4  0x0000000000534aea in PyThread_acquire_lock_timed (lock=lock@entry=0x7fff18001720, microseconds=<optimized out>, microseconds@entry=-1000000, intr_flag=intr_flag@entry=1) at ../Python/thread_pthread.h:471
--Type <RET> for more, q to quit, c to continue without paging--
#5  0x00000000005a1caa in acquire_timed (lock=0x7fff18001720, timeout=-1000000000) at ../Modules/_threadmodule.c:63
#6  0x00000000005a1e49 in lock_PyThread_acquire_lock (self=0x7fff344c3140, args=<optimized out>, kwds=<optimized out>) at ../Modules/_threadmodule.c:146
#7  0x000000000064d28e in method_vectorcall_VARARGS_KEYWORDS (func=0x7ffff759aef0, args=0x7fff18001688, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/descrobject.c:332
#8  0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff18001688, callable=0x7ffff759aef0) at ../Include/cpython/abstract.h:127
#9  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff2c0028c0) at ../Python/ceval.c:4963
#10 _PyEval_EvalFrameDefault (f=0x7fff180014f0, throwflag=<optimized out>) at ../Python/ceval.c:3486
#11 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff180014f0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#12 0x00000000004e01c6 in _PyEval_EvalCodeWithName (_co=0x7ffff7301a00, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=1, kwnames=0x0, kwargs=0x7fff18001450, kwcount=0, kwstep=1, defs=0x7ffff73041a8, defcount=1, kwdefs=0x0, closure=0x0, name=0x7ffff75d43b0, qualname=0x7ffff73005e0) at ../Python/ceval.c:4298
#13 0x0000000000436c75 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:436
#14 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff18001448, callable=0x7ffff7314e10) at ../Include/cpython/abstract.h:127
#15 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff2c0028c0) at ../Python/ceval.c:4963
#16 _PyEval_EvalFrameDefault (f=0x7fff180012b0, throwflag=<optimized out>) at ../Python/ceval.c:3486
#17 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff180012b0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#18 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff26ffc830, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#19 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#20 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff26ffc828, callable=0x7ffff42c39b0) at ../Include/cpython/abstract.h:127
#21 method_vectorcall (method=method@entry=0x7fff387e95f0, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
--Type <RET> for more, q to quit, c to continue without paging--
#22 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff387e95f0, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff388860b0) at ../Objects/call.c:200
#23 0x00000000004390d3 in PyObject_Call (callable=callable@entry=0x7fff387e95f0, args=args@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff388860b0) at ../Objects/call.c:228
#24 0x00000000004de75e in do_call_core (tstate=tstate@entry=0x7fff2c0028c0, func=func@entry=0x7fff387e95f0, callargs=callargs@entry=0x7ffff7615050, kwdict=kwdict@entry=0x7fff388860b0) at ../Python/ceval.c:5010
#25 0x00000000004ec5d7 in _PyEval_EvalFrameDefault (f=0x7fff344c2230, throwflag=<optimized out>) at ../Python/ceval.c:3559
#26 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff344c2230, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#27 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff18000d10, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#28 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#29 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff18000d08, callable=0x7ffff729b410) at ../Include/cpython/abstract.h:127
#30 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff2c0028c0) at ../Python/ceval.c:4963
#31 _PyEval_EvalFrameDefault (f=0x7fff18000b90, throwflag=<optimized out>) at ../Python/ceval.c:3486
#32 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff18000b90, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#33 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff344bfae0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#34 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#35 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff344bfad8, callable=0x7ffff729b730) at ../Include/cpython/abstract.h:127
#36 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff2c0028c0) at ../Python/ceval.c:4963
#37 _PyEval_EvalFrameDefault (f=0x7fff344bf960, throwflag=<optimized out>) at ../Python/ceval.c:3486
#38 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff344bf960, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#39 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff26ffcde0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
--Type <RET> for more, q to quit, c to continue without paging--
#40 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#41 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff26ffcdd8, callable=0x7ffff729b4b0) at ../Include/cpython/abstract.h:127
#42 method_vectorcall (method=method@entry=0x7fff387e9230, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#43 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff387e9230, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x0) at ../Objects/call.c:200
#44 0x00000000004390d3 in PyObject_Call (callable=0x7fff387e9230, args=0x7ffff7615050, kwargs=0x0) at ../Objects/call.c:228
#45 0x00000000005a190b in t_bootstrap (boot_raw=boot_raw@entry=0x7fff3880df40) at ../Modules/_threadmodule.c:1002
#46 0x00000000005344a2 in pythread_wrapper (arg=<optimized out>) at ../Python/thread_pthread.h:237
#47 0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#48 0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 45 (Thread 0x7fff277fe700 (LWP 153396)):
#0  0x00007ffff7cddfcb in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fff277fd610) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x0000000000623957 in pysleep (secs=<optimized out>) at ../Modules/timemodule.c:1866
#2  0x00000000006239dd in time_sleep (self=<optimized out>, obj=<optimized out>) at ../Modules/timemodule.c:338
#3  0x000000000046c774 in cfunction_vectorcall_O (func=0x7ffff75798f0, args=0x7fff388217d8, nargsf=<optimized out>, kwnames=0x0) at ../Objects/methodobject.c:482
#4  0x00000000004eb983 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff388217d8, callable=0x7ffff75798f0) at ../Include/cpython/abstract.h:127
#5  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6b0c0) at ../Python/ceval.c:4963
#6  _PyEval_EvalFrameDefault (f=0x7fff38821650, throwflag=<optimized out>) at ../Python/ceval.c:3469
#7  0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff38821650, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#8  0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff277fd830, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
--Type <RET> for more, q to quit, c to continue without paging--
#9  0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#10 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff277fd828, callable=0x7ffff3b50f50) at ../Include/cpython/abstract.h:127
#11 method_vectorcall (method=method@entry=0x7fff412a12f0, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#12 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff412a12f0, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff3887e350) at ../Objects/call.c:200
#13 0x00000000004390d3 in PyObject_Call (callable=callable@entry=0x7fff412a12f0, args=args@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff3887e350) at ../Objects/call.c:228
#14 0x00000000004de75e in do_call_core (tstate=tstate@entry=0x2b6b0c0, func=func@entry=0x7fff412a12f0, callargs=callargs@entry=0x7ffff7615050, kwdict=kwdict@entry=0x7fff3887e350) at ../Python/ceval.c:5010
#15 0x00000000004ec5d7 in _PyEval_EvalFrameDefault (f=0x7fff38822050, throwflag=<optimized out>) at ../Python/ceval.c:3559
#16 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff38822050, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#17 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff14000d10, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#18 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#19 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff14000d08, callable=0x7ffff729b410) at ../Include/cpython/abstract.h:127
#20 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6b0c0) at ../Python/ceval.c:4963
#21 _PyEval_EvalFrameDefault (f=0x7fff14000b90, throwflag=<optimized out>) at ../Python/ceval.c:3486
#22 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff14000b90, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#23 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff3881ccb0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#24 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#25 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff3881cca8, callable=0x7ffff729b730) at .--Type <RET> for more, q to quit, c to continue without paging--
./Include/cpython/abstract.h:127
#26 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6b0c0) at ../Python/ceval.c:4963
#27 _PyEval_EvalFrameDefault (f=0x7fff3881cb30, throwflag=<optimized out>) at ../Python/ceval.c:3486
#28 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff3881cb30, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#29 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff277fdde0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#30 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#31 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff277fddd8, callable=0x7ffff729b4b0) at ../Include/cpython/abstract.h:127
#32 method_vectorcall (method=method@entry=0x7fff387e9410, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#33 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff387e9410, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x0) at ../Objects/call.c:200
#34 0x00000000004390d3 in PyObject_Call (callable=0x7fff387e9410, args=0x7ffff7615050, kwargs=0x0) at ../Objects/call.c:228
#35 0x00000000005a190b in t_bootstrap (boot_raw=boot_raw@entry=0x7fff3880db40) at ../Modules/_threadmodule.c:1002
#36 0x00000000005344a2 in pythread_wrapper (arg=<optimized out>) at ../Python/thread_pthread.h:237
#37 0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#38 0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 43 (Thread 0x7fff8c3e2700 (LWP 153394)):
#0  0x00007ffff7cddfcb in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fff8c3e1520) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x0000000000623957 in pysleep (secs=<optimized out>) at ../Modules/timemodule.c:1866
#2  0x00000000006239dd in time_sleep (self=<optimized out>, obj=<optimized out>) at ../Modules/timemodule.c:338
#3  0x000000000046c774 in cfunction_vectorcall_O (func=0x7ffff75798f0, args=0x7fff387f3b30, nargsf=<optimized out>, kwnames=0x0) at ../Objects/methodobject.c:482
#4  0x00000000004eb983 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff387f3b30, callable=0x7ffff75798f0) at .--Type <RET> for more, q to quit, c to continue without paging--
./Include/cpython/abstract.h:127
#5  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6d470) at ../Python/ceval.c:4963
#6  _PyEval_EvalFrameDefault (f=0x7fff387f39b0, throwflag=<optimized out>) at ../Python/ceval.c:3469
#7  0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff387f39b0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#8  0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff387f3950, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#9  0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#10 0x00000000004eb983 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff387f3948, callable=0x7ffff44180f0) at ../Include/cpython/abstract.h:127
#11 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6d470) at ../Python/ceval.c:4963
#12 _PyEval_EvalFrameDefault (f=0x7fff387f37d0, throwflag=<optimized out>) at ../Python/ceval.c:3469
#13 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff387f37d0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#14 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7ffff7615068, nargs=0, globals=<optimized out>) at ../Objects/call.c:284
#15 0x0000000000436d56 in _PyFunction_Vectorcall (func=func@entry=0x7ffff427e190, stack=<optimized out>, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/call.c:411
#16 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7ffff427e190, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff38891e90) at ../Objects/call.c:200
#17 0x00000000004390d3 in PyObject_Call (callable=callable@entry=0x7ffff427e190, args=args@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff38891e90) at ../Objects/call.c:228
#18 0x00000000004de75e in do_call_core (tstate=tstate@entry=0x2b6d470, func=func@entry=0x7ffff427e190, callargs=callargs@entry=0x7ffff7615050, kwdict=kwdict@entry=0x7fff38891e90) at ../Python/ceval.c:5010
#19 0x00000000004ec5d7 in _PyEval_EvalFrameDefault (f=0x7fff387f35f0, throwflag=<optimized out>) at ../Python/ceval.c:3559
#20 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff387f35f0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#21 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff20000d10, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#22 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized o--Type <RET> for more, q to quit, c to continue without paging--
ut>) at ../Objects/call.c:411
#23 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff20000d08, callable=0x7ffff729b410) at ../Include/cpython/abstract.h:127
#24 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6d470) at ../Python/ceval.c:4963
#25 _PyEval_EvalFrameDefault (f=0x7fff20000b90, throwflag=<optimized out>) at ../Python/ceval.c:3486
#26 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff20000b90, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#27 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff387f4910, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#28 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#29 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff387f4908, callable=0x7ffff729b730) at ../Include/cpython/abstract.h:127
#30 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x2b6d470) at ../Python/ceval.c:4963
#31 _PyEval_EvalFrameDefault (f=0x7fff387f4790, throwflag=<optimized out>) at ../Python/ceval.c:3486
#32 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff387f4790, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#33 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff8c3e1de0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#34 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#35 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff8c3e1dd8, callable=0x7ffff729b4b0) at ../Include/cpython/abstract.h:127
#36 method_vectorcall (method=method@entry=0x7fff4129bcb0, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#37 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff4129bcb0, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x0) at ../Objects/call.c:200
#38 0x00000000004390d3 in PyObject_Call (callable=0x7fff4129bcb0, args=0x7ffff7615050, kwargs=0x0) at ../Objects/call.c:228
#39 0x00000000005a190b in t_bootstrap (boot_raw=boot_raw@entry=0x7fff387e7700) at ../Modules/_threadmodule.c:1002
#40 0x00000000005344a2 in pythread_wrapper (arg=<optimized out>) at ../Python/thread_pthread.h:237
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#42 0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 42 (Thread 0x7fff89be1700 (LWP 153393)):
#0  0x00007ffff7ce9b30 in accept4 (fd=7, addr=..., addr@entry=..., addr_len=addr_len@entry=0x7fff89be03fc, flags=flags@entry=524288) at ../sysdeps/unix/sysv/linux/accept4.c:32
#1  0x000000000060f50e in sock_accept_impl (s=0x7fff38865e50, data=0x7fff89be0400) at ../Modules/socketmodule.c:2640
#2  0x000000000060ead7 in sock_call_ex (s=s@entry=0x7fff38865e50, writing=writing@entry=0, sock_func=sock_func@entry=0x60f4a0 <sock_accept_impl>, data=data@entry=0x7fff89be0400, connect=connect@entry=0, err=err@entry=0x0, timeout=-1000000000) at ../Modules/socketmodule.c:934
#3  0x000000000060eb50 in sock_call (s=s@entry=0x7fff38865e50, writing=writing@entry=0, func=func@entry=0x60f4a0 <sock_accept_impl>, data=data@entry=0x7fff89be0400) at ../Modules/socketmodule.c:986
#4  0x000000000061350b in sock_accept (s=0x7fff38865e50, _unused_ignored=<optimized out>) at ../Modules/socketmodule.c:2682
#5  0x000000000064d909 in method_vectorcall_NOARGS (func=0x7fffb513ae90, args=0x7fff38809d80, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/descrobject.c:393
#6  0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff38809d80, callable=0x7fffb513ae90) at ../Include/cpython/abstract.h:127
#7  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x4afcbd0) at ../Python/ceval.c:4963
#8  _PyEval_EvalFrameDefault (f=0x7fff38809bf0, throwflag=<optimized out>) at ../Python/ceval.c:3486
#9  0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff38809bf0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#10 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff2c001210, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#11 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#12 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff2c001208, callable=0x7fffb5121a50) at ../Include/cpython/abstract.h:127
#13 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x4afcbd0) at ../Python/ceval.c:4963
#14 _PyEval_EvalFrameDefault (f=0x7fff2c001060, throwflag=<optimized out>) at ../Python/ceval.c:3486
#15 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff2c001060, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff89be0830, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#17 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#18 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff89be0828, callable=0x7ffff4335730) at ../Include/cpython/abstract.h:127
#19 method_vectorcall (method=method@entry=0x7fff44561c50, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#20 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff44561c50, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff3886bd10) at ../Objects/call.c:200
#21 0x00000000004390d3 in PyObject_Call (callable=callable@entry=0x7fff44561c50, args=args@entry=0x7ffff7615050, kwargs=kwargs@entry=0x7fff3886bd10) at ../Objects/call.c:228
#22 0x00000000004de75e in do_call_core (tstate=tstate@entry=0x4afcbd0, func=func@entry=0x7fff44561c50, callargs=callargs@entry=0x7ffff7615050, kwdict=kwdict@entry=0x7fff3886bd10) at ../Python/ceval.c:5010
#23 0x00000000004ec5d7 in _PyEval_EvalFrameDefault (f=0x7fff387f3230, throwflag=<optimized out>) at ../Python/ceval.c:3559
#24 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff387f3230, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#25 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff2c000d10, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#26 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#27 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff2c000d08, callable=0x7ffff729b410) at ../Include/cpython/abstract.h:127
#28 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x4afcbd0) at ../Python/ceval.c:4963
#29 _PyEval_EvalFrameDefault (f=0x7fff2c000b90, throwflag=<optimized out>) at ../Python/ceval.c:3486
#30 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff2c000b90, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#31 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff387f4570, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#32 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized o--Type <RET> for more, q to quit, c to continue without paging--
ut>) at ../Objects/call.c:411
#33 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff387f4568, callable=0x7ffff729b730) at ../Include/cpython/abstract.h:127
#34 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x4afcbd0) at ../Python/ceval.c:4963
#35 _PyEval_EvalFrameDefault (f=0x7fff387f43f0, throwflag=<optimized out>) at ../Python/ceval.c:3486
#36 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff387f43f0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#37 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff89be0de0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#38 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#39 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff89be0dd8, callable=0x7ffff729b4b0) at ../Include/cpython/abstract.h:127
#40 method_vectorcall (method=method@entry=0x7fff388915f0, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#41 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff388915f0, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x0) at ../Objects/call.c:200
#42 0x00000000004390d3 in PyObject_Call (callable=0x7fff388915f0, args=0x7ffff7615050, kwargs=0x0) at ../Objects/call.c:228
#43 0x00000000005a190b in t_bootstrap (boot_raw=boot_raw@entry=0x7fff387e7740) at ../Modules/_threadmodule.c:1002
#44 0x00000000005344a2 in pythread_wrapper (arg=<optimized out>) at ../Python/thread_pthread.h:237
#45 0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#46 0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 41 (Thread 0x7fff873e0700 (LWP 153392)):
#0  0x00007ffff7f73678 in futex_abstimed_wait_cancelable (private=0, abstime=0x7fff873df100, clockid=0, expected=0, futex_word=0x7fff28001540) at ../sysdeps/nptl/futex-internal.h:320
#1  do_futex_wait (sem=sem@entry=0x7fff28001540, abstime=abstime@entry=0x7fff873df100, clockid=0) at sem_waitcommon.c:112
#2  0x00007ffff7f737a3 in __new_sem_wait_slow (sem=sem@entry=0x7fff28001540, abstime=abstime@entry=0x7fff873df100, clockid=0) at sem_waitcommon.c:184
--Type <RET> for more, q to quit, c to continue without paging--
#3  0x00007ffff7f7384a in sem_timedwait (sem=sem@entry=0x7fff28001540, abstime=abstime@entry=0x7fff873df100) at sem_timedwait.c:40
#4  0x0000000000534aa2 in PyThread_acquire_lock_timed (lock=lock@entry=0x7fff28001540, microseconds=microseconds@entry=500000, intr_flag=intr_flag@entry=1) at ../Python/thread_pthread.h:465
#5  0x00000000005a1caa in acquire_timed (lock=0x7fff28001540, timeout=500000000) at ../Modules/_threadmodule.c:63
#6  0x00000000005a1e49 in lock_PyThread_acquire_lock (self=0x7fff344b1f00, args=<optimized out>, kwds=<optimized out>) at ../Modules/_threadmodule.c:146
#7  0x000000000064d28e in method_vectorcall_VARARGS_KEYWORDS (func=0x7ffff759aef0, args=0x65d8ac8, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/descrobject.c:332
#8  0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775811, args=0x65d8ac8, callable=0x7ffff759aef0) at ../Include/cpython/abstract.h:127
#9  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff30002160) at ../Python/ceval.c:4963
#10 _PyEval_EvalFrameDefault (f=0x65d8930, throwflag=<optimized out>) at ../Python/ceval.c:3486
#11 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x65d8930, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#12 0x00000000004e01c6 in _PyEval_EvalCodeWithName (_co=0x7ffff7301a00, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x7fff28001bc0, kwcount=0, kwstep=1, defs=0x7ffff73041a8, defcount=1, kwdefs=0x0, closure=0x0, name=0x7ffff75d43b0, qualname=0x7ffff73005e0) at ../Python/ceval.c:4298
#13 0x0000000000436c75 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:436
#14 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775810, args=0x7fff28001bb0, callable=0x7ffff7314e10) at ../Include/cpython/abstract.h:127
#15 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff30002160) at ../Python/ceval.c:4963
#16 _PyEval_EvalFrameDefault (f=0x7fff28001a10, throwflag=<optimized out>) at ../Python/ceval.c:3486
#17 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff28001a10, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#18 0x00000000004e01c6 in _PyEval_EvalCodeWithName (_co=0x7ffff43195f0, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=1, kwnames=0x0, kwargs=0x7fff280014c8, kwcount=0, kwstep=1, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x7ffff75e7450, qualname=0x7ffff431b460) at ../Python/ceval.c:4298
#19 0x0000000000436c75 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:436
--Type <RET> for more, q to quit, c to continue without paging--
#20 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff280014c0, callable=0x7ffff43219b0) at ../Include/cpython/abstract.h:127
#21 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff30002160) at ../Python/ceval.c:4963
#22 _PyEval_EvalFrameDefault (f=0x7fff280012b0, throwflag=<optimized out>) at ../Python/ceval.c:3486
#23 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff280012b0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#24 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff873df848, nargs=3, globals=<optimized out>) at ../Objects/call.c:284
#25 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#26 0x00000000006459bc in _PyObject_Vectorcall (kwnames=0x0, nargsf=3, args=0x7fff873df830, callable=0x7ffff4321870) at ../Include/cpython/abstract.h:127
#27 method_vectorcall (method=method@entry=0x7fff3886bb90, args=<optimized out>, nargsf=nargsf@entry=2, kwnames=0x0) at ../Objects/classobject.c:89
#28 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff3886bb90, tuple=tuple@entry=0x7fff38867780, kwargs=kwargs@entry=0x7fff387e98f0) at ../Objects/call.c:200
#29 0x00000000004390d3 in PyObject_Call (callable=callable@entry=0x7fff3886bb90, args=args@entry=0x7fff38867780, kwargs=kwargs@entry=0x7fff387e98f0) at ../Objects/call.c:228
#30 0x00000000004de75e in do_call_core (tstate=tstate@entry=0x7fff30002160, func=func@entry=0x7fff3886bb90, callargs=callargs@entry=0x7fff38867780, kwdict=kwdict@entry=0x7fff387e98f0) at ../Python/ceval.c:5010
#31 0x00000000004ec5d7 in _PyEval_EvalFrameDefault (f=0x7fffb7709230, throwflag=<optimized out>) at ../Python/ceval.c:3559
#32 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fffb7709230, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#33 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff28000d10, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#34 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#35 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff28000d08, callable=0x7ffff729b410) at ../Include/cpython/abstract.h:127
#36 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff30002160) at ../Python/ceval.c:4963
--Type <RET> for more, q to quit, c to continue without paging--
#37 _PyEval_EvalFrameDefault (f=0x7fff28000b90, throwflag=<optimized out>) at ../Python/ceval.c:3486
#38 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff28000b90, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#39 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff38889ae0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#40 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#41 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff38889ad8, callable=0x7ffff729b730) at ../Include/cpython/abstract.h:127
#42 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x7fff30002160) at ../Python/ceval.c:4963
#43 _PyEval_EvalFrameDefault (f=0x7fff38889960, throwflag=<optimized out>) at ../Python/ceval.c:3486
#44 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff38889960, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#45 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff873dfde0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#46 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#47 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff873dfdd8, callable=0x7ffff729b4b0) at ../Include/cpython/abstract.h:127
#48 method_vectorcall (method=method@entry=0x7fff387e9a10, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#49 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff387e9a10, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x0) at ../Objects/call.c:200
#50 0x00000000004390d3 in PyObject_Call (callable=0x7fff387e9a10, args=0x7ffff7615050, kwargs=0x0) at ../Objects/call.c:228
#51 0x00000000005a190b in t_bootstrap (boot_raw=boot_raw@entry=0x7fff387e7180) at ../Modules/_threadmodule.c:1002
#52 0x00000000005344a2 in pythread_wrapper (arg=<optimized out>) at ../Python/thread_pthread.h:237
#53 0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#54 0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 40 (Thread 0x7fff84bdf700 (LWP 153391)):
--Type <RET> for more, q to quit, c to continue without paging--
#0  0x00007ffff7cdb99f in __GI___poll (fds=0x7fff38a91840, nfds=1, timeout=timeout@entry=500) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00000000005f5743 in poll (__timeout=500, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  select_poll_poll_impl (self=self@entry=0x7fff38888540, timeout_obj=<optimized out>) at ../Modules/selectmodule.c:633
#3  0x00000000005f59ee in select_poll_poll (self=0x7fff38888540, args=0x7fff30002978, nargs=1) at ../Modules/clinic/selectmodule.c.h:219
#4  0x000000000064d6bb in method_vectorcall_FASTCALL (func=0x7fffb7818050, args=0x7fff30002970, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/descrobject.c:353
#5  0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775810, args=0x7fff30002970, callable=0x7fffb7818050) at ../Include/cpython/abstract.h:127
#6  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x64871a0) at ../Python/ceval.c:4963
#7  _PyEval_EvalFrameDefault (f=0x7fff300027c0, throwflag=<optimized out>) at ../Python/ceval.c:3486
#8  0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff300027c0, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#9  0x00000000004e01c6 in _PyEval_EvalCodeWithName (_co=0x7fffb781f040, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=2, kwnames=0x0, kwargs=0x7fff3887a5f8, kwcount=0, kwstep=1, defs=0x7fffb781e1a8, defcount=1, kwdefs=0x0, closure=0x0, name=0x7fffc471dea0, qualname=0x7fffb781d2e0) at ../Python/ceval.c:4298
#10 0x0000000000436c75 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:436
#11 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775810, args=0x7fff3887a5e8, callable=0x7fffb7826230) at ../Include/cpython/abstract.h:127
#12 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x64871a0) at ../Python/ceval.c:4963
#13 _PyEval_EvalFrameDefault (f=0x7fff3887a450, throwflag=<optimized out>) at ../Python/ceval.c:3486
#14 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff3887a450, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#15 0x00000000004e01c6 in _PyEval_EvalCodeWithName (_co=0x7ffff445e110, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=1, kwnames=0x0, kwargs=0x7fff3887a1d8, kwcount=0, kwstep=1, defs=0x7ffff447e608, defcount=1, kwdefs=0x0, closure=0x0, name=0x7ffff43fedc0, qualname=0x7ffff44793c0) at ../Python/ceval.c:4298
#16 0x0000000000436c75 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:436
#17 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff3887a1d0, callable=0x7ffff43ff9b0) at .--Type <RET> for more, q to quit, c to continue without paging--
./Include/cpython/abstract.h:127
#18 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x64871a0) at ../Python/ceval.c:4963
#19 _PyEval_EvalFrameDefault (f=0x7fff3887a050, throwflag=<optimized out>) at ../Python/ceval.c:3486
#20 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff3887a050, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#21 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff3888edd8, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#22 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#23 0x00000000004ebb07 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809, args=0x7fff3888edd0, callable=0x7ffff430c190) at ../Include/cpython/abstract.h:127
#24 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x64871a0) at ../Python/ceval.c:4963
#25 _PyEval_EvalFrameDefault (f=0x7fff3888ec50, throwflag=<optimized out>) at ../Python/ceval.c:3486
#26 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x7fff3888ec50, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#27 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x7fff84bdede0, nargs=1, globals=<optimized out>) at ../Objects/call.c:284
#28 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#29 0x0000000000645ba9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=1, args=0x7fff84bdedd8, callable=0x7ffff430c050) at ../Include/cpython/abstract.h:127
#30 method_vectorcall (method=method@entry=0x7fff387e9bf0, args=0x7ffff7615068, nargsf=nargsf@entry=0, kwnames=<optimized out>) at ../Objects/classobject.c:67
#31 0x0000000000438dd9 in PyVectorcall_Call (callable=callable@entry=0x7fff387e9bf0, tuple=tuple@entry=0x7ffff7615050, kwargs=kwargs@entry=0x0) at ../Objects/call.c:200
#32 0x00000000004390d3 in PyObject_Call (callable=0x7fff387e9bf0, args=0x7ffff7615050, kwargs=0x0) at ../Objects/call.c:228
#33 0x00000000005a190b in t_bootstrap (boot_raw=boot_raw@entry=0x7fff3885f580) at ../Modules/_threadmodule.c:1002
#34 0x00000000005344a2 in pythread_wrapper (arg=<optimized out>) at ../Python/thread_pthread.h:237
#35 0x00007ffff7f69609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#36 0x00007ffff7ce8133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

--Type <RET> for more, q to quit, c to continue without paging--

Thread 1 (Thread 0x7ffff7bc6740 (LWP 153346)):
#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
#1  0x00007fff3833506d in QCoreApplication::arguments() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fff343558f1 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#3  0x00007fff343563d3 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fff3419941c in _SmcProcessMessage () at /lib/x86_64-linux-gnu/libSM.so.6
#5  0x00007fff34187e96 in IceProcessMessages () at /lib/x86_64-linux-gnu/libICE.so.6
#6  0x00007fff3835d1d0 in QMetaObject::activate(QObject*, int, int, void**) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fff38369eb5 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fff3836a211 in QSocketNotifier::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fff37b7aa66 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fff37b840f0 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fff3833180a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fff3838a095 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fffb83e017d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fffb83e0400 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fffb83e04a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fffbbae4b71 in QtOpenCVPython::QEventDispatcherGlib::processEvents(QtOpenCVPython::QFlags<QtOpenCVPython::QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/python3.8/dist-packages/cv2/../opencv_python.libs/libQt5Core-39545cc7.so.5.15.0
#17 0x00007fffbfcc87e7 in  () at /usr/local/lib/python3.8/dist-packages/cv2/cv2.abi3.so
#18 0x00007fffbfcd44bd in  () at /usr/local/lib/python3.8/dist-packages/cv2/cv2.abi3.so
#19 0x00007fffbfcd4f04 in  () at /usr/local/lib/python3.8/dist-packages/cv2/cv2.abi3.so
#20 0x00007fffbfcd52ac in  () at /usr/local/lib/python3.8/dist-packages/cv2/cv2.abi3.so
#21 0x00007fffbfcc37dc in  () at /usr/local/lib/python3.8/dist-packages/cv2/cv2.abi3.so
#22 0x00007fffbeee1223 in  () at /usr/local/lib/python3.8/dist-packages/cv2/cv2.abi3.so
#23 0x0000000000436672 in cfunction_call_varargs (func=0x7fffc262b8f0, args=0x7ffff73c7910, kwargs=0x0) at ../Objects/call.c:743
#24 0x0000000000439240 in PyCFunction_Call (func=<optimized out>, args=<optimized out>, kwargs=<optimized out>) at ../Objects/call.c:773
--Type <RET> for more, q to quit, c to continue without paging--
#25 0x00000000004370bf in _PyObject_MakeTpCall (callable=callable@entry=0x7fffc262b8f0, args=args@entry=0x6110120, nargs=<optimized out>, keywords=keywords@entry=0x0) at ../Objects/call.c:159
#26 0x00000000004eba14 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775810, args=0x6110120, callable=0x7fffc262b8f0) at ../Include/cpython/abstract.h:125
#27 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x957020) at ../Python/ceval.c:4963
#28 _PyEval_EvalFrameDefault (f=0x610ff20, throwflag=<optimized out>) at ../Python/ceval.c:3469
#29 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x610ff20, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#30 0x00000000004362b0 in function_code_fastcall (co=<optimized out>, args=0x9c0ef0, nargs=0, globals=<optimized out>) at ../Objects/call.c:284
#31 0x0000000000436d56 in _PyFunction_Vectorcall (func=<optimized out>, stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/call.c:411
#32 0x00000000004ebdb9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775808, args=0x9c0ef0, callable=0x7fff387ff190) at ../Include/cpython/abstract.h:127
#33 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x957020) at ../Python/ceval.c:4963
#34 _PyEval_EvalFrameDefault (f=0x9c0d80, throwflag=<optimized out>) at ../Python/ceval.c:3500
#35 0x00000000004df6b9 in PyEval_EvalFrameEx (f=f@entry=0x9c0d80, throwflag=throwflag@entry=0) at ../Python/ceval.c:741
#36 0x00000000004e01c6 in _PyEval_EvalCodeWithName (_co=0x7ffff75025f0, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=argcount@entry=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python/ceval.c:4298
#37 0x00000000004e032f in PyEval_EvalCodeEx (_co=_co@entry=0x7ffff75025f0, globals=globals@entry=0x7ffff75c5650, locals=locals@entry=0x7ffff75c5650, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:4327
#38 0x00000000004e0361 in PyEval_EvalCode (co=co@entry=0x7ffff75025f0, globals=globals@entry=0x7ffff75c5650, locals=locals@entry=0x7ffff75c5650) at ../Python/ceval.c:718
#39 0x0000000000524203 in run_eval_code_obj (co=co@entry=0x7ffff75025f0, globals=globals@entry=0x7ffff75c5650, locals=locals@entry=0x7ffff75c5650) at ../Python/pythonrun.c:1166
#40 0x0000000000524624 in run_mod (mod=mod@entry=0xa1e410, filename=filename@entry=0x7ffff759e120, globals=globals@entry=0x7ffff75c5650, locals=locals@entry=0x7ffff75c5650, flags=flags@entry=0x7fffffffd908, arena=arena@entry=0x7ffff73f33a0) at ../Python/pythonrun.c:1188
--Type <RET> for more, q to quit, c to continue without paging--
#41 0x0000000000527434 in pyrun_file (fp=fp@entry=0x955290, filename=filename@entry=0x7ffff759e120, start=start@entry=257, globals=globals@entry=0x7ffff75c5650, locals=locals@entry=0x7ffff75c5650, closeit=closeit@entry=1, flags=0x7fffffffd908) at ../Python/pythonrun.c:1085
#42 0x000000000052768d in pyrun_simple_file (fp=fp@entry=0x955290, filename=filename@entry=0x7ffff759e120, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd908) at ../Python/pythonrun.c:439
#43 0x00000000005277f5 in PyRun_SimpleFileExFlags (fp=fp@entry=0x955290, filename=filename@entry=0x7ffff754b540 "try_vision_module_interface.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd908) at ../Python/pythonrun.c:472
#44 0x00000000005278a4 in PyRun_AnyFileExFlags (fp=fp@entry=0x955290, filename=0x7ffff754b540 "try_vision_module_interface.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd908) at ../Python/pythonrun.c:90
#45 0x000000000042795a in pymain_run_file (config=config@entry=0x956040, cf=cf@entry=0x7fffffffd908) at ../Modules/main.c:385
#46 0x00000000004281ca in pymain_run_python (exitcode=exitcode@entry=0x7fffffffd93c) at ../Modules/main.c:610
#47 0x0000000000428222 in Py_RunMain () at ../Modules/main.c:689
#48 0x0000000000428277 in pymain_main (args=args@entry=0x7fffffffd980) at ../Modules/main.c:719
#49 0x00000000004282fb in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at ../Modules/main.c:743
#50 0x0000000000426de3 in main (argc=<optimized out>, argv=<optimized out>) at ../Programs/python.c:16

The segmentation fault happens after a call of the wrapper.

Opencv build data:

print (cv2.getBuildInformation())

General configuration for OpenCV 4.5.5 =====================================
  Version control:               4.5.5-dirty

  Platform:
    Timestamp:                   2022-03-04T06:49:38Z
    Host:                        Linux 5.11.0-1028-azure x86_64
    CMake:                       3.22.2
    CMake generator:             Unix Makefiles
    CMake build tool:            /bin/gmake
    Configuration:               Release

  CPU/HW features:
    Baseline:                    SSE SSE2 SSE3
      requested:                 SSE3
    Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
      requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
      SSE4_1 (16 files):         + SSSE3 SSE4_1
      SSE4_2 (1 files):          + SSSE3 SSE4_1 POPCNT SSE4_2
      FP16 (0 files):            + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
      AVX (4 files):             + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
      AVX2 (31 files):           + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
      AVX512_SKX (5 files):      + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

  C/C++:
    Built as dynamic libs?:      NO
    C++ standard:                11
    C++ Compiler:                /usr/lib/ccache/compilers/c++  (ver 10.2.1)
    C++ flags (Release):         -Wl,-strip-all   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
    C++ flags (Debug):           -Wl,-strip-all   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
    C Compiler:                  /usr/lib/ccache/compilers/cc
    C flags (Release):           -Wl,-strip-all   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
    C flags (Debug):             -Wl,-strip-all   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
    Linker flags (Release):      -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -L/root/ffmpeg_build/lib  -Wl,--gc-sections -Wl,--as-needed  
    Linker flags (Debug):        -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a -L/root/ffmpeg_build/lib  -Wl,--gc-sections -Wl,--as-needed  
    ccache:                      YES
    Precompiled headers:         NO
    Extra dependencies:          /lib64/libopenblas.so Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Test Qt5::Concurrent /lib64/libz.so dl m pthread rt
    3rdparty dependencies:       libprotobuf ade ittnotify libjpeg-turbo libwebp libpng libtiff libopenjp2 IlmImf quirc ippiw ippicv

  OpenCV modules:
    To be built:                 calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching video videoio
    Disabled:                    world
    Disabled by dependency:      -
    Unavailable:                 java python2 ts
    Applications:                -
    Documentation:               NO
    Non-free algorithms:         NO

  GUI:                           QT5
    QT:                          YES (ver 5.15.0 )
      QT OpenGL support:         NO
    GTK+:                        NO
    VTK support:                 NO

  Media I/O: 
    ZLib:                        /lib64/libz.so (ver 1.2.7)
    JPEG:                        libjpeg-turbo (ver 2.1.2-62)
    WEBP:                        build (ver encoder: 0x020f)
    PNG:                         build (ver 1.6.37)
    TIFF:                        build (ver 42 - 4.2.0)
    JPEG 2000:                   build (ver 2.4.0)
    OpenEXR:                     build (ver 2.3.0)
    HDR:                         YES
    SUNRASTER:                   YES
    PXM:                         YES
    PFM:                         YES

  Video I/O:
    DC1394:                      NO
    FFMPEG:                      YES
      avcodec:                   YES (58.134.100)
      avformat:                  YES (58.76.100)
      avutil:                    YES (56.70.100)
      swscale:                   YES (5.9.100)
      avresample:                NO
    GStreamer:                   NO
    v4l/v4l2:                    YES (linux/videodev2.h)

  Parallel framework:            pthreads

  Trace:                         YES (with Intel ITT)

  Other third-party libraries:
    Intel IPP:                   2020.0.0 Gold [2020.0.0]
           at:                   /io/_skbuild/linux-x86_64-3.6/cmake-build/3rdparty/ippicv/ippicv_lnx/icv
    Intel IPP IW:                sources (2020.0.0)
              at:                /io/_skbuild/linux-x86_64-3.6/cmake-build/3rdparty/ippicv/ippicv_lnx/iw
    VA:                          NO
    Lapack:                      YES (/lib64/libopenblas.so)
    Eigen:                       NO
    Custom HAL:                  NO
    Protobuf:                    build (3.19.1)

  OpenCL:                        YES (no extra features)
    Include path:                /io/opencv/3rdparty/include/opencl/1.2
    Link libraries:              Dynamic load

  Python 3:
    Interpreter:                 /opt/python/cp36-cp36m/bin/python3.6 (ver 3.6.15)
    Libraries:                   libpython3.6m.a (ver 3.6.15)
    numpy:                       /opt/python/cp36-cp36m/lib/python3.6/site-packages/numpy/core/include (ver 1.13.3)
    install path:                python/cv2/python-3

  Python (for build):            /bin/python2.7

  Java:                          
    ant:                         NO
    JNI:                         NO
    Java wrappers:               NO
    Java tests:                  NO

  Install to:                    /io/_skbuild/linux-x86_64-3.6/cmake-install
-----------------------------------------------------------------
asmorkalov commented 1 year ago

Please provide patch_str file to debug the issue.

opencv-alalek commented 1 year ago

/lib/x86_64-linux-gnu/libQt5Core.so.5

Problem is here. There is likely a mess of native libraries. E.g. conflict of PyQt and OpenCV in a single application.

XavierBuhot commented 1 year ago

Indeed, it seems there are conflicts between PySide2 and Qt in cpp