kwiver icon indicating copy to clipboard operation
kwiver copied to clipboard

Recent remove ctypes branch leads to segfault in plugin loader

Open mattdawkins opened this issue 5 years ago • 3 comments

With the latest master merged as of a day ago, plugin_loading in VIAME fails only for python modules (segfault) whereas it didn't before this branch

Don't know the details, can look into more next week. Fresh build.

mattdawkins avatar Dec 06 '19 03:12 mattdawkins

The head directly before this merge also had an semi-related, in this realm, but probably different issue, for now I'm just going to avoid kwiver master going forward for the next couple weeks because I have a couple deliveries (which is okay)

2019-12-05 22:36:51.286 DEBUG plugin_loader.cxx(384): Loading plugins from: /home/matt/Dev/viame/build/install/lib/kwiver/modules/kwiver_algo_vxl_plugin.so 2019-12-05 22:36:51.287 DEBUG plugin_loader.cxx(384): Loading plugins from: /home/matt/Dev/viame/build/install/lib/kwiver/modules/modules_python.so 2019-12-05 22:36:51.328 DEBUG registration.cxx(150): Loading symbols from PYTHON_LIBRARY=/opt/noaa/python3/lib/libpython3.6m.so 2019-12-05 22:36:51.352 WARN registration.cxx(123): Ignore Python Exception: 2019-12-05 22:36:51.352 WARN registration.cxx(123): SyntaxError: from future imports must occur at the beginning of the file (init.py, line 12) 2019-12-05 22:36:51.352 WARN registration.cxx(123): 2019-12-05 22:36:51.352 WARN registration.cxx(123): At: 2019-12-05 22:36:51.352 WARN registration.cxx(123): /home/matt/Dev/viame/build/install/lib/python3.6/site-packages/kwiver/kwiver_process.py(39): 2019-12-05 22:36:51.352 WARN registration.cxx(123): (219): _call_with_frames_removed 2019-12-05 22:36:51.352 WARN registration.cxx(123): (678): exec_module 2019-12-05 22:36:51.352 WARN registration.cxx(123): (665): _load_unlocked 2019-12-05 22:36:51.352 WARN registration.cxx(123): (955): _find_and_load_unlocked 2019-12-05 22:36:51.352 WARN registration.cxx(123): (971): _find_and_load 2019-12-05 22:36:51.352 WARN registration.cxx(123): /home/matt/Dev/viame/build/install/lib/python3.6/site-packages/viame/processes/smqtk/smqtk_ingest_descriptors.py(36): 2019-12-05 22:36:51.352 WARN registration.cxx(123): (219): _call_with_frames_removed 2019-12-05 22:36:51.352 WARN registration.cxx(123): (678): exec_module 2019-12-05 22:36:51.352 WARN registration.cxx(123): (665): _load_unlocked 2019-12-05 22:36:51.352 WARN registration.cxx(123): (955): _find_and_load_unlocked 2019-12-05 22:36:51.352 WARN registration.cxx(123): (971): _find_and_load 2019-12-05 22:36:51.352 WARN registration.cxx(123): (219): _call_with_frames_removed 2019-12-05 22:36:51.352 WARN registration.cxx(123): (1031): _handle_fromlist 2019-12-05 22:36:51.352 WARN registration.cxx(123): /home/matt/Dev/viame/build/install/lib/python3.6/site-packages/viame/processes/smqtk/init.py(30): 2019-12-05 22:36:51.352 WARN registration.cxx(123): (219): _call_with_frames_removed 2019-12-05 22:36:51.352 WARN registration.cxx(123): (678): exec_module 2019-12-05 22:36:51.352 WARN registration.cxx(123): (665): _load_unlocked 2019-12-05 22:36:51.352 WARN registration.cxx(123): (955): _find_and_load_unlocked

mattdawkins avatar Dec 06 '19 03:12 mattdawkins

Correction, I think the above is also another issue on latest master it was just persisting after a branch switch, but fresh builds on older hashes makes it go away

mattdawkins avatar Dec 06 '19 04:12 mattdawkins

@mattdawkins - is this still a problem for you?

linus-sherrill avatar Apr 13 '20 22:04 linus-sherrill